blob: 62f2e9263e76fd52a8b30bd820ff599b0532d9cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ 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 ];
};
}
|