forked from mirrors/nixpkgs
add duperemove: btrfs deduplication tool
This commit is contained in:
parent
a94baadb48
commit
d0e0d62e61
24
pkgs/tools/filesystems/duperemove/default.nix
Normal file
24
pkgs/tools/filesystems/duperemove/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ lib, stdenv, fetchurl, libgcrypt, pkgconfig, glib, linuxHeaders }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "duperemove-${version}";
|
||||||
|
version = "0.09.beta2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "0rn7lf9rjf4ypgfwms2y7b459rri4rfn809h6wx8xl9nbm5niil4";
|
||||||
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -682,6 +682,10 @@ let
|
||||||
|
|
||||||
dlx = callPackage ../misc/emulators/dlx { };
|
dlx = callPackage ../misc/emulators/dlx { };
|
||||||
|
|
||||||
|
duperemove = callPackage ../tools/filesystems/duperemove {
|
||||||
|
linuxHeaders = linuxHeaders_3_14;
|
||||||
|
};
|
||||||
|
|
||||||
eggdrop = callPackage ../tools/networking/eggdrop { };
|
eggdrop = callPackage ../tools/networking/eggdrop { };
|
||||||
|
|
||||||
enca = callPackage ../tools/text/enca { };
|
enca = callPackage ../tools/text/enca { };
|
||||||
|
|
Loading…
Reference in a new issue