mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +01:00
52 lines
958 B
Nix
52 lines
958 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
poetry-core,
|
|
cython,
|
|
# Check inputs
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
tomli,
|
|
pep440,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-constraint";
|
|
version = "2.4.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-constraint";
|
|
repo = "python-constraint";
|
|
tag = version;
|
|
sha256 = "sha256-Vi+dD/QmHfUrL0l5yTb7B1ILuXj3HYfT0QINdyfoqFo=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
poetry-core
|
|
cython
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-cov-stub
|
|
tomli
|
|
pep440
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
"tests/test_util_benchmark.py"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Constraint Solving Problem resolver for Python";
|
|
homepage = "https://labix.org/doc/constraint/";
|
|
downloadPage = "https://github.com/python-constraint/python-constraint/releases";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|