evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / sismic / default.nix
blob0a6cd34b3856a64d0fed2257b3aafad0c439e8e2
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   behave,
7   ruamel-yaml,
8   schema,
9   pytestCheckHook,
10   pytest-mock,
13 let
14   version = "1.6.7";
16 buildPythonPackage {
17   pname = "sismic";
18   inherit version;
19   pyproject = true;
21   build-system = [ setuptools ];
23   src = fetchFromGitHub {
24     owner = "AlexandreDecan";
25     repo = "sismic";
26     rev = "refs/tags/${version}";
27     hash = "sha256-EP78Wc2f6AKqbGBW8wVP0wogEbTo0ndjlRRd+fsUvCo=";
28   };
30   pythonRelaxDeps = [ "behave" ];
32   dependencies = [
33     behave
34     ruamel-yaml
35     schema
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40     pytest-mock
41   ];
43   pythonImportsCheck = [ "sismic" ];
45   pytestFlagsArray = [ "tests/" ];
47   disabledTests = [
48     # Time related tests, might lead to flaky tests on slow/busy machines
49     "test_clock"
50   ];
52   meta = {
53     changelog = "https://github.com/AlexandreDecan/sismic/releases/tag/${version}";
54     description = "Sismic Interactive Statechart Model Interpreter and Checker";
55     homepage = "https://github.com/AlexandreDecan/sismic";
56     license = lib.licenses.lgpl3Only;
57     maintainers = with lib.maintainers; [ drupol ];
58   };