summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-10-02 05:30:34 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-10-02 05:34:36 +0200
commit9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff (patch)
treefdece6ecd87563f1346d2b823ce26826f47a0589
parentab94830c6011b058e9f5875c56e2b9d02220b921 (diff)
downloadnixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.tar
nixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.tar.gz
nixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.tar.bz2
nixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.tar.lz
nixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.tar.xz
nixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.tar.zst
nixlib-9594fcf5eca4c4d97d0e76ea97982a7fb271c7ff.zip
duff: 0.5.2 -> 2014-07-03
-rw-r--r--pkgs/tools/filesystems/duff/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/tools/filesystems/duff/default.nix b/pkgs/tools/filesystems/duff/default.nix
index 310153341669..1c4d068c4c13 100644
--- a/pkgs/tools/filesystems/duff/default.nix
+++ b/pkgs/tools/filesystems/duff/default.nix
@@ -1,12 +1,14 @@
 { stdenv, fetchFromGitHub, autoreconfHook, gettext }:
 
-let version = "0.5.2"; in
+# 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.
+let version = "2014-07-03"; in
 stdenv.mkDerivation {
   name = "duff-${version}";
 
   src = fetchFromGitHub {
-    sha256 = "0yfm910wjj6z0f0cg68x59ykf4ql5m49apzy8sra00f8kv4lpn53";
-    rev = version;
+    sha256 = "1k2dx38pjzc5d624vw1cs5ipj9fprsm5vqv55agksc29m63lswnx";
+    rev = "f26d4837768b062a3f98fa075c791d9c8a0bb75c";
     repo = "duff";
     owner = "elmindreda";
   };
@@ -14,10 +16,6 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ autoreconfHook gettext ];
 
   preAutoreconf = ''
-    # duff is currently badly packaged, requiring us to do extra work here that
-    # should be done upstream. If that is ever fixed, this entire phase can be
-    # removed along with all buildInputs.
-
     # gettexttize rightly refuses to run non-interactively:
     cp ${gettext}/bin/gettextize .
     substituteInPlace gettextize \
@@ -30,14 +28,15 @@ stdenv.mkDerivation {
   enableParallelBuilding = true;
 
   meta = with stdenv.lib; {
+    inherit version;
     description = "Quickly find duplicate files";
-    homepage = http://duff.dreda.org/;
-    license = licenses.zlib;
     longDescription = ''
       Duff is a Unix command-line utility for quickly finding duplicates in
       a given set of files.
     '';
+    homepage = http://duff.dreda.org/;
+    license = licenses.zlib;
+    platforms = platforms.all;
     maintainers = with maintainers; [ nckx ];
-    platforms = with platforms; all;
   };
 }