2023-03-13 03:42:45 +01:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, zstd
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "unzrip";
|
2023-04-18 22:33:26 +02:00
|
|
|
version = "unstable-2023-04-16";
|
2023-03-13 03:42:45 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quininer";
|
|
|
|
repo = "unzrip";
|
2023-04-18 22:33:26 +02:00
|
|
|
rev = "14ba4b4c9ff9c80444ecef762d665acaa5aecfce";
|
|
|
|
hash = "sha256-QYu4PXWQGagj7r8lLs0IngIXzt6B8uq2qonycaGDg6g=";
|
2023-03-13 03:42:45 +01:00
|
|
|
};
|
|
|
|
|
2023-04-18 22:33:26 +02:00
|
|
|
cargoHash = "sha256-9CjKSdd+E2frI8VvdOawYQ3u+KF22xw9kBpnAufRUG0=";
|
2023-03-13 03:42:45 +01:00
|
|
|
|
|
|
|
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 ];
|
2023-11-23 03:51:17 +01:00
|
|
|
mainProgram = "unzrip";
|
2023-03-13 03:42:45 +01:00
|
|
|
};
|
|
|
|
}
|