1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/development/tools/parsing/alex/2.3.2.nix

20 lines
604 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;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})