Loading pkgs/servers/sql/postgresql/ext/hypopg.nix 0 → 100644 +29 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "hypopg"; version = "1.4.0"; src = fetchFromGitHub { owner = "HypoPG"; repo = "hypopg"; rev = version; hash = "sha256-YzQnkQi9BlDryUySnWHWeTanhgfVUXjHjOqj+nQucCY="; }; buildInputs = [ postgresql ]; installPhase = '' install -D -t $out/lib *${postgresql.dlSuffix} install -D -t $out/share/postgresql/extension *.control install -D -t $out/share/postgresql/extension *.sql ''; meta = with lib; { description = "Hypothetical Indexes for PostgreSQL"; homepage = "https://hypopg.readthedocs.io"; license = licenses.postgresql; platforms = postgresql.meta.platforms; maintainers = with maintainers; [ bbigras ]; }; } pkgs/servers/sql/postgresql/packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ self: super: { apache_datasketches = super.callPackage ./ext/apache_datasketches.nix { }; hypopg = super.callPackage ./ext/hypopg.nix { }; jsonb_deep_sum = super.callPackage ./ext/jsonb_deep_sum.nix { }; periods = super.callPackage ./ext/periods.nix { }; Loading Loading
pkgs/servers/sql/postgresql/ext/hypopg.nix 0 → 100644 +29 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, postgresql }: stdenv.mkDerivation rec { pname = "hypopg"; version = "1.4.0"; src = fetchFromGitHub { owner = "HypoPG"; repo = "hypopg"; rev = version; hash = "sha256-YzQnkQi9BlDryUySnWHWeTanhgfVUXjHjOqj+nQucCY="; }; buildInputs = [ postgresql ]; installPhase = '' install -D -t $out/lib *${postgresql.dlSuffix} install -D -t $out/share/postgresql/extension *.control install -D -t $out/share/postgresql/extension *.sql ''; meta = with lib; { description = "Hypothetical Indexes for PostgreSQL"; homepage = "https://hypopg.readthedocs.io"; license = licenses.postgresql; platforms = postgresql.meta.platforms; maintainers = with maintainers; [ bbigras ]; }; }
pkgs/servers/sql/postgresql/packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ self: super: { apache_datasketches = super.callPackage ./ext/apache_datasketches.nix { }; hypopg = super.callPackage ./ext/hypopg.nix { }; jsonb_deep_sum = super.callPackage ./ext/jsonb_deep_sum.nix { }; periods = super.callPackage ./ext/periods.nix { }; Loading