nixpkgs/pkgs/tools/misc/rmlint/default.nix
Pascal Bach 3b2506b048 rmlint: 2.6.1 -> 2.8.0
The recipe now uses the default scons build phases.
2018-12-23 21:43:28 +01:00

34 lines
816 B
Nix

{ stdenv, fetchFromGitHub,
gettext, glib, json-glib, libelf, pkgconfig, scons, sphinx, utillinux }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "rmlint-${version}";
version = "2.8.0";
src = fetchFromGitHub {
owner = "sahib";
repo = "rmlint";
rev = "v${version}";
sha256 = "1gc7gbnh0qg1kl151cv1ld87vhpm1v3pnkn7prhscdcc21jrg8nz";
};
patches = [
./blkid-hack.patch
];
nativeBuildInputs = [ pkgconfig sphinx ];
buildInputs = [ gettext glib json-glib libelf scons utillinux ];
prefixKey = "--prefix=";
meta = {
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
homepage = https://rmlint.readthedocs.org;
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.koral ];
};
}