Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { stdenv, fetchgit, pkgconfig, cmake, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib, libav, boost, minizip, libsForQt5 }:
- stdenv.mkDerivation rec {
- name = "vcmi";
- version = "0.99";
- src = fetchgit {
- url = "https://github.com/vcmi/vcmi";
- rev = "83094faf8ecd47145326d68a1547eeb5f3c39705";
- sha256 = "1ghx5qf8jya409fpnwfvbn4hrhwk5hgpmxvwgswwdpi4l8fhfa13";
- };
- nativeBuildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib libav boost minizip libsForQt5.qwt ];
- NIX_CFLAGS_COMPILE = "-I${SDL2_image}/include/SDL2 -I${SDL2_mixer}/include/SDL2 -I${SDL2_ttf}/include/SDL2" ;
- meta = with stdenv.lib; {
- description = "Open-source engine for Heroes of Might and Magic III.";
- homepage = https://vcmi.eu/;
- license = licenses.gpl2;
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement