11 , range-typed-integers
14 buildPythonPackage rec {
15 pname = "skytemple-rust";
18 src = fetchFromGitHub {
22 hash = "sha256-Txx8kQNb3ODbaJXfuHERzPx4zGUqYXzy+jbLNaMyf+w=";
25 cargoDeps = rustPlatform.fetchCargoTarball {
27 name = "${pname}-${version}";
28 hash = "sha256-KQA8dfHnuysx9EUySJXZ/52Hfq6AbALwkBp3B1WJJuc=";
31 buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
32 nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ];
33 propagatedBuildInputs = [ range-typed-integers ];
35 GETTEXT_SYSTEM = true;
37 doCheck = false; # there are no tests
38 pythonImportsCheck = [ "skytemple_rust" ];
41 homepage = "https://github.com/SkyTemple/skytemple-rust";
42 description = "Binary Rust extensions for SkyTemple";
43 license = licenses.mit;
44 maintainers = with maintainers; [ xfix marius851000 ];