nixpkgs/pkgs/development/libraries/haskell/snap/snap.nix
Peter Simons d7d1f995e6 Use jailbreak to get rid of overspecified version restrictions to fix
builds of Agda, accelerate-cuda, clientsession, filestore, ghc-events,
gitit, happstack, happstack, happstack, hledger-lib, hledger, mime-mail,
pandoc, snap, wai-app-static, yesod-static, and urlencoded.
2012-09-10 12:36:18 +02:00

30 lines
1.1 KiB
Nix

{ cabal, aeson, attoparsec, cereal, clientsession, configurator
, dataLens, dataLensTemplate, directoryTree, filepath, hashable
, heist, logict, MonadCatchIOTransformers, mtl, mwcRandom
, pwstoreFast, snapCore, snapServer, stm, syb, text, time
, transformers, unorderedContainers, utf8String, vector
, vectorAlgorithms, xmlhtml
}:
cabal.mkDerivation (self: {
pname = "snap";
version = "0.9.1.1";
sha256 = "1g8jvnwrhna5g064dmv4v4khrpwwn0vcqw8l7rcpkp75l46fq29z";
isLibrary = true;
isExecutable = true;
buildDepends = [
aeson attoparsec cereal clientsession configurator dataLens
dataLensTemplate directoryTree filepath hashable heist logict
MonadCatchIOTransformers mtl mwcRandom pwstoreFast snapCore
snapServer stm syb text time transformers unorderedContainers
utf8String vector vectorAlgorithms xmlhtml
];
jailbreak = true;
meta = {
homepage = "http://snapframework.com/";
description = "Snap: A Haskell Web Framework: project starter executable and glue code library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})