python313Packages.osrf-pycommon: init at 2.1.7

This commit is contained in:
GueLaKais
2026-05-19 13:32:01 +02:00
parent a271663603
commit 2d172daee3
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "osrf-pycommon";
version = "2.1.7";
pyproject = true;
src = fetchFromGitHub {
owner = "osrf";
repo = "osrf_pycommon";
tag = version;
hash = "sha256-gKYeCvcJDJkW2OYP7K3eyztuPSkzE8dHoTUh4sKvxcM=";
};
build-system = [ setuptools ];
disabledTestPaths = [
"tests/test_code_format.py" # flake8 based tests don't work
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "osrf_pycommon" ];
meta = {
description = "Commonly needed Python modules used by Python software developed at OSRF";
homepage = "http://osrf-pycommon.readthedocs.org/";
changelog = "https://github.com/osrf/osrf_pycommon/blob/${src.tag}/CHANGELOG.rst";
downloadPage = "https://github.com/osrf/osrf_pycommon";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
guelakais
];
};
}
+2
View File
@@ -12061,6 +12061,8 @@ self: super: with self; {
osqp = callPackage ../development/python-modules/osqp { };
osrf-pycommon = callPackage ../development/python-modules/osrf-pycommon { };
osrparse = callPackage ../development/python-modules/osrparse { };
oss2 = callPackage ../development/python-modules/oss2 { };