nixpkgs/pkgs/tools/misc/rmlint/default.nix

33 lines
854 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub,
gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }:
2015-01-26 00:08:05 +00:00
with stdenv.lib;
stdenv.mkDerivation rec {
2015-01-26 00:08:05 +00:00
name = "rmlint-${version}";
version = "2.6.1";
src = fetchFromGitHub {
owner = "sahib";
repo = "rmlint";
rev = "v${version}";
sha256 = "1j09qk3zypw4my713q9g36kq37ggqd5v9vrs3h821p6p3qmmkdn8";
};
2015-01-26 00:08:05 +00:00
configurePhase = "scons config";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gettext glib json_glib libelf scons sphinx utillinux ];
2015-01-26 00:08:05 +00:00
buildPhase = "scons";
installPhase = "scons --prefix=$out install";
meta = {
2015-04-28 09:54:58 +01:00
description = "Extremely fast tool to remove duplicates and other lint from your filesystem";
homepage = https://rmlint.readthedocs.org;
2015-01-26 00:08:05 +00:00
platforms = platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.koral ];
};
}