nixpkgs/pkgs/development/libraries/haskell/ghc-parser/default.nix

21 lines
644 B
Nix
Raw Normal View History

2014-10-02 18:53:55 +00:00
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, cpphs, happy }:
2014-10-02 18:53:55 +00:00
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"
2014-10-02 18:53:55 +00:00
'';
meta = {
2014-10-02 18:53:55 +00:00
homepage = "https://github.com/gibiansky/IHaskell";
description = "Haskell source parser from GHC";
license = self.stdenv.lib.licenses.mit;
2014-10-02 18:53:55 +00:00
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ edwtjo ];
2014-10-02 18:53:55 +00:00
};
})