summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/ghc-parser/default.nix
blob: 1cbfe4a19f3a9bdfe12bdb029972d0689c12131a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 ];
  };
})