haskellPackages.snapCORS: New expression

This commit is contained in:
Oliver Charles 2014-04-11 11:45:06 +01:00
parent 4fea09ca4c
commit 99d8ef0673
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ cabal, attoparsec, caseInsensitive, hashable, network, snap, text
, transformers, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "snap-cors";
version = "1.2.2";
sha256 = "1f32sj7y87lr0wjs3j3ynh95c4j4yx4fzizbgdfnjai1apcjkhcs";
buildDepends = [
attoparsec caseInsensitive hashable network snap text transformers
unorderedContainers
];
meta = {
homepage = "http://github.com/ocharles/snap-cors";
description = "Add CORS headers to Snap applications";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -2260,6 +2260,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
snapCore = callPackage ../development/libraries/haskell/snap/core.nix {};
snapCORS = callPackage ../development/libraries/haskell/snap-cors {};
snapLoaderDynamic = callPackage ../development/libraries/haskell/snap/loader-dynamic.nix {};
snapLoaderStatic = callPackage ../development/libraries/haskell/snap/loader-static.nix {};