hawkthorne: drop

This commit is contained in:
Jörg Thalheim 2022-01-15 14:24:49 +01:00
parent 51b69623db
commit d720494491
4 changed files with 1 additions and 74 deletions

View file

@ -1,39 +0,0 @@
{ fetchgit, lib, stdenv, love, curl, zip }:
stdenv.mkDerivation {
version = "0.12.1";
pname = "hawkthorne";
src = fetchgit {
url = "https://github.com/hawkthorne/hawkthorne-journey.git";
rev = "610b9b3907b2a1b21da2ae926e4c7c4c9e19959b";
sha256 = "013smhdf9sh91153fpk2bwhhnpg6pn7kfrpw77jmf0v48i3q44h2";
};
buildInputs = [
love curl zip
];
patches = [
./makefile.patch
];
enableParallelBuilding = true;
meta = {
description = "Journey to the Center of Hawkthorne - A fan-made retro-style game based on the show Community";
longDescription = ''
Journey to the Center of Hawkthorne is an open source game written in Love2D.
It's based on the show Community, starring Jim Rash and Joel McHale as
the primary will-they-or-won't-they relationship.
This game has been entirely developed by fans of the show, who were inspired
to bring to life the video game used to determine the winner of Pierce
Hawthorne's inheritance.
'';
homepage = "https://www.reddit.com/r/hawkthorne";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ campadrenalin ];
broken = true;
};
}

View file

@ -1,33 +0,0 @@
diff --git a/Makefile b/Makefile
index 55eb817..f3406aa 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,14 @@ endif
tilemaps := $(patsubst %.tmx,%.lua,$(wildcard src/maps/*.tmx))
-maps: $(tilemaps)
-
love: build/hawkthorne.love
+shebang: build/hawkthorne.love
+ cat <(echo '#!/usr/bin/env love') build/hawkthorne.love > build/hawkthorne
+ chmod +x build/hawkthorne
+
+maps: $(tilemaps)
+
build/hawkthorne.love: $(tilemaps) src/*
mkdir -p build
cd src && zip --symlinks -q -r ../build/hawkthorne.love . -x ".*" \
@@ -30,6 +34,12 @@ build/hawkthorne.love: $(tilemaps) src/*
run: $(tilemaps) $(LOVE)
$(LOVE) src
+check: test
+
+install: shebang
+ mkdir -p $(out)/bin
+ cp build/hawkthorne $(out)/bin
+
src/maps/%.lua: src/maps/%.tmx bin/tmx2lua
bin/tmx2lua $<

View file

@ -385,6 +385,7 @@ mapAliases ({
gupnp_igd = gupnp-igd; # added 2018-02-25
gupnptools = gupnp-tools; # added 2015-12-19
gutenberg = zola; # added 2018-11-17
hawkthorne = throw "hawkthorne has been removed because it depended on a broken version of love"; # added 2022-01-15
hal-flash = throw "hal-flash has been removed as Adobe Flash Player is now deprecated."; # added 2021-02-07
heimdalFull = heimdal; # added 2018-05-01
hepmc = hepmc2; # added 2019-08-05

View file

@ -30700,8 +30700,6 @@ with pkgs;
harmonist = callPackage ../games/harmonist { };
hawkthorne = callPackage ../games/hawkthorne { love = love_0_9; };
hedgewars = libsForQt514.callPackage ../games/hedgewars {
inherit (haskellPackages) ghcWithPackages;
};