nixpkgs/pkgs/development/tools/database/pg_tmp/default.nix
Christoph Hrdinka 47a71e9426
pg_tmp: init at 2.3
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2017-12-28 13:50:06 +01:00

26 lines
613 B
Nix

{ fetchFromBitbucket, stdenv }:
stdenv.mkDerivation rec {
name = "pg_tmp-${version}";
version = "2.3";
src = fetchFromBitbucket {
owner = "eradman";
repo = "ephemeralpg";
rev = "ephemeralpg-${version}";
sha256 = "0j0va9pch2xhwwx4li3qx3lkgrd79c0hcy5w5y1cqax571hv89wa";
};
installPhase = ''
PREFIX=$out make install
'';
meta = with stdenv.lib; {
homepage = http://ephemeralpg.org;
description = "Run tests on an isolated, temporary PostgreSQL database";
license = licenses.isc;
platforms = platforms.all;
maintainers = with maintainers; [ hrdinka ];
};
}