From f408dd932d4c08d511ddfd68c82324a40e1d5f41 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 23 Sep 2023 09:54:50 +0200 Subject: [PATCH] python311Packages.pycookiecheat: 0.5.0 -> 0.6.0 Diff: https://github.com/n8henrie/pycookiecheat/compare/refs/tags/v0.5.0...v0.6.0 Changelog: https://github.com/n8henrie/pycookiecheat/blob/v0.6.0/CHANGELOG.md --- .../python-modules/pycookiecheat/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycookiecheat/default.nix b/pkgs/development/python-modules/pycookiecheat/default.nix index 08085b03c87..4a539f5ee19 100644 --- a/pkgs/development/python-modules/pycookiecheat/default.nix +++ b/pkgs/development/python-modules/pycookiecheat/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "pycookiecheat"; - version = "0.5.0"; + version = "0.6.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "n8henrie"; repo = "pycookiecheat"; rev = "refs/tags/v${version}"; - hash = "sha256-3I7iw/dwF4lRqmVM3OR402InZCFoV9gzKpRQrx4F9KA="; + hash = "sha256-mSc5FqMM8BICVEdSdsIny9Bnk6qCRekPk4RkBusDoVA="; }; pythonRelaxDeps = [ @@ -51,10 +51,18 @@ buildPythonPackage rec { "pycookiecheat" ]; + preCheck = '' + export HOME=$(mktemp -d) + ''; + disabledTests = [ # Tests want to use playwright executable "test_no_cookies" "test_fake_cookie" + "test_firefox_cookies" + "test_load_firefox_cookie_db" + "test_firefox_no_cookies" + "test_firefox_get_default_profile" ] ++ lib.optionals stdenv.isDarwin [ "test_slack_config" ];