nixpkgs/pkgs/games/julius/default.nix
Aleksandar Topuzović 96e038820c
julius: 1.6.0 -> 1.7.0
2021-10-16 12:02:17 +01:00

26 lines
673 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }:
stdenv.mkDerivation rec {
pname = "julius";
version = "1.7.0";
src = fetchFromGitHub {
owner = "bvschaik";
repo = "julius";
rev = "v${version}";
sha256 = "0w7kmgz9ya0ck9cxhsyralarg7y6ydx4plmh33r4mkxkamlr7493";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 SDL2_mixer libpng ];
meta = with lib; {
description = "An open source re-implementation of Caesar III";
homepage = "https://github.com/bvschaik/julius";
license = licenses.agpl3;
platforms = platforms.all;
broken = stdenv.isDarwin;
maintainers = with maintainers; [ Thra11 ];
};
}