diff options
Diffstat (limited to 'pkgs/development/libraries/haskell/servant-server/default.nix')
-rw-r--r-- | pkgs/development/libraries/haskell/servant-server/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/servant-server/default.nix b/pkgs/development/libraries/haskell/servant-server/default.nix new file mode 100644 index 00000000000..8c3ce56d412 --- /dev/null +++ b/pkgs/development/libraries/haskell/servant-server/default.nix @@ -0,0 +1,31 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, aeson, attoparsec, either, exceptions, hspec, hspecWai +, httpTypes, network, networkUri, parsec, QuickCheck, safe, servant +, split, stringConversions, systemFilepath, temporary, text +, transformers, wai, waiAppStatic, waiExtra, warp +}: + +cabal.mkDerivation (self: { + pname = "servant-server"; + version = "0.2.3"; + sha256 = "0n4r145jd1g07g0a1mhbc7s61h6cbbvjvhzwngff756iky7fkcb9"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + aeson attoparsec either httpTypes networkUri safe servant split + stringConversions systemFilepath text transformers wai waiAppStatic + warp + ]; + testDepends = [ + aeson either exceptions hspec hspecWai httpTypes network parsec + QuickCheck servant stringConversions temporary text transformers + wai waiExtra warp + ]; + meta = { + homepage = "http://haskell-servant.github.io/"; + description = "A family of combinators for defining webservices APIs and serving them"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) |