19 lines
556 B
Nix
19 lines
556 B
Nix
|
{ cabal, perl, QuickCheck }:
|
||
|
|
||
|
cabal.mkDerivation (self: {
|
||
|
pname = "alex";
|
||
|
version = "3.0.1";
|
||
|
sha256 = "1w7s9kzgr4kfh6cyhb4qkvxwy9gcw3xa1d2k5dy575k3wk73awkj";
|
||
|
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 ];
|
||
|
};
|
||
|
})
|