mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
31 lines
808 B
Nix
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
|
|
];
|
|
};
|
|
};
|
|
}
|