Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 635 B view raw
1{ 2 lib, 3 rel, 4 buildKodiBinaryAddon, 5 fetchFromGitHub, 6 tinyxml, 7}: 8 9buildKodiBinaryAddon rec { 10 pname = "libretro"; 11 namespace = "game.libretro"; 12 version = "20.1.0"; 13 14 src = fetchFromGitHub { 15 owner = "kodi-game"; 16 repo = "game.libretro"; 17 rev = "${version}-${rel}"; 18 sha256 = "sha256-RwaLGAJt13PLKy45HU64TvQFyY532WWq2YX34Eyu+6o="; 19 }; 20 21 extraBuildInputs = [ tinyxml ]; 22 23 meta = with lib; { 24 homepage = "https://github.com/kodi-game/game.libretro"; 25 description = "Libretro wrapper for Kodi's Game API"; 26 platforms = platforms.all; 27 license = licenses.gpl2Only; 28 teams = [ teams.kodi ]; 29 }; 30}