nixpkgs/pkgs/development/libraries/haskell/yesod-static/default.nix
Peter Simons 7aefd575b5 haskell-yesod-static: disable the yesod-static test suite
It produces a strange error:

  Running 1 test suites...
  Test suite tests: RUNNING...

  /nix/store/gwm3821513h0jwcgxr73r3ay90shaq7r-haskell-base64-bytestring-ghc7.6.3-1.0.0.1/bin/../lib/ghc-7.6.3/package.conf.d/base64-bytestring-1.0.0.1.installedconf:1:19272:
      Not in scope: `main'
      Perhaps you meant `min' (imported from Prelude)
  ...

I'm not sure what this means.
2013-11-11 14:39:59 +01:00

35 lines
1.4 KiB
Nix

{ cabal, base64Bytestring, cereal, conduit, cryptoConduit
, cryptohashCryptoapi, dataDefault, fileEmbed, filepath, hjsmin
, hspec, httpTypes, HUnit, mimeTypes, processConduit, resourcet
, shakespeareCss, systemFileio, systemFilepath, text, transformers
, unixCompat, unorderedContainers, wai, waiAppStatic, waiTest
, yesodCore, yesodTest
}:
cabal.mkDerivation (self: {
pname = "yesod-static";
version = "1.2.1";
sha256 = "0vsmsdyi0nx111mkyf1wkkl2i07l40gcjzrm9dbks7k4pfajxqjx";
buildDepends = [
base64Bytestring cereal conduit cryptoConduit cryptohashCryptoapi
dataDefault fileEmbed filepath hjsmin httpTypes mimeTypes
processConduit resourcet shakespeareCss systemFileio systemFilepath
text transformers unixCompat unorderedContainers wai waiAppStatic
yesodCore
];
testDepends = [
base64Bytestring cereal conduit cryptoConduit cryptohashCryptoapi
dataDefault fileEmbed filepath hjsmin hspec httpTypes HUnit
mimeTypes processConduit resourcet shakespeareCss systemFileio
systemFilepath text transformers unixCompat unorderedContainers wai
waiAppStatic waiTest yesodCore yesodTest
];
doCheck = false;
meta = {
homepage = "http://www.yesodweb.com/";
description = "Static file serving subsite for Yesod Web Framework";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})