From 7b2d7e37ce0300825e35857f3045fcee3d51f3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 22 Jan 2025 19:03:46 -0800 Subject: [PATCH] python313Packages.josepy: 1.14.0 -> 1.15.0 Changelog: https://github.com/certbot/josepy/blob/v1.15.0/CHANGELOG.rst --- .../python-modules/josepy/default.nix | 25 ++++++------------- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/josepy/default.nix b/pkgs/development/python-modules/josepy/default.nix index b1aa721e1305..ce6ab9354822 100644 --- a/pkgs/development/python-modules/josepy/default.nix +++ b/pkgs/development/python-modules/josepy/default.nix @@ -2,35 +2,24 @@ lib, buildPythonPackage, cryptography, - fetchPypi, - fetchpatch, + fetchFromGitHub, poetry-core, pyopenssl, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { pname = "josepy"; - version = "1.14.0"; + version = "1.15.0"; pyproject = true; - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-MIs7+c6CWtTUu6djcs8ZtdwcLOlqnSmPlkKXXmS9E90="; + src = fetchFromGitHub { + owner = "certbot"; + repo = "josepy"; + tag = "v${version}"; + hash = "sha256-fK4JHDP9eKZf2WO+CqRdEjGwJg/WNLvoxiVrb5xQxRc="; }; - patches = [ - # don't fail tests on openssl deprecation warning, upstream is working on proper fix - # FIXME: remove for next update - (fetchpatch { - url = "https://github.com/certbot/josepy/commit/350410fc1d38c4ac8422816b6865ac8cd9c60fc7.diff"; - hash = "sha256-QGbzonXb5BtTTWDeDqnZhbS6gHce99vIOm/H8QYeGXY="; - }) - ]; - nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [