about summary refs log tree commit diff
path: root/pkgs/by-name/ra/rana/package.nix
blob: 2fa2df8272b784bd07d095a20b6daf113ce181e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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";
  };
}