2015-07-02 03:26:44 -07:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libgcrypt, pkgconfig, glib, linuxHeaders }:
|
2014-11-05 14:58:14 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "duperemove-${version}";
|
2015-07-02 03:26:44 -07:00
|
|
|
version = "0.09.4";
|
2014-11-05 14:58:14 -08:00
|
|
|
|
2015-07-02 03:26:44 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markfasheh";
|
|
|
|
repo = "duperemove";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1d586k6rbfqb5557i1p5xq8ngbppbwpxlkw8wqm7d900a3hp36nl";
|
2014-11-05 14:58:14 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libgcrypt pkgconfig glib linuxHeaders ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
maintainers = [ lib.maintainers.bluescreen303 ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|