Unverified Commit b851b1c6 authored by TomaSajt's avatar TomaSajt
Browse files

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

parent 98f0fb13
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
{ 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 ];