gnu: shellcheck: Update to 0.5.0.

* gnu/packages/haskell.scm (shellcheck): Update to 0.5.0.
[source]: Use tarball from hackage.
[inputs]: Add ghc-aeson.  Remove ghc-json.
master
宋文武 2018-09-30 20:05:55 +08:00 committed by Ricardo Wurmus
parent f0bce3a758
commit eaa1f873e6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 6 deletions

View File

@ -8489,20 +8489,21 @@ generated SQL and optimize it for your backend.")
(define-public shellcheck (define-public shellcheck
(package (package
(name "shellcheck") (name "shellcheck")
(version "0.4.6") (version "0.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/koalaman/shellcheck/archive/" (uri (string-append
"v" version ".tar.gz")) "https://hackage.haskell.org/package/ShellCheck/ShellCheck-"
version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1qkd69lc34n3l23ss9rq1azvx49bfq4hi4bmaj76rgxybscxhg0w")) "0z1hscbr11hwkq8k1v0vaa947hb9m6k4cm831jk1gpj8dxrk151b"))
(file-name (string-append name "-" version ".tar.gz")))) (file-name (string-append name "-" version ".tar.gz"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(inputs (inputs
`(("ghc-quickcheck" ,ghc-quickcheck) `(("ghc-aeson" ,ghc-aeson)
("ghc-json" ,ghc-json) ("ghc-quickcheck" ,ghc-quickcheck)
("ghc-parsec" ,ghc-parsec) ("ghc-parsec" ,ghc-parsec)
("ghc-regex-tdfa" ,ghc-regex-tdfa))) ("ghc-regex-tdfa" ,ghc-regex-tdfa)))
(home-page "https://github.com/koalaman/shellcheck") (home-page "https://github.com/koalaman/shellcheck")