mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:36:27 +00:00
21 lines
644 B
Nix
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 ];
|
|
};
|
|
})
|