2022-04-03 11:52:19 +00:00
|
|
|
{ fetchFromGitHub, openttd, zstd, ... }:
|
2020-06-22 13:36:18 +00:00
|
|
|
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "openttd-jgrpp";
|
2023-08-01 09:44:53 +00:00
|
|
|
version = "0.54.4";
|
2020-06-22 13:36:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub rec {
|
|
|
|
owner = "JGRennison";
|
|
|
|
repo = "OpenTTD-patches";
|
|
|
|
rev = "jgrpp-${version}";
|
2023-08-01 09:44:53 +00:00
|
|
|
hash = "sha256-bTpHlKffQbANXIrAn9WSEK/PEzBW1nzaHhGKIyclAo0=";
|
2020-06-22 13:36:18 +00:00
|
|
|
};
|
2022-04-03 11:52:19 +00:00
|
|
|
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ zstd ];
|
2023-08-01 09:49:30 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/JGRennison/OpenTTD-patches";
|
|
|
|
changelog = "https://github.com/JGRennison/OpenTTD-patches/blob/jgrpp-${version}/jgrpp-changelog.md";
|
|
|
|
};
|
|
|
|
|
2020-06-22 13:36:18 +00:00
|
|
|
})
|