nixpkgs/pkgs/tools/misc/ytcast/default.nix

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

25 lines
621 B
Nix
Raw Normal View History

2022-09-30 14:55:47 +00:00
{ lib, buildGoModule, fetchFromGitHub, }:
buildGoModule rec {
pname = "ytcast";
version = "1.3.0";
src = fetchFromGitHub {
owner = "MarcoLucidi01";
repo = "ytcast";
rev = "v${version}";
sha256 = "0f45ai1s4njhcvbv088yn10i3vdvlm6wlfi0ijq5gak1dg02klma";
};
vendorHash = null;
2022-09-30 14:55:47 +00:00
ldflags = [ "-X main.progVersion=${version}" ];
meta = with lib; {
description = "A tool to cast YouTube videos from the command-line";
homepage = "https://github.com/MarcoLucidi01/ytcast";
license = licenses.mit;
maintainers = with maintainers; [ waelwindows ];
2023-11-27 01:17:53 +00:00
mainProgram = "ytcast";
2022-09-30 14:55:47 +00:00
};
}