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

32 lines
853 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}";
version = "2.0.0";
src = fetchurl {
2015-01-26 01:08:05 +01:00
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
sha256 = "14jiswagipsmzxclcskn672ws4126p65l6hlzkkvanyv8gmpv90f";
};
2015-01-26 01:08:05 +01:00
patches = [ ./fix-scons.patch ];
2013-06-28 23:35:57 +02:00
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-01-26 01:08:05 +01:00
description = "Extremely fast tool to remove duplicates and other lint from your filesystem.";
homepage = http://rmlint.readthedocs.org;
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.koral ];
};
}