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}";
2015-12-16 23:35:01 +01:00
version = "2.4.2";
src = fetchurl {
2015-01-26 01:08:05 +01:00
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
2015-12-16 23:35:01 +01:00
sha256 = "0rfgzamrw89z67jxg8b5jqjmvql00304n0ai4a81bfl90gybyncf";
};
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 ];
};
}