python3Packages.cyclonedds-python: init at 0.10.5 (#322015)
This commit is contained in:
@@ -12358,6 +12358,12 @@
|
||||
githubId = 11614750;
|
||||
name = "Alexander Sharov";
|
||||
};
|
||||
kvik = {
|
||||
email = "viktor@a-b.xyz";
|
||||
github = "okvik";
|
||||
githubId = 58425080;
|
||||
name = "Viktor Pocedulić";
|
||||
};
|
||||
kwaa = {
|
||||
name = "藍+85CD";
|
||||
email = "kwa@kwaa.dev";
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
cyclonedds,
|
||||
setuptools,
|
||||
rich-click,
|
||||
|
||||
pytestCheckHook,
|
||||
pytest-mock,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cyclonedds-python";
|
||||
version = "0.10.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eclipse-cyclonedds";
|
||||
repo = "cyclonedds-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-MN3Z5gqsD+cr5Awmsia9+uCHL/a2KQP2uMS13rVc1Hw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "pytest-cov" ""
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ cyclonedds ];
|
||||
|
||||
dependencies = [ rich-click ];
|
||||
|
||||
env.CYCLONEDDS_HOME = "${cyclonedds.out}";
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python binding for Eclipse Cyclone DDS";
|
||||
homepage = "https://github.com/eclipse-cyclonedds/cyclonedds-python";
|
||||
changelog = "https://github.com/eclipse-cyclonedds/cyclonedds-python/releases/tag/${version}";
|
||||
license = lib.licenses.epl20;
|
||||
maintainers = with lib.maintainers; [ kvik ];
|
||||
};
|
||||
}
|
||||
@@ -2848,6 +2848,8 @@ self: super: with self; {
|
||||
|
||||
cycler = callPackage ../development/python-modules/cycler { };
|
||||
|
||||
cyclonedds-python = callPackage ../development/python-modules/cyclonedds-python { };
|
||||
|
||||
cyclonedx-python-lib = callPackage ../development/python-modules/cyclonedx-python-lib { };
|
||||
|
||||
cyclopts = callPackage ../development/python-modules/cyclopts { };
|
||||
|
||||
Reference in New Issue
Block a user