duff: 0.5.2 -> 2014-07-03

+9 -10
+9 -10
pkgs/tools/filesystems/duff/default.nix
··· 1 1 { stdenv, fetchFromGitHub, autoreconfHook, gettext }: 2 2 3 - let version = "0.5.2"; in 3 + # The last release (0.5.2) is more than 2 years old and lacks features like -D, 4 + # limiting its usefulness. Upstream appears comatose if not dead. 5 + let version = "2014-07-03"; in 4 6 stdenv.mkDerivation { 5 7 name = "duff-${version}"; 6 8 7 9 src = fetchFromGitHub { 8 - sha256 = "0yfm910wjj6z0f0cg68x59ykf4ql5m49apzy8sra00f8kv4lpn53"; 9 - rev = version; 10 + sha256 = "1k2dx38pjzc5d624vw1cs5ipj9fprsm5vqv55agksc29m63lswnx"; 11 + rev = "f26d4837768b062a3f98fa075c791d9c8a0bb75c"; 10 12 repo = "duff"; 11 13 owner = "elmindreda"; 12 14 }; ··· 14 16 nativeBuildInputs = [ autoreconfHook gettext ]; 15 17 16 18 preAutoreconf = '' 17 - # duff is currently badly packaged, requiring us to do extra work here that 18 - # should be done upstream. If that is ever fixed, this entire phase can be 19 - # removed along with all buildInputs. 20 - 21 19 # gettexttize rightly refuses to run non-interactively: 22 20 cp ${gettext}/bin/gettextize . 23 21 substituteInPlace gettextize \ ··· 30 28 enableParallelBuilding = true; 31 29 32 30 meta = with stdenv.lib; { 31 + inherit version; 33 32 description = "Quickly find duplicate files"; 34 - homepage = http://duff.dreda.org/; 35 - license = licenses.zlib; 36 33 longDescription = '' 37 34 Duff is a Unix command-line utility for quickly finding duplicates in 38 35 a given set of files. 39 36 ''; 37 + homepage = http://duff.dreda.org/; 38 + license = licenses.zlib; 39 + platforms = platforms.all; 40 40 maintainers = with maintainers; [ nckx ]; 41 - platforms = with platforms; all; 42 41 }; 43 42 }