10a7021c83
Signed-off-by: Austin Seipp <aseipp@pobox.com>
27 lines
778 B
Nix
27 lines
778 B
Nix
{ lib, stdenv, fetchFromGitHub, libgcrypt
|
|
, pkgconfig, glib, linuxHeaders, sqlite }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "duperemove-${version}";
|
|
version = "0.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markfasheh";
|
|
repo = "duperemove";
|
|
rev = "v${version}";
|
|
sha256 = "1fll0xjg1p3pabgjiddild4ragk9spbdmdzrkq0hv5pxb1qrv7lp";
|
|
};
|
|
|
|
buildInputs = [ libgcrypt pkgconfig glib linuxHeaders sqlite ];
|
|
|
|
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 = with lib.maintainers; [ bluescreen303 thoughtpolice ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|