Merge pull request #52738 from bachp/rmlint-2.8.0
rmlint: 2.6.1 -> 2.8.0
This commit is contained in:
commit
fbd7d43c39
|
@ -1,26 +1,30 @@
|
||||||
{ stdenv, fetchFromGitHub,
|
{ stdenv, fetchFromGitHub
|
||||||
gettext, glib, json-glib, libelf, pkgconfig, scons, sphinx, utillinux }:
|
, gettext, pkgconfig, scons
|
||||||
|
, glib, json-glib, libelf, sphinx, utillinux }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rmlint-${version}";
|
name = "rmlint-${version}";
|
||||||
version = "2.6.1";
|
version = "2.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sahib";
|
owner = "sahib";
|
||||||
repo = "rmlint";
|
repo = "rmlint";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
|
sha256 = "1gc7gbnh0qg1kl151cv1ld87vhpm1v3pnkn7prhscdcc21jrg8nz";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = "scons config";
|
CFLAGS="-I${stdenv.lib.getDev utillinux}/include";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ gettext glib json-glib libelf scons sphinx utillinux ];
|
pkgconfig sphinx gettext scons
|
||||||
|
];
|
||||||
|
|
||||||
buildPhase = "scons";
|
buildInputs = [
|
||||||
|
glib json-glib libelf utillinux
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = "scons --prefix=$out install";
|
prefixKey = "--prefix=";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
||||||
|
|
Loading…
Reference in New Issue