Merge pull request #335556 from drupol/sismic/init

python312Packages.sismic: init at 1.6.6
This commit is contained in:
OTABI Tomoya 2024-08-21 09:16:51 +09:00 committed by GitHub
commit a0fe91e4e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
behave,
ruamel-yaml,
schema,
pytestCheckHook,
pytest-mock,
}:
let
version = "1.6.6";
in
buildPythonPackage {
pname = "sismic";
inherit version;
pyproject = true;
build-system = [ setuptools ];
src = fetchFromGitHub {
owner = "AlexandreDecan";
repo = "sismic";
rev = "refs/tags/${version}";
hash = "sha256-MvJyyERH0l5547cVmpxnHXRf9q1ylK9/ZfyLYBQfsbY=";
};
pythonRelaxDeps = [ "behave" ];
dependencies = [
behave
ruamel-yaml
schema
];
nativeCheckInputs = [
pytestCheckHook
pytest-mock
];
pythonImportsCheck = [ "sismic" ];
pytestFlagsArray = [ "tests/" ];
disabledTests = [
# Time related tests, might lead to flaky tests on slow/busy machines
"test_clock"
];
meta = {
changelog = "https://github.com/AlexandreDecan/sismic/releases/tag/${version}";
description = "Sismic Interactive Statechart Model Interpreter and Checker";
homepage = "https://github.com/AlexandreDecan/sismic";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ drupol ];
};
}

View File

@ -14512,6 +14512,8 @@ self: super: with self; {
sipyco = callPackage ../development/python-modules/sipyco { };
sismic = callPackage ../development/python-modules/sismic { };
sisyphus-control = callPackage ../development/python-modules/sisyphus-control { };
siuba = callPackage ../development/python-modules/siuba { };