haskellPackages.snapCORS: New expression
This commit is contained in:
parent
4fea09ca4c
commit
99d8ef0673
2 changed files with 21 additions and 0 deletions
19
pkgs/development/libraries/haskell/snap-cors/default.nix
Normal file
19
pkgs/development/libraries/haskell/snap-cors/default.nix
Normal 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;
|
||||
};
|
||||
})
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue