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