flare: refactor meta and pname (#414025)

authored by

Peder Bergebakken Sundt and committed by
GitHub
de405cbf b64358f8

+12 -12
+6 -6
pkgs/by-name/fl/flare/engine.nix
··· 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "flareteam"; 18 - repo = pname; 19 - rev = "v${version}"; 18 + repo = "flare-engine"; 19 + tag = "v${version}"; 20 20 hash = "sha256-DIzfTqwZJ8NAPB/TWzvPjepHb7hIbIr+Kk+doXJmpLc="; 21 21 }; 22 22 ··· 30 30 SDL2_ttf 31 31 ]; 32 32 33 - meta = with lib; { 33 + meta = { 34 34 description = "Free/Libre Action Roleplaying Engine"; 35 35 homepage = "https://github.com/flareteam/flare-engine"; 36 - maintainers = with maintainers; [ 36 + maintainers = with lib.maintainers; [ 37 37 aanderse 38 38 McSinyx 39 39 ]; 40 - license = [ licenses.gpl3 ]; 41 - platforms = platforms.unix; 40 + license = [ lib.licenses.gpl3Plus ]; 41 + platforms = lib.platforms.unix; 42 42 }; 43 43 }
+6 -6
pkgs/by-name/fl/flare/game.nix
··· 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "flareteam"; 14 - repo = pname; 15 - rev = "v${version}"; 14 + repo = "flare-game"; 15 + tag = "v${version}"; 16 16 hash = "sha256-tINIwxyQn8eeJCHwRmAMo2TYRgrgJlGaUrnrgbmM3Jo="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ cmake ]; 20 20 21 - meta = with lib; { 21 + meta = { 22 22 description = "Fantasy action RPG using the FLARE engine"; 23 23 homepage = "https://github.com/flareteam/flare-game"; 24 - maintainers = with maintainers; [ 24 + maintainers = with lib.maintainers; [ 25 25 aanderse 26 26 McSinyx 27 27 ]; 28 - license = [ licenses.cc-by-sa-30 ]; 29 - platforms = platforms.unix; 28 + license = [ lib.licenses.cc-by-sa-30 ]; 29 + platforms = lib.platforms.unix; 30 30 }; 31 31 }