diff options
author | Mathijs Kwik <mathijs@bluescreen303.nl> | 2014-11-05 23:58:14 +0100 |
---|---|---|
committer | Mathijs Kwik <mathijs@bluescreen303.nl> | 2014-11-06 00:02:45 +0100 |
commit | d0e0d62e618aa651d6850f3828262e28a5873af3 (patch) | |
tree | ab84161768d342d3af5d971b3e29548500ea69d8 /pkgs/tools/filesystems/duperemove | |
parent | a94baadb48387c8e19524d391f1bb18f19aad938 (diff) |
add duperemove: btrfs deduplication tool
Diffstat (limited to 'pkgs/tools/filesystems/duperemove')
-rw-r--r-- | pkgs/tools/filesystems/duperemove/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/duperemove/default.nix b/pkgs/tools/filesystems/duperemove/default.nix new file mode 100644 index 0000000000000..087012d62a1fa --- /dev/null +++ b/pkgs/tools/filesystems/duperemove/default.nix @@ -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; + }; +} |