depot/third_party/nixpkgs/pkgs/tools/compression/unzrip/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

36 lines
794 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, zstd
}:
rustPlatform.buildRustPackage rec {
pname = "unzrip";
version = "unstable-2023-04-16";
src = fetchFromGitHub {
owner = "quininer";
repo = "unzrip";
rev = "14ba4b4c9ff9c80444ecef762d665acaa5aecfce";
hash = "sha256-QYu4PXWQGagj7r8lLs0IngIXzt6B8uq2qonycaGDg6g=";
};
cargoHash = "sha256-9CjKSdd+E2frI8VvdOawYQ3u+KF22xw9kBpnAufRUG0=";
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 ];
mainProgram = "unzrip";
};
}