2021-05-18 22:16:58 +01:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
2019-11-01 12:21:51 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "wagyu";
|
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ArgusHQ";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1646j0lgg3hhznifvbkvr672p3yqlcavswijawaxq7n33ll8vmcn";
|
|
|
|
};
|
|
|
|
|
2021-05-07 12:00:49 +01:00
|
|
|
cargoSha256 = "10al0j8ak95x4d85lzphgq8kmdnb809l6gahfp5miyvsfd4dxmpi";
|
2019-11-01 12:21:51 +00:00
|
|
|
|
2021-05-18 22:16:58 +01:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2019-11-01 12:21:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Rust library for generating cryptocurrency wallets";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ArgusHQ/wagyu";
|
2019-11-01 12:21:51 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
|
|
|
maintainers = [ maintainers.offline ];
|
|
|
|
};
|
|
|
|
}
|