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

30 lines
816 B
Nix
Raw Normal View History

2015-01-26 01:08:05 +01:00
{ stdenv, fetchurl
, gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
2015-01-26 01:08:05 +01:00
with stdenv.lib;
stdenv.mkDerivation rec {
2015-01-26 01:08:05 +01:00
name = "rmlint-${version}";
2016-06-05 16:53:16 +02:00
version = "2.4.4";
src = fetchurl {
2015-01-26 01:08:05 +01:00
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
2016-06-05 16:53:16 +02:00
sha256 = "1g38wmf58m9lbdngfsbz3dbkd44yqxppzvgi5mwag0w7r7khhir9";
};
2015-01-26 01:08:05 +01: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 10:54:58 +02:00
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
2015-01-26 01:08:05 +01:00
homepage = http://rmlint.readthedocs.org;
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.koral ];
};
}