depot/third_party/nixpkgs/pkgs/tools/misc/wagyu/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
699 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "wagyu";
version = "0.6.1";
src = fetchFromGitHub {
owner = "AleoHQ";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-ltWNKB3DHtwVVzJyvRWj2I8rjsl7ru2i/RCO9yiQhpg=";
};
cargoHash = "sha256-8dbeSHN6+1jLdVA9QxNAy7Y6EX7wflpQI72kqZAEVIE=";
buildInputs = lib.optional stdenv.isDarwin Security;
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";
};
}