nixpkgs/pkgs/tools/misc/rmlint/default.nix

37 lines
839 B
Nix
Raw Normal View History

2018-12-23 21:41:09 +00:00
{ stdenv, fetchFromGitHub
, gettext, pkgconfig, scons
, glib, json-glib, libelf, sphinx, utillinux }:
2015-01-26 00:08:05 +00:00
with stdenv.lib;
stdenv.mkDerivation rec {
2015-01-26 00:08:05 +00:00
name = "rmlint-${version}";
version = "2.8.0";
src = fetchFromGitHub {
owner = "sahib";
repo = "rmlint";
rev = "v${version}";
sha256 = "1gc7gbnh0qg1kl151cv1ld87vhpm1v3pnkn7prhscdcc21jrg8nz";
};
2018-12-23 21:41:09 +00:00
CFLAGS="-I${stdenv.lib.getDev utillinux}/include";
2015-01-26 00:08:05 +00:00
2018-12-23 21:41:09 +00:00
nativeBuildInputs = [
pkgconfig sphinx gettext scons
];
2015-01-26 00:08:05 +00:00
2018-12-23 21:41:09 +00:00
buildInputs = [
glib json-glib libelf utillinux
];
2015-01-26 00:08:05 +00:00
prefixKey = "--prefix=";
meta = {
2015-04-28 09:54:58 +01:00
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
homepage = https://rmlint.readthedocs.org;
2015-01-26 00:08:05 +00:00
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.koral ];
};
}