mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
21 lines
657 B
Nix
21 lines
657 B
Nix
{ cabal, perl }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "alex";
|
|
version = "2.3.2";
|
|
sha256 = "6715a4c27b15a74d8f31cbb6a7d654b9cb6766d74980c75b65dee7c627049f43";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildTools = [ perl ];
|
|
doCheck = false;
|
|
patches = [ ./adapt-crazy-perl-regex-for-cpp-4.8.0.patch ];
|
|
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;
|
|
hydraPlatforms = self.stdenv.lib.platforms.none;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|