2017-02-18 22:20:42 +01:00
|
|
|
{ stdenv, fetchurl, rustPlatform, lzo, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "btrfs-dedupe";
|
2017-02-18 22:20:42 +01:00
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe/repository/archive.tar.bz2?ref=72c6a301d20f935827b994db210bf0a1e121273a";
|
|
|
|
sha256 = "0qy1g4crhfgs2f5cmrsjv6qscg3r66gb8n6sxhimm9ksivhjyyjp";
|
|
|
|
};
|
|
|
|
|
2020-02-14 03:00:26 +01:00
|
|
|
# Delete this on next update; see #79975 for details
|
|
|
|
legacyCargoFetcher = true;
|
|
|
|
|
2019-05-25 13:03:08 +02:00
|
|
|
cargoSha256 = "1sz3fswb76rnk7x4kpl1rnj2yxbhpx6q8kv8xxiqdr7qyphpi98r";
|
2017-02-18 22:20:42 +01:00
|
|
|
|
|
|
|
buildInputs = [ lzo zlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe;
|
2017-02-18 22:20:42 +01:00
|
|
|
description = "BTRFS deduplication utility";
|
|
|
|
license = licenses.mit;
|
2017-03-02 14:23:41 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2017-02-18 22:20:42 +01:00
|
|
|
maintainers = with maintainers; [ ikervagyok ];
|
|
|
|
};
|
|
|
|
}
|