git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #52738 from bachp/rmlint-2.8.0

rmlint: 2.6.1 -> 2.8.0

commitfbd7d43c39e0a498cf1c2c423b0014871634c784 authorJörg Thalheim <Mic92@users.noreply.github.com> dateThu 24 Jan 2019, 14:14 (8 years ago) parentbe89ca5e7ad1fb
1 file changed+13−9
pkgs/tools/misc/rmlint/default.nix+13−9
pkgs/tools/misc/rmlint/default.nix+13−9
@@ -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";