14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-UWJmxirRJJqvL4ZSjBvFepeKVvL77+WMp4YdZuFNEkg=";
25 patches = [ ./darwin-fixes.patch ];
29 ++ lib.optionals stdenv.hostPlatform.isDarwin [
39 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
41 installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
43 mkdir -p $out/Applications
44 cp -r augustus.app $out/Applications/
49 description = "Open source re-implementation of Caesar III. Fork of Julius incorporating gameplay changes";
50 mainProgram = "augustus";
51 homepage = "https://github.com/Keriew/augustus";
52 license = licenses.agpl3Only;
53 platforms = platforms.unix;
54 maintainers = with maintainers; [