python3Packages.testrail-api: fix broken build

This commit is contained in:
Aaron Andersen 2024-04-08 10:52:37 -04:00
parent f5a6a2bb5c
commit 440af2f447
1 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,7 @@ buildPythonPackage rec {
version = "1.13.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "tolstislon";
@ -22,6 +22,11 @@ buildPythonPackage rec {
hash = "sha256-NGdNpNJ9ejwneSacNmifGJ8TMUuBqMu9tHTyLxTB5Uk=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "setuptools_scm==7.1.0" "setuptools_scm"
'';
nativeBuildInputs = [
setuptools-scm
];