22 lines
560 B
Nix
22 lines
560 B
Nix
{ fetchFromGitHub, openttd, zstd, ... }:
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
pname = "openttd-jgrpp";
|
|
version = "0.60.0";
|
|
|
|
src = fetchFromGitHub rec {
|
|
owner = "JGRennison";
|
|
repo = "OpenTTD-patches";
|
|
rev = "jgrpp-${version}";
|
|
hash = "sha256-R8zpEK9XRQIEOvPe597dgn0R3L5m4rx7GzP6B1Qr4EE=";
|
|
};
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ zstd ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/JGRennison/OpenTTD-patches";
|
|
changelog = "https://github.com/JGRennison/OpenTTD-patches/blob/jgrpp-${version}/jgrpp-changelog.md";
|
|
};
|
|
|
|
})
|