freeorion: use boost that builds with python3, remove cppcheck linter
This commit is contained in:
parent
e4c2a7ceb3
commit
2f97cda1f8
1 changed files with 4 additions and 6 deletions
|
@ -5,8 +5,7 @@
|
||||||
, doxygen
|
, doxygen
|
||||||
, graphviz
|
, graphviz
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, cppcheck
|
, boost17x
|
||||||
, boost16x
|
|
||||||
, SDL2
|
, SDL2
|
||||||
, python3
|
, python3
|
||||||
, freetype
|
, freetype
|
||||||
|
@ -24,8 +23,8 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.4.10.2";
|
|
||||||
pname = "freeorion";
|
pname = "freeorion";
|
||||||
|
version = "0.4.10.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "freeorion";
|
owner = "freeorion";
|
||||||
|
@ -35,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(boost16x.override { enablePython = true; python = python3; })
|
(boost17x.override { enablePython = true; python = python3; })
|
||||||
(python3.withPackages (p: with p; [ pycodestyle ]))
|
(python3.withPackages (p: with p; [ pycodestyle ]))
|
||||||
SDL2
|
SDL2
|
||||||
freetype
|
freetype
|
||||||
|
@ -53,7 +52,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
cppcheck
|
|
||||||
doxygen
|
doxygen
|
||||||
graphviz
|
graphviz
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
@ -81,7 +79,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A free, open source, turn-based space empire and galactic conquest (4X) computer game";
|
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 ];
|
license = with licenses; [ gpl2 cc-by-sa-30 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ tex ];
|
maintainers = with maintainers; [ tex ];
|
||||||
|
|
Loading…
Reference in a new issue