2014-04-11 11:45:06 +01:00
|
|
|
{ cabal, attoparsec, caseInsensitive, hashable, network, snap, text
|
|
|
|
, transformers, unorderedContainers
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "snap-cors";
|
2014-05-01 11:20:02 +01:00
|
|
|
version = "1.2.4";
|
|
|
|
sha256 = "0mg5sjvrcs60s8k28vgi49vbgfpswkcd7i7yyfi1n1649vqb69mb";
|
2014-04-11 11:45:06 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|