From ef791b29a8015e37274b1fe31a1bb11ca0c334a6 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 14 Jul 2022 00:04:20 +0000 Subject: [PATCH] python310Packages.setuptools-scm-git-archive: 1.1 -> 1.4 --- .../setuptools-scm-git-archive/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix index 5dbb8ca2d10f..556f1e0a375b 100644 --- a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix +++ b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix @@ -1,20 +1,23 @@ -{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytest }: +{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytestCheckHook }: buildPythonPackage rec { pname = "setuptools-scm-git-archive"; - version = "1.1"; + version = "1.4"; src = fetchPypi { inherit version; pname = "setuptools_scm_git_archive"; - sha256 = "6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062"; + sha256 = "b048b27b32e1e76ec865b0caa4bb85df6ddbf4697d6909f567ac36709f6ef2f0"; }; nativeBuildInputs = [ setuptools-scm ]; - checkInputs = [ pytest ]; + checkInputs = [ pytestCheckHook ]; + + pytestFlagsArray = [ + "tests.py" + ]; - doCheck = false; pythonImportsCheck = [ "setuptools_scm_git_archive" ]; meta = with lib; {