summary refs log tree commit diff
path: root/pkgs/tools/misc/ytcast
diff options
context:
space:
mode:
authorwaelwindows <waelwindows9922@gmail.com>2022-09-30 17:55:47 +0300
committerRick van Schijndel <Mindavi@users.noreply.github.com>2022-10-16 19:35:16 +0200
commita941ed551305a3b21489b59bda2330b9faafcbdb (patch)
tree7148527bf44556bf6ff140a8d055723281fbc408 /pkgs/tools/misc/ytcast
parent9fa52c4106db1575edbb4c8debc87d1bb6b748e9 (diff)
downloadnixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.tar
nixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.tar.gz
nixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.tar.bz2
nixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.tar.lz
nixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.tar.xz
nixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.tar.zst
nixpkgs-a941ed551305a3b21489b59bda2330b9faafcbdb.zip
ytcast: init at version 1.3.0
Diffstat (limited to 'pkgs/tools/misc/ytcast')
-rw-r--r--pkgs/tools/misc/ytcast/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ytcast/default.nix b/pkgs/tools/misc/ytcast/default.nix
new file mode 100644
index 00000000000..a918f56fbed
--- /dev/null
+++ b/pkgs/tools/misc/ytcast/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildGoModule, fetchFromGitHub, }:
+
+buildGoModule rec {
+  pname = "ytcast";
+  version = "1.3.0";
+
+  src = fetchFromGitHub {
+    owner = "MarcoLucidi01";
+    repo = "ytcast";
+    rev = "v${version}";
+    sha256 = "0f45ai1s4njhcvbv088yn10i3vdvlm6wlfi0ijq5gak1dg02klma";
+  };
+
+  vendorSha256 = 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 ];
+  };
+}