forked from pret/pmd-sky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
30 lines (26 loc) · 808 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
description = "PMD-SKY decomp nix development shell";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.simpleFlake rec {
inherit self nixpkgs;
name = "pmd-sky-shell";
# Native shell instead of an arm-cross shell so utilities are properly compiled for host
shell = { pkgs }: pkgs.mkShell {
inherit name;
nativeBuildInputs = [
pkgs.git
pkgs.wineWowPackages.base # wine with both 32 and 64 bits support
pkgs.python3
pkgs.pkg-config
pkgs.pkgsCross.arm-embedded.stdenv.cc.bintools # binutils
pkgs.unzip
pkgs.p7zip
];
buildInputs = [
pkgs.libpng
pkgs.pugixml
];
};
};
}