diff options
author | Lassulus <github@lassul.us> | 2020-06-17 16:20:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 16:20:03 +0200 |
commit | 5c0ff087e6699d6628b5d8bb8f8d766f6d7e51be (patch) | |
tree | ff4e7adf4586822011f4c99996eaf950fe2ed9f1 /pkgs/games | |
parent | 0280b5e21dd89b8b6c0ec70847fedd5ae6b7ea28 (diff) | |
parent | b5bb2015795e6bee3d87f81eb406caedd991e903 (diff) |
Merge pull request #89831 from Thra11/julius-augustus
Julius augustus
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/augustus/default.nix | 24 | ||||
-rw-r--r-- | pkgs/games/julius/default.nix | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/games/augustus/default.nix b/pkgs/games/augustus/default.nix new file mode 100644 index 0000000000000..cabe419ef5bc6 --- /dev/null +++ b/pkgs/games/augustus/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }: + +stdenv.mkDerivation rec { + pname = "augustus"; + version = "1.4.1a"; + + src = fetchFromGitHub { + owner = "Keriew"; + repo = "augustus"; + rev = "v${version}"; + sha256 = "1xqv8j8jh3f13fjhyf7hk1anrn799cwwsvsd75kpl9n5yh5s1j5y"; + }; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ SDL2 SDL2_mixer libpng ]; + + meta = with stdenv.lib; { + description = "An open source re-implementation of Caesar III. Fork of Julius incorporating gameplay changes"; + homepage = "https://github.com/Keriew/augustus"; + license = licenses.agpl3; + platforms = platforms.all; + maintainers = with maintainers; [ Thra11 ]; + }; +} diff --git a/pkgs/games/julius/default.nix b/pkgs/games/julius/default.nix new file mode 100644 index 0000000000000..d1dad86e1c549 --- /dev/null +++ b/pkgs/games/julius/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }: + +stdenv.mkDerivation rec { + pname = "julius"; + version = "1.4.1"; + + src = fetchFromGitHub { + owner = "bvschaik"; + repo = "julius"; + rev = "v${version}"; + sha256 = "12hhnhdwgz7hd3hlndbnk15pxggm1375qs0764ija4nl1gbpb110"; + }; + + 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; + maintainers = with maintainers; [ Thra11 ]; + }; +} |