2014-07-14 11:21:41 +00:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2013-08-21 08:10:44 +00:00
|
|
|
{ cabal, HUnit, mtl }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "syb";
|
2014-06-10 17:20:14 +00:00
|
|
|
version = "0.4.2";
|
|
|
|
sha256 = "1gvyw2gbccip24wpp9xi6qgwvg4m5cijhzz1v51wvyamqv4p2b8l";
|
2013-08-21 08:10:44 +00:00
|
|
|
testDepends = [ HUnit mtl ];
|
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-05 21:08:13 +00:00
|
|
|
doCheck = self.stdenv.lib.versionOlder self.ghc.version "7.9";
|
2013-08-21 08:10:44 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|