nixpkgs/pkgs/games/openttd/jgrpp.nix
2024-05-25 07:25:18 +00:00

22 lines
560 B
Nix

{ fetchFromGitHub, openttd, zstd, ... }:
openttd.overrideAttrs (oldAttrs: rec {
pname = "openttd-jgrpp";
version = "0.59.1";
src = fetchFromGitHub rec {
owner = "JGRennison";
repo = "OpenTTD-patches";
rev = "jgrpp-${version}";
hash = "sha256-8I3NSg7iRzdY+k8g2m1Z/QWwlT3BErV1RL7cirlO71g=";
};
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";
};
})