mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
21 lines
560 B
Nix
21 lines
560 B
Nix
{ fetchFromGitHub, openttd, zstd, ... }:
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
pname = "openttd-jgrpp";
|
|
version = "0.54.4";
|
|
|
|
src = fetchFromGitHub rec {
|
|
owner = "JGRennison";
|
|
repo = "OpenTTD-patches";
|
|
rev = "jgrpp-${version}";
|
|
hash = "sha256-bTpHlKffQbANXIrAn9WSEK/PEzBW1nzaHhGKIyclAo0=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
|
|
})
|