2016-05-09 18:28:24 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libgcrypt
|
|
|
|
, pkgconfig, glib, linuxHeaders ? stdenv.cc.libc.linuxHeaders, sqlite }:
|
2014-11-05 22:58:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "duperemove-${version}";
|
2018-05-18 10:18:12 +01:00
|
|
|
version = "0.11";
|
2014-11-05 22:58:14 +00:00
|
|
|
|
2015-07-02 11:26:44 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markfasheh";
|
|
|
|
repo = "duperemove";
|
|
|
|
rev = "v${version}";
|
2018-05-18 10:18:12 +01:00
|
|
|
sha256 = "09bwpsvnppl9bm2l5pym5673x04ah3hddb0xip61gdq8ws3ri5yj";
|
2014-11-05 22:58:14 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libgcrypt glib linuxHeaders sqlite ];
|
2014-11-05 22:58:14 +00:00
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
|
|
|
|
2016-05-09 18:28:24 +01: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";
|
|
|
|
homepage = https://github.com/markfasheh/duperemove;
|
2016-05-09 18:28:24 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 thoughtpolice ];
|
|
|
|
platforms = platforms.linux;
|
2014-11-05 22:58:14 +00:00
|
|
|
};
|
|
|
|
}
|