python3Packages.webidl: init at 0-unstable-2025-06-15 (#419338)
This commit is contained in:
@@ -0,0 +1,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 ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -19305,6 +19305,8 @@ self: super: with self; {
|
||||
|
||||
webexteamssdk = callPackage ../development/python-modules/webexteamssdk { };
|
||||
|
||||
webidl = callPackage ../development/python-modules/webidl { };
|
||||
|
||||
weblate-language-data = callPackage ../development/python-modules/weblate-language-data { };
|
||||
|
||||
weblate-schemas = callPackage ../development/python-modules/weblate-schemas { };
|
||||
|
||||
Reference in New Issue
Block a user