From 04e21b4b7bced135062f1a414277297648eb4107 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 28 Oct 2021 21:15:40 -0700 Subject: [PATCH] python3Packages.python3-saml: 1.10.1 -> 1.12.0 --- .../python-modules/python3-saml/default.nix | 24 +++---------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/pkgs/development/python-modules/python3-saml/default.nix b/pkgs/development/python-modules/python3-saml/default.nix index af57357d11c9..a21ee97eca5d 100644 --- a/pkgs/development/python-modules/python3-saml/default.nix +++ b/pkgs/development/python-modules/python3-saml/default.nix @@ -1,36 +1,18 @@ -{ lib, fetchpatch, fetchFromGitHub, buildPythonPackage, isPy3k, +{ lib, fetchFromGitHub, buildPythonPackage, isPy3k, isodate, lxml, xmlsec, freezegun }: buildPythonPackage rec { pname = "python3-saml"; - version = "1.10.1"; + version = "1.12.0"; disabled = !isPy3k; src = fetchFromGitHub { owner = "onelogin"; repo = "python3-saml"; rev = "v${version}"; - sha256 = "1yk02xq90bm7p6k091av6gapb5h2ccxzgrbm03sj2x8h0wff9s8k"; + sha256 = "sha256-VPUsjuo4FIes8ti0tkR0kT3J3RdUt1wtl4QEahVsc2c="; }; - # Remove both patches on update - patches = [ - # Remove the dependency on defusedxml - # - # This patch is already merged upstream and does not introduce any - # functionality changes. - (fetchpatch { - url = "https://github.com/onelogin/python3-saml/commit/4b6c4b1f2ed3f6eab70ff4391e595b808ace168c.patch"; - sha256 = "sha256-KHyAoX3our3Rz2z4xo0lTBB1XOGuC3Pe+lUDCzK5WQI="; - }) - - # Update expiry dates for test response XMLs - (fetchpatch { - url = "https://github.com/onelogin/python3-saml/commit/05611bbf6d7d8313adb9c77ff88a9210333ccc38.patch"; - sha256 = "sha256-62TwgCXDFYsZIAeqAysJRziMvhUVhGzta/C2wS3v4HY="; - }) - ]; - propagatedBuildInputs = [ isodate lxml xmlsec ];