blob: 699bc6ec6f86848d0a1844c9337b6aa2bf485a51 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitLab,
setuptools,
ply,
}:
buildPythonPackage rec {
pname = "webidl";
version = "0-unstable-2025-06-15";
pyproject = true;
src = fetchFromGitLab {
owner = "verso-browser";
repo = "verso";
rev = "ace264e0e73da37bfb14818d92f0e54946ce9871";
hash = "sha256-gjg7qs2ik1cJcE6OTGN4KdljqJDGokCo4JdR+KopMJw=";
};
# python library is vendored inside another repo
# and unfortunately not exposed in another repo
# or Pypi.
sourceRoot = "${src.name}/third_party/WebIDL";
build-system = [ setuptools ];
dependencies = [ ply ];
pythonImportsCheck = [
"WebIDL"
];
# no pytests exist
doCheck = false;
meta = {
description = "WebIDL parser written in Python";
homepage = "https://gitlab.com/verso-browser/verso";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}
|