about summary refs log tree commit diff
path: root/pkgs/by-name/ca/canard/package.nix
blob: 8883d0781e52780b4cdd746d391870468744da81 (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
28
29
30
31
32
33
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "canard";
  version = "0.0.2-unstable-2024-04-22";

  src = fetchFromGitHub {
    owner = "mrusme";
    repo = "canard";
    rev = "d3c37d11078574ca16b75475b3d08ffe351bc3c2";
    hash = "sha256-ICrTEaTYFAViORWvdj4uW2gLgxtWxRlhgu5sifgqGX0=";
  };

  vendorHash = "sha256-qcfPW7rz0v63QmQQceQltkCFNBUeQTxVerxDymv7SZo=";

  ldflags = [
    "-s"
    "-w"
    "-X github.com/mrusme/canard/main.VERSION=${version}"
  ];

  meta = {
    description = "Command line TUI client for the journalist RSS aggregator";
    homepage = "https://github.com/mrusme/canard";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ moraxyc ];
    mainProgram = "canard";
  };
}