have to keep tic80 on v0.8

This commit is contained in:
Anish Lakhwara 2022-12-16 00:27:47 +10:00
parent 8d3fb42bc5
commit 5e64b27395
2 changed files with 10 additions and 10 deletions

View file

@ -312,11 +312,11 @@
"vimwiki-cli": "vimwiki-cli"
},
"locked": {
"lastModified": 1670943608,
"narHash": "sha256-GH4QqSKh8qTY/O58QcOjlgncJq6+VmtqPrIvbFnQAI0=",
"lastModified": 1671087600,
"narHash": "sha256-4bqDxf1tJxAg7AWasCFN4U6jgpRLlZnHBNNEimDAcPQ=",
"ref": "main",
"rev": "9eabdc3c6f3c16057d49261318375fbc3256a33b",
"revCount": 456,
"rev": "0d62eb676164faa2c3020f9c8f8e26c4397d05c3",
"revCount": 459,
"type": "git",
"url": "ssh://gitea@git.sealight.xyz/aynish/kitaab"
},

View file

@ -1,11 +1,11 @@
# Stolen from: https://gist.github.com/jjwatt/c83c02e6903c8ffaf546fe5eb27e7d25?permalink_comment_id=3305141#gistcomment-3305141
{ pkgs, ... }:
stdenv.mkDerivation rec {
pkgs.stdenv.mkDerivation rec {
name = "tic-80";
src = builtins.fetchGit {
fetchSubmodules = true;
src = pkgs.fetchgit {
fetchSubmodules = true; # not supported by builtins.fetchGit :(
url = "https://github.com/nesbox/TIC-80";
rev = "0feb848378fc40d16aaa609ed7a2148d7a064ac4";
rev = "0feb848378fc40d16aaa609ed7a2148d7a064ac4"; # v0.8 didn't look at what changed in the newer versions
sha256 = "12fl9wfc1577rmzcll50r3hq582010bpwd3yi15ji2vadc2q1w9l";
};
buildInputs = with pkgs; [
@ -53,11 +53,11 @@ stdenv.mkDerivation rec {
cp -v bin/tic80 $out/bin
'';
tic80Item = makeDesktopItem {
tic80Item = pkgs.makeDesktopItem {
name = "TIC-80";
exec = "tic80";
comment = "Tiny Computer";
categories = "Development;Game";
categories = [ "Development" "Game" ];
desktopName = "TIC-80";
};
}