2012-02-16 14:05:41 +00:00
|
|
|
{ cabal, perl }:
|
2008-01-22 22:43:38 +00:00
|
|
|
|
2011-08-23 10:35:49 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2008-01-22 22:43:38 +00:00
|
|
|
pname = "alex";
|
2011-08-23 10:35:49 +00:00
|
|
|
version = "2.3.5";
|
2011-03-12 17:28:15 +00:00
|
|
|
sha256 = "0lyjiq4lmii2syk6838ln32qvn8c0ljf1ypsggahy748k05x79if";
|
2011-08-23 10:35:49 +00:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildTools = [ perl ];
|
2013-02-24 21:22:02 +00:00
|
|
|
doCheck = false;
|
2013-04-19 12:14:40 +00:00
|
|
|
patches = [ ./adapt-crazy-perl-regex-for-cpp-4.8.0.patch ];
|
2008-01-22 22:43:38 +00:00
|
|
|
meta = {
|
2011-08-15 11:27:02 +00:00
|
|
|
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;
|
2013-05-10 22:36:36 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2007-12-11 13:38:48 +00:00
|
|
|
};
|
2008-01-22 22:43:38 +00:00
|
|
|
})
|