2013-06-09 19:44:06 +00:00
|
|
|
{ fetchurl, stdenv }:
|
2013-06-09 18:34:50 +00:00
|
|
|
|
|
|
|
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 21:35:57 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace Makefile.in \
|
|
|
|
--replace "/usr/" "/"
|
|
|
|
'';
|
|
|
|
|
2013-06-09 18:34:50 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|