2017-02-18 21:20:42 +00:00
|
|
|
{ stdenv, fetchurl, rustPlatform, lzo, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "btrfs-dedupe-${version}";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe/repository/archive.tar.bz2?ref=72c6a301d20f935827b994db210bf0a1e121273a";
|
|
|
|
sha256 = "0qy1g4crhfgs2f5cmrsjv6qscg3r66gb8n6sxhimm9ksivhjyyjp";
|
|
|
|
};
|
|
|
|
|
2017-08-05 15:38:48 +01:00
|
|
|
cargoSha256 = "0dmn9bccicxhqcj9zrsxxp0vb5ma12a1hs9brpc22n4g1qy4yzcn";
|
2017-02-18 21:20:42 +00:00
|
|
|
|
|
|
|
buildInputs = [ lzo zlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe;
|
2017-02-18 21:20:42 +00:00
|
|
|
description = "BTRFS deduplication utility";
|
|
|
|
license = licenses.mit;
|
2017-03-02 13:23:41 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2017-02-18 21:20:42 +00:00
|
|
|
maintainers = with maintainers; [ ikervagyok ];
|
|
|
|
};
|
|
|
|
}
|