Merge pull request #260772 from doronbehar/pkg/lxml-stubs
python310Packages.lxml-stubs: init at 0.4.0
This commit is contained in:
commit
befc3fcefb
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/lxml-stubs/default.nix
Normal file
39
pkgs/development/python-modules/lxml-stubs/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, pytest-mypy-plugins
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lxml-stubs";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxml";
|
||||
repo = "lxml-stubs";
|
||||
rev = version;
|
||||
hash = "sha256-RRH/taLtgaXOl0G/ve2Ad7Xy8WRDUG2/k26EFMv1PRM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mypy-plugins
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Type stubs for the lxml package";
|
||||
homepage = "https://github.com/lxml/lxml-stubs";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
|
@ -6452,6 +6452,8 @@ self: super: with self; {
|
|||
inherit (pkgs) libxml2 libxslt zlib;
|
||||
};
|
||||
|
||||
lxml-stubs = callPackage ../development/python-modules/lxml-stubs { };
|
||||
|
||||
lyricwikia = callPackage ../development/python-modules/lyricwikia { };
|
||||
|
||||
lz4 = callPackage ../development/python-modules/lz4 { };
|
||||
|
|
Loading…
Reference in a new issue