nixpkgs/pkgs/development/libraries/haskell/cabal-file-th/default.nix
Peter Simons 875b61eeb9 haskell-cabal-file-th: patch cabal file to fix build with GHC 7.4.1
svn path=/nixpkgs/trunk/; revision=32010
2012-02-03 19:10:14 +00:00

19 lines
606 B
Nix

{ cabal }:
cabal.mkDerivation (self: {
pname = "cabal-file-th";
version = "0.2.1";
sha256 = "0nczwicgf6kx3lk5m7wqf1wj6ghn8jfx112dzh7jh4f4xs66nsd1";
patchPhase = "sed -i cabal-file-th.cabal -e 's|Cabal >= 1.10 && < 1.13|Cabal|'";
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;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})