pkgs/tic-80: init.. but not workingly
This commit is contained in:
parent
1552820345
commit
4c079d3e40
@ -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
47
pkgs/tic-80.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user