about summary refs log tree commit diff
path: root/pkgs/by-name/iz/izrss/package.nix
blob: ca006eb19a5980e9fc23e0f74d5fb94abad5724e (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
34
35
36
37
38
39
{
  lib,
  buildGoModule,
  fetchFromGitHub,
  ...
}:
let
  version = "0.0.5";
in
buildGoModule {
  pname = "izrss";
  inherit version;

  src = fetchFromGitHub {
    owner = "isabelroses";
    repo = "izrss";
    rev = "refs/tags/v${version}";
    hash = "sha256-6ayTxAjVqMjgDbk4oJjxzSUkWA6kU3Rnvvma+ryy4bw=";
  };

  ldflags = [
    "-s"
    "-w"
    "-X main.version=${version}"
  ];

  vendorHash = "sha256-gH5AFroreBD0tQmT99Bmo2pAdPkiPWUNGsmKX4p3/JA=";

  meta = with lib; {
    description = "An RSS feed reader for the terminal written in Go";
    homepage = "https://github.com/isabelroses/izrss";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [
      isabelroses
      luftmensch-luftmensch
    ];
    mainProgram = "izrss";
  };
}