2017-08-21 17:14:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub,
|
2018-02-25 02:23:58 +00:00
|
|
|
gettext, glib, json-glib, libelf, pkgconfig, scons, sphinx, utillinux }:
|
2013-06-09 19:34:50 +01:00
|
|
|
|
2015-01-26 00:08:05 +00:00
|
|
|
with stdenv.lib;
|
2013-06-09 19:34:50 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-01-26 00:08:05 +00:00
|
|
|
name = "rmlint-${version}";
|
2018-12-23 20:43:28 +00:00
|
|
|
version = "2.8.0";
|
2013-06-09 19:34:50 +01:00
|
|
|
|
2017-08-21 17:14:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahib";
|
|
|
|
repo = "rmlint";
|
|
|
|
rev = "v${version}";
|
2018-12-23 20:43:28 +00:00
|
|
|
sha256 = "1gc7gbnh0qg1kl151cv1ld87vhpm1v3pnkn7prhscdcc21jrg8nz";
|
2013-06-09 19:34:50 +01:00
|
|
|
};
|
|
|
|
|
2015-01-26 00:08:05 +00:00
|
|
|
|
2018-12-23 20:43:28 +00:00
|
|
|
patches = [
|
|
|
|
./blkid-hack.patch
|
|
|
|
];
|
2015-01-26 00:08:05 +00:00
|
|
|
|
2018-12-23 20:43:28 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig sphinx ];
|
|
|
|
buildInputs = [ gettext glib json-glib libelf scons utillinux ];
|
2015-01-26 00:08:05 +00:00
|
|
|
|
2018-12-23 20:43:28 +00:00
|
|
|
prefixKey = "--prefix=";
|
2013-06-09 19:34:50 +01:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 09:54:58 +01:00
|
|
|
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
2017-08-21 17:14:14 +01: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 19:34:50 +01:00
|
|
|
};
|
|
|
|
}
|