mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
41 lines
836 B
Nix
41 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";
|
|
};
|
|
}
|