mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Added yesod-form and yesod-json.
svn path=/nixpkgs/trunk/; revision=27654
This commit is contained in:
parent
29c7cd1298
commit
6f43e422ba
@ -0,0 +1,14 @@
|
||||
{cabal, parsec, ranges}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "email-validate";
|
||||
version = "0.2.6";
|
||||
sha256 = "1nw4r5wyck30r6n0bjxwybpkw2dqr2mp4y8fy6ypra9zhhw1jd8m";
|
||||
propagatedBuildInputs = [parsec ranges];
|
||||
meta = {
|
||||
description = "Validating an email address string against RFC 5322";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
13
pkgs/development/libraries/haskell/ranges/default.nix
Normal file
13
pkgs/development/libraries/haskell/ranges/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "ranges";
|
||||
version = "0.2.3";
|
||||
sha256 = "1jmybrwwvg8zkbxjrlrahfavlf2g2584ld15hzhch317683nvr1p";
|
||||
meta = {
|
||||
description = "Ranges and various functions on them";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
21
pkgs/development/libraries/haskell/yesod-form/default.nix
Normal file
21
pkgs/development/libraries/haskell/yesod-form/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{cabal, blazeBuilder, blazeHtml, dataDefault, emailValidate, hamlet,
|
||||
network, persistent, text, transformers, wai, webRoutesQuasi,
|
||||
xssSanitize, yesodCore, yesodPersistent}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "yesod-form";
|
||||
version = "0.2.0";
|
||||
sha256 = "1dwwndrb09bqfzrarxpiw29xqvxk70iy8b2vcy0rl6g2wvrcm8an";
|
||||
propagatedBuildInputs = [
|
||||
blazeBuilder blazeHtml dataDefault emailValidate hamlet
|
||||
network persistent text transformers wai webRoutesQuasi
|
||||
xssSanitize yesodCore yesodPersistent
|
||||
];
|
||||
noHaddock = true;
|
||||
meta = {
|
||||
description = "Form handling support for Yesod Web Framework";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
16
pkgs/development/libraries/haskell/yesod-json/default.nix
Normal file
16
pkgs/development/libraries/haskell/yesod-json/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{cabal, aeson, blazeTextual, hamlet, text, vector, yesodCore}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "yesod-json";
|
||||
version = "0.1.1.1";
|
||||
sha256 = "02mly02c6z49s0gznx47w919gcn7qz1qvr8704sab1sjk87cyjwl";
|
||||
propagatedBuildInputs = [
|
||||
aeson blazeTextual hamlet text vector yesodCore
|
||||
];
|
||||
meta = {
|
||||
description = "Generate content for Yesod using the aeson package";
|
||||
license = "BSD3";
|
||||
maintainers = [self.stdenv.lib.maintainers.andres];
|
||||
};
|
||||
})
|
||||
|
@ -450,6 +450,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
inherit (pkgs) libedit;
|
||||
};
|
||||
|
||||
emailValidate = callPackage ../development/libraries/haskell/email-validate {};
|
||||
|
||||
enumerator = callPackage ../development/libraries/haskell/enumerator {};
|
||||
|
||||
erf = callPackage ../development/libraries/haskell/erf {};
|
||||
@ -812,6 +814,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
randomShuffle = callPackage ../development/libraries/haskell/random-shuffle {};
|
||||
|
||||
ranges = callPackage ../development/libraries/haskell/ranges {};
|
||||
|
||||
readline = callPackage ../development/libraries/haskell/readline {
|
||||
inherit (pkgs) readline ncurses;
|
||||
};
|
||||
@ -1056,6 +1060,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
yesodCore = callPackage ../development/libraries/haskell/yesod-core {};
|
||||
|
||||
yesodForm = callPackage ../development/libraries/haskell/yesod-form {};
|
||||
|
||||
yesodJson = callPackage ../development/libraries/haskell/yesod-json {};
|
||||
|
||||
yesodPersistent = callPackage ../development/libraries/haskell/yesod-persistent {};
|
||||
|
||||
yst = callPackage ../development/libraries/haskell/yst {};
|
||||
|
Loading…
Reference in New Issue
Block a user