From 769549fe267586f5139549c7998eb63f59c15f9d Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 25 Apr 2024 23:16:58 +0200 Subject: _1oom: 1.0 -> 1.8.1 --- pkgs/games/1oom/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pkgs/games') diff --git a/pkgs/games/1oom/default.nix b/pkgs/games/1oom/default.nix index 54bfb4d0b3219..9c6a41e661472 100644 --- a/pkgs/games/1oom/default.nix +++ b/pkgs/games/1oom/default.nix @@ -1,25 +1,25 @@ -{ lib, stdenv, fetchFromGitLab, autoreconfHook, libsamplerate, SDL2, SDL2_mixer, readline }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, allegro, libsamplerate, libX11, libXext, SDL, SDL_mixer, SDL2, SDL2_mixer, readline }: stdenv.mkDerivation rec { pname = "1oom"; - version = "1.0"; + version = "1.8.1"; - src = fetchFromGitLab { - owner = "KilgoreTroutMaskReplicant"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-+HwSykSyAGHtITVOu4nIG87kWwVxGyFXb/NRSjhWlvs="; + src = fetchFromGitHub { + owner = "1oom-fork"; + repo = "1oom"; + rev = "refs/tags/f${version}"; + hash = "sha256-sBVcPR4+MDjyOLgrB4VcVy0cDyyG5MVY9vNhWwqAhBA="; }; nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ libsamplerate SDL2 SDL2_mixer readline ]; + buildInputs = [ allegro libsamplerate libX11 libXext SDL SDL_mixer SDL2 SDL2_mixer readline ]; outputs = [ "out" "doc" ]; postInstall = '' install -d $doc/share/doc/${pname} install -t $doc/share/doc/${pname} \ - HACKING NEWS PHILOSOPHY README doc/*.txt + HACKING NEWS PHILOSOPHY README.md doc/*.txt ''; meta = with lib; { -- cgit 1.4.1 From 3387ffc9c0ad8b8e946a81bc290686c7334345d3 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 25 Apr 2024 23:20:07 +0200 Subject: _1oom: add update script --- pkgs/games/1oom/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/games') diff --git a/pkgs/games/1oom/default.nix b/pkgs/games/1oom/default.nix index 9c6a41e661472..a2a3aab9ccd23 100644 --- a/pkgs/games/1oom/default.nix +++ b/pkgs/games/1oom/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, allegro, libsamplerate, libX11, libXext, SDL, SDL_mixer, SDL2, SDL2_mixer, readline }: +{ lib, stdenv, fetchFromGitHub, gitUpdater, autoreconfHook, allegro, libsamplerate, libX11, libXext, SDL, SDL_mixer, SDL2, SDL2_mixer, readline }: stdenv.mkDerivation rec { pname = "1oom"; @@ -22,6 +22,10 @@ stdenv.mkDerivation rec { HACKING NEWS PHILOSOPHY README.md doc/*.txt ''; + passthru.updateScript = gitUpdater { + rev-prefix = "f"; + }; + meta = with lib; { homepage = "https://kilgoretroutmaskreplicant.gitlab.io/plain-html/"; description = "Master of Orion (1993) game engine recreation"; -- cgit 1.4.1 From b691e327f2529cba29ca5efb288ad4982d3c6313 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 26 Apr 2024 07:29:00 +0200 Subject: _1oom: update homepage and description --- pkgs/games/1oom/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games') diff --git a/pkgs/games/1oom/default.nix b/pkgs/games/1oom/default.nix index a2a3aab9ccd23..487a08f752974 100644 --- a/pkgs/games/1oom/default.nix +++ b/pkgs/games/1oom/default.nix @@ -27,8 +27,8 @@ stdenv.mkDerivation rec { }; meta = with lib; { - homepage = "https://kilgoretroutmaskreplicant.gitlab.io/plain-html/"; - description = "Master of Orion (1993) game engine recreation"; + homepage = "https://github.com/1oom-fork/1oom"; + description = "Master of Orion (1993) game engine recreation; a more updated fork"; license = licenses.gpl2Only; platforms = platforms.linux; maintainers = [ maintainers.AndersonTorres ]; -- cgit 1.4.1