Merge pull request #162931 from marius851000/skemple134

This commit is contained in:
Sandro 2022-05-04 14:30:53 +02:00 committed by GitHub
commit 7143d2485e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 65 additions and 26 deletions

View file

@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
pname = "skytemple";
version = "1.3.2";
version = "1.3.10";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "1sx2rib0la3mifvh84ia3jnnq4qw9jxc13vxyidsdkp6x82nbvcg";
sha256 = "sha256-CyYGTXdQsGpDR/gpqViEQO1xUPHaXTES592nRJixa1o=";
};
buildInputs = [
@ -26,7 +26,10 @@ python3Packages.buildPythonApplication rec {
packaging
pycairo
pygal
psutil
gbulb
pypresence
sentry-sdk
setuptools
skytemple-dtef
skytemple-eventserver

View file

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "dungeon-eos";
version = "0.0.4";
version = "0.0.5";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "0hxygjk9i4qlwsxnxr52cxhqy3i62pc373z1x5sh2pas5ag59bvl";
sha256 = "sha256-Z1fGtslXP8zcZmVeWjRrbcM2ZJsfbrWjpLWZ49uSCRY=";
};
doCheck = false; # there are no tests

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pygobject3
, pytestCheckHook
, gtk3
, gobject-introspection
}:
buildPythonPackage rec {
pname = "gbulb";
version = "0.6.3";
src = fetchFromGitHub {
owner = "beeware";
repo = "gbulb";
rev = "v${version}";
sha256 = "sha256-QNpZf1zfe6r6MtmYMWSrXPsXm5iX36oMx4GnXiTYPaQ=";
};
propagatedBuildInputs = [
pygobject3
];
checkInputs = [
pytestCheckHook
gtk3
gobject-introspection
];
disabledTests = [
"test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing
];
pythonImportsCheck = [ "gbulb" ];
meta = with lib; {
description = "GLib implementation of PEP 3156";
homepage = "https://github.com/beeware/gbulb";
license = licenses.asl20;
maintainers = with maintainers; [ marius851000 ];
};
}

View file

@ -3,29 +3,18 @@
, alsa-lib, soundtouch, openal
}:
let
desmume = fetchFromGitHub {
owner = "SkyTemple";
repo = "desmume";
rev = "8e7af8ada883b7e91344985236f7c7c04ee795d7";
sha256 = "0svmv2rch9q347gbpbws4agymas8n014gh1ssaf91wx7jwn53842";
};
in
buildPythonPackage rec {
pname = "py-desmume";
version = "0.0.3.post2";
version = "0.0.4.post2";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "1chsg70k8kqnlasn88b04ww3yl0lay1bjxvz6lhp6s2cvsxv03x1";
sha256 = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
fetchSubmodules = true;
};
postPatch = ''
cp -R --no-preserve=mode ${desmume} __build_desmume
'';
buildInputs = [ GitPython libpcap SDL2 alsa-lib soundtouch openal ];
nativeBuildInputs = [ meson ninja pkg-config ];
propagatedBuildInputs = [ pillow pygobject3 ];

View file

@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "skytemple-files";
version = "1.3.3";
version = "1.3.9";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "01j6khn60mdmz32xkpqrzwdqibmpdpi2wvwzxgdnaim9sq0fdqws";
sha256 = "sha256-Z/jbr9o0WKPjkAsfZzxuwAKKdwYV3rLGkUMlMgyC5s0=";
fetchSubmodules = true;
};

View file

@ -2,24 +2,26 @@
buildPythonPackage rec {
pname = "skytemple-rust";
version = "unstable-2021-08-11";
version = "1.3.7";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = "e306e5edc096cb3fef25585d9ca5a2817543f1cd";
sha256 = "0ja231gsy9i1z6jsaywawz93rnyjhldngi5i787nhnf88zrwx9ml";
rev = version;
sha256 = "sha256-rC7KA79va8gZpMKJQ7s3xYdbopNqmWdRYDCbaWaxsR0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
sha256 = "0gjvfblyv72m0nqv90m7qvbdnazsh5ind1pxwqz83vm4zjh9a873";
sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E=";
};
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
GETTEXT_SYSTEM = true;
doCheck = false; # there are no tests
pythonImportsCheck = [ "skytemple_rust" ];

View file

@ -5,13 +5,13 @@
buildPythonPackage rec {
pname = "skytemple-ssb-debugger";
version = "1.3.0";
version = "1.3.8.post2";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "12v0071125m8xjcp2hxm9qvs0qw4hdhkx8r3gbl0plm22vl3fk0d";
sha256 = "sha256-dd0qsSNBwxuSopjz2PLqEFddZpvMgeJIjBXY5P6OAow=";
};
buildInputs = [ gobject-introspection gtk3 gtksourceview3 ];

View file

@ -3256,6 +3256,8 @@ in {
gbinder-python = callPackage ../development/python-modules/gbinder-python { };
gbulb = callPackage ../development/python-modules/gbulb { };
gcovr = callPackage ../development/python-modules/gcovr { };
gcsfs = callPackage ../development/python-modules/gcsfs { };