nixpkgs/pkgs/by-name/ra/rana/package.nix

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

28 lines
600 B
Nix
Raw Normal View History

2024-07-24 17:54:56 +00:00
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "rana";
2024-11-15 16:34:03 +00:00
version = "0.5.5";
2024-07-24 17:54:56 +00:00
src = fetchFromGitHub {
owner = "grunch";
repo = "rana";
rev = "refs/tags/v${version}";
2024-11-15 16:34:03 +00:00
hash = "sha256-gzyjOCGh45zEJvc0xFkp8gAH9Kxwfc2oPeMzbrTjnk8=";
2024-07-24 17:54:56 +00:00
};
2024-11-15 16:34:03 +00:00
cargoHash = "sha256-+3QbqAGQzGT4yuGPHmT2BJkcnNmwhLTpQERTl4Ri2bk=";
2024-07-24 17:54:56 +00:00
meta = {
description = "Nostr public key mining tool";
homepage = "https://github.com/grunch/rana";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jigglycrumb ];
mainProgram = "rana";
};
}