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";
|
2024-10-18 21:15:02 +00:00
|
|
|
version = "0.62.0";
|
2020-06-22 13:36:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub rec {
|
|
|
|
owner = "JGRennison";
|
|
|
|
repo = "OpenTTD-patches";
|
|
|
|
rev = "jgrpp-${version}";
|
2024-10-18 21:15:02 +00:00
|
|
|
hash = "sha256-rl0GKKROteP2orT5Z/DHAQPkJFQu/lddQULYfq/x8w8=";
|
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";
|
2024-11-02 18:24:30 +00:00
|
|
|
mainProgram = "openttd";
|
2023-08-01 09:49:30 +00:00
|
|
|
};
|
|
|
|
|
2020-06-22 13:36:18 +00:00
|
|
|
})
|