Fixed #9
This commit is contained in:
parent
4cd408a628
commit
977a57f576
3 changed files with 95 additions and 91 deletions
|
|
@ -1 +1 @@
|
||||||
Added jgrpp 0.65.2
|
Fixed #9
|
||||||
|
|
|
||||||
|
|
@ -168,31 +168,7 @@
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs;
|
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 [
|
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
# wget
|
||||||
kdePackages.krecorder
|
kdePackages.krecorder
|
||||||
|
|
@ -255,6 +231,12 @@
|
||||||
crawlTiles
|
crawlTiles
|
||||||
prismlauncher
|
prismlauncher
|
||||||
mindustry
|
mindustry
|
||||||
|
(with pkgs;
|
||||||
|
import ./jgrpp-0.65.2/jgrpp-0.65.2.nix {
|
||||||
|
inherit fetchFromGitHub;
|
||||||
|
inherit openttd;
|
||||||
|
inherit zstd;
|
||||||
|
})
|
||||||
|
|
||||||
retroarch-full
|
retroarch-full
|
||||||
|
|
||||||
|
|
@ -266,8 +248,6 @@
|
||||||
libreoffice
|
libreoffice
|
||||||
pandoc
|
pandoc
|
||||||
texliveFull
|
texliveFull
|
||||||
|
|
||||||
jgrpp
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.packages = with pkgs; [ nerd-fonts.hack ];
|
fonts.packages = with pkgs; [ nerd-fonts.hack ];
|
||||||
|
|
|
||||||
24
jgrpp-0.65.2/jgrpp-0.65.2.nix
Normal file
24
jgrpp-0.65.2/jgrpp-0.65.2.nix
Normal 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue