13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 hash = "sha256-O9R7SmhKQ6VB9TWbLsQmK/0tDWhJ1QWIPwW7VtibqAk=";
24 cargoHash = "sha256-1ZHAbJIWRQh876rshMYeuCz7UMlwdqrScO0eIkGjZao=";
26 buildInputs = [ openssl ]
27 ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
28 nativeBuildInputs = [ pkg-config ];
30 setupHook = ./setup-hook.sh;
33 fetchzipWithRipunzip = testers.invalidateFetcherByDrvHash (fetchzip.override { unzip = ripunzip; }) {
34 url = "https://github.com/google/ripunzip/archive/cb9caa3ba4b0e27a85e165be64c40f1f6dfcc085.zip";
35 hash = "sha256-BoErC5VL3Vpvkx6xJq6J+eUJrBnjVEdTuSo7zh98Jy4=";
37 version = testers.testVersion {
43 description = "Tool to unzip files in parallel";
44 mainProgram = "ripunzip";
45 homepage = "https://github.com/google/ripunzip";
46 license = with lib.licenses; [ mit asl20 ];
47 maintainers = [ maintainers.lesuisse ];