Merge pull request #239860 from ee2500/yaydl

yaydl: init at 0.13.0
This commit is contained in:
Emily 2023-06-26 17:17:59 +02:00 committed by GitHub
commit cc829429c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View file

@ -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";

View file

@ -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 ];
};
}

View file

@ -14434,6 +14434,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 { };