dwarf-fortress: make meta.homepage independent from download page

This commit is contained in:
Sandro Jäckel 2022-10-27 18:55:36 +02:00
parent cdfd73026a
commit 5b291004c5
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

@ -18,8 +18,6 @@ with lib;
let
libpath = makeLibraryPath [ stdenv.cc.cc stdenv.cc.libc dwarf-fortress-unfuck SDL ];
homepage = "http://www.bay12games.com/dwarves/";
# Map Dwarf Fortress platform names to Nixpkgs platform names.
# Other srcs are avilable like 32-bit mac & win, but I have only
# included the ones most likely to be needed by Nixpkgs users.
@ -56,7 +54,7 @@ stdenv.mkDerivation {
version = dfVersion;
src = fetchurl {
url = "${homepage}df_${baseVersion}_${patchVersion}_${dfPlatform}.tar.bz2";
url = "https://www.bay12games.com/dwarves/df_${baseVersion}_${patchVersion}_${dfPlatform}.tar.bz2";
inherit sha256;
};
@ -103,7 +101,7 @@ stdenv.mkDerivation {
meta = {
description = "A single-player fantasy game with a randomly generated adventure world";
inherit homepage;
homepage = "https://www.bay12games.com/dwarves/";
license = licenses.unfreeRedistributable;
platforms = attrNames platforms;
maintainers = with maintainers; [ a1russell robbinch roconnor abbradar numinit shazow ];