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
40
pkgs/tools/filesystems/duff/default.nix
Normal file
40
pkgs/tools/filesystems/duff/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gettext }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "duff";
|
||||
# The last release (0.5.2) is more than 2 years old and lacks features like -D,
|
||||
# limiting its usefulness. Upstream appears comatose if not dead.
|
||||
version = "2014-07-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "1k2dx38pjzc5d624vw1cs5ipj9fprsm5vqv55agksc29m63lswnx";
|
||||
rev = "f26d4837768b062a3f98fa075c791d9c8a0bb75c";
|
||||
repo = "duff";
|
||||
owner = "elmindreda";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook gettext ];
|
||||
|
||||
preAutoreconf = ''
|
||||
# gettexttize rightly refuses to run non-interactively:
|
||||
cp ${gettext}/bin/gettextize .
|
||||
substituteInPlace gettextize \
|
||||
--replace "read dummy" "echo '(Automatically acknowledged)' #"
|
||||
./gettextize
|
||||
sed 's@po/Makefile.in\( .*\)po/Makefile.in@po/Makefile.in \1@' \
|
||||
-i configure.ac
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Quickly find duplicate files";
|
||||
longDescription = ''
|
||||
Duff is a Unix command-line utility for quickly finding duplicates in
|
||||
a given set of files.
|
||||
'';
|
||||
homepage = "https://duff.dreda.org/";
|
||||
license = licenses.zlib;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue