pmd-sky/flake.nix
2023-08-29 13:44:34 +02:00

28 lines
765 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
];
buildInputs = [
pkgs.libpng
pkgs.pugixml
];
};
};
}