quill: 0.2.17 -> 0.5.1
This commit is contained in:
parent
16ec17e630
commit
b5938e6b8c
@ -6,6 +6,7 @@
|
||||
openssl,
|
||||
Security,
|
||||
libiconv,
|
||||
udev,
|
||||
pkg-config,
|
||||
protobuf,
|
||||
buildPackages,
|
||||
@ -13,20 +14,20 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "quill";
|
||||
version = "0.2.17";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dfinity";
|
||||
repo = "quill";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0DHTtnQU26l4DXUVDeHF+hkavlVY7rQykXxgWGSUc/k=";
|
||||
hash = "sha256-9M3xywc1Vx5jBFlOcQuYbvtUu8tJwOIxzMoomwANkm8=";
|
||||
};
|
||||
|
||||
ic = fetchFromGitHub {
|
||||
owner = "dfinity";
|
||||
repo = "ic";
|
||||
rev = "779549eccfcf61ac702dfc2ee6d76ffdc2db1f7f";
|
||||
sha256 = "1r31d5hab7k1n60a7y8fw79fjgfq04cgj9krwa6r9z4isi3919v6";
|
||||
rev = "2f9ae6bf5eafed03599fd29475100aca9f78ae81";
|
||||
hash = "sha256-QWJFsWZ9miWN4ql4xFXMQM1Y71nzgGCL57yAa0j7ch4=";
|
||||
};
|
||||
|
||||
registry = "file://local-registry";
|
||||
@ -36,20 +37,26 @@ rustPlatform.buildRustPackage rec {
|
||||
export IC_BASE_TYPES_PROTO_INCLUDES=${ic}/rs/types/base_types/proto
|
||||
export IC_PROTOBUF_PROTO_INCLUDES=${ic}/rs/protobuf/def
|
||||
export IC_NNS_COMMON_PROTO_INCLUDES=${ic}/rs/nns/common/proto
|
||||
export IC_ICRC1_ARCHIVE_WASM_PATH=${ic}/rs/rosetta-api/icrc1/wasm/ic-icrc1-archive.wasm.gz
|
||||
export LEDGER_ARCHIVE_NODE_CANISTER_WASM_PATH=${ic}/rs/rosetta-api/icp_ledger/wasm/ledger-archive-node-canister.wasm
|
||||
cp ${ic}/rs/rosetta-api/icp_ledger/ledger.did /build/quill-${version}-vendor/ledger.did
|
||||
export PROTOC=${buildPackages.protobuf}/bin/protoc
|
||||
export OPENSSL_DIR=${openssl.dev}
|
||||
export OPENSSL_LIB_DIR=${lib.getLib openssl}/lib
|
||||
'';
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-+a9VNBjM/Z/PnPRM6hkjSnG22otVc1pagCdn0kJIPEo=";
|
||||
cargoHash = "sha256-bY5JiyaXnVF/a1fbTP2wcvt4g7QNjf91j9I2WzqUrc8=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
protobuf
|
||||
];
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
[
|
||||
openssl
|
||||
udev
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Security
|
||||
libiconv
|
||||
|
Loading…
Reference in New Issue
Block a user