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
38
pkgs/development/tools/database/pg_checksums/default.nix
Normal file
38
pkgs/development/tools/database/pg_checksums/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libxslt, docbook_xsl, postgresql }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pg_checksums";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "credativ";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Ij+4ceQauX3tC97ftk/JS3/WlocPBf7A7PJrylpTLzw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libxslt.bin ];
|
||||
|
||||
buildInputs = [ postgresql ];
|
||||
|
||||
buildFlags = [ "all" "man" ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace doc/stylesheet-man.xsl \
|
||||
--replace "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 -t $out/bin pg_checksums_ext
|
||||
install -Dm644 -t $out/share/man/man1 doc/man1/pg_checksums_ext.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Activate/deactivate/verify checksums in offline PostgreSQL clusters";
|
||||
homepage = "https://github.com/credativ/pg_checksums";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
mainProgram = "pg_checksums_ext";
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = licenses.postgresql;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue