tic-80: 1.1-unstable-2025-05-26 -> 1.1-2025-10-21 (#457348)

This commit is contained in:
Gaétan Lepage
2025-11-01 11:05:14 +00:00
committed by GitHub

View File

@@ -21,7 +21,7 @@
}: }:
let let
# git rev-list HEAD --count # git rev-list HEAD --count
revision = "3016"; revision = "3042";
year = "2025"; year = "2025";
in in
@@ -29,18 +29,18 @@ stdenv.mkDerivation {
pname = "tic-80"; pname = "tic-80";
# use an untagged version until upstream tags a new version. We want # use an untagged version until upstream tags a new version. We want
# 'PREFER_SYSTEM_LIBRARIES', and without it tic-80 won't build # 'PREFER_SYSTEM_LIBRARIES', and without it tic-80 won't build
version = "1.1-unstable-2025-05-26"; version = "1.1-unstable-2025-10-21";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nesbox"; owner = "nesbox";
repo = "TIC-80"; repo = "TIC-80";
rev = "663d43924abf6fd7620de6bf25c009ce5b30ab83"; rev = "a2c875f7275541e7724199ce8e504fb578b819a6";
hash = "sha256-UjBnXxYZ5gfk58sI1qek5fkKpJ7LzOVmrxdjVgONcXc=";
# TIC-80 vendors its dependencies as submodules. For the following dependencies, # TIC-80 vendors its dependencies as submodules. For the following dependencies,
# there are no (or no compatible) packages in nixpkgs yet, so we use the vendored # there are no (or no compatible) packages in nixpkgs yet, so we use the vendored
# ones as a fill-in: wasm, squirrel, pocketpy, argparse, naett, # ones as a fill-in: wasm, squirrel, pocketpy, argparse, naett,
# sdlgpu, mruby. # sdlgpu, mruby.
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-S/v1WHrvVndW4qHFWRJc3dcQkjw5vCU1/mN0PW9Wfkc=";
}; };
# TIC-80 tries to determine the revision part of the version using its Git history. # TIC-80 tries to determine the revision part of the version using its Git history.
@@ -101,7 +101,7 @@ stdenv.mkDerivation {
SDL2 SDL2
]; ];
meta = with lib; { meta = {
description = "Free and open source fantasy computer for making, playing and sharing tiny games"; description = "Free and open source fantasy computer for making, playing and sharing tiny games";
longDescription = '' longDescription = ''
TIC-80 is a free and open source fantasy computer for making, playing and TIC-80 is a free and open source fantasy computer for making, playing and
@@ -119,9 +119,9 @@ stdenv.mkDerivation {
channel sound and etc. channel sound and etc.
''; '';
homepage = "https://github.com/nesbox/TIC-80"; homepage = "https://github.com/nesbox/TIC-80";
license = licenses.mit; license = lib.licenses.mit;
platforms = with platforms; linux ++ darwin; platforms = with lib.platforms; linux ++ darwin;
mainProgram = "tic80"; mainProgram = "tic80";
maintainers = with maintainers; [ blinry ]; maintainers = with lib.maintainers; [ blinry ];
}; };
} }