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

30 lines
816 B
Nix
Raw Normal View History

2015-01-26 00:08:05 +00:00
{ stdenv, fetchurl
, gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
2015-01-26 00:08:05 +00:00
with stdenv.lib;
stdenv.mkDerivation rec {
2015-01-26 00:08:05 +00:00
name = "rmlint-${version}";
2015-06-10 13:55:52 +00:00
version = "2.2.0";
src = fetchurl {
2015-01-26 00:08:05 +00:00
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
2015-06-10 13:55:52 +00:00
sha256 = "1wg6br30ccvxl2189a75lb3d03kg8spfkkp9qlf3whl0xirsm15n";
};
2015-01-26 00:08:05 +00:00
configurePhase = "scons config";
buildInputs = [ gettext glib json_glib libelf pkgconfig scons sphinx utillinux ];
buildPhase = "scons";
installPhase = "scons --prefix=$out install";
meta = {
2015-04-28 08:54:58 +00:00
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
2015-01-26 00:08:05 +00:00
homepage = http://rmlint.readthedocs.org;
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.koral ];
};
}