depot/third_party/nixpkgs/pkgs/development/python-modules/pysmt/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
730 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";
mainProgram = "pysmt-install";
homepage = "https://github.com/pysmt/pysmt";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}