1{
2 fetchFromGitHub,
3 openttd,
4 zstd,
5 ...
6}:
7
8openttd.overrideAttrs (oldAttrs: rec {
9 pname = "openttd-jgrpp";
10 version = "0.65.4";
11
12 src = fetchFromGitHub {
13 owner = "JGRennison";
14 repo = "OpenTTD-patches";
15 rev = "jgrpp-${version}";
16 hash = "sha256-A0bcfbihbGbOCmCI3NXHUWL4w2l46dGDWKy6tVIsuc8=";
17 };
18 patches = [ ];
19
20 buildInputs = oldAttrs.buildInputs ++ [ zstd ];
21
22 meta = {
23 homepage = "https://github.com/JGRennison/OpenTTD-patches";
24 changelog = "https://github.com/JGRennison/OpenTTD-patches/blob/jgrpp-${version}/jgrpp-changelog.md";
25 mainProgram = "openttd";
26 };
27
28})