mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
solana-agave, solana-cli: 3.0.12 -> 4.0.3
This commit is contained in:
parent
5e8ca42db8
commit
15ecb81b17
2 changed files with 9 additions and 6 deletions
|
|
@ -18,20 +18,21 @@
|
|||
llvm,
|
||||
llvmPackages,
|
||||
rocksdb,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "solana-agave";
|
||||
version = "3.1.14";
|
||||
version = "4.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anza-xyz";
|
||||
repo = "agave";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-yi71jUtFJhv6gvWQC9YrEqhe4cB6QU+hokn3hTLww30=";
|
||||
hash = "sha256-lbkuywAuLeTIoe/5zbKmxCbnNcEx96BiX6ftNJHutZE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-klcpQRrPvCVgfbhnK/MsZB3m4u2rg7qIq7YeBL3+ajw=";
|
||||
cargoHash = "sha256-lQl8q0xMpXOmUirqL3Eyb4JcmYGSZK6pPMxQHOav9Zk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
|
@ -93,4 +94,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
];
|
||||
mainProgram = "agave";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
})
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
],
|
||||
}:
|
||||
let
|
||||
version = "3.0.12";
|
||||
hash = "sha256-Zubu7cTSJrJFSuguCo3msdas/QshFpo1+T6DVQyqrhY=";
|
||||
version = "4.0.3";
|
||||
hash = "sha256-lbkuywAuLeTIoe/5zbKmxCbnNcEx96BiX6ftNJHutZE=";
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "solana-cli";
|
||||
|
|
@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
|
|||
inherit hash;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-qnZbFkyzE2hdy/ynZQZmCs5kCeTUMci9f/pVKID/mRQ=";
|
||||
cargoHash = "sha256-lQl8q0xMpXOmUirqL3Eyb4JcmYGSZK6pPMxQHOav9Zk=";
|
||||
|
||||
strictDeps = true;
|
||||
cargoBuildFlags = map (n: "--bin=${n}") solanaPkgs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue