depot/third_party/nixpkgs/pkgs/tools/compression/unzrip/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

35 lines
766 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, zstd
}:
rustPlatform.buildRustPackage rec {
pname = "unzrip";
version = "unstable-2023-03-13";
src = fetchFromGitHub {
owner = "quininer";
repo = "unzrip";
rev = "bd2dffd43c3235857500190571602f3ce58c5f70";
hash = "sha256-Ih47xF4JYQf10RuTnfJJGUAJwyxDxCAdTTCdwGf4i/U=";
};
cargoHash = "sha256-11UESSKvTcr6Wa0cASRSQ55kBbRL5AelI6thv3oi0sI=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
zstd
];
meta = with lib; {
description = "Unzip implementation, support for parallel decompression, automatic detection encoding";
homepage = "https://github.com/quininer/unzrip";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}