nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, stdenv
3, fetchFromGitHub
4, SDL2
5, SDL2_mixer
6, cmake
7, libpng
8}:
9
10stdenv.mkDerivation rec {
11 pname = "julius";
12 version = "1.7.0";
13
14 src = fetchFromGitHub {
15 owner = "bvschaik";
16 repo = "julius";
17 rev = "v${version}";
18 hash = "sha256-I5GTaVWzz0ryGLDSS3rzxp+XFVXZa9hZmgwon/6r83A=";
19 };
20
21 nativeBuildInputs = [ cmake ];
22 buildInputs = [ SDL2 SDL2_mixer libpng ];
23
24 meta = with lib; {
25 homepage = "https://github.com/bvschaik/julius";
26 description = "An open source re-implementation of Caesar III";
27 license = licenses.agpl3;
28 maintainers = with maintainers; [ Thra11 ];
29 platforms = platforms.all;
30 broken = stdenv.isDarwin;
31 };
32}