Unverified Commit 07000911 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #284039 from mfrischknecht/update-commandergenius

commandergenius: 2.3.3 -> 3.5.0
parents 6f1f21b4 cf0edc33
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitLab, SDL2, SDL2_image, pkg-config
, libvorbis, libGL, boost, cmake, zlib, curl, SDL2_mixer, python3
{ lib
, stdenv
, fetchFromGitLab
, SDL2
, SDL2_image
, pkg-config
, libvorbis
, libGL
, boost
, cmake
, zlib
, curl
, SDL2_mixer
, SDL2_ttf
, python3
}:

stdenv.mkDerivation rec {
  pname = "commandergenius";
  version = "2.3.3";
  version = "3.5.0";

  src = fetchFromGitLab {
    owner = "Dringgstein";
    repo = "Commander-Genius";
    rev = "v${version}";
    sha256 = "04nb23wwvc3yywz3cr6gvn02fa7psfs22ssg4wk12s08z1azvz3h";
    hash = "sha256-w5DP7vkvWOs8qcHqoQaEWHnaBwUoi1I4gnE+Z3haHxE=";
  };

  buildInputs = [ SDL2 SDL2_image SDL2_mixer libGL boost libvorbis zlib curl python3 ];
  buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf libGL boost libvorbis zlib curl python3 ];

  preConfigure = ''
    export cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_PREFIX=$out -DSHAREDIR=$out/share"