1{ lib
2, rustPlatform
3, fetchFromGitHub
4, pkg-config
5, zstd
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "unzrip";
10 version = "unstable-2023-04-16";
11
12 src = fetchFromGitHub {
13 owner = "quininer";
14 repo = "unzrip";
15 rev = "14ba4b4c9ff9c80444ecef762d665acaa5aecfce";
16 hash = "sha256-QYu4PXWQGagj7r8lLs0IngIXzt6B8uq2qonycaGDg6g=";
17 };
18
19 cargoHash = "sha256-9CjKSdd+E2frI8VvdOawYQ3u+KF22xw9kBpnAufRUG0=";
20
21 nativeBuildInputs = [
22 pkg-config
23 ];
24
25 buildInputs = [
26 zstd
27 ];
28
29 meta = with lib; {
30 description = "Unzip implementation, support for parallel decompression, automatic detection encoding";
31 homepage = "https://github.com/quininer/unzrip";
32 license = licenses.mit;
33 maintainers = with maintainers; [ figsoda ];
34 };
35}