Added Rest For Haskell and dependencies (rest-core, rest-types, rest-snap etc...)

This commit is contained in:
Aycan iRiCAN 2014-07-14 15:52:43 +03:00
parent d2e731e111
commit d3f763696d
13 changed files with 224 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ cabal, aeson, attoparsec, scientific, text }:
cabal.mkDerivation (self: {
pname = "aeson-utils";
version = "0.2.2.1";
sha256 = "0sj4kdcxcj2wnf3s109yxq8gghz976hkiqs19bjcp6qkzdf5w6sd";
buildDepends = [ aeson attoparsec scientific text ];
meta = {
description = "Utilities for working with Aeson";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
{ cabal, aeson, attoparsec, genericDeriving, HUnit, mtl, tagged
, text, vector
}:
cabal.mkDerivation (self: {
pname = "generic-aeson";
version = "0.1.0.3";
sha256 = "1svbjgd8g1ljximqb4pph9lvsswgvkj46jkqq8lzmh9ql385g2vp";
buildDepends = [
aeson attoparsec genericDeriving mtl tagged text vector
];
testDepends = [ aeson attoparsec HUnit ];
meta = {
description = "Derivation of Aeson instances using GHC generics";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, hxt, mtl }:
cabal.mkDerivation (self: {
pname = "hxt-pickle-utils";
version = "0.1.0.2";
sha256 = "06v4935lljcyyx4a5v0z4id3fz4v28aghsrzr94k6diibpnwcdz2";
buildDepends = [ hxt mtl ];
meta = {
homepage = "https://github.com/silkapp/hxt-pickle-utils";
description = "Utility functions for using HXT picklers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,23 @@
{ cabal, aeson, attoparsec, genericAeson, genericDeriving, HUnit
, tagged, tasty, tastyHunit, tastyTh, text, time
, unorderedContainers, vector
}:
cabal.mkDerivation (self: {
pname = "json-schema";
version = "0.6";
sha256 = "1rlx6r4ybbgz8q159mxh0hp3l0cc8q4nc1g7yd1ii1z4p9wjmnny";
buildDepends = [
aeson genericAeson genericDeriving tagged text time
unorderedContainers vector
];
testDepends = [
aeson attoparsec genericAeson HUnit tagged tasty tastyHunit tastyTh
text
];
meta = {
description = "Types and type classes for defining JSON schemas";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, parsec }:
cabal.mkDerivation (self: {
pname = "multipart";
version = "0.1.1";
sha256 = "12sxi21baq1wsa3z6qrczyk47finw85yiql26l90wxk99smm90pj";
buildDepends = [ parsec ];
meta = {
homepage = "http://www.github.com/silkapp/multipart";
description = "A partial fork of the cgi package exposing the multipart module";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,14 @@
{ cabal, hxt, regular, text }:
cabal.mkDerivation (self: {
pname = "regular-xmlpickler";
version = "0.2";
sha256 = "1qjx4xsidnpr2as3m2ir97ap5vc9cw6a0z332g53ifx9gskjli9f";
buildDepends = [ hxt regular text ];
meta = {
homepage = "http://github.com/silkapp/regular-xmlpickler";
description = "Generic generation of HXT XmlPickler instances using Regular";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,24 @@
{ cabal, aeson, aesonUtils, either, errors, fclabels, HUnit, hxt
, hxtPickleUtils, jsonSchema, mtl, multipart, random, restStringmap
, restTypes, safe, split, testFramework, testFrameworkHunit, text
, transformers, unorderedContainers, uriEncode, utf8String, uuid
}:
cabal.mkDerivation (self: {
pname = "rest-core";
version = "0.31.1";
sha256 = "1cx1zmy1zr43n9nlrbar828izccpkvrvjkrda03ra9fkcjgd6qy6";
buildDepends = [
aeson aesonUtils either errors fclabels hxt hxtPickleUtils
jsonSchema mtl multipart random restStringmap restTypes safe split
text transformers unorderedContainers uriEncode utf8String uuid
];
testDepends = [
HUnit mtl testFramework testFrameworkHunit unorderedContainers
];
meta = {
description = "Rest API library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
{ cabal, caseInsensitive, restCore, safe, snapCore
, unorderedContainers, uriEncode, utf8String
}:
cabal.mkDerivation (self: {
pname = "rest-snap";
version = "0.1.17.12";
sha256 = "0hhpscdbph34psfn2h1g0znds0cz7ja9byr6bg7jmj0h86plz8al";
buildDepends = [
caseInsensitive restCore safe snapCore unorderedContainers
uriEncode utf8String
];
meta = {
description = "Rest driver for Snap";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
{ cabal, aeson, hashable, hxt, jsonSchema, tagged, text, tostring
, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "rest-stringmap";
version = "0.2.0.2";
sha256 = "0nzkc09679c2mz3amh1avk2kfjpqbhbxsr0r9zvgcs71gqkal2mz";
buildDepends = [
aeson hashable hxt jsonSchema tagged text tostring
unorderedContainers
];
meta = {
description = "Maps with stringy keys that can be transcoded to JSON and XML";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
{ cabal, aeson, genericAeson, hxt, jsonSchema, mtl, regular
, regularXmlpickler, restStringmap, text, uuid
}:
cabal.mkDerivation (self: {
pname = "rest-types";
version = "1.10.1";
sha256 = "0i4y1s35ybly1nayqj9c2zqwikpxnzjamq24qbhg0lpqr0dpc1rg";
buildDepends = [
aeson genericAeson hxt jsonSchema mtl regular regularXmlpickler
restStringmap text uuid
];
meta = {
description = "Silk Rest Framework Types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,13 @@
{ cabal, text, utf8String }:
cabal.mkDerivation (self: {
pname = "tostring";
version = "0.2.0.1";
sha256 = "1gihls2xslr9fzad2659zv8af9k4cm84888nhx3z9bwasviyg448";
buildDepends = [ text utf8String ];
meta = {
description = "The ToString class";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,15 @@
{ cabal, network, text, utf8String }:
cabal.mkDerivation (self: {
pname = "uri-encode";
version = "1.5.0.2";
sha256 = "1lsj9y3sw9wlpsw7j20frvv9a165mcqx7x7vrp2gamka1120pkym";
isLibrary = true;
isExecutable = true;
buildDepends = [ network text utf8String ];
meta = {
description = "Unicode aware uri-encoding";
license = "unknown";
platforms = self.ghc.meta.platforms;
};
})

View File

@ -147,6 +147,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
aesonQq = callPackage ../development/libraries/haskell/aeson-qq {};
aesonUtils = callPackage ../development/libraries/haskell/aeson-utils {};
alsaCore = callPackage ../development/libraries/haskell/alsa-core {};
alsaMixer = callPackage ../development/libraries/haskell/alsa-mixer {};
@ -833,6 +835,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
gdiff = callPackage ../development/libraries/haskell/gdiff {};
genericAeson = callPackage ../development/libraries/haskell/generic-aeson {};
genericDeriving = callPackage ../development/libraries/haskell/generic-deriving {};
ghcCore = callPackage ../development/libraries/haskell/ghc-core {};
@ -1245,6 +1249,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
hxtHttp = callPackage ../development/libraries/haskell/hxt-http {};
hxtPickleUtils = callPackage ../development/libraries/haskell/hxt-pickle-utils {};
hxtRegexXmlschema = callPackage ../development/libraries/haskell/hxt-regex-xmlschema {};
hxtTagsoup = callPackage ../development/libraries/haskell/hxt-tagsoup {};
@ -1323,6 +1329,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
jsonAssertions = callPackage ../development/libraries/haskell/json-assertions {};
jsonSchema = callPackage ../development/libraries/haskell/json-schema {};
jsonTypes = callPackage ../development/libraries/haskell/jsonTypes {};
JuicyPixelsUtil = callPackage ../development/libraries/haskell/JuicyPixels-util {};
@ -1560,6 +1568,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
multimap = callPackage ../development/libraries/haskell/multimap {};
multipart = callPackage ../development/libraries/haskell/multipart {};
multiplate = callPackage ../development/libraries/haskell/multiplate {};
multirec = callPackage ../development/libraries/haskell/multirec {};
@ -1944,6 +1954,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
regular = callPackage ../development/libraries/haskell/regular {};
regularXmlpickler = callPackage ../development/libraries/haskell/regular-xmlpickler {};
remote = callPackage ../development/libraries/haskell/remote {};
repa = callPackage ../development/libraries/haskell/repa {};
@ -1961,6 +1973,11 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
resourcet = callPackage ../development/libraries/haskell/resourcet {};
restCore = callPackage ../development/libraries/haskell/rest-core {};
restTypes = callPackage ../development/libraries/haskell/rest-types {};
restStringmap = callPackage ../development/libraries/haskell/rest-stringmap {};
restSnap = callPackage ../development/libraries/haskell/rest-snap {};
retry = callPackage ../development/libraries/haskell/retry {};
rethinkdb = callPackage ../development/libraries/haskell/rethinkdb {};
@ -2361,6 +2378,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
tls = self.tls_1_1_5;
};
tostring = callPackage ../development/libraries/haskell/tostring {};
transformers_0_2_2_0 = callPackage ../development/libraries/haskell/transformers/0.2.2.0.nix {};
transformers_0_3_0_0 = callPackage ../development/libraries/haskell/transformers/0.3.0.0.nix {};
transformers_0_4_1_0 = callPackage ../development/libraries/haskell/transformers/0.4.1.0.nix {};
@ -2432,6 +2451,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
uri = callPackage ../development/libraries/haskell/uri {};
uriEncode = callPackage ../development/libraries/haskell/uri-encode {};
url = callPackage ../development/libraries/haskell/url {};
urlencoded = callPackage ../development/libraries/haskell/urlencoded {};