24 lines
608 B
Nix
24 lines
608 B
Nix
{ fetchFromGitHub, openttd, zstd, ... }:
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
pname = "openttd-jgrpp";
|
|
version = "0.65.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JGRennison";
|
|
repo = "OpenTTD-patches";
|
|
rev = "jgrpp-${version}";
|
|
hash = "sha256-CoWtFhR8U1PjvV4ID7R5cuFAD6jV8Ps6DtLOu6V55TM=";
|
|
};
|
|
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";
|
|
};
|
|
|
|
})
|