From b35388ef0a280484576aaa4d3cd7fed6211e6910 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 20 Sep 2023 18:15:36 -0400 Subject: [PATCH] python310Packages.xdg-base-dirs: 6.0.0 -> 6.0.1 Diff: https://github.com/srstevenson/xdg-base-dirs/compare/6.0.0...6.0.1 Changelog: https://github.com/srstevenson/xdg-base-dirs/releases/tag/6.0.1 --- .../development/python-modules/xdg-base-dirs/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xdg-base-dirs/default.nix b/pkgs/development/python-modules/xdg-base-dirs/default.nix index f2ca5bf0a509..b2eb4094c927 100644 --- a/pkgs/development/python-modules/xdg-base-dirs/default.nix +++ b/pkgs/development/python-modules/xdg-base-dirs/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "xdg-base-dirs"; - version = "6.0.0"; + version = "6.0.1"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "srstevenson"; repo = "xdg-base-dirs"; rev = version; - hash = "sha256-yVuruSKv99IZGNCpY9cKwAe6gJNAWjL+Lol2D1/0hiI="; + hash = "sha256-nbdF1tjVqlxwiGW0pySS6HyJbmNuQ7mVdQYfhofO4Dk="; }; nativeBuildInputs = [ @@ -28,6 +28,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "xdg_base_dirs" ]; + # remove coverage flags from pytest config + postPatch = '' + sed -i /addopts/d pyproject.toml + ''; + meta = with lib; { description = "An implementation of the XDG Base Directory Specification in Python"; homepage = "https://github.com/srstevenson/xdg-base-dirs";