nixpkgs/pkgs/tools/compression/crabz/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
774 B
Nix
Raw Normal View History

2021-10-09 23:54:08 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, cmake
}:
rustPlatform.buildRustPackage rec {
pname = "crabz";
2024-03-21 02:33:14 +00:00
version = "0.10.0";
2021-10-09 23:54:08 +00:00
src = fetchFromGitHub {
owner = "sstadick";
repo = pname;
rev = "v${version}";
2024-03-21 02:33:14 +00:00
sha256 = "sha256-GJHxo4WD/XMudwxOHdNwY1M+b/DFJMpU0uD3sOvO5YU=";
2021-10-09 23:54:08 +00:00
};
2024-03-21 02:33:14 +00:00
cargoHash = "sha256-T+Sdzts7gzkG2EFcKrkVDUIq2V34PBdW3oyxMUcCWaI=";
2021-10-09 23:54:08 +00:00
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Cross platform, fast, compression and decompression tool";
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 ];
2023-11-23 02:51:17 +00:00
mainProgram = "crabz";
2021-10-09 23:54:08 +00:00
};
}