depot/pkgs/by-name/iz/izrss/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

40 lines
836 B
Nix

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