2024-01-02 11:29:13 +00:00
|
|
|
{ alsa-lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cargo
|
|
|
|
, fetchPypi
|
|
|
|
, glib
|
|
|
|
, lib
|
|
|
|
, libpcap
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, openal
|
|
|
|
, pkg-config
|
|
|
|
, range-typed-integers
|
|
|
|
, rustc
|
|
|
|
, rustPlatform
|
|
|
|
, SDL2
|
|
|
|
, setuptools
|
|
|
|
, setuptools-rust
|
|
|
|
, soundtouch
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skytemple-ssb-emulator";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.6.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-qGRfX7Bwr19KJnIdhwuSVBZzXxMJyEgyBuy91aLhEj4=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
2024-04-21 15:54:59 +00:00
|
|
|
"skytemple_rust-1.6.4" = "sha256-t7P3F1zes7bgDu2JGqb5DgxlDCiztWtmViy4QY9CzT0=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsa-lib
|
|
|
|
glib
|
|
|
|
libpcap
|
|
|
|
SDL2
|
|
|
|
soundtouch
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cargo
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
openal
|
|
|
|
pkg-config
|
|
|
|
rustc
|
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
setuptools
|
|
|
|
setuptools-rust
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
range-typed-integers
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [
|
|
|
|
"format"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"skytemple_ssb_emulator"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "SkyTemple Script Engine Debugger Emulator Backend";
|
|
|
|
homepage = "https://github.com/SkyTemple/skytemple-ssb-emulator";
|
|
|
|
license = licenses.gpl3Plus;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ marius851000 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
}
|