depot/third_party/nixpkgs/pkgs/tools/misc/ytcast/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 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";
};
}