From 85b47261a17a6b27bd75cf33a4d076ad6395d00c Mon Sep 17 00:00:00 2001 From: Earth Engine Date: Mon, 26 Jun 2023 03:58:25 +0000 Subject: [PATCH 1/2] maintainers: add earthengine --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 776e2b38c867..a5e9b2edf678 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4460,6 +4460,12 @@ githubId = 424946; name = "James Earl Douglas"; }; + earthengine = { + email = "earthengine@skiff.com"; + github = "ee2500"; + githubId = 134107129; + name = "EarthEngine"; + }; ebbertd = { email = "daniel@ebbert.nrw"; github = "ebbertd"; From dc7641c3fd8ad4cc4c21d94cb2081b39130701a3 Mon Sep 17 00:00:00 2001 From: Earth Engine Date: Mon, 26 Jun 2023 05:14:52 +0000 Subject: [PATCH 2/2] yaydl: init at 0.13.0 --- pkgs/tools/video/yaydl/default.nix | 44 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 48 insertions(+) create mode 100644 pkgs/tools/video/yaydl/default.nix diff --git a/pkgs/tools/video/yaydl/default.nix b/pkgs/tools/video/yaydl/default.nix new file mode 100644 index 000000000000..a5eb46b04190 --- /dev/null +++ b/pkgs/tools/video/yaydl/default.nix @@ -0,0 +1,44 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, pkg-config +, makeWrapper +, openssl +, ffmpeg +, Security +}: + +rustPlatform.buildRustPackage rec { + pname = "yaydl"; + version = "0.13.0"; + + src = fetchFromGitHub { + owner = "dertuxmalwieder"; + repo = pname; + rev = "release-${version}"; + sha256 = "sha256-JwyWWqbUNZyH6gymeScb9tMZoPvn/Igz9iW2pp0XvEI="; + }; + + cargoSha256 = "sha256-jmqO0UvU6s+E5r6VFFjOvSe8oiLiTG5rPNHzoHVftWo="; + + nativeBuildInputs = [ + pkg-config + makeWrapper + ]; + + buildInputs = [ openssl ] + ++ lib.optional stdenv.isDarwin Security; + + postInstall = '' + wrapProgram $out/bin/yaydl \ + --prefix PATH : ${lib.makeBinPath [ ffmpeg ]} + ''; + + meta = with lib; { + homepage = "https://code.rosaelefanten.org/yaydl"; + description = "Yet another youtube down loader"; + license = licenses.cddl; + maintainers = with maintainers; [ earthengine ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 25aa16c42024..5e851210dfd3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14430,6 +14430,10 @@ with pkgs; yj = callPackage ../development/tools/yj { }; + yaydl = callPackage ../tools/video/yaydl { + inherit (darwin.apple_sdk.frameworks) Security; + }; + zarchive = callPackage ../tools/archivers/zarchive { }; zprint = callPackage ../development/tools/zprint { };