Advertisement
Guest User

Untitled

a guest
Mar 10th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. { stdenv, fetchgit, pkgconfig, cmake, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib, libav, boost, minizip, libsForQt5 }:
  2.  
  3. stdenv.mkDerivation rec {
  4. name = "vcmi";
  5. version = "0.99";
  6.  
  7. src = fetchgit {
  8. url = "https://github.com/vcmi/vcmi";
  9. rev = "83094faf8ecd47145326d68a1547eeb5f3c39705";
  10. sha256 = "1ghx5qf8jya409fpnwfvbn4hrhwk5hgpmxvwgswwdpi4l8fhfa13";
  11. };
  12.  
  13. nativeBuildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib libav boost minizip libsForQt5.qwt ];
  14.  
  15. NIX_CFLAGS_COMPILE = "-I${SDL2_image}/include/SDL2 -I${SDL2_mixer}/include/SDL2 -I${SDL2_ttf}/include/SDL2" ;
  16.  
  17. meta = with stdenv.lib; {
  18. description = "Open-source engine for Heroes of Might and Magic III.";
  19. homepage = https://vcmi.eu/;
  20. license = licenses.gpl2;
  21. };
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement