2011-10-24 21:18:04 +02:00
|
|
|
{ cabal }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal-file-th";
|
2011-10-25 18:43:13 +02:00
|
|
|
version = "0.2.1";
|
|
|
|
sha256 = "0nczwicgf6kx3lk5m7wqf1wj6ghn8jfx112dzh7jh4f4xs66nsd1";
|
2012-02-03 20:10:14 +01:00
|
|
|
patchPhase = "sed -i cabal-file-th.cabal -e 's|Cabal >= 1.10 && < 1.13|Cabal|'";
|
2011-10-24 21:18:04 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/nkpart/cabal-file-th";
|
|
|
|
description = "Template Haskell expressions for reading fields from a project's cabal file";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2011-10-26 19:37:25 +02:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-10-24 21:18:04 +02:00
|
|
|
};
|
|
|
|
})
|