diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-12-29 10:13:33 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-12-29 10:13:33 +0100 |
commit | f29000b0023a879b42be2a8bd59136ec0c533b88 (patch) | |
tree | 4b0b2851c7dec0588d236f6d3946b8018a74afb9 /pkgs/development/tools/database | |
parent | 291eac9d70e5f4b8cbbc7632afcac5ea79eb62ba (diff) | |
parent | 76c146c99073ad27046a0a28bb3d2881486e32bb (diff) |
Merge branch 'master' into staging
Hydra: ?compare=1421760
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r-- | pkgs/development/tools/database/pg_tmp/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/database/pg_tmp/default.nix b/pkgs/development/tools/database/pg_tmp/default.nix new file mode 100644 index 000000000000..b7d960d5af48 --- /dev/null +++ b/pkgs/development/tools/database/pg_tmp/default.nix @@ -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 ]; + }; +} |