2017-08-21 16:14:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub,
|
2018-02-25 02:23:58 +00:00
|
|
|
gettext, glib, json-glib, libelf, pkgconfig, scons, sphinx, utillinux }:
|
2013-06-09 18:34:50 +00:00
|
|
|
|
2015-01-26 00:08:05 +00:00
|
|
|
with stdenv.lib;
|
2013-06-09 18:34:50 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-26 00:08:05 +00:00
|
|
|
name = "rmlint-${version}";
|
2017-08-21 16:14:14 +00:00
|
|
|
version = "2.6.1";
|
2013-06-09 18:34:50 +00:00
|
|
|
|
2017-08-21 16:14:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahib";
|
|
|
|
repo = "rmlint";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
|
2013-06-09 18:34:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-26 00:08:05 +00:00
|
|
|
configurePhase = "scons config";
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ gettext glib json-glib libelf scons sphinx utillinux ];
|
2015-01-26 00:08:05 +00:00
|
|
|
|
|
|
|
buildPhase = "scons";
|
|
|
|
|
|
|
|
installPhase = "scons --prefix=$out install";
|
2013-06-09 18:34:50 +00:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 08:54:58 +00:00
|
|
|
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
2017-08-21 16:14:14 +00:00
|
|
|
homepage = https://rmlint.readthedocs.org;
|
2015-01-26 00:08:05 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.koral ];
|
2013-06-09 18:34:50 +00:00
|
|
|
};
|
|
|
|
}
|