nixpkgs/pkgs/by-name/wa/wagyu/package.nix
2025-05-29 17:04:28 +02:00

34 lines
729 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "wagyu";
version = "0.6.3";
src = fetchFromGitHub {
owner = "AleoHQ";
repo = "wagyu";
rev = "v${version}";
hash = "sha256-5n8BmETv5jUvgu0rskAPYaBgYyNL2QU2t/iUb3hNMMw=";
};
cargoPatches = [ ./fix-rustc-serialize-version.patch ];
useFetchCargoVendor = true;
cargoHash = "sha256-vtNxRW/b8kvy21YQezCUiZNtLnlMSkdTRr/OkGy6UAw=";
meta = with lib; {
description = "Rust library for generating cryptocurrency wallets";
homepage = "https://github.com/AleoHQ/wagyu";
license = with licenses; [
mit
asl20
];
maintainers = [ maintainers.offline ];
mainProgram = "wagyu";
};
}