2016-05-09 17:28:24 +00:00
|
|
|
{ stdenv, fetchFromGitHub, libgcrypt
|
|
|
|
, pkgconfig, glib, linuxHeaders ? stdenv.cc.libc.linuxHeaders, sqlite }:
|
2014-11-05 22:58:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "duperemove";
|
2020-11-11 03:59:28 +00:00
|
|
|
version = "0.11.2";
|
2014-11-05 22:58:14 +00:00
|
|
|
|
2015-07-02 10:26:44 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markfasheh";
|
|
|
|
repo = "duperemove";
|
|
|
|
rev = "v${version}";
|
2020-11-11 03:59:28 +00:00
|
|
|
sha256 = "1a87mka2sfzhbch2jip6wlvvs0glxq9lqwmyrp359d1rmwwmqiw9";
|
2014-11-05 22:58:14 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libgcrypt glib linuxHeaders sqlite ];
|
2014-11-05 22:58:14 +00:00
|
|
|
|
2018-12-22 21:33:33 +00:00
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
2014-11-05 22:58:14 +00:00
|
|
|
|
2016-05-09 17:28:24 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-05 22:58:14 +00:00
|
|
|
description = "A simple tool for finding duplicated extents and submitting them for deduplication";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/markfasheh/duperemove";
|
2016-05-09 17:28:24 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 thoughtpolice ];
|
|
|
|
platforms = platforms.linux;
|
2014-11-05 22:58:14 +00:00
|
|
|
};
|
|
|
|
}
|