at v192 29 lines 816 B view raw
1{ stdenv, fetchurl 2, gettext, glib, json_glib, libelf, pkgconfig, scons, sphinx, utillinux }: 3 4with stdenv.lib; 5stdenv.mkDerivation rec { 6 name = "rmlint-${version}"; 7 version = "2.2.0"; 8 9 src = fetchurl { 10 url = "https://github.com/sahib/rmlint/archive/v${version}.tar.gz"; 11 sha256 = "1wg6br30ccvxl2189a75lb3d03kg8spfkkp9qlf3whl0xirsm15n"; 12 }; 13 14 configurePhase = "scons config"; 15 16 buildInputs = [ gettext glib json_glib libelf pkgconfig scons sphinx utillinux ]; 17 18 buildPhase = "scons"; 19 20 installPhase = "scons --prefix=$out install"; 21 22 meta = { 23 description = "Extremely fast tool to remove duplicates and other lint from your filesystem"; 24 homepage = http://rmlint.readthedocs.org; 25 platforms = platforms.linux; 26 license = licenses.gpl3; 27 maintainers = [ maintainers.koral ]; 28 }; 29}