biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / protox / default.nix
blob415f19aa71b0de4c0eaa1fd0c08368fb0003b2e0
1 { lib
2 , rustPlatform
3 , fetchCrate
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "protox";
8   version = "0.5.0";
10   src = fetchCrate {
11     inherit pname version;
12     hash = "sha256-U9+7k7dQ6YFfsKMfFMg34g42qLvn+mcSRlAAys3eXNo=";
13   };
15   cargoHash = "sha256-sNOw19gxj+cEctxhXNWI8u15VJYlN8nSNl6Ha9sB/eE=";
17   buildFeatures = [ "bin" ];
19   # tests are not included in the crate source
20   doCheck = false;
22   meta = with lib; {
23     description = "A rust implementation of the protobuf compiler";
24     mainProgram = "protox";
25     homepage = "https://github.com/andrewhickman/protox";
26     changelog = "https://github.com/andrewhickman/protox/blob/${version}/CHANGELOG.md";
27     license = with licenses; [ asl20 mit ];
28     maintainers = with maintainers; [ figsoda ];
29   };