mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
4f7cd83e6f
Diff: https://diff.rs/protox/0.4.1/0.5.0 Changelog: https://github.com/andrewhickman/protox/blob/0.5.0/CHANGELOG.md
30 lines
738 B
Nix
30 lines
738 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "protox";
|
|
version = "0.5.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-U9+7k7dQ6YFfsKMfFMg34g42qLvn+mcSRlAAys3eXNo=";
|
|
};
|
|
|
|
cargoHash = "sha256-sNOw19gxj+cEctxhXNWI8u15VJYlN8nSNl6Ha9sB/eE=";
|
|
|
|
buildFeatures = [ "bin" ];
|
|
|
|
# tests are not included in the crate source
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A rust implementation of the protobuf compiler";
|
|
homepage = "https://github.com/andrewhickman/protox";
|
|
changelog = "https://github.com/andrewhickman/protox/blob/${version}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|