Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
873 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
rustPlatform,
fetchFromGitHub,
cmake,
}:
rustPlatform.buildRustPackage rec {
pname = "subxt";
version = "0.43.0";
src = fetchFromGitHub {
owner = "paritytech";
repo = "subxt";
rev = "v${version}";
hash = "sha256-BV/zP0L0gDmLSuzkp4OkOPfgldXBUiaHL4rciM7lrno=";
};
cargoHash = "sha256-7kmxnlhgNj0hY9FwVrzmdHw73Jf/pSeTHi6sqDg9X24=";
# Only build the command line client
cargoBuildFlags = [
"--bin"
"subxt"
];
# Needed by wabt-sys
nativeBuildInputs = [ cmake ];
# Requires a running substrate node
doCheck = false;
meta = with lib; {
homepage = "https://github.com/paritytech/subxt";
description = "Submit transactions to a substrate node via RPC";
mainProgram = "subxt";
license = with licenses; [
gpl3Plus
asl20
];
maintainers = [ maintainers.FlorianFranzen ];
};
}