nixpkgs/pkgs/servers/sql/postgresql/ext/temporal_tables.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
849 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, postgresql }:
2019-06-10 14:05:46 +00:00
stdenv.mkDerivation rec {
pname = "temporal_tables";
version = "unstable-2021-02-20";
2019-06-10 14:05:46 +00:00
buildInputs = [ postgresql ];
src = fetchFromGitHub {
owner = "arkhipov";
2019-06-10 14:05:46 +00:00
repo = pname;
rev = "3ce22da51f2549e8f8b8fbf2850c63eb3a2f1fbb";
sha256 = "sha256-kmcl6vVHRZj2G5GijEyaZgDpZBDcdIUKzXv0rYYqUu4=";
2019-06-10 14:05:46 +00:00
};
installPhase = ''
mkdir -p $out/{lib,share/postgresql/extension}
2019-06-10 14:05:46 +00:00
cp *.so $out/lib
cp *.sql $out/share/postgresql/extension
cp *.control $out/share/postgresql/extension
2019-06-10 14:05:46 +00:00
'';
meta = with lib; {
2019-06-10 14:05:46 +00:00
description = "Temporal Tables PostgreSQL Extension ";
homepage = "https://github.com/mlt/temporal_tables";
2019-06-10 14:05:46 +00:00
maintainers = with maintainers; [ ggpeti ];
platforms = postgresql.meta.platforms;
license = licenses.bsd2;
};
}