drafted out entangled worlds mod
This commit is contained in:
parent
0476afb471
commit
52a1d97fd4
5 changed files with 80 additions and 2 deletions
23
flake.lock
generated
23
flake.lock
generated
|
@ -286,7 +286,8 @@
|
|||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"secrets": "secrets",
|
||||
"sops-nix": "sops-nix"
|
||||
"sops-nix": "sops-nix",
|
||||
"steam-fetcher": "steam-fetcher"
|
||||
}
|
||||
},
|
||||
"secrets": {
|
||||
|
@ -325,6 +326,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"steam-fetcher": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714795926,
|
||||
"narHash": "sha256-PkgC9jqoN6cJ8XYzTA2PlrWs7aPJkM3BGiTxNqax0cA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "steam-fetcher",
|
||||
"rev": "12f66eafb7862d91b3e30c14035f96a21941bd9c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "steam-fetcher",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
|
|
|
@ -71,6 +71,11 @@
|
|||
flake-compat = {
|
||||
url = "github:edolstra/flake-compat";
|
||||
};
|
||||
|
||||
steam-fetcher = {
|
||||
url = "github:nix-community/steam-fetcher";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# this folder is for derivation overlays
|
||||
{...}: {
|
||||
{inputs, ...}: {
|
||||
nixpkgs.overlays = [
|
||||
inputs.steam-fetcher.overlays.default
|
||||
];
|
||||
}
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
./prostudiomasters.nix
|
||||
{};
|
||||
})
|
||||
(final: prev: {
|
||||
noita_entangled_worlds = pkgs.callPackage ./noita-entangled-worlds.nix {};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
46
modules/common-modules/pkgs/noita-entangled-worlds.nix
Normal file
46
modules/common-modules/pkgs/noita-entangled-worlds.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
# not working yet
|
||||
{
|
||||
pkgs,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}: let
|
||||
version = "1.5.3";
|
||||
repo = fetchFromGitHub {
|
||||
owner = "IntQuant";
|
||||
repo = "noita_entangled_worlds";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-frrpD0aWTeDbZYtp15R+quUUAZf7OvHlbSLtGJJtAqk=";
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "noita-proxy-${version}";
|
||||
src = repo + "/noita-proxy";
|
||||
prePatch = ''
|
||||
substituteInPlace Cargo.toml \
|
||||
--replace "path = \"../shared\"" "path = \"${repo + "/shared"}\""
|
||||
'';
|
||||
nativeBuildInputs = with pkgs; [
|
||||
pkg-config
|
||||
python3
|
||||
cmake
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
openssl
|
||||
openssl.dev
|
||||
libpulseaudio
|
||||
libjack2
|
||||
alsa-lib
|
||||
xorg.libxcb
|
||||
xorg.libxcb.dev
|
||||
libopus
|
||||
];
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
steamworks-sdk-redist
|
||||
];
|
||||
runtimeDependencies = with pkgs; [
|
||||
steamworks-sdk-redist
|
||||
];
|
||||
doCheck = false;
|
||||
cargoHash = "sha256-TzUS6d6PopgGf2i1yVaXaXdzNrvfSz+Gv67BAtxYmb4=";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue