nixpkgs/pkgs/games/julius/default.nix

26 lines
675 B
Nix
Raw Normal View History

2020-06-08 19:08:57 +02:00
{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }:
stdenv.mkDerivation rec {
pname = "julius";
version = "1.5.1";
2020-06-08 19:08:57 +02:00
src = fetchFromGitHub {
owner = "bvschaik";
repo = "julius";
rev = "v${version}";
sha256 = "10d6py1cmkq8lnb5h3w8rdpp4fmpd1wgqkgiabdghqxi7b2s0g4b";
2020-06-08 19:08:57 +02:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 SDL2_mixer libpng ];
meta = with stdenv.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;
2020-06-08 19:08:57 +02:00
maintainers = with maintainers; [ Thra11 ];
};
}