60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
24 lines
620 B
Nix
24 lines
620 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 = "A tool to cast YouTube videos from the command-line";
|
|
homepage = "https://github.com/MarcoLucidi01/ytcast";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ waelwindows ];
|
|
mainProgram = "ytcast";
|
|
};
|
|
}
|