blob: 156b6cd48f8b40265cdaf3cb8c242254a0c73bb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatch-vcs,
hatchling,
nodejs,
fetchPnpmDeps,
pnpmConfigHook,
pnpm,
}:
buildPythonPackage rec {
pname = "yt-dlp-ejs";
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "yt-dlp";
repo = "ejs";
tag = version;
hash = "sha256-o6qf4rfj42mCyvCBb+wyJmZKg3Q+ojsqbCcBfIJnTPg=";
};
pnpmDeps = fetchPnpmDeps {
inherit
pname
version
src
;
fetcherVersion = 2;
hash = "sha256-3hhwKUzfdlKmth4uRlfBSdxEOIfhAVaq2PZIOHWGWiM=";
};
build-system = [
hatch-vcs
hatchling
];
nativeBuildInputs = [
nodejs
pnpmConfigHook
pnpm
];
pythonImportsCheck = [ "yt_dlp_ejs" ];
meta = {
changelog = "https://github.com/yt-dlp/ejs/releases/tag/${version}";
description = "External JavaScript for yt-dlp supporting many runtimes";
homepage = "https://github.com/yt-dlp/ejs/";
license = with lib.licenses; [
unlicense
mit
isc
];
maintainers = with lib.maintainers; [
SuperSandro2000
FlameFlag
];
};
}
|