9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
29 lines
620 B
Nix
29 lines
620 B
Nix
{ 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 ];
|
|
};
|
|
}
|