mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
go-chromecast: init at 0.2.5
This commit is contained in:
parent
7d3fb8234d
commit
cea51f0cb9
24
pkgs/applications/video/go-chromecast/default.nix
Normal file
24
pkgs/applications/video/go-chromecast/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "go-chromecast";
|
||||||
|
version = "0.2.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vishen";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0y1zwy1bxnjz409vdhqwykvfjhrsyy4j503v3rjrrhkcca6vfbyg";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "04mgm3afgczq0an6ys8bilxv1hgzfwvgjx21fyl82yxd573rsf5r";
|
||||||
|
|
||||||
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev} -X main.date=unknown" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/vishen/go-chromecast";
|
||||||
|
description = "CLI for Google Chromecast, Home devices and Cast Groups";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ marsam ];
|
||||||
|
};
|
||||||
|
}
|
@ -2145,6 +2145,8 @@ in
|
|||||||
|
|
||||||
gdrive = callPackage ../applications/networking/gdrive { };
|
gdrive = callPackage ../applications/networking/gdrive { };
|
||||||
|
|
||||||
|
go-chromecast = callPackage ../applications/video/go-chromecast { };
|
||||||
|
|
||||||
go-rice = callPackage ../tools/misc/go.rice {};
|
go-rice = callPackage ../tools/misc/go.rice {};
|
||||||
|
|
||||||
go-2fa = callPackage ../tools/security/2fa {};
|
go-2fa = callPackage ../tools/security/2fa {};
|
||||||
|
Loading…
Reference in New Issue
Block a user