nixpkgs/pkgs/tools/misc/ytcast/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
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/'
2024-06-09 23:07:45 +02:00

25 lines
618 B
Nix

{ lib, buildGoModule, fetchFromGitHub, }:
buildGoModule rec {
pname = "ytcast";
version = "1.4.0";
src = fetchFromGitHub {
owner = "MarcoLucidi01";
repo = "ytcast";
rev = "v${version}";
sha256 = "sha256-iy9+MgXwP4ALz4NHJyn2ghC5boR53H3ioB2+7tcJunE=";
};
vendorHash = null;
ldflags = [ "-X main.progVersion=${version}" ];
meta = with lib; {
description = "Tool to cast YouTube videos from the command-line";
homepage = "https://github.com/MarcoLucidi01/ytcast";
license = licenses.mit;
maintainers = with maintainers; [ waelwindows ];
mainProgram = "ytcast";
};
}