12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 hash = "sha256-I5GTaVWzz0ryGLDSS3rzxp+XFVXZa9hZmgwon/6r83A=";
24 # This fixes the darwin bundle generation, sets min. deployment version
25 # and patches SDL2_mixer include
31 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
41 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 darwin.apple_sdk.frameworks.Cocoa
45 installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
47 mkdir -p $out/Applications
48 cp -r julius.app $out/Applications/
53 homepage = "https://github.com/bvschaik/julius";
54 description = "Open source re-implementation of Caesar III";
55 mainProgram = "julius";
56 license = licenses.agpl3Only;
57 maintainers = with maintainers; [ Thra11 matteopacini ];
58 platforms = platforms.all;