summary refs log tree commit diff
path: root/pkgs/tools/compression/xdelta
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/tools/compression/xdelta
parent9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (diff)
downloadnixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.gz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.bz2
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.lz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.xz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.zst
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.zip
More version attribute tidying where maintainers |= nckx
Diffstat (limited to 'pkgs/tools/compression/xdelta')
-rw-r--r--pkgs/tools/compression/xdelta/default.nix5
-rw-r--r--pkgs/tools/compression/xdelta/unstable.nix5
2 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/compression/xdelta/default.nix b/pkgs/tools/compression/xdelta/default.nix
index 396099df41c..8bc5e464ee7 100644
--- a/pkgs/tools/compression/xdelta/default.nix
+++ b/pkgs/tools/compression/xdelta/default.nix
@@ -5,12 +5,12 @@
 assert lzmaSupport -> xz != null;
 
 let
-  version = "3.0.11";
   mkWith = flag: name: if flag
     then "--with-${name}"
     else "--without-${name}";
-in stdenv.mkDerivation {
+in stdenv.mkDerivation rec {
   name = "xdelta-${version}";
+  version = "3.0.11";
 
   src = fetchFromGitHub {
     sha256 = "1c7xym7xr26phyf4wb9hh2w88ybzbzh2w3h1kyqq3da0ndidmf2r";
@@ -48,7 +48,6 @@ in stdenv.mkDerivation {
   '';
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "Binary differential compression in VCDIFF (RFC 3284) format";
     longDescription = ''
       xdelta is a command line program for delta encoding, which generates two
diff --git a/pkgs/tools/compression/xdelta/unstable.nix b/pkgs/tools/compression/xdelta/unstable.nix
index a19fb4de68a..dd7277c4e8f 100644
--- a/pkgs/tools/compression/xdelta/unstable.nix
+++ b/pkgs/tools/compression/xdelta/unstable.nix
@@ -5,12 +5,12 @@
 assert lzmaSupport -> xz != null;
 
 let
-  version = "3.1.0";
   mkWith = flag: name: if flag
     then "--with-${name}"
     else "--without-${name}";
-in stdenv.mkDerivation {
+in stdenv.mkDerivation rec {
   name = "xdelta-${version}";
+  version = "3.1.0";
 
   src = fetchFromGitHub {
     sha256 = "09mmsalc7dwlvgrda56s2k927rpl3a5dzfa88aslkqcjnr790wjy";
@@ -52,7 +52,6 @@ in stdenv.mkDerivation {
   '';
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "Binary differential compression in VCDIFF (RFC 3284) format";
     longDescription = ''
       xdelta is a command line program for delta encoding, which generates two