uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
22
pkgs/development/tools/database/ephemeralpg/default.nix
Normal file
22
pkgs/development/tools/database/ephemeralpg/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, stdenv, fetchurl, postgresql, getopt, makeWrapper }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ephemeralpg";
|
||||
version = "3.1";
|
||||
src = fetchurl {
|
||||
url = "http://ephemeralpg.org/code/${pname}-${version}.tar.gz";
|
||||
sha256 = "1ap22ki8yz6agd0qybcjgs4b9izw1rwwcgpxn3jah2ccfyax34s6";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
PREFIX=$out make install
|
||||
wrapProgram $out/bin/pg_tmp --prefix PATH : ${lib.makeBinPath [ postgresql getopt ]}
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "Run tests on an isolated, temporary PostgreSQL database";
|
||||
license = licenses.isc;
|
||||
homepage = "http://ephemeralpg.org/";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ hrdinka ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue