2015-12-20 04:42:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libgcrypt
|
|
|
|
, pkgconfig, glib, linuxHeaders, sqlite }:
|
2014-11-05 22:58:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "duperemove-${version}";
|
2015-12-20 04:42:16 +00:00
|
|
|
version = "0.10";
|
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}";
|
2015-12-20 04:42:16 +00:00
|
|
|
sha256 = "1fll0xjg1p3pabgjiddild4ragk9spbdmdzrkq0hv5pxb1qrv7lp";
|
2014-11-05 22:58:14 +00:00
|
|
|
};
|
|
|
|
|
2015-12-20 04:42:16 +00:00
|
|
|
buildInputs = [ libgcrypt pkgconfig glib linuxHeaders sqlite ];
|
2014-11-05 22:58:14 +00:00
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple tool for finding duplicated extents and submitting them for deduplication";
|
|
|
|
homepage = https://github.com/markfasheh/duperemove;
|
|
|
|
license = lib.licenses.gpl2;
|
2015-12-20 04:42:16 +00:00
|
|
|
maintainers = with lib.maintainers; [ bluescreen303 thoughtpolice ];
|
2014-11-05 22:58:14 +00:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|