acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / na / nak / package.nix
blob829f7f403b9b8b24dd3e0104428cf304152be8e5
2   lib,
3   buildGo123Module,
4   fetchFromGitHub,
5 }:
6 buildGo123Module rec {
7   pname = "nak";
8   version = "0.7.6";
10   src = fetchFromGitHub {
11     owner = "fiatjaf";
12     repo = "nak";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-VUSBCvDW53Z+mdAx0bUQIgcsiEwxOnm/FnnMcSC0iks=";
15   };
17   vendorHash = "sha256-alex1YEkviR5O0KLGZlOsf1i7s6m1C4LxHdJCogDCng=";
19   ldflags = [
20     "-s"
21     "-w"
22     "-X main.version=${version}"
23   ];
25   # Integration tests fail (requires connection to relays)
26   doCheck = false;
28   meta = {
29     description = "Command-line tool for Nostr things";
30     homepage = "https://github.com/fiatjaf/nak";
31     changelog = "https://github.com/fiatjaf/nak/releases/tag/${version}";
32     license = lib.licenses.unlicense;
33     maintainers = with lib.maintainers; [ nartsiss ];
34     mainProgram = "nak";
35   };