From cc79d60b837613cace65035abb61b4ef1b00f3cc Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:01:36 -0800 Subject: [PATCH 14/31] gnu: ghc-authenticate-oauth. * gnu/packages/haskell-xyz.scm (ghc-authenticate-oauth): New variable. --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 714354f1fa..6e79fad406 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -665,6 +665,39 @@ complicated text/binary file formats.") from aeson.") (license license:bsd-3))) +(define-public ghc-authenticate-oauth + (package + (name "ghc-authenticate-oauth") + (version "1.6.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/authenticate-oauth" + "/authenticate-oauth-" version ".tar.gz")) + (sha256 + (base32 + "1hry1zbi7gbyfi94w9cyg6m7ii7xm68jnsph63zxdj2s4ns0ylp0")))) + (build-system haskell-build-system) + (inputs + `(("ghc-http-client" ,ghc-http-client) + ("ghc-crypto-pubkey-types" ,ghc-crypto-pubkey-types) + ("ghc-rsa" ,ghc-rsa) + ("ghc-data-default" ,ghc-data-default) + ("ghc-base64-bytestring" ,ghc-base64-bytestring) + ("ghc-sha" ,ghc-sha) + ("ghc-random" ,ghc-random) + ("ghc-http-types" ,ghc-http-types) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page + "https://github.com/yesodweb/authenticate") + (synopsis + "Authenticate with OAuth for Haskell web applications") + (description + "A library to authenticate with OAuth for Haskell web applications.") + (license license:bsd-3))) + (define-public ghc-auto-update (package (name "ghc-auto-update") -- 2.29.2