1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/tools/misc/rmlint/default.nix
R. RyanTM 5abb31557d rmlint: 2.8.0 -> 2.9.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/rmlint/versions
2019-09-28 19:33:01 -07:00

37 lines
829 B
Nix

{ stdenv, fetchFromGitHub
, gettext, pkgconfig, scons
, glib, json-glib, libelf, sphinx, utillinux }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "rmlint";
version = "2.9.0";
src = fetchFromGitHub {
owner = "sahib";
repo = "rmlint";
rev = "v${version}";
sha256 = "1b5cziam14h80xrfb285fmfrzz2rligxcpsq1xsig14xf4l2875i";
};
CFLAGS="-I${stdenv.lib.getDev utillinux}/include";
nativeBuildInputs = [
pkgconfig sphinx gettext scons
];
buildInputs = [
glib json-glib libelf 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 ];
};
}