From b109addeef8c04c86bd33dc9de36c3d90cd0b9db Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 22 Jun 2020 15:36:18 +0200 Subject: [PATCH] openttd-jgrpp: init at 0.34.4 --- pkgs/games/openttd/jgrpp.nix | 13 +++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/games/openttd/jgrpp.nix diff --git a/pkgs/games/openttd/jgrpp.nix b/pkgs/games/openttd/jgrpp.nix new file mode 100644 index 000000000000..83a8f9276945 --- /dev/null +++ b/pkgs/games/openttd/jgrpp.nix @@ -0,0 +1,13 @@ +{ fetchFromGitHub, openttd, ... }: + +openttd.overrideAttrs (oldAttrs: rec { + pname = "openttd-jgrpp"; + version = "0.34.4"; + + src = fetchFromGitHub rec { + owner = "JGRennison"; + repo = "OpenTTD-patches"; + rev = "jgrpp-${version}"; + sha256 = "125mgia5hgcsn8314xyiip3z8y23rc3kdv7jczbncqlzsc75624v"; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ba020635053b..7ffc7f776862 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24061,6 +24061,11 @@ in static = true; }; }; + openttd-jgrpp = callPackage ../games/openttd/jgrpp.nix { + zlib = zlib.override { + static = true; + }; + }; opentyrian = callPackage ../games/opentyrian { };