mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
062210bdff
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
27 lines
797 B
Nix
27 lines
797 B
Nix
{ 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";
|
|
};
|
|
|
|
cargoSha256 = "1sz3fswb76rnk7x4kpl1rnj2yxbhpx6q8kv8xxiqdr7qyphpi98r";
|
|
|
|
buildInputs = [ lzo zlib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe;
|
|
description = "BTRFS deduplication utility";
|
|
license = licenses.mit;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with maintainers; [ ikervagyok ];
|
|
};
|
|
}
|