2017-08-21 18:14:14 +02:00
|
|
|
{ stdenv, fetchFromGitHub,
|
|
|
|
gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
|
2013-06-09 20:34:50 +02:00
|
|
|
|
2015-01-26 01:08:05 +01:00
|
|
|
with stdenv.lib;
|
2013-06-09 20:34:50 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-26 01:08:05 +01:00
|
|
|
name = "rmlint-${version}";
|
2017-08-21 18:14:14 +02:00
|
|
|
version = "2.6.1";
|
2013-06-09 20:34:50 +02:00
|
|
|
|
2017-08-21 18:14:14 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahib";
|
|
|
|
repo = "rmlint";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
|
2013-06-09 20:34:50 +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";
|
2013-06-09 20:34:50 +02:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 10:54:58 +02:00
|
|
|
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
2017-08-21 18:14:14 +02:00
|
|
|
homepage = https://rmlint.readthedocs.org;
|
2015-01-26 01:08:05 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.koral ];
|
2013-06-09 20:34:50 +02:00
|
|
|
};
|
|
|
|
}
|