capnproto-rust: init at 0.17.1

This commit is contained in:
Mark Vainomaa 2023-06-04 02:39:02 +03:00
parent ed7bbf1685
commit 2bcd410b75
No known key found for this signature in database
GPG key ID: 1B3F9523B542D315
2 changed files with 31 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };