Skip to content
Snippets Groups Projects
Commit 68578243 authored by Daniel Firth's avatar Daniel Firth
Browse files

BNFC: init at 2.9.4.1

parent daf01b58
No related merge requests found
......@@ -44,7 +44,8 @@ let callGitServant
(Some subdir)
let packages =
{ Cabal = H.callHackage "Cabal" "3.8.1.0"
{ BNFC = H.callHackage "BNFC" "2.9.4.1"
, Cabal = H.callHackage "Cabal" "3.8.1.0"
, Cabal-QuickCheck = callGitCabal "Cabal-QuickCheck"
, Cabal-described = callGitCabal "Cabal-described"
, Cabal-syntax = callGitCabal "Cabal-syntax"
......
{ pkgs, lib, callPackage, ... }:
self: with pkgs.haskell.lib; {
BNFC = self.callPackage (./pkgs/BNFC.nix) { };
Cabal = self.callPackage (./pkgs/Cabal.nix) { };
Cabal-QuickCheck = self.callPackage (./pkgs/Cabal-QuickCheck.nix) { };
......
{ mkDerivation
, HUnit
, QuickCheck
, alex
, array
, base
, containers
, deepseq
, directory
, filepath
, happy
, hspec
, hspec-discover
, lib
, mtl
, pretty
, process
, string-qq
, temporary
, time
, transformers
}:
mkDerivation {
pname = "BNFC";
version = "2.9.4.1";
sha256 = "5e93609c1633e4b6636d0ac2b52c1d35228c13bd704a7849cb4e92b00ce27250";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = false;
libraryHaskellDepends = [
array
base
containers
deepseq
directory
filepath
mtl
pretty
process
string-qq
time
transformers
];
libraryToolDepends = [ alex happy ];
executableHaskellDepends = [ base ];
testHaskellDepends = [
array
base
containers
deepseq
directory
filepath
hspec
HUnit
mtl
pretty
process
QuickCheck
string-qq
temporary
time
];
testToolDepends = [ alex happy hspec-discover ];
enableLibraryProfiling = true;
enableExecutableProfiling = true;
doHaddock = false;
jailbreak = true;
doCheck = false;
doBenchmark = false;
hyperlinkSource = false;
homepage = "http://bnfc.digitalgrammars.com/";
description = "A compiler front-end generator";
license = lib.licenses.bsd3;
broken = false;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment