mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Added more rest packages.
This commit is contained in:
parent
d3f763696d
commit
c0fe93fdb6
12
pkgs/development/libraries/haskell/code-builder/default.nix
Normal file
12
pkgs/development/libraries/haskell/code-builder/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
21
pkgs/development/libraries/haskell/rest-client/default.nix
Normal file
21
pkgs/development/libraries/haskell/rest-client/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
26
pkgs/development/libraries/haskell/rest-gen/default.nix
Normal file
26
pkgs/development/libraries/haskell/rest-gen/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
@ -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;
|
||||||
|
};
|
||||||
|
})
|
18
pkgs/development/libraries/haskell/rest-wai/default.nix
Normal file
18
pkgs/development/libraries/haskell/rest-wai/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
@ -425,6 +425,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||||||
|
|
||||||
cmdtheline = callPackage ../development/libraries/haskell/cmdtheline {};
|
cmdtheline = callPackage ../development/libraries/haskell/cmdtheline {};
|
||||||
|
|
||||||
|
codeBuilder = callPackage ../development/libraries/haskell/code-builder {};
|
||||||
|
|
||||||
CodecImageDevIL = callPackage ../development/libraries/haskell/codec-image-devil {};
|
CodecImageDevIL = callPackage ../development/libraries/haskell/codec-image-devil {};
|
||||||
|
|
||||||
colorizeHaskell = callPackage ../development/libraries/haskell/colorize-haskell {};
|
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 {};
|
resourcet = callPackage ../development/libraries/haskell/resourcet {};
|
||||||
|
|
||||||
|
restClient = callPackage ../development/libraries/haskell/rest-client {};
|
||||||
restCore = callPackage ../development/libraries/haskell/rest-core {};
|
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 {};
|
restTypes = callPackage ../development/libraries/haskell/rest-types {};
|
||||||
restStringmap = callPackage ../development/libraries/haskell/rest-stringmap {};
|
restStringmap = callPackage ../development/libraries/haskell/rest-stringmap {};
|
||||||
restSnap = callPackage ../development/libraries/haskell/rest-snap {};
|
restSnap = callPackage ../development/libraries/haskell/rest-snap {};
|
||||||
|
restWai = callPackage ../development/libraries/haskell/rest-wai {};
|
||||||
|
|
||||||
retry = callPackage ../development/libraries/haskell/retry {};
|
retry = callPackage ../development/libraries/haskell/retry {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user