nixpkgs-suyu/pkgs/tools/filesystems/duperemove/default.nix
aszlig b65d351c30
duperemove: Update from 0.09.beta2 to 0.09.4.
Also switches to fetchFromGitHub to remove the need to depend on Git for
fetching the source tarball.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-07-02 12:28:26 +02:00

26 lines
745 B
Nix

{ lib, stdenv, fetchFromGitHub, libgcrypt, pkgconfig, glib, linuxHeaders }:
stdenv.mkDerivation rec {
name = "duperemove-${version}";
version = "0.09.4";
src = fetchFromGitHub {
owner = "markfasheh";
repo = "duperemove";
rev = "v${version}";
sha256 = "1d586k6rbfqb5557i1p5xq8ngbppbwpxlkw8wqm7d900a3hp36nl";
};
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;
};
}