python3Packages.skytemple-rust: init at unstable-2021-05-30
This commit is contained in:
parent
845ba2eeef
commit
d4cb1ca985
pkgs
31
pkgs/development/python-modules/skytemple-rust/default.nix
Normal file
31
pkgs/development/python-modules/skytemple-rust/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchFromGitHub, rustPlatform, setuptools-rust }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "skytemple-rust";
|
||||||
|
version = "unstable-2021-05-30"; # Contains build bug fixes, but is otherwise identical to 0.0.1.post0
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "SkyTemple";
|
||||||
|
repo = pname;
|
||||||
|
rev = "cff8b2930af6d25d41331fab8c04f56a4fd75e95";
|
||||||
|
sha256 = "18y6wwvzyw062zlv3gcirr1hgld9d97ffyrvy0jvw8nr3b9h9x0i";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
inherit src;
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
sha256 = "1ypcsf9gbq1bz29kfn7g4kg8741mxg1lfcbb14a0vfhjq4d6pnx9";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
|
||||||
|
|
||||||
|
doCheck = false; # there are no tests
|
||||||
|
pythonImportsCheck = [ "skytemple_rust" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/SkyTemple/skytemple-rust";
|
||||||
|
description = "Binary Rust extensions for SkyTemple";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ xfix ];
|
||||||
|
};
|
||||||
|
}
|
@ -7693,6 +7693,8 @@ in {
|
|||||||
|
|
||||||
skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
|
skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
|
||||||
|
|
||||||
|
skytemple-rust = callPackage ../development/python-modules/skytemple-rust { };
|
||||||
|
|
||||||
slack-sdk = callPackage ../development/python-modules/slack-sdk { };
|
slack-sdk = callPackage ../development/python-modules/slack-sdk { };
|
||||||
|
|
||||||
slackclient = callPackage ../development/python-modules/slackclient { };
|
slackclient = callPackage ../development/python-modules/slackclient { };
|
||||||
|
Loading…
Reference in New Issue
Block a user