Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.model-checker: init at 0.3.13

A hyperintensional theorem prover for counterfactual conditionals
and modal operators

https://pypi.org/project/model-checker/

+47
+45
pkgs/development/python-modules/model-checker/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + pythonOlder, 7 + z3-solver, 8 + pythonRelaxDepsHook, 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "model-checker"; 13 + version = "0.3.13"; 14 + pyproject = true; 15 + 16 + disabled = pythonOlder "3.8"; 17 + 18 + src = fetchPypi { 19 + pname = "model_checker"; 20 + inherit version; 21 + hash = "sha256-3LVes+orRl8tNhhbUUDa1VM/tFf8Y1pAzKknmrjA6e4="; 22 + }; 23 + 24 + # z3 does not provide a dist-info, so python-runtime-deps-check will fail 25 + pythonRemoveDeps = [ "z3-solver" ]; 26 + 27 + build-system = [ setuptools ]; 28 + 29 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 30 + 31 + dependencies = [ z3-solver ]; 32 + 33 + # Tests have multiple issues, ImportError, TypeError, etc. 34 + # Check with the next release > 0.3.13 35 + doCheck = false; 36 + 37 + pythonImportsCheck = [ "model_checker" ]; 38 + 39 + meta = with lib; { 40 + description = "A hyperintensional theorem prover for counterfactual conditionals and modal operators"; 41 + homepage = "https://pypi.org/project/model-checker/"; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ fab ]; 44 + }; 45 + }
+2
pkgs/top-level/python-packages.nix
··· 7622 7622 7623 7623 model-bakery = callPackage ../development/python-modules/model-bakery { }; 7624 7624 7625 + model-checker = callPackage ../development/python-modules/model-checker { }; 7626 + 7625 7627 modelcif = callPackage ../development/python-modules/modelcif { }; 7626 7628 7627 7629 modeled = callPackage ../development/python-modules/modeled { };