3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #52738 from bachp/rmlint-2.8.0

rmlint: 2.6.1 -> 2.8.0
This commit is contained in:
Jörg Thalheim 2019-01-24 14:14:03 +00:00 committed by GitHub
commit fbd7d43c39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,30 @@
{ stdenv, fetchFromGitHub,
gettext, glib, json-glib, libelf, pkgconfig, scons, sphinx, utillinux }:
{ stdenv, fetchFromGitHub
, gettext, pkgconfig, scons
, glib, json-glib, libelf, sphinx, utillinux }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "rmlint-${version}";
version = "2.6.1";
version = "2.8.0";
src = fetchFromGitHub {
owner = "sahib";
repo = "rmlint";
rev = "v${version}";
sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
sha256 = "1gc7gbnh0qg1kl151cv1ld87vhpm1v3pnkn7prhscdcc21jrg8nz";
};
configurePhase = "scons config";
CFLAGS="-I${stdenv.lib.getDev utillinux}/include";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gettext glib json-glib libelf scons sphinx utillinux ];
nativeBuildInputs = [
pkgconfig sphinx gettext scons
];
buildPhase = "scons";
buildInputs = [
glib json-glib libelf utillinux
];
installPhase = "scons --prefix=$out install";
prefixKey = "--prefix=";
meta = {
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";