about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/types-beautifulsoup4/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/types-beautifulsoup4/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/types-beautifulsoup4/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/types-beautifulsoup4/default.nix b/nixpkgs/pkgs/development/python-modules/types-beautifulsoup4/default.nix
new file mode 100644
index 000000000000..00ebb5123e3c
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/types-beautifulsoup4/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, types-html5lib
+}:
+
+buildPythonPackage rec {
+  pname = "types-beautifulsoup4";
+  version = "4.12.0.6";
+  format = "setuptools";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-BFqyhdPlQBhuFhM2EvQ/Z+MfkQ5tdXiQa0OgrY+BE0c=";
+  };
+
+  propagatedBuildInputs = [
+    types-html5lib
+  ];
+
+  # Module has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "bs4-stubs"
+  ];
+
+  meta = with lib; {
+    description = "Typing stubs for beautifulsoup4";
+    homepage = "https://pypi.org/project/types-beautifulsoup4/";
+    license = with licenses; [ asl20 ];
+    maintainers = with maintainers; [ fab ];
+  };
+}