Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 606 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 hexdump, 5 mkLibretroCore, 6 which, 7}: 8mkLibretroCore { 9 core = "sameboy"; 10 version = "0-unstable-2024-06-28"; 11 12 src = fetchFromGitHub { 13 owner = "libretro"; 14 repo = "sameboy"; 15 rev = "51433012a871a44555492273fd22f29867d12655"; 16 hash = "sha256-vPT2uRGbXmJ62yig/yk485/TxEEKHJeWdNrM2c0IjKw="; 17 }; 18 19 extraNativeBuildInputs = [ 20 which 21 hexdump 22 ]; 23 preBuild = "cd libretro"; 24 makefile = "Makefile"; 25 26 meta = { 27 description = "QuickNES libretro port"; 28 homepage = "https://github.com/libretro/QuickNES_Core"; 29 license = lib.licenses.mit; 30 }; 31}