Files
nixpkgs/pkgs/development/python-modules/model-checker/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
971 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
networkx,
setuptools,
tqdm,
z3-solver,
}:
buildPythonPackage rec {
pname = "model-checker";
version = "1.2.12";
pyproject = true;
src = fetchPypi {
pname = "model_checker";
inherit version;
hash = "sha256-vIH3CFgFEO+UlmpS7FhBsQtZv5Yep4OQ6koMGzyJGa4=";
};
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
pythonRemoveDeps = [ "z3-solver" ];
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 ];
};
}