Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 570811b1cad8
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f5493bf6145f
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on May 14, 2019

  1. pg_partman: init at 4.1.0

    ggPeti committed May 14, 2019
    Copy the full SHA
    d507935 View commit details
  2. maintainers: add ggpeti

    ggPeti committed May 14, 2019
    Copy the full SHA
    775addb View commit details

Commits on May 15, 2019

  1. Merge pull request #61514 from ggPeti/release-19.03

    pg_partman: init at 4.1.0
    thoughtpolice authored May 15, 2019
    Copy the full SHA
    f5493bf View commit details
Showing with 41 additions and 1 deletion.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +33 −0 pkgs/servers/sql/postgresql/ext/pg_partman.nix
  3. +3 −1 pkgs/servers/sql/postgresql/packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1766,6 +1766,11 @@
github = "Gerschtli";
name = "Tobias Happ";
};
ggpeti = {
email = "ggpeti@gmail.com";
github = "ggpeti";
name = "Peter Ferenczy";
};
gilligan = {
email = "tobias.pflug@gmail.com";
github = "gilligan";
33 changes: 33 additions & 0 deletions pkgs/servers/sql/postgresql/ext/pg_partman.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, postgresql }:

stdenv.mkDerivation rec {
pname = "pg_partman";
version = "4.1.0";

buildInputs = [ postgresql ];

src = fetchFromGitHub {
owner = "pgpartman";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0bzv92x492jcwzhal9x4vc3vszixscdpxc6yq5rrqld26dhmsp06";
};

installPhase = ''
mkdir -p $out/bin # For buildEnv to setup proper symlinks. See #22653
mkdir -p $out/{lib,share/extension}
cp src/*.so $out/lib
cp updates/* $out/share/extension
cp -r sql/* $out/share/extension
cp *.control $out/share/extension
'';

meta = with stdenv.lib; {
description = "Partition management extension for PostgreSQL";
homepage = https://github.com/pgpartman/pg_partman;
maintainers = with maintainers; [ ggpeti ];
platforms = postgresql.meta.platforms;
license = licenses.postgresql;
};
}
4 changes: 3 additions & 1 deletion pkgs/servers/sql/postgresql/packages.nix
Original file line number Diff line number Diff line change
@@ -34,4 +34,6 @@ self: super: {
timescaledb = super.callPackage ./ext/timescaledb.nix { };

tsearch_extras = super.callPackage ./ext/tsearch_extras.nix { };
}

pg_partman = super.callPackage ./ext/pg_partman.nix { };
}