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
31
pkgs/tools/misc/lockfile-progs/default.nix
Normal file
31
pkgs/tools/misc/lockfile-progs/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchurl, liblockfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lockfile-progs";
|
||||
version = "0.1.19";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.tar.gz";
|
||||
sha256 = "sha256-LFcEsByPR0+CkheA5Fkqknsr9qbXYWNUpsXXzVZkhX4=";
|
||||
};
|
||||
|
||||
buildInputs = [ liblockfile ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin $out/man/man1
|
||||
install -s bin/* $out/bin
|
||||
install man/*.1 $out/man/man1
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Programs for locking and unlocking files and mailboxes";
|
||||
homepage = "http://packages.debian.org/sid/lockfile-progs";
|
||||
license = lib.licenses.gpl2Only;
|
||||
|
||||
maintainers = [ lib.maintainers.bluescreen303 ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue