2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, perl }:
|
2010-04-01 12:56:48 +02:00
|
|
|
|
2011-08-23 12:35:49 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2010-04-01 12:56:48 +02:00
|
|
|
pname = "alex";
|
2011-08-23 12:35:49 +02:00
|
|
|
version = "2.3.2";
|
2010-04-01 12:56:48 +02:00
|
|
|
sha256 = "6715a4c27b15a74d8f31cbb6a7d654b9cb6766d74980c75b65dee7c627049f43";
|
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 ];
|
2010-04-01 12:56:48 +02: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;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2010-04-01 12:56:48 +02:00
|
|
|
};
|
|
|
|
})
|