gnu: osc: Update to 0.172.0 [fixes CVE-2019-3681].

* gnu/packages/build-tools.scm (osc): Update to 0.172.0.
[native-inputs]: Add python-chardet. Required by tests.
This commit is contained in:
Léo Le Bouter 2021-03-10 05:00:03 +01:00
parent f736dedc4f
commit ca15eaeb06
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -462,7 +462,7 @@ (define-public tup
(define-public osc (define-public osc
(package (package
(name "osc") (name "osc")
(version "0.165.2") (version "0.172.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -471,7 +471,7 @@ (define-public osc
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0yjwvbvv9fgkpiyvrag89zxchyn3nbgp9jz0wn5p0z9450zwfyz6")))) (base32 "1sqdnkka3c6b6hwnrmlwrgy7w62cp8raq8mph9pgd2lydzzbvwlp"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -485,6 +485,8 @@ (define-public osc
(string-append bin "osc-wrapper.py") (string-append bin "osc-wrapper.py")
(string-append bin "osc")) (string-append bin "osc"))
#t)))))) #t))))))
(native-inputs
`(("python-chardet" ,python-chardet)))
(inputs (inputs
`(("python-m2crypto" ,python-m2crypto) `(("python-m2crypto" ,python-m2crypto)
("python-pycurl" ,python-pycurl) ("python-pycurl" ,python-pycurl)