3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/haskell/ghc-parser/default.nix
2014-10-03 20:02:00 +02:00

21 lines
644 B
Nix

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, cpphs, happy }:
cabal.mkDerivation (self: {
pname = "ghc-parser";
version = "0.1.3.0";
sha256 = "13p09mj92jh4y0v2r672d49fmlz3l5r2r1lqg0jjy6kj045wcfdn";
buildTools = [ cpphs happy ];
patchPhase = ''
substituteInPlace build-parser.sh --replace "/bin/bash" "$SHELL"
'';
meta = {
homepage = "https://github.com/gibiansky/IHaskell";
description = "Haskell source parser from GHC";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ edwtjo ];
};
})