From 4c28cac0d36a4b2e54762ef6f123a936a8bac953 Mon Sep 17 00:00:00 2001 From: John Ramsden Date: Fri, 2 Jun 2017 17:03:52 -0700 Subject: [PATCH] Add buildversion and version --- pkgs/applications/misc/ipmiview/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/ipmiview/default.nix b/pkgs/applications/misc/ipmiview/default.nix index 030431ef3129..b841f0642435 100644 --- a/pkgs/applications/misc/ipmiview/default.nix +++ b/pkgs/applications/misc/ipmiview/default.nix @@ -4,10 +4,11 @@ assert stdenv.isLinux; stdenv.mkDerivation rec { name = "IPMIView-${version}"; - version = "160804"; + version = "2.12.0"; + buildVersion = "160804"; src = pkgs.fetchurl { - url = "ftp://ftp.supermicro.com/utility/IPMIView/Linux/IPMIView_2.12.0_build.${version}_bundleJRE_Linux_x64.tar.gz"; + url = "ftp://ftp.supermicro.com/utility/IPMIView/Linux/IPMIView_${version}_build.${buildVersion}_bundleJRE_Linux_x64.tar.gz"; sha256 = "787a060413451a4a5993c31805f55a221087b7199bbaf20e9fe1254e2a76db42"; };