eduke32: fix version number, use string interpolation for src.url

This fixes mistakes I've introduced in 7798a4e19c.
This commit is contained in:
Thibault Polge 2020-11-25 21:52:48 +01:00
parent 83b309f657
commit cf1efe2c7e
No known key found for this signature in database
GPG Key ID: 1B1336171A0B9064

View File

@ -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";
};