2021-10-11 16:52:03 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "crabz";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.10.0";
|
2021-10-11 16:52:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sstadick";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-GJHxo4WD/XMudwxOHdNwY1M+b/DFJMpU0uD3sOvO5YU=";
|
2021-10-11 16:52:03 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
cargoHash = "sha256-T+Sdzts7gzkG2EFcKrkVDUIq2V34PBdW3oyxMUcCWaI=";
|
2021-10-11 16:52:03 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Cross platform, fast, compression and decompression tool";
|
2021-10-11 16:52:03 +00:00
|
|
|
homepage = "https://github.com/sstadick/crabz";
|
|
|
|
changelog = "https://github.com/sstadick/crabz/blob/v${version}/CHANGELOG.md";
|
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "crabz";
|
2021-10-11 16:52:03 +00:00
|
|
|
};
|
|
|
|
}
|