This commit is contained in:
EsVagy42 2025-04-27 20:30:06 +00:00
parent 4cd408a628
commit 977a57f576
3 changed files with 95 additions and 91 deletions

View file

@ -1 +1 @@
Added jgrpp 0.65.2
Fixed #9

View file

@ -168,31 +168,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs;
let
jgrpp = 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";
};
});
in [
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
kdePackages.krecorder
@ -255,6 +231,12 @@
crawlTiles
prismlauncher
mindustry
(with pkgs;
import ./jgrpp-0.65.2/jgrpp-0.65.2.nix {
inherit fetchFromGitHub;
inherit openttd;
inherit zstd;
})
retroarch-full
@ -266,8 +248,6 @@
libreoffice
pandoc
texliveFull
jgrpp
];
fonts.packages = with pkgs; [ nerd-fonts.hack ];

View file

@ -0,0 +1,24 @@
{ 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";
};
})