nixpkgs/pkgs/tools/misc/wagyu/default.nix

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

25 lines
672 B
Nix
Raw Normal View History

2021-05-18 21:16:58 +00: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 = "AleoHQ";
2019-11-01 12:21:51 +00:00
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-ltWNKB3DHtwVVzJyvRWj2I8rjsl7ru2i/RCO9yiQhpg=";
2019-11-01 12:21:51 +00:00
};
cargoHash = "sha256-8dbeSHN6+1jLdVA9QxNAy7Y6EX7wflpQI72kqZAEVIE=";
2019-11-01 12:21:51 +00:00
2021-05-18 21:16:58 +00: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";
homepage = "https://github.com/AleoHQ/wagyu";
2019-11-01 12:21:51 +00:00
license = with licenses; [ mit asl20 ];
maintainers = [ maintainers.offline ];
};
}