commit
cc829429c9
3 changed files with 54 additions and 0 deletions
|
@ -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";
|
||||
|
|
44
pkgs/tools/video/yaydl/default.nix
Normal file
44
pkgs/tools/video/yaydl/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue