diff options
Diffstat (limited to 'pkgs/by-name/ra/rana/package.nix')
-rw-r--r-- | pkgs/by-name/ra/rana/package.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/ra/rana/package.nix b/pkgs/by-name/ra/rana/package.nix new file mode 100644 index 000000000000..2fa2df8272b7 --- /dev/null +++ b/pkgs/by-name/ra/rana/package.nix @@ -0,0 +1,27 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: + +rustPlatform.buildRustPackage rec { + pname = "rana"; + version = "0.5.4"; + + src = fetchFromGitHub { + owner = "grunch"; + repo = "rana"; + rev = "refs/tags/v${version}"; + hash = "sha256-NgbWRuwD+nfNbB6WRbDjUPJneysb85z5eqXmU31U6Mo="; + }; + + cargoHash = "sha256-FMJisCR1bomswFHjIIu/24ywvQn1pv/7QHiEmaBV4a8="; + + meta = { + description = "Nostr public key mining tool"; + homepage = "https://github.com/grunch/rana"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ jigglycrumb ]; + mainProgram = "rana"; + }; +} |