2016-05-09 11:28:24 -06:00
|
|
|
{ stdenv, fetchFromGitHub, libgcrypt
|
|
|
|
, pkgconfig, glib, linuxHeaders ? stdenv.cc.libc.linuxHeaders, sqlite }:
|
2014-11-05 15:58:14 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "duperemove-${version}";
|
2015-12-19 21:42:16 -07:00
|
|
|
version = "0.10";
|
2014-11-05 15:58:14 -07:00
|
|
|
|
2015-07-02 04:26:44 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markfasheh";
|
|
|
|
repo = "duperemove";
|
|
|
|
rev = "v${version}";
|
2015-12-19 21:42:16 -07:00
|
|
|
sha256 = "1fll0xjg1p3pabgjiddild4ragk9spbdmdzrkq0hv5pxb1qrv7lp";
|
2014-11-05 15:58:14 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 15:26:13 -06:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libgcrypt glib linuxHeaders sqlite ];
|
2014-11-05 15:58:14 -07:00
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
|
|
|
|
2016-05-09 11:28:24 -06:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-05 15:58:14 -07:00
|
|
|
description = "A simple tool for finding duplicated extents and submitting them for deduplication";
|
|
|
|
homepage = https://github.com/markfasheh/duperemove;
|
2016-05-09 11:28:24 -06:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 thoughtpolice ];
|
|
|
|
platforms = platforms.linux;
|
2014-11-05 15:58:14 -07:00
|
|
|
};
|
|
|
|
}
|