about summary refs log tree commit diff
path: root/pkgs/development/tools/parsing
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
commitac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6 (patch)
tree2cd413d35a58a8320b2adfac534652619d2bbcfd /pkgs/development/tools/parsing
parent9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (diff)
downloadnixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.gz
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.bz2
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.lz
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.xz
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.zst
nixlib-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.zip
More version attribute tidying where maintainers |= nckx
Diffstat (limited to 'pkgs/development/tools/parsing')
-rw-r--r--pkgs/development/tools/parsing/lemon/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/tools/parsing/lemon/default.nix b/pkgs/development/tools/parsing/lemon/default.nix
index 23d4ea911dbe..46aaa8305129 100644
--- a/pkgs/development/tools/parsing/lemon/default.nix
+++ b/pkgs/development/tools/parsing/lemon/default.nix
@@ -2,8 +2,6 @@
 
 let
 
-  version = "1.0";
-
   srcs = {
     lemon = fetchurl {
       sha256 = "1grm95m2cnc61zim332g7z8nchmcy91ljf50k13lm421v0ygyyv6";
@@ -17,8 +15,9 @@ let
     };
   };
 
-in stdenv.mkDerivation {
+in stdenv.mkDerivation rec {
   name = "lemon-${version}";
+  version = "1.0";
 
   phases = [ "buildPhase" "installPhase" ];
 
@@ -32,7 +31,6 @@ in stdenv.mkDerivation {
   '';
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "An LALR(1) parser generator";
     longDescription = ''
       The Lemon program is an LALR(1) parser generator that takes a