gnu: thefuck: Update to 3.30.

* gnu/packages/admin.scm (thefuck): Update to 3.30.
[native-inputs]: Add go.
This commit is contained in:
Tobias Geerinckx-Rice 2020-03-29 00:37:47 +01:00
parent e3fdc0197f
commit a48cf78a8e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -77,6 +77,7 @@ (define-module (gnu packages admin)
#:use-module (gnu packages libbsd) #:use-module (gnu packages libbsd)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages lua) #:use-module (gnu packages lua)
#:use-module (gnu packages golang)
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages imagemagick) #:use-module (gnu packages imagemagick)
@ -2474,7 +2475,7 @@ (define-public dstat
(define-public thefuck (define-public thefuck
(package (package
(name "thefuck") (name "thefuck")
(version "3.29") (version "3.30")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2483,7 +2484,7 @@ (define-public thefuck
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1qhxwjjgrzpqrqjv7l2847ywpln76lyd6j8bl9gz2r6kl0fx2fqs")) (base32 "0fnf78956pwhb9cgv1jmgypnkma5xzflkivfrkfiadbgin848yfg"))
(patches (search-patches "thefuck-test-environ.patch")))) (patches (search-patches "thefuck-test-environ.patch"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
@ -2505,7 +2506,8 @@ (define-public thefuck
("python-pyte" ,python-pyte) ("python-pyte" ,python-pyte)
("python-six" ,python-six))) ("python-six" ,python-six)))
(native-inputs (native-inputs
`(("python-mock" ,python-mock) `(("go" ,go)
("python-mock" ,python-mock)
("python-pytest" ,python-pytest) ("python-pytest" ,python-pytest)
("python-pytest-mock" ,python-pytest-mock))) ("python-pytest-mock" ,python-pytest-mock)))
(home-page "https://github.com/nvbn/thefuck") (home-page "https://github.com/nvbn/thefuck")