2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "wagyu";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.6.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-07-15 17:15:38 +00:00
|
|
|
owner = "AleoHQ";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = pname;
|
2024-06-05 15:53:02 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-5n8BmETv5jUvgu0rskAPYaBgYyNL2QU2t/iUb3hNMMw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
cargoPatches = [ ./fix-rustc-serialize-version.patch ];
|
|
|
|
|
|
|
|
cargoHash = "sha256-vseTtok0E0ddg9ALQ1ql3NPPxirfyMPHOSWsM2qu2jU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Rust library for generating cryptocurrency wallets";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/AleoHQ/wagyu";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
|
|
|
maintainers = [ maintainers.offline ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wagyu";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|