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