depot/third_party/nixpkgs/pkgs/development/python-modules/model-checker/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

47 lines
996 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
tqdm,
z3-solver,
}:
buildPythonPackage rec {
pname = "model-checker";
version = "0.5.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "model_checker";
inherit version;
hash = "sha256-dt2/1qY0kyD0K0/d1NJa3q0NrwinmWb8Zd/Shtqj9Ow=";
};
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
pythonRemoveDeps = [ "z3-solver" ];
build-system = [ setuptools ];
dependencies = [
tqdm
z3-solver
];
# Tests have multiple issues, ImportError, TypeError, etc.
# Check with the next release > 0.3.13
doCheck = false;
pythonImportsCheck = [ "model_checker" ];
meta = with lib; {
description = "Hyperintensional theorem prover for counterfactual conditionals and modal operators";
homepage = "https://pypi.org/project/model-checker/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}