2018-12-23 22:41:09 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, gettext, pkgconfig, scons
|
|
|
|
, glib, json-glib, libelf, 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 {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "rmlint";
|
2020-06-06 19:38:29 +02:00
|
|
|
version = "2.10.0";
|
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}";
|
2020-06-06 19:38:29 +02:00
|
|
|
sha256 = "1r7j1bmm83p6wdw0jhvkm4sa568r534zsy45bvas7qq4433jl019";
|
2013-06-09 20:34:50 +02:00
|
|
|
};
|
|
|
|
|
2018-12-23 22:41:09 +01:00
|
|
|
CFLAGS="-I${stdenv.lib.getDev utillinux}/include";
|
2015-01-26 01:08:05 +01:00
|
|
|
|
2018-12-23 22:41:09 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig sphinx gettext scons
|
2018-12-23 21:43:28 +01:00
|
|
|
];
|
2015-01-26 01:08:05 +01:00
|
|
|
|
2018-12-23 22:41:09 +01:00
|
|
|
buildInputs = [
|
|
|
|
glib json-glib libelf utillinux
|
|
|
|
];
|
2015-01-26 01:08:05 +01:00
|
|
|
|
2018-12-23 21:43:28 +01:00
|
|
|
prefixKey = "--prefix=";
|
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";
|
2020-04-01 03:11:51 +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
|
|
|
};
|
|
|
|
}
|