gap: ship Makefile.gappkg for future gap package use (#380430)
[NixPkgs.git] / pkgs / by-name / cr / crabz / package.nix
blob21d84e636b8f7be48b738a5124a2647fcd085072
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   cmake,
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "crabz";
10   version = "0.10.0";
12   src = fetchFromGitHub {
13     owner = "sstadick";
14     repo = pname;
15     rev = "v${version}";
16     sha256 = "sha256-GJHxo4WD/XMudwxOHdNwY1M+b/DFJMpU0uD3sOvO5YU=";
17   };
19   useFetchCargoVendor = true;
20   cargoHash = "sha256-JzzDkbDVL6az6b/s640KikSNJCwv8hf0aFcmGnvYQu4=";
22   nativeBuildInputs = [ cmake ];
24   meta = with lib; {
25     description = "Cross platform, fast, compression and decompression tool";
26     homepage = "https://github.com/sstadick/crabz";
27     changelog = "https://github.com/sstadick/crabz/blob/v${version}/CHANGELOG.md";
28     license = with licenses; [
29       unlicense # or
30       mit
31     ];
32     maintainers = with maintainers; [ figsoda ];
33     mainProgram = "crabz";
34   };