From 5d736328dbf61071600f0dd4f50a22440c22a651 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 18 Dec 2021 04:20:00 +0000 Subject: [PATCH] ytarchive: init at 0.3.0 --- pkgs/tools/misc/ytarchive/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/misc/ytarchive/default.nix diff --git a/pkgs/tools/misc/ytarchive/default.nix b/pkgs/tools/misc/ytarchive/default.nix new file mode 100644 index 000000000000..ef4d212a6201 --- /dev/null +++ b/pkgs/tools/misc/ytarchive/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "ytarchive"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "Kethsar"; + repo = "ytarchive"; + rev = "v${version}"; + sha256 = "sha256-7D92xKxU2WBMDJSY5uFKDbLHWlyT761xuZDiBJ1GxE4="; + }; + + vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8="; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + homepage = "https://github.com/Kethsar/ytarchive"; + description = "Garbage Youtube livestream downloader"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4bd1380e027d..af25983b838f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29707,6 +29707,8 @@ with pkgs; ytalk = callPackage ../applications/networking/instant-messengers/ytalk { }; + ytarchive = callPackage ../tools/misc/ytarchive { }; + ytcc = callPackage ../tools/networking/ytcc { }; ytmdesktop = callPackage ../applications/audio/ytmdesktop { };