2015-01-26 00:08:05 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
|
2013-06-09 19:34:50 +01:00
|
|
|
|
2015-01-26 00:08:05 +00:00
|
|
|
with stdenv.lib;
|
2013-06-09 19:34:50 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-26 00:08:05 +00:00
|
|
|
name = "rmlint-${version}";
|
2015-06-10 14:55:52 +01:00
|
|
|
version = "2.2.0";
|
2013-06-09 19:34:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-01-26 00:08:05 +00:00
|
|
|
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
|
2015-06-10 14:55:52 +01:00
|
|
|
sha256 = "1wg6br30ccvxl2189a75lb3d03kg8spfkkp9qlf3whl0xirsm15n";
|
2013-06-09 19:34:50 +01:00
|
|
|
};
|
|
|
|
|
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";
|
2013-06-09 19:34:50 +01:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 09:54:58 +01: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 ];
|
2013-06-09 19:34:50 +01:00
|
|
|
};
|
|
|
|
}
|