2014-03-21 17:47:24 +00:00
|
|
|
{ cabal, Cabal, constraints, filepath, mtl, tasty, tastyGolden
|
|
|
|
, thDesugar
|
|
|
|
}:
|
2014-02-26 16:19:42 +00:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "singletons";
|
2014-05-15 14:09:33 +00:00
|
|
|
version = "1.0";
|
|
|
|
sha256 = "1rd1728wghhqlg2djd7az8i01rf4i3wwwcnz2v43a39jjvhlklkg";
|
2014-03-21 17:47:24 +00:00
|
|
|
buildDepends = [ mtl thDesugar ];
|
|
|
|
testDepends = [ Cabal constraints filepath tasty tastyGolden ];
|
2014-02-28 09:28:25 +00:00
|
|
|
noHaddock = true;
|
2014-05-29 07:28:13 +00:00
|
|
|
patches = self.stdenv.lib.optional self.stdenv.isDarwin ./test.patch;
|
2014-02-26 16:19:42 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.cis.upenn.edu/~eir/packages/singletons";
|
|
|
|
description = "A framework for generating singleton types";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
|
|
|
};
|
|
|
|
})
|