Files
nixpkgs/pkgs/development/python-modules/pysmt/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

38 lines
735 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 ];
};
}