nixpkgs/pkgs/development/libraries/haskell/syb/0.4.1.nix
Peter Simons efaac7c006 haskell-syb-0.4.1: disable the test suite when compiling with GHC HEAD
The test suite fails in a seemingly harmless way:

  ### Failure in: All:0
  expected: "(MyDataType Int,(DataType {tycon = \"MyDataType\", datarep = AlgRep [MyDataType]},(\"\",(\"MyDataType\",(\"\",\"MyDataType\")))))"
   but got: "(MyDataType Int,(DataType {tycon = \"Datatype.MyDataType\", datarep = AlgRep [MyDataType]},(\"\",(\"MyDataType\",(\"Datatype\",\"MyDataType\")))))"
2014-05-07 19:13:05 +02:00

16 lines
526 B
Nix

{ cabal, HUnit, mtl }:
cabal.mkDerivation (self: {
pname = "syb";
version = "0.4.1";
sha256 = "1lkh4rrqdzvb8kyry07x2z88v478hrw5cp8wmhjgpg0ck8ywncma";
testDepends = [ HUnit mtl ];
doCheck = self.stdenv.lib.versionOlder self.ghc.version "7.9";
meta = {
homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/SYB";
description = "Scrap Your Boilerplate";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})