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

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

30 lines
750 B
Nix
Raw Normal View History

2021-10-09 23:54:08 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, cmake
}:
rustPlatform.buildRustPackage rec {
pname = "crabz";
version = "0.8.1";
2021-10-09 23:54:08 +00:00
src = fetchFromGitHub {
owner = "sstadick";
repo = pname;
rev = "v${version}";
sha256 = "sha256-w/e0NFmBsYNEECT+2zHEm/UUpp5LxPYr0BdKikT2o1M=";
2021-10-09 23:54:08 +00:00
};
cargoSha256 = "sha256-9VOJeRvyudZSCaUZ1J9gHMEoWXEnEhCZPxvfYGRKzj0=";
2021-10-09 23:54:08 +00:00
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 ];
};
}