capnproto-rust: init at 0.17.1
This commit is contained in:
parent
ed7bbf1685
commit
2bcd410b75
2 changed files with 31 additions and 0 deletions
29
pkgs/development/tools/capnproto-rust/default.nix
Normal file
29
pkgs/development/tools/capnproto-rust/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, fetchCrate
|
||||
, rustPlatform
|
||||
, capnproto
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "capnproto-rust";
|
||||
version = "0.17.1";
|
||||
|
||||
src = fetchCrate {
|
||||
crateName = "capnpc";
|
||||
inherit version;
|
||||
sha256 = "sha256-7RfJUYV3X9w0FALP3pbhmeIqrWLqlgr4oNvPnBc+RY8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wmoXdukXWagW61jbFBODnIjlBrV6Q+wgvuFG/TqkvVk=";
|
||||
|
||||
nativeCheckInputs = [
|
||||
capnproto
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cap'n Proto codegen plugin for Rust";
|
||||
homepage = "https://github.com/capnproto/capnproto-rust";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mikroskeem ];
|
||||
};
|
||||
}
|
|
@ -19942,6 +19942,8 @@ with pkgs;
|
|||
|
||||
capnproto-java = callPackage ../development/tools/capnproto-java { };
|
||||
|
||||
capnproto-rust = callPackage ../development/tools/capnproto-rust { };
|
||||
|
||||
captive-browser = callPackage ../applications/networking/browsers/captive-browser { };
|
||||
|
||||
ndn-cxx = callPackage ../development/libraries/ndn-cxx { };
|
||||
|
|
Loading…
Reference in a new issue