Merge branch 'add-haskell-servant' of git://github.com/alpmestan/nixpkgs

add the servant (haskell) packages to nixpkgs
This commit is contained in:
Shea Levy 2014-08-27 16:06:39 -04:00
commit f2d9783891
6 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, resourcePool, servant, time }:
cabal.mkDerivation (self: {
pname = "servant-pool";
version = "0.1";
sha256 = "0if4lxb0fpdd4lnkz9j7z6vhjbrcc80pvz9jb6sdb9p6sbbgqf69";
buildDepends = [ resourcePool servant time ];
meta = {
homepage = "http://github.com/zalora/servant-pool";
description = "Utility functions for creating servant 'Context's with \"context/connection pooling\" support";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, postgresqlSimple, servant, servantPool, servantResponse }:
cabal.mkDerivation (self: {
pname = "servant-postgresql";
version = "0.1";
sha256 = "1svy1v6sl5pq0zs8ms4qf7wn6zar63bqmfiyfqgz84ryli0wxrhj";
buildDepends = [
postgresqlSimple servant servantPool servantResponse
];
meta = {
homepage = "http://github.com/zalora/servant-postgresql";
description = "Useful functions and instances for using servant with a PostgreSQL context";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,16 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, httpTypes, text }:
cabal.mkDerivation (self: {
pname = "servant-response";
version = "0.1";
sha256 = "0vgzi6nm3f1vjbnvhzcr6v2fh75fsl18wsps54ya0mbmfn2v6chy";
buildDepends = [ aeson httpTypes text ];
meta = {
homepage = "http://github.com/zalora/servant";
description = "Machinery to express how servant should turn results of database operations into proper JSON-encodable response types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,21 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, httpTypes, scotty, servant, servantResponse, text
, transformers
}:
cabal.mkDerivation (self: {
pname = "servant-scotty";
version = "0.1.1";
sha256 = "0d3yc7aa2p1izizqnj81iscj9hbgbkpyav1ncmxzkr48svr6h783";
buildDepends = [
aeson httpTypes scotty servant servantResponse text transformers
];
meta = {
homepage = "http://github.com/zalora/servant";
description = "Generate a web service for servant 'Resource's
using scotty and JSON";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,15 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal }:
cabal.mkDerivation (self: {
pname = "servant";
version = "0.1";
sha256 = "1bm5223rjgcm8rb3s2mclmfj2df7j059jjh572a5py0rdqzg3yj0";
meta = {
homepage = "http://github.com/zalora/servant";
description = "A library to generate REST-style webservices on top of scotty, handling all the boilerplate for you";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -2152,6 +2152,16 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
semigroupoidExtras = callPackage ../development/libraries/haskell/semigroupoid-extras {};
servant = callPackage ../development/libraries/haskell/servant {};
servantPool = callPackage ../development/libraries/haskell/servant-pool {};
servantPostgresql = callPackage ../development/libraries/haskell/servant-postgresql {};
servantResponse = callPackage ../development/libraries/haskell/servant-response {};
servantScotty = callPackage ../development/libraries/haskell/servant-scotty {};
setenv = callPackage ../development/libraries/haskell/setenv {};
setlocale = callPackage ../development/libraries/haskell/setlocale {};