nixpkgs/pkgs/games/openttd/jgrpp.nix
2024-11-02 19:24:30 +01:00

23 lines
589 B
Nix

{ fetchFromGitHub, openttd, zstd, ... }:
openttd.overrideAttrs (oldAttrs: rec {
pname = "openttd-jgrpp";
version = "0.62.0";
src = fetchFromGitHub rec {
owner = "JGRennison";
repo = "OpenTTD-patches";
rev = "jgrpp-${version}";
hash = "sha256-rl0GKKROteP2orT5Z/DHAQPkJFQu/lddQULYfq/x8w8=";
};
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";
};
})