1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/tools/misc/rmlint/default.nix
2013-06-28 16:48:40 -05:00

25 lines
594 B
Nix

{ 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";
};
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;
};
}