-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add duperemove: btrfs deduplication tool
- Loading branch information
1 parent
a94baad
commit d0e0d62
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters