python3Packages.python-constraint: use pyproject, unbreak
https://hydra.nixos.org/build/305653184
This commit is contained in:
@@ -2,14 +2,20 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
poetry-core,
|
||||
cython,
|
||||
# Check inputs
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
tomli,
|
||||
pep440,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-constraint";
|
||||
version = "2.4.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-constraint";
|
||||
@@ -18,7 +24,22 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-Vi+dD/QmHfUrL0l5yTb7B1ILuXj3HYfT0QINdyfoqFo=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user