summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/alex/2.3.5.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/parsing/alex/2.3.5.nix')
-rw-r--r--pkgs/development/tools/parsing/alex/2.3.5.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/alex/2.3.5.nix b/pkgs/development/tools/parsing/alex/2.3.5.nix
new file mode 100644
index 000000000000..db676a906849
--- /dev/null
+++ b/pkgs/development/tools/parsing/alex/2.3.5.nix
@@ -0,0 +1,20 @@
+{ cabal, perl }:
+
+cabal.mkDerivation (self: {
+  pname = "alex";
+  version = "2.3.5";
+  sha256 = "0lyjiq4lmii2syk6838ln32qvn8c0ljf1ypsggahy748k05x79if";
+  isLibrary = false;
+  isExecutable = true;
+  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
+      self.stdenv.lib.maintainers.simons
+    ];
+  };
+})