forked from mirrors/nixpkgs
30 lines
816 B
Nix
30 lines
816 B
Nix
{ stdenv, fetchurl
|
|
, gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec {
|
|
name = "rmlint-${version}";
|
|
version = "2.4.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz";
|
|
sha256 = "0rfgzamrw89z67jxg8b5jqjmvql00304n0ai4a81bfl90gybyncf";
|
|
};
|
|
|
|
configurePhase = "scons config";
|
|
|
|
buildInputs = [ gettext glib json_glib libelf pkgconfig scons sphinx utillinux ];
|
|
|
|
buildPhase = "scons";
|
|
|
|
installPhase = "scons --prefix=$out install";
|
|
|
|
meta = {
|
|
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
|
|
homepage = http://rmlint.readthedocs.org;
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.koral ];
|
|
};
|
|
}
|