flare: refactor meta and pname

This commit is contained in:
Guy Chronister 2025-06-04 19:14:08 +00:00
parent 9c09d5e27c
commit 8f856e670c
2 changed files with 12 additions and 12 deletions

View file

@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "flareteam"; owner = "flareteam";
repo = pname; repo = "flare-engine";
rev = "v${version}"; tag = "v${version}";
hash = "sha256-DIzfTqwZJ8NAPB/TWzvPjepHb7hIbIr+Kk+doXJmpLc="; hash = "sha256-DIzfTqwZJ8NAPB/TWzvPjepHb7hIbIr+Kk+doXJmpLc=";
}; };
@ -30,14 +30,14 @@ stdenv.mkDerivation rec {
SDL2_ttf SDL2_ttf
]; ];
meta = with lib; { meta = {
description = "Free/Libre Action Roleplaying Engine"; description = "Free/Libre Action Roleplaying Engine";
homepage = "https://github.com/flareteam/flare-engine"; homepage = "https://github.com/flareteam/flare-engine";
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
aanderse aanderse
McSinyx McSinyx
]; ];
license = [ licenses.gpl3 ]; license = [ lib.licenses.gpl3Plus ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} }

View file

@ -11,21 +11,21 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "flareteam"; owner = "flareteam";
repo = pname; repo = "flare-game";
rev = "v${version}"; tag = "v${version}";
hash = "sha256-tINIwxyQn8eeJCHwRmAMo2TYRgrgJlGaUrnrgbmM3Jo="; hash = "sha256-tINIwxyQn8eeJCHwRmAMo2TYRgrgJlGaUrnrgbmM3Jo=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
meta = with lib; { meta = {
description = "Fantasy action RPG using the FLARE engine"; description = "Fantasy action RPG using the FLARE engine";
homepage = "https://github.com/flareteam/flare-game"; homepage = "https://github.com/flareteam/flare-game";
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
aanderse aanderse
McSinyx McSinyx
]; ];
license = [ licenses.cc-by-sa-30 ]; license = [ lib.licenses.cc-by-sa-30 ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} }