@@ -1,26 +1,30 @@
1−{ stdenv, fetchFromGitHub,
2− gettext, glib, json-glib, libelf, pkgconfig, scons, sphinx, utillinux }:
1+{ stdenv, fetchFromGitHub
2+, gettext, pkgconfig, scons
3+, glib, json-glib, libelf, sphinx, utillinux }:
34
45with stdenv.lib;
56stdenv.mkDerivation rec {
67 name = "rmlint-${version}";
7− version = "2.6.1";
8+ version = "2.8.0";
89
910 src = fetchFromGitHub {
1011 owner = "sahib";
1112 repo = "rmlint";
1213 rev = "v${version}";
13− sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
14+ sha256 = "1gc7gbnh0qg1kl151cv1ld87vhpm1v3pnkn7prhscdcc21jrg8nz";
1415 };
1516
16− configurePhase = "scons config";
17+ CFLAGS="-I${stdenv.lib.getDev utillinux}/include";
1718
18− nativeBuildInputs = [ pkgconfig ];
19− buildInputs = [ gettext glib json-glib libelf scons sphinx utillinux ];
19+ nativeBuildInputs = [
20+ pkgconfig sphinx gettext scons
21+ ];
2022
21− buildPhase = "scons";
23+ buildInputs = [
24+ glib json-glib libelf utillinux
25+ ];
2226
23− installPhase = "scons --prefix=$out install";
27+ prefixKey = "--prefix=";
2428
2529 meta = {
2630 description = "Extremely fast tool to remove duplicates and other lint from your filesystem";