2013-09-17 10:28:29 +01:00
|
|
|
{ cabal, perl, QuickCheck }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "alex";
|
2013-11-21 15:24:19 +00:00
|
|
|
version = "3.1.2";
|
|
|
|
sha256 = "0v8y6s9gwfk3cda6cpdl0n6vljmjbpnrdi3n93q41x24bhjyn50x";
|
2013-09-17 10:28:29 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ QuickCheck ];
|
|
|
|
buildTools = [ perl ];
|
|
|
|
meta = {
|
|
|
|
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;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|