summary refs log tree commit diff
path: root/pkgs/games/freeorion
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-02-15 22:12:24 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-02-15 22:12:24 +0100
commit2f97cda1f8108ed2d7a5b43ca47c758831fc800e (patch)
tree20e414c70f1162adc387dcef644999e0950d87b4 /pkgs/games/freeorion
parente4c2a7ceb39d2adf3892dd06a62cf0b10079ebde (diff)
downloadnixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.tar
nixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.tar.gz
nixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.tar.bz2
nixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.tar.lz
nixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.tar.xz
nixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.tar.zst
nixpkgs-2f97cda1f8108ed2d7a5b43ca47c758831fc800e.zip
freeorion: use boost that builds with python3, remove cppcheck linter
Diffstat (limited to 'pkgs/games/freeorion')
-rw-r--r--pkgs/games/freeorion/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/games/freeorion/default.nix b/pkgs/games/freeorion/default.nix
index 5b440703801..9f9075d75a4 100644
--- a/pkgs/games/freeorion/default.nix
+++ b/pkgs/games/freeorion/default.nix
@@ -5,8 +5,7 @@
 , doxygen
 , graphviz
 , makeWrapper
-, cppcheck
-, boost16x
+, boost17x
 , SDL2
 , python3
 , freetype
@@ -24,8 +23,8 @@
 }:
 
 stdenv.mkDerivation rec {
-  version = "0.4.10.2";
   pname = "freeorion";
+  version = "0.4.10.2";
 
   src = fetchFromGitHub {
     owner = "freeorion";
@@ -35,7 +34,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [
-    (boost16x.override { enablePython = true; python = python3; })
+    (boost17x.override { enablePython = true; python = python3; })
     (python3.withPackages (p: with p; [ pycodestyle ]))
     SDL2
     freetype
@@ -53,7 +52,6 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [
     cmake
-    cppcheck
     doxygen
     graphviz
     makeWrapper
@@ -81,7 +79,7 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     description = "A free, open source, turn-based space empire and galactic conquest (4X) computer game";
-    homepage = "http://www.freeorion.org";
+    homepage = "https://www.freeorion.org/";
     license = with licenses; [ gpl2 cc-by-sa-30 ];
     platforms = platforms.linux;
     maintainers = with maintainers; [ tex ];