mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
commit
ec10b40e23
29
pkgs/development/tools/misc/protox/default.nix
Normal file
29
pkgs/development/tools/misc/protox/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "protox";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-n72Fvdo6LLk8pzYS2/5zk+dbsLRPAm6NZ5DsMRyHCTY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wW4UcC3QAtriLEiXPndP+tZATftWP7ySavpIV6cGVCA=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -19369,6 +19369,8 @@ with pkgs;
|
||||
|
||||
procodile = callPackage ../tools/system/procodile { };
|
||||
|
||||
protox = callPackage ../development/tools/misc/protox { };
|
||||
|
||||
proxmove = callPackage ../tools/admin/proxmove { };
|
||||
|
||||
pry = callPackage ../development/tools/pry { };
|
||||
|
Loading…
Reference in New Issue
Block a user