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";
|
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-07-15 17:15:38 +00:00
|
|
|
owner = "AleoHQ";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = pname;
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-ltWNKB3DHtwVVzJyvRWj2I8rjsl7ru2i/RCO9yiQhpg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoHash = "sha256-8dbeSHN6+1jLdVA9QxNAy7Y6EX7wflpQI72kqZAEVIE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|