nixpkgs/pkgs/by-name/iz/izrss/package.nix

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

41 lines
839 B
Nix
Raw Normal View History

2024-05-15 09:12:06 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
...
}:
let
2024-06-03 14:13:20 +00:00
version = "0.1.0";
2024-05-15 09:12:06 +00:00
in
buildGoModule {
pname = "izrss";
inherit version;
src = fetchFromGitHub {
owner = "isabelroses";
repo = "izrss";
rev = "refs/tags/v${version}";
2024-06-03 14:13:20 +00:00
hash = "sha256-Op9aiCQrBH8TuhMTt+3Wthd8UY3lU2g9yJ110v7TtXA=";
2024-05-15 09:12:06 +00:00
};
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
2024-06-03 14:13:20 +00:00
vendorHash = "sha256-/TRCD6akZV2qDqJz62p7UzFIGuTAKLnUtYqqvdw3rCI=";
2024-05-15 09:12:06 +00:00
2024-05-17 20:15:44 +00:00
meta = {
2024-05-15 09:12:06 +00:00
description = "An RSS feed reader for the terminal written in Go";
2024-05-17 20:15:44 +00:00
changelog = "https://github.com/isabelroses/izrss/releases/v${version}";
2024-05-15 09:12:06 +00:00
homepage = "https://github.com/isabelroses/izrss";
2024-05-17 20:15:44 +00:00
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
2024-05-15 09:12:06 +00:00
isabelroses
luftmensch-luftmensch
];
mainProgram = "izrss";
};
}