3
0
Fork 0
forked from mirrors/nixpkgs

Added more rest packages.

This commit is contained in:
Aycan iRiCAN 2014-07-15 03:04:59 +03:00
parent d3f763696d
commit c0fe93fdb6
6 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "code-builder";
version = "0.1.3";
sha256 = "1ax4c19xkszahcxvwc1wa1hrgk6ajck5sbprbplsi1gc9jj4g7jm";
meta = {
description = "Simple system for generating code";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,21 @@
{ cabal, aesonUtils, caseInsensitive, dataDefault
, exceptionTransformers, httpConduit, httpTypes, hxt
, hxtPickleUtils, monadControl, mtl, primitive, resourcet
, restTypes, tostring, transformersBase, uriEncode, utf8String
}:
cabal.mkDerivation (self: {
pname = "rest-client";
version = "0.4";
sha256 = "18mvmp4c5zznph8q5ash6224wig5kwvb6v19dkn39n4l72cdq7wm";
buildDepends = [
aesonUtils caseInsensitive dataDefault exceptionTransformers
httpConduit httpTypes hxt hxtPickleUtils monadControl mtl primitive
resourcet restTypes tostring transformersBase uriEncode utf8String
];
meta = {
description = "Utility library for use in generated API client libraries";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,26 @@
{ cabal, aeson, blazeHtml, Cabal, codeBuilder, fclabels, filepath
, hashable, haskellSrcExts, hslogger, HStringTemplate, HUnit, hxt
, jsonSchema, restCore, safe, scientific, split, tagged
, testFramework, testFrameworkHunit, text, uniplate
, unorderedContainers, vector
}:
cabal.mkDerivation (self: {
pname = "rest-gen";
version = "0.14.1";
sha256 = "0skpj4y4v9q7brcq54wgl4kyxa1bqqw7gzb1r98d4ml0j3vhjn19";
buildDepends = [
aeson blazeHtml Cabal codeBuilder fclabels filepath hashable
haskellSrcExts hslogger HStringTemplate hxt jsonSchema restCore
safe scientific split tagged text uniplate unorderedContainers
vector
];
testDepends = [
haskellSrcExts HUnit restCore testFramework testFrameworkHunit
];
meta = {
description = "Documentation and client generation from rest definition";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,13 @@
{ cabal, happstackServer, mtl, restCore, restGen, utf8String }:
cabal.mkDerivation (self: {
pname = "rest-happstack";
version = "0.2.10";
sha256 = "1np8y0v6jnk2lw0aqlzb9dn1vlk8cg75xrhkjmm6qh0z90fy3p6z";
buildDepends = [ happstackServer mtl restCore restGen utf8String ];
meta = {
description = "Rest driver for Happstack";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -0,0 +1,18 @@
{ cabal, caseInsensitive, httpTypes, mimeTypes, mtl, restCore
, restTypes, text, unorderedContainers, utf8String, wai
}:
cabal.mkDerivation (self: {
pname = "rest-wai";
version = "0.1.0.2";
sha256 = "06wnazy0262b2875q4km2xy9zz7l681vlfj3ny1ha9valnqr3q6w";
buildDepends = [
caseInsensitive httpTypes mimeTypes mtl restCore restTypes text
unorderedContainers utf8String wai
];
meta = {
description = "Rest driver for WAI applications";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -425,6 +425,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
cmdtheline = callPackage ../development/libraries/haskell/cmdtheline {};
codeBuilder = callPackage ../development/libraries/haskell/code-builder {};
CodecImageDevIL = callPackage ../development/libraries/haskell/codec-image-devil {};
colorizeHaskell = callPackage ../development/libraries/haskell/colorize-haskell {};
@ -1973,10 +1975,14 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
resourcet = callPackage ../development/libraries/haskell/resourcet {};
restClient = callPackage ../development/libraries/haskell/rest-client {};
restCore = callPackage ../development/libraries/haskell/rest-core {};
restGen = callPackage ../development/libraries/haskell/rest-gen {};
restHappstack = callPackage ../development/libraries/haskell/rest-happstack {};
restTypes = callPackage ../development/libraries/haskell/rest-types {};
restStringmap = callPackage ../development/libraries/haskell/rest-stringmap {};
restSnap = callPackage ../development/libraries/haskell/rest-snap {};
restWai = callPackage ../development/libraries/haskell/rest-wai {};
retry = callPackage ../development/libraries/haskell/retry {};