haskell-scotty 0.4.6: New package, a simple web framework
This commit is contained in:
parent
40aa6be1d9
commit
c8d9a9f79b
2 changed files with 34 additions and 0 deletions
32
pkgs/development/libraries/haskell/scotty/default.nix
Normal file
32
pkgs/development/libraries/haskell/scotty/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ cabal, aeson, blazeBuilder, caseInsensitive, conduit
|
||||
, dataDefault, httpTypes, mtl, regexCompat, resourcet
|
||||
, text, wai, waiExtra, warp
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "scotty";
|
||||
version = "0.4.6";
|
||||
sha256 = "0g83kgqr1p03z7dks6x00id2gz95kkw00wmwp5vyz4zvx1mmmvk8";
|
||||
buildDepends = [
|
||||
aeson
|
||||
blazeBuilder
|
||||
caseInsensitive
|
||||
conduit
|
||||
dataDefault
|
||||
httpTypes
|
||||
mtl
|
||||
regexCompat
|
||||
resourcet
|
||||
text
|
||||
wai
|
||||
waiExtra
|
||||
warp
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/xich/scotty";
|
||||
description =
|
||||
"Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp";
|
||||
license = self.stdenv.lib.licenses.bsd;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -1603,6 +1603,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
|||
|
||||
SafeSemaphore = callPackage ../development/libraries/haskell/SafeSemaphore {};
|
||||
|
||||
scotty = callPackage ../development/libraries/haskell/scotty {};
|
||||
|
||||
sendfile = callPackage ../development/libraries/haskell/sendfile {};
|
||||
|
||||
semigroups = callPackage ../development/libraries/haskell/semigroups {};
|
||||
|
|
Loading…
Reference in a new issue