guix: use latest upstream python-certvalidator

This should also allow re-enabling previously failing tests.
This commit is contained in:
fanquake 2022-03-08 12:11:13 +00:00
parent b07fdd7f9e
commit cbc3f63f41
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -352,7 +352,7 @@ thus should be able to compile on most platforms where these exist.")
#t))))))) #t)))))))
(define-public python-certvalidator (define-public python-certvalidator
(let ((commit "e5bdb4bfcaa09fa0af355eb8867d00dfeecba08c")) (let ((commit "a145bf25eb75a9f014b3e7678826132efbba6213"))
(package (package
(name "python-certvalidator") (name "python-certvalidator")
(version (git-version "0.1" "1" commit)) (version (git-version "0.1" "1" commit))
@ -365,7 +365,7 @@ thus should be able to compile on most platforms where these exist.")
(file-name (git-file-name name commit)) (file-name (git-file-name name commit))
(sha256 (sha256
(base32 (base32
"18pvxkvpkfkzgvfylv0kx65pmxfcv1hpsg03cip93krfvrrl4c75")))) "1qw2k7xis53179lpqdqyylbcmp76lj7sagp883wmxg5i7chhc96k"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("python-asn1crypto" ,python-asn1crypto) `(("python-asn1crypto" ,python-asn1crypto)
@ -401,11 +401,6 @@ thus should be able to compile on most platforms where these exist.")
(string-append indent (string-append indent
"@unittest.skip(\"Disabled by Guix\")\n" "@unittest.skip(\"Disabled by Guix\")\n"
line))) line)))
(substitute* "tests/test_validate.py"
(("^(.*)def test_revocation_mode_soft" line indent)
(string-append indent
"@unittest.skip(\"Disabled by Guix\")\n"
line)))
#t)) #t))
(replace 'check (replace 'check
(lambda _ (lambda _