2013-04-20 19:19:56 +02:00
|
|
|
{ cabal, fetchurl, hspec, parsec, text }:
|
2011-08-29 22:27:05 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "shakespeare";
|
2013-04-05 08:58:18 +02:00
|
|
|
version = "1.0.4";
|
|
|
|
sha256 = "0aqcgfx3y9sbp7wvjmx6rxwi4r13qrfxs9a40gc00np03bpk1hxb";
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ parsec text ];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [ hspec parsec text ];
|
2013-04-20 19:19:56 +02:00
|
|
|
patchFlags = "-p2";
|
|
|
|
patches = [ (fetchurl { url = "https://github.com/yesodweb/shakespeare/pull/102.patch";
|
|
|
|
sha256 = "02fp87sw7k8zyn8kgmjg8974gi7pp5fyvb4f84i983qycmlmh8xq";
|
|
|
|
})
|
|
|
|
];
|
2011-08-29 22:27:05 +02:00
|
|
|
meta = {
|
2012-04-05 18:51:59 +02:00
|
|
|
homepage = "http://www.yesodweb.com/book/shakespearean-templates";
|
2011-08-29 22:27:05 +02:00
|
|
|
description = "A toolkit for making compile-time interpolated templates";
|
2012-04-09 14:37:39 +02:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
2011-08-29 22:27:05 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-03-23 14:57:25 +01:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-08-29 22:27:05 +02:00
|
|
|
};
|
|
|
|
})
|