From 45cbde5b8d7f193faacb00828509dce5f26131eb Mon Sep 17 00:00:00 2001 From: SamLukeYes Date: Mon, 31 Jul 2023 11:46:38 +0800 Subject: [PATCH] gnubg: 1.06.002 -> 1.07.001 --- pkgs/games/gnubg/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/games/gnubg/default.nix b/pkgs/games/gnubg/default.nix index 727626790529..d658ef57ff84 100644 --- a/pkgs/games/gnubg/default.nix +++ b/pkgs/games/gnubg/default.nix @@ -1,15 +1,15 @@ -{ lib, stdenv, fetchurl, pkg-config, glib, python2, gtk2, readline }: +{ lib, stdenv, fetchurl, pkg-config, glib, python3, gtk2, readline }: stdenv.mkDerivation rec { pname = "gnubg"; - version = "1.06.002"; + version = "1.07.001"; src = fetchurl { - url = "http://gnubg.org/media/sources/gnubg-release-${version}-sources.tar.gz"; - sha256 = "11xwhcli1h12k6rnhhyq4jphzrhfik7i8ah3k32pqw803460n6yf"; + url = "mirror://gnu/gnubg/gnubg-release-${version}-sources.tar.gz"; + hash = "sha256-cjmXKUGcrZ8RLDBmoS0AANpFCkVq3XsJTYkVUGnWgh4="; }; - nativeBuildInputs = [ pkg-config python2 glib ]; + nativeBuildInputs = [ pkg-config python3 glib ]; buildInputs = [ gtk2 readline ]; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "World class backgammon application"; - homepage = "http://www.gnubg.org/"; + homepage = "https://www.gnu.org/software/gnubg/"; license = licenses.gpl3; maintainers = [ maintainers.ehmry ]; platforms = platforms.linux;