python311Packages.pytest-spec: format, remove unused, use new names

This commit is contained in:
TomaSajt 2024-04-08 22:21:27 +02:00
parent 98f0fb13ad
commit b851b1c68f
No known key found for this signature in database
GPG Key ID: F011163C050122A1
1 changed files with 11 additions and 11 deletions

View File

@ -1,14 +1,14 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest
, pytestCheckHook
, pytest-describe
, pytest-cov
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest,
pytestCheckHook,
pytest-describe,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "pytest-spec";
version = "3.2.0-unstable-2023-06-04";
pyproject = true;
@ -24,8 +24,8 @@ buildPythonPackage rec {
sed -i '/addopts/d' setup.cfg
# TODO: upstream
substituteInPlace pyproject.toml \
--replace "poetry>=0.12" "poetry-core" \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
--replace-fail "poetry>=0.12" "poetry-core" \
--replace-fail "poetry.masonry.api" "poetry.core.masonry.api"
'';
nativeBuildInputs = [ poetry-core ];