pg_tmp: init at 2.3

Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
This commit is contained in:
Christoph Hrdinka
2017-12-28 13:50:06 +01:00
parent a3c45b383d
commit 47a71e9426
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{ 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 ];
};
}