pkgs/tic-80: init.. but not workingly

This commit is contained in:
Aaron Bieber 2023-12-15 05:45:01 -07:00
parent 1552820345
commit 4c079d3e40
No known key found for this signature in database
2 changed files with 48 additions and 0 deletions

View File

@ -285,6 +285,7 @@
inherit upkgs;
};
iamb = upkgs.callPackage ./pkgs/iamb.nix { };
tic-80 = upkgs.callPackage ./pkgs/tic-80.nix { };
icbirc = spkgs.callPackage ./pkgs/icbirc.nix {
inherit spkgs;
isUnstable = true;

47
pkgs/tic-80.nix Normal file
View File

@ -0,0 +1,47 @@
{ lib
, stdenv
, cmake
, pkg-config
, curl
, lua
, mruby
, SDL
, SDL_mixer
, python3
, xorg
, ...
}:
stdenv.mkDerivation {
pname = "tic-80";
version = "1.1.2837";
src = builtins.fetchGit {
url = "https://github.com/nesbox/TIC-80";
rev = "be42d6f146cfa520b9b1050feba10cc8c14fb3bd";
allRefs = true;
submodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
curl.dev
lua
mruby
SDL
SDL_mixer
python3
xorg.libXext
];
meta = with lib; {
description = "Fantasy computer for making, playing and sharing games.";
homepage = "https://tic80.com";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ qbit ];
};
}