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 05:12:06 -04:00
{
lib,
buildGoModule,
fetchFromGitHub,
...
}:
let
2024-05-17 16:15:44 -04:00
version = "0.0.6";
2024-05-15 05:12:06 -04:00
in
buildGoModule {
pname = "izrss";
inherit version;
src = fetchFromGitHub {
owner = "isabelroses";
repo = "izrss";
rev = "refs/tags/v${version}";
2024-05-17 16:15:44 -04:00
hash = "sha256-tO/m39FMtvxZzNgnVY84k4J2v8vQVdzR3IKofJWCf9U=";
2024-05-15 05:12:06 -04:00
};
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
2024-05-17 16:15:44 -04:00
vendorHash = "sha256-/gD82wT4jWNMQsGPb2nYQiFQsUdKICyO6eiRPHrLsy8=";
2024-05-15 05:12:06 -04:00
2024-05-17 16:15:44 -04:00
meta = {
2024-05-15 05:12:06 -04:00
description = "An RSS feed reader for the terminal written in Go";
2024-05-17 16:15:44 -04:00
changelog = "https://github.com/isabelroses/izrss/releases/v${version}";
2024-05-15 05:12:06 -04:00
homepage = "https://github.com/isabelroses/izrss";
2024-05-17 16:15:44 -04:00
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
2024-05-15 05:12:06 -04:00
isabelroses
luftmensch-luftmensch
];
mainProgram = "izrss";
};
}