Skip to content

Commit

Permalink
pg_tmp: init at 2.3
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
  • Loading branch information
hrdinka committed Dec 28, 2017
1 parent a3c45b3 commit 47a71e9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10361,6 +10361,8 @@ with pkgs;

pg_similarity = callPackage ../servers/sql/postgresql/pg_similarity {};

pg_tmp = callPackage ../development/tools/database/pg_tmp { };

pgroonga = callPackage ../servers/sql/postgresql/pgroonga {};

plv8 = callPackage ../servers/sql/postgresql/plv8 {
Expand Down

0 comments on commit 47a71e9

Please sign in to comment.