Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 24 lines 528 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 mkLibretroCore, 5}: 6mkLibretroCore { 7 core = "dosbox"; 8 version = "0-unstable-2022-07-18"; 9 10 src = fetchFromGitHub { 11 owner = "libretro"; 12 repo = "dosbox-libretro"; 13 rev = "b7b24262c282c0caef2368c87323ff8c381b3102"; 14 hash = "sha256-PG2eElenlEpu0U/NIh53p0uLqewnEdaq6Aoak5E1P3I="; 15 }; 16 17 env.CXXFLAGS = "-std=gnu++11"; 18 19 meta = { 20 description = "Port of DOSBox to libretro"; 21 homepage = "https://github.com/libretro/dosbox-libretro"; 22 license = lib.licenses.gpl2Only; 23 }; 24}