python312Packages.pydsdl: 1.18.0 -> 1.22.0 (#353278)

This commit is contained in:
OTABI Tomoya
2024-11-04 22:28:29 +09:00
committed by GitHub
@@ -2,33 +2,35 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pydsdl";
version = "1.18.0";
format = "setuptools";
disabled = pythonOlder "3.7";
version = "1.22.0";
pyproject = true;
src = fetchFromGitHub {
owner = "OpenCyphal";
repo = pname;
repo = "pydsdl";
rev = "refs/tags/${version}";
hash = "sha256-sn7KoJmJbr7Y+N9PAXyhJnts/hW+Gi06nrHj5VIDZMU=";
hash = "sha256-Q6Zt7qiFZvTK2pF4nWfHbjwQHZffzKOad6X/HQ94EUo=";
};
build-system = [ setuptools ];
# allow for writable directory for darwin
preBuild = ''
export HOME=$TMPDIR
'';
# Module doesn't contain tests
doCheck = false;
pythonImportsCheck = [ "pydsdl" ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "pydsdl/_test.py" ];
meta = with lib; {
description = "Library to process Cyphal DSDL";
longDescription = ''