Merge pull request #104936 from thblt/fix-my-mistakes

eduke32: fix version number, use string interpolation for src.url
This commit is contained in:
Sandro 2020-11-25 22:54:36 +01:00 committed by GitHub
commit 6f2e5f0b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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