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