2013-12-02 19:41:51 +00:00
|
|
|
{ cabal, happy, perl, QuickCheck }:
|
2013-09-17 10:28:29 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "alex";
|
2013-12-02 19:41:51 +00:00
|
|
|
version = "3.1.3";
|
|
|
|
sha256 = "14hajxpqb6va5mclp2k682bgw9sbmd372vw41kq5aq815bkschcd";
|
2013-09-17 10:28:29 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ QuickCheck ];
|
2013-12-02 19:41:51 +00:00
|
|
|
buildTools = [ happy perl ];
|
2013-09-17 10:28:29 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.haskell.org/alex/";
|
|
|
|
description = "Alex is a tool for generating lexical analysers in Haskell";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|