summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/alex/2.3.1.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-23 10:35:49 +0000
committerPeter Simons <simons@cryp.to>2011-08-23 10:35:49 +0000
commitc8ae7cc8bbc53415ae469c2b952c7ae2ae9e59ef (patch)
treead44b08f75d3f478a756b88148ae3e0f1991d5ea /pkgs/development/tools/parsing/alex/2.3.1.nix
parent1972e6f6dc88abfe744d118305a09c0580857482 (diff)
Updated build expressions for the current version of cabal.nix.
svn path=/nixpkgs/trunk/; revision=28772
Diffstat (limited to 'pkgs/development/tools/parsing/alex/2.3.1.nix')
-rw-r--r--pkgs/development/tools/parsing/alex/2.3.1.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/tools/parsing/alex/2.3.1.nix b/pkgs/development/tools/parsing/alex/2.3.1.nix
index f225d29e3dc99..fd239d580bf3f 100644
--- a/pkgs/development/tools/parsing/alex/2.3.1.nix
+++ b/pkgs/development/tools/parsing/alex/2.3.1.nix
@@ -1,11 +1,12 @@
-{cabal, perl}:
+{ cabal, perl }:
 
-cabal.mkDerivation (self : {
+cabal.mkDerivation (self: {
   pname = "alex";
-  version = "2.3.1"; # Haskell Platform 2009.0.0
-  name = self.fname;
+  version = "2.3.1";
   sha256 = "cdd42fd992a72fedeff1f38debc21aa315d90dc070f0945d7819c0bccd549a44";
-  extraBuildInputs = [perl];
+  isLibrary = false;
+  isExecutable = true;
+  buildTools = [ perl ];
   meta = {
     homepage = "http://www.haskell.org/alex/";
     description = "Alex is a tool for generating lexical analysers in Haskell";