mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
6fc9e4b700
Fixes ``` CMake Warning at cmake/LinkPackage.cmake:23 (message): ZSTD not found; compiling OpenTTD without ZSTD is not recommended Call Stack (most recent call first): CMakeLists.txt:330 (link_package) ```
16 lines
372 B
Nix
16 lines
372 B
Nix
{ fetchFromGitHub, openttd, zstd, ... }:
|
|
|
|
openttd.overrideAttrs (oldAttrs: rec {
|
|
pname = "openttd-jgrpp";
|
|
version = "0.47.1";
|
|
|
|
src = fetchFromGitHub rec {
|
|
owner = "JGRennison";
|
|
repo = "OpenTTD-patches";
|
|
rev = "jgrpp-${version}";
|
|
hash = "sha256-AMd2KXy/ODByeV9CkEd51KbE/+fZ8Us3WzsWCnn7nh0=";
|
|
};
|
|
|
|
buildInputs = oldAttrs.buildInputs ++ [ zstd ];
|
|
})
|