Files
nixpkgs/pkgs/development/python-modules/model-checker/default.nix
Connor Nelson 20d0c2db84 python3Packages.model-checker: keep z3-solver dependency metadata
Use the z3-solver distribution metadata now supplied by Z3.
Remove the workaround that deleted the upstream dependency from Python metadata.

Assisted-by: OpenAI Codex (GPT-6)
2026-10-29 01:06:28 +00:00

43 lines
878 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
networkx,
setuptools,
tqdm,
z3-solver,
}:
buildPythonPackage (finalAttrs: {
pname = "model-checker";
version = "1.4.1";
pyproject = true;
src = fetchPypi {
pname = "model_checker";
inherit (finalAttrs) version;
hash = "sha256-jEOonA3kmJSW6INkUo4NVzg2Kv4V78QPEJdItYhQ31k=";
};
build-system = [ setuptools ];
dependencies = [
networkx
tqdm
z3-solver
];
# Tests have multiple issues, ImportError, TypeError, etc.
# Check with the next release > 0.3.13
doCheck = false;
pythonImportsCheck = [ "model_checker" ];
meta = {
description = "Hyperintensional theorem prover for counterfactual conditionals and modal operators";
homepage = "https://pypi.org/project/model-checker/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})