[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38423] [PATCH 43/49] gnu: Add ghc-swagger2.
From: |
Robert Vollmert |
Subject: |
[bug#38423] [PATCH 43/49] gnu: Add ghc-swagger2. |
Date: |
Fri, 29 Nov 2019 12:37:45 +0100 |
* gnu/packages/haskell-web.scm (ghc-swagger2): New variable.
---
gnu/packages/haskell-web.scm | 57 ++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index da52f1f24f..aca00c5aee 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1764,3 +1764,60 @@ as well. Selecting the appropriate header value is
achieved by comparing
a list of server options against the quality-indexed values supplied by
the client.")
(license license:expat)))
+
+(define-public ghc-swagger2
+ (package
+ (name "ghc-swagger2")
+ (version "2.3.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/swagger2/swagger2-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "19fslhjqcnk0da1c8sdflnnxjzbbzqb0nbknpgyd45q0psxr6xs7"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-base-compat-batteries"
+ ,ghc-base-compat-batteries)
+ ("ghc-aeson" ,ghc-aeson)
+ ("ghc-cookie" ,ghc-cookie)
+ ("ghc-generics-sop" ,ghc-generics-sop)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-http-media" ,ghc-http-media)
+ ("ghc-insert-ordered-containers"
+ ,ghc-insert-ordered-containers)
+ ("ghc-lens" ,ghc-lens)
+ ("ghc-network" ,ghc-network)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-transformers-compat"
+ ,ghc-transformers-compat)
+ ("ghc-unordered-containers"
+ ,ghc-unordered-containers)
+ ("ghc-uuid-types" ,ghc-uuid-types)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("cabal-doctest" ,cabal-doctest)
+ ("hspec-discover" ,hspec-discover)
+ ("ghc-glob" ,ghc-glob)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-aeson-qq" ,ghc-aeson-qq)
+ ("ghc-doctest" ,ghc-doctest)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
+ (arguments
+ `(#:cabal-revision
+ ("1"
+ "1g6jiadrvglrbf0857nzfbnjxmb3lwqamgs47j3qv9k6kfwilzyk")))
+ (home-page
+ "https://github.com/GetShopTV/swagger2")
+ (synopsis "Swagger 2.0 data model")
+ (description
+ "This library is inteded to be used for decoding and encoding Swagger 2.0
+API specifications as well as manipulating them. The original Swagger 2.0
+specification is available at http://swagger.io/specification/.")
+ (license license:bsd-3)))
--
2.21.0 (Apple Git-122.2)
- [bug#38423] [PATCH 48/49] gnu: Add postgrest., (continued)
- [bug#38423] [PATCH 48/49] gnu: Add postgrest., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 33/49] gnu: Add ghc-bytestring-strict-builder., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 15/49] gnu: Add ghc-mtl-compat., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 20/49] gnu: Add ghc-data-dword., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 02/49] gnu: Add ghc-text-latin1., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 16/49] gnu: Add ghc-monad-time., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 25/49] gnu: Add ghc-network-ip., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 46/49] gnu: Add ghc-tasty-hspec., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 29/49] gnu: Add ghc-lens-aeson., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 36/49] gnu: Add ghc-loch-th., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 43/49] gnu: Add ghc-swagger2.,
Robert Vollmert <=
- [bug#38423] [PATCH 45/49] gnu: Add ghc-cassava., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 37/49] gnu: Add ghc-ranged-sets., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 35/49] gnu: Add ghc-interpolatedstring-perl6., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 41/49] gnu: Add ghc-hasql-pool., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 47/49] gnu: Add ghc-jose., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 17/49] gnu: Add ghc-bug., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 34/49] gnu: Add ghc-heredoc., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 40/49] gnu: Add ghc-hasql., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 42/49] gnu: Add ghc-hasql-transaction., Robert Vollmert, 2019/11/29
- [bug#38423] [PATCH 38/49] gnu: Add ghc-postgresql-binary., Robert Vollmert, 2019/11/29