Skip to content

Commit

Permalink
Merge pull request #320582 from r-ryantm/auto-update/python311Package…
Browse files Browse the repository at this point in the history
…s.testrail-api

python311Packages.testrail-api: 1.13.0 -> 1.13.1
  • Loading branch information
wegank authored Jul 6, 2024
2 parents 6f568c8 + 36a188f commit c32d4a8
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions pkgs/development/python-modules/testrail-api/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
pythonOlder,
requests,
responses,
setuptools,
setuptools-scm,
}:

buildPythonPackage rec {
pname = "testrail-api";
version = "1.13.0";
version = "1.13.1";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -20,17 +21,15 @@ buildPythonPackage rec {
owner = "tolstislon";
repo = "testrail-api";
rev = "refs/tags/${version}";
hash = "sha256-NGdNpNJ9ejwneSacNmifGJ8TMUuBqMu9tHTyLxTB5Uk=";
hash = "sha256-VH63shGCBOkbHcUFL4M/QvuVrS+y2JiM1YYBJgZ6r/w=";
};

postPatch = ''
substituteInPlace setup.py \
--replace "setuptools_scm==7.1.0" "setuptools_scm"
'';

nativeBuildInputs = [ setuptools-scm ];
build-system = [
setuptools
setuptools-scm
];

propagatedBuildInputs = [ requests ];
dependencies = [ requests ];

nativeCheckInputs = [
pytestCheckHook
Expand All @@ -39,11 +38,11 @@ buildPythonPackage rec {

pythonImportsCheck = [ "testrail_api" ];

meta = with lib; {
meta = {
description = "Python wrapper of the TestRail API";
homepage = "https://github.com/tolstislon/testrail-api";
changelog = "https://github.com/tolstislon/ytestrail-api/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ aanderse ];
changelog = "https://github.com/tolstislon/testrail-api/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ aanderse ];
};
}

0 comments on commit c32d4a8

Please sign in to comment.