mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
1c4e970c15
Diff: https://github.com/sstadick/crabz/compare/v0.7.10...v0.8.1 Changelog: https://github.com/sstadick/crabz/blob/v0.8.1/CHANGELOG.md
30 lines
750 B
Nix
30 lines
750 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "crabz";
|
|
version = "0.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sstadick";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-w/e0NFmBsYNEECT+2zHEm/UUpp5LxPYr0BdKikT2o1M=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-9VOJeRvyudZSCaUZ1J9gHMEoWXEnEhCZPxvfYGRKzj0=";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
description = "A 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 ];
|
|
};
|
|
}
|