From 11e13306f7084c0b60a62dc5dd6a3cff92d41e79 Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Fri, 28 Jul 2017 11:50:47 +0100 Subject: [PATCH] ephemeralpg: init at 2.2 --- pkgs/applications/misc/ephemeralpg/default.nix | 15 +++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/applications/misc/ephemeralpg/default.nix diff --git a/pkgs/applications/misc/ephemeralpg/default.nix b/pkgs/applications/misc/ephemeralpg/default.nix new file mode 100644 index 000000000000..104192f7e61d --- /dev/null +++ b/pkgs/applications/misc/ephemeralpg/default.nix @@ -0,0 +1,15 @@ +{ stdenv, fetchurl, postgresql, makeWrapper }: +stdenv.mkDerivation rec { + name = "ephemeralpg-${version}"; + version = "2.2"; + src = fetchurl { + url = "http://ephemeralpg.org/code/${name}.tar.gz"; + sha256 = "1v48bcmc23zzqbha80p3spxd5l347qnjzs4z44wl80i2s8fdzlyz"; + }; + buildInputs = [ makeWrapper ]; + installPhase = '' + mkdir -p $out + PREFIX=$out make install + wrapProgram $out/bin/pg_tmp --prefix PATH : ${postgresql}/bin + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6fea60980f63..31471fee634e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -989,6 +989,8 @@ with pkgs; esptool-ck = callPackage ../tools/misc/esptool-ck { }; + ephemeralpg = callPackage ../applications/misc/ephemeralpg {}; + f3 = callPackage ../tools/filesystems/f3 { }; facter = callPackage ../tools/system/facter {