From cf1efe2c7e49177a9faaccbcd5ad0e6d8139d711 Mon Sep 17 00:00:00 2001 From: Thibault Polge Date: Wed, 25 Nov 2020 21:52:48 +0100 Subject: [PATCH] eduke32: fix version number, use string interpolation for src.url This fixes mistakes I've introduced in 7798a4e19cc843874e6329e0a980de7515945923. --- pkgs/games/eduke32/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/games/eduke32/default.nix b/pkgs/games/eduke32/default.nix index 51d0c713753b..df0950eb9376 100644 --- a/pkgs/games/eduke32/default.nix +++ b/pkgs/games/eduke32/default.nix @@ -4,7 +4,7 @@ let version = "20200907"; - rev = "9527"; + rev = "9257"; revExtra = "93f62bbad"; desktopItem = makeDesktopItem { @@ -23,8 +23,7 @@ in stdenv.mkDerivation { inherit version; src = fetchurl { - url = "http://dukeworld.duke4.net/eduke32/synthesis/latest/eduke32_src_20200907-9257-93f62bbad.tar.xz"; # Good - # url = "http://dukeworld.duke4.net/eduke32/synthesis/latest/eduke32_src_${version}-${rev}-${revExtra}.tar.xz"; + url = "http://dukeworld.duke4.net/eduke32/synthesis/latest/eduke32_src_${version}-${rev}-${revExtra}.tar.xz"; sha256 = "972630059be61ef9564a241b84ef2ee4f69fc85c19ee36ce46052ff2f1ce3bf9"; };