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.1";
|
2009-04-19 15:38:34 +02:00
|
|
|
sha256 = "cdd42fd992a72fedeff1f38debc21aa315d90dc070f0945d7819c0bccd549a44";
|
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;
|
2013-03-23 14:57:25 +01:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2007-12-11 14:38:48 +01:00
|
|
|
};
|
2008-01-22 23:43:38 +01:00
|
|
|
})
|