Merge pull request #302659 from TomaSajt/pytest-spec
python311Packages.pytest-spec: fix version name and clean up
This commit is contained in:
commit
9e2d15d2c7
|
@ -1,16 +1,16 @@
|
||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, poetry-core
|
fetchFromGitHub,
|
||||||
, pytest
|
poetry-core,
|
||||||
, pytestCheckHook
|
pytest,
|
||||||
, pytest-describe
|
pytestCheckHook,
|
||||||
, pytest-cov
|
pytest-describe,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage {
|
||||||
pname = "pytest-spec";
|
pname = "pytest-spec";
|
||||||
version = "unstable-2023-06-04";
|
version = "3.2.0-unstable-2023-06-04";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -24,8 +24,8 @@ buildPythonPackage rec {
|
||||||
sed -i '/addopts/d' setup.cfg
|
sed -i '/addopts/d' setup.cfg
|
||||||
# TODO: upstream
|
# TODO: upstream
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "poetry>=0.12" "poetry-core" \
|
--replace-fail "poetry>=0.12" "poetry-core" \
|
||||||
--replace "poetry.masonry.api" "poetry.core.masonry.api"
|
--replace-fail "poetry.masonry.api" "poetry.core.masonry.api"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user