biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / skytemple-ssb-emulator / default.nix
blob8b5f71030667cb805773295ecf469ac1ba67464c
2   alsa-lib,
3   buildPythonPackage,
4   cargo,
5   fetchFromGitHub,
6   glib,
7   lib,
8   libpcap,
9   meson,
10   ninja,
11   openal,
12   pkg-config,
13   range-typed-integers,
14   rustc,
15   rustPlatform,
16   SDL2,
17   setuptools,
18   setuptools-rust,
19   soundtouch,
20   zlib,
22 buildPythonPackage rec {
23   pname = "skytemple-ssb-emulator";
24   version = "1.8.0";
25   pyproject = true;
27   src = fetchFromGitHub {
28     owner = "SkyTemple";
29     repo = pname;
30     rev = version;
31     hash = "sha256-9xD9Q/oYsi9tuxTOJ6ItLbWkqAjG78uzXYZXOiITDEA=";
32   };
34   cargoDeps = rustPlatform.importCargoLock {
35     lockFile = ./Cargo.lock;
36     outputHashes = {
37       "skytemple_rust-1.8.1" = "sha256-KtMqgUOlyF02msQRouE4NpvCHqahY+aRiRV9P32ASqg=";
38     };
39   };
41   buildInputs = [
42     alsa-lib
43     glib
44     libpcap
45     SDL2
46     soundtouch
47     zlib
48   ];
50   nativeBuildInputs = [
51     cargo
52     meson
53     ninja
54     openal
55     pkg-config
56     rustc
57     rustPlatform.cargoSetupHook
58     setuptools
59     setuptools-rust
60   ];
62   propagatedBuildInputs = [ range-typed-integers ];
64   hardeningDisable = [ "format" ];
66   doCheck = false; # there are no tests
67   pythonImportsCheck = [ "skytemple_ssb_emulator" ];
69   meta = with lib; {
70     description = "SkyTemple Script Engine Debugger Emulator Backend";
71     homepage = "https://github.com/SkyTemple/skytemple-ssb-emulator";
72     license = licenses.gpl3Plus;
73     maintainers = with maintainers; [ marius851000 ];
74   };