@@ -1,36 +1,18 @@
1−{ lib, fetchpatch, fetchFromGitHub, buildPythonPackage, isPy3k,
1+{ lib, fetchFromGitHub, buildPythonPackage, isPy3k,
22isodate, lxml, xmlsec, freezegun }:
33
44buildPythonPackage rec {
55 pname = "python3-saml";
6− version = "1.10.1";
6+ version = "1.12.0";
77 disabled = !isPy3k;
88
99 src = fetchFromGitHub {
1010 owner = "onelogin";
1111 repo = "python3-saml";
1212 rev = "v${version}";
13− sha256 = "1yk02xq90bm7p6k091av6gapb5h2ccxzgrbm03sj2x8h0wff9s8k";
13+ sha256 = "sha256-VPUsjuo4FIes8ti0tkR0kT3J3RdUt1wtl4QEahVsc2c=";
1414 };
1515
16− # Remove both patches on update
17− patches = [
18− # Remove the dependency on defusedxml
19− #
20− # This patch is already merged upstream and does not introduce any
21− # functionality changes.
22− (fetchpatch {
23− url = "https://github.com/onelogin/python3-saml/commit/4b6c4b1f2ed3f6eab70ff4391e595b808ace168c.patch";
24− sha256 = "sha256-KHyAoX3our3Rz2z4xo0lTBB1XOGuC3Pe+lUDCzK5WQI=";
25− })
26−
27− # Update expiry dates for test response XMLs
28− (fetchpatch {
29− url = "https://github.com/onelogin/python3-saml/commit/05611bbf6d7d8313adb9c77ff88a9210333ccc38.patch";
30− sha256 = "sha256-62TwgCXDFYsZIAeqAysJRziMvhUVhGzta/C2wS3v4HY=";
31− })
32− ];
33−
3416 propagatedBuildInputs = [
3517 isodate lxml xmlsec
3618 ];