python310Packages.bx-py-utils: init at 75

This commit is contained in:
Robert Schütz 2023-02-01 20:12:57 -08:00
parent f47461478d
commit 3168323c61
2 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,73 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, beautifulsoup4
, boto3
, lxml
, pdoc
, pytestCheckHook
, requests-mock
}:
buildPythonPackage rec {
pname = "bx-py-utils";
version = "75";
disabled = pythonOlder "3.9";
format = "pyproject";
src = fetchFromGitHub {
owner = "boxine";
repo = "bx_py_utils";
rev = "refs/tags/v${version}";
hash = "sha256-+RHt5QTXxuaY1tDe1M66TrQfT9I7X56oVQAW36mzSwM=";
};
nativeBuildInputs = [
poetry-core
];
pythonImportsCheck = [
"bx_py_utils.anonymize"
"bx_py_utils.auto_doc"
"bx_py_utils.compat"
"bx_py_utils.dict_utils"
"bx_py_utils.environ"
"bx_py_utils.error_handling"
"bx_py_utils.file_utils"
"bx_py_utils.graphql_introspection"
"bx_py_utils.hash_utils"
"bx_py_utils.html_utils"
"bx_py_utils.iteration"
"bx_py_utils.path"
"bx_py_utils.processify"
"bx_py_utils.rison"
"bx_py_utils.stack_info"
"bx_py_utils.string_utils"
"bx_py_utils.test_utils"
"bx_py_utils.text_tools"
];
nativeCheckInputs = [
beautifulsoup4
boto3
lxml
pdoc
pytestCheckHook
requests-mock
];
disabledTestPaths = [
"bx_py_utils_tests/tests/test_project_setup.py"
];
meta = {
description = "Various Python utility functions";
homepage = "https://github.com/boxine/bx_py_utils";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -1487,6 +1487,8 @@ self: super: with self; {
bundlewrap = callPackage ../development/python-modules/bundlewrap { };
bx-py-utils = callPackage ../development/python-modules/bx-py-utils { };
bx-python = callPackage ../development/python-modules/bx-python { };
bwapy = callPackage ../development/python-modules/bwapy { };