2014-04-11 12:45:06 +02:00
|
|
|
{ cabal, attoparsec, caseInsensitive, hashable, network, snap, text
|
|
|
|
, transformers, unorderedContainers
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "snap-cors";
|
2014-06-20 15:06:07 +02:00
|
|
|
version = "1.2.5";
|
|
|
|
sha256 = "1zjvvi1prskkb26yp51j09gfkhpw0ggj69d89098yq0sl6d0vy1c";
|
2014-04-11 12:45:06 +02: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;
|
|
|
|
};
|
|
|
|
})
|