diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-11-05 07:11:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 07:11:08 -0500 |
commit | 2b8117040e88abb76590aafb46eeadaff2b8009c (patch) | |
tree | c8960b4981ae821e0a9b8ed24c9e54e1ce51aa37 /pkgs/games | |
parent | ef719315661846a29290056e36879e9e4017dadf (diff) | |
parent | 8afd7447ee04a418b0812bc3c81b7708bca40c04 (diff) |
Merge pull request #264436 from anthonyroussel/updatess/meritous
meritous: 1.4 -> 1.5
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/meritous/default.nix | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/games/meritous/default.nix b/pkgs/games/meritous/default.nix deleted file mode 100644 index c7631f2370db5..0000000000000 --- a/pkgs/games/meritous/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchFromGitLab, SDL, SDL_image, SDL_mixer, zlib }: - -stdenv.mkDerivation { - pname = "meritous"; - version = "1.4"; - - src = fetchFromGitLab { - owner = "meritous"; - repo = "meritous"; - rev = "314af46d84d2746eec4c30a0f63cbc2e651d5303"; - sha256 = "1hrwm65isg5nwzydyd8gvgl3p36sbj09rsn228sppr8g5p9sm10x"; - }; - - prePatch = '' - substituteInPlace Makefile \ - --replace "CPPFLAGS +=" "CPPFLAGS += -DSAVES_IN_HOME -DDATADIR=\\\"$out/share/meritous\\\"" \ - --replace sld-config ${lib.getDev SDL}/bin/sdl-config - substituteInPlace src/audio.c \ - --replace "filename[64]" "filename[256]" - ''; - - buildInputs = [ SDL SDL_image SDL_mixer zlib ]; - - installPhase = '' - install -m 555 -D meritous $out/bin/meritous - mkdir -p $out/share/meritous - cp -r dat/* $out/share/meritous/ - ''; - - hardeningDisable = [ "stackprotector" "fortify" ]; - - meta = with lib; { - description = "Action-adventure dungeon crawl game"; - homepage = "http://www.asceai.net/meritous/"; - license = licenses.gpl3; - maintainers = [ maintainers.alexvorobiev ]; - platforms = platforms.linux; - }; -} - |