29 lines
610 B
Nix
29 lines
610 B
Nix
{
|
|
fetchFromGitHub,
|
|
openttd,
|
|
zstd,
|
|
...
|
|
}:
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
pname = "openttd-jgrpp";
|
|
version = "0.67.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JGRennison";
|
|
repo = "OpenTTD-patches";
|
|
rev = "jgrpp-${version}";
|
|
hash = "sha256-GMkcf3XBotPXjZC4TdtOXzutyyIiW4haE+jNIfgozbg=";
|
|
};
|
|
patches = [ ];
|
|
|
|
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";
|
|
mainProgram = "openttd";
|
|
};
|
|
|
|
})
|