ghc-parser: added package
This commit is contained in:
parent
5765ce1b2d
commit
bf885a8d87
24
pkgs/development/libraries/haskell/ghc-parser/default.nix
Normal file
24
pkgs/development/libraries/haskell/ghc-parser/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
||||
# This file was later edited manually in order to add happy and cpphs
|
||||
# build tools, configurePhase and meta.
|
||||
|
||||
{ cabal, bash, happy, cpphs }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "ghc-parser";
|
||||
version = "0.1.3.0";
|
||||
sha256 = "13p09mj92jh4y0v2r672d49fmlz3l5r2r1lqg0jjy6kj045wcfdn";
|
||||
buildTools = [ happy cpphs ];
|
||||
configurePhase = ''
|
||||
ghc --make Setup.hs
|
||||
substituteInPlace build-parser.sh --replace "/bin/bash" "${bash}/bin/bash"
|
||||
./Setup configure --verbose --prefix="$out"
|
||||
'';
|
||||
meta = with self.stdenv.lib; {
|
||||
homepage = "https://github.com/gibiansky/IHaskell";
|
||||
description = "Haskell source parser from GHC";
|
||||
license = licenses.mit;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
};
|
||||
})
|
@ -914,6 +914,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
||||
|
||||
ghcPaths = callPackage ../development/libraries/haskell/ghc-paths {};
|
||||
|
||||
ghcParser = callPackage ../development/libraries/haskell/ghc-parser {};
|
||||
|
||||
ghcSyb = callPackage ../development/libraries/haskell/ghc-syb {};
|
||||
|
||||
ghcSybUtils = callPackage ../development/libraries/haskell/ghc-syb-utils {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user