Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 46 lines 995 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 tqdm, 8 z3-solver, 9}: 10 11buildPythonPackage rec { 12 pname = "model-checker"; 13 version = "0.5.6"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 pname = "model_checker"; 20 inherit version; 21 hash = "sha256-dt2/1qY0kyD0K0/d1NJa3q0NrwinmWb8Zd/Shtqj9Ow="; 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 dependencies = [ 30 tqdm 31 z3-solver 32 ]; 33 34 # Tests have multiple issues, ImportError, TypeError, etc. 35 # Check with the next release > 0.3.13 36 doCheck = false; 37 38 pythonImportsCheck = [ "model_checker" ]; 39 40 meta = with lib; { 41 description = "Hyperintensional theorem prover for counterfactual conditionals and modal operators"; 42 homepage = "https://pypi.org/project/model-checker/"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}