pmd-sky/flake.nix
2024-10-13 23:39:18 -07:00

31 lines
808 B
Nix

{
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
];
};
};
}