diff options
Diffstat (limited to 'pkgs/development/tools/protoc-gen-rust/default.nix')
-rw-r--r-- | pkgs/development/tools/protoc-gen-rust/default.nix | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/pkgs/development/tools/protoc-gen-rust/default.nix b/pkgs/development/tools/protoc-gen-rust/default.nix deleted file mode 100644 index bba32dd81a4ed..0000000000000 --- a/pkgs/development/tools/protoc-gen-rust/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ fetchCrate -, lib -, rustPlatform -, protobuf -}: - -rustPlatform.buildRustPackage rec { - pname = "protoc-gen-rust"; - version = "3.2.0"; - - src = fetchCrate { - inherit version; - pname = "protobuf-codegen"; - sha256 = "sha256-9Rf7GI/qxoqlISD169TJwUVAdJn8TpxTXDNxiQra2UY="; - }; - - cargoSha256 = "sha256-i1ZIEbU6tw7xA1w+ffD/h1HIkOwVep9wQJys9Bydvv0="; - - cargoBuildFlags = ["--bin" pname]; - - nativeBuildInputs = [ protobuf ]; - - meta = with lib; { - description = "Protobuf plugin for generating Rust code"; - mainProgram = "protoc-gen-rust"; - homepage = "https://github.com/stepancheg/rust-protobuf"; - license = licenses.mit; - maintainers = with maintainers; [ lucperkins ]; - }; -} |