nixpkgs/pkgs/development/python-modules/pysmt/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

37 lines
700 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pysmt";
version = "0.9.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pysmt";
repo = pname;
rev = "v${version}";
hash = "sha256-cE+WmKzggYof/olxQb5M7xPsBONr39KdjOTG4ofYPUM=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pysmt"
];
meta = with lib; {
description = "Python library for SMT formulae manipulation and solving";
homepage = "https://github.com/pysmt/pysmt";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}