have to keep tic80 on v0.8
This commit is contained in:
+6
-6
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user