nixpkgs/pkgs/tools/misc/rmlint/default.nix

25 lines
594 B
Nix
Raw Normal View History

2013-06-09 20:44:06 +01:00
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "rmlint-1.0.8";
src = fetchurl {
url = "https://github.com/downloads/sahib/rmlint/rmlint_1.0.8.tar.gz";
sha256 = "bea39a5872b39d3596e756f242967bc5bde6febeb996fdcd63fbcf5bfdc75f01";
};
2013-06-28 22:35:57 +01:00
preConfigure = ''
substituteInPlace Makefile.in \
--replace "/usr/" "/"
'';
makeFlags="DESTDIR=$(out)";
meta = {
description = "A tool to remove duplicates and other lint";
homepage = "https://github.com/sahib/rmlint";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3;
};
}