freeorion: use boost that builds with python3, remove cppcheck linter

This commit is contained in:
Sandro Jäckel 2023-02-15 22:12:24 +01:00
parent e4c2a7ceb3
commit 2f97cda1f8
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 ];