diff options
author | Austin Seipp <aseipp@pobox.com> | 2018-04-02 15:28:23 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-04-02 15:30:46 -0500 |
commit | 33202137bf8268056d1e46a1526562f820e33521 (patch) | |
tree | ab16ade2a2ee4b100cc6b00902c05d03588c47f9 /pkgs/servers | |
parent | 962e2553dc807a35b021a519bc2d19ab1120adcf (diff) | |
download | nixlib-33202137bf8268056d1e46a1526562f820e33521.tar nixlib-33202137bf8268056d1e46a1526562f820e33521.tar.gz nixlib-33202137bf8268056d1e46a1526562f820e33521.tar.bz2 nixlib-33202137bf8268056d1e46a1526562f820e33521.tar.lz nixlib-33202137bf8268056d1e46a1526562f820e33521.tar.xz nixlib-33202137bf8268056d1e46a1526562f820e33521.tar.zst nixlib-33202137bf8268056d1e46a1526562f820e33521.zip |
pg_hll: init at 2.10.2-9af41684
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/sql/postgresql/pg_hll/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/servers/sql/postgresql/pg_hll/default.nix b/pkgs/servers/sql/postgresql/pg_hll/default.nix new file mode 100644 index 000000000000..6c453f6a40c3 --- /dev/null +++ b/pkgs/servers/sql/postgresql/pg_hll/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, postgresql }: + +stdenv.mkDerivation rec { + name = "pg_hll-${version}"; + version = "2.10.2-${builtins.substring 0 7 src.rev}"; + + buildInputs = [ postgresql ]; + + src = fetchFromGitHub { + owner = "citusdata"; + repo = "postgresql-hll"; + rev = "9af41684d479a3097bab87d04936702c9e6baf5c"; + sha256 = "044x9v9kjhxb0idqb9f5i7c3yygxxsqliswl4kspqy9f9qcblckl"; + }; + + installPhase = '' + mkdir -p $out/{lib,share/extension} + + cp *.so $out/lib + cp *.sql $out/share/extension + cp *.control $out/share/extension + ''; + + meta = with stdenv.lib; { + description = "HyperLogLog for PostgreSQL"; + homepage = https://www.citusdata.com/; + maintainers = with maintainers; [ thoughtpolice ]; + platforms = platforms.linux; + license = licenses.asl20; + }; +} |