mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
3b2506b048
The recipe now uses the default scons build phases.
34 lines
816 B
Nix
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 ];
|
|
};
|
|
}
|