python310Packages.py-desmume: rename GitPython

This commit is contained in:
Fabian Affolter 2022-12-05 19:55:58 +01:00
parent 0ade4c5f53
commit 3c97a66e91

View File

@ -1,32 +1,67 @@
{ lib, buildPythonPackage, fetchFromGitHub, GitPython
, libpcap, meson, ninja, pillow, pkg-config, pygobject3, SDL2
, alsa-lib, soundtouch, openal
{ lib
, alsa-lib
, buildPythonPackage
, fetchFromGitHub
, gitpython
, libpcap
, meson
, ninja
, openal
, pillow
, pkg-config
, pygobject3
, SDL2
, soundtouch
}:
buildPythonPackage rec {
pname = "py-desmume";
version = "0.0.4.post2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
sha256 = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
hash = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
fetchSubmodules = true;
};
buildInputs = [ GitPython libpcap SDL2 alsa-lib soundtouch openal ];
nativeBuildInputs = [ meson ninja pkg-config ];
propagatedBuildInputs = [ pillow pygobject3 ];
nativeBuildInputs = [
meson
ninja
pkg-config
];
hardeningDisable = [ "format" ];
buildInputs = [
alsa-lib
gitpython
libpcap
openal
SDL2
soundtouch
];
propagatedBuildInputs = [
pillow
pygobject3
];
hardeningDisable = [
"format"
];
doCheck = false; # there are no tests
pythonImportsCheck = [ "desmume" ];
pythonImportsCheck = [
"desmume"
];
meta = with lib; {
homepage = "https://github.com/SkyTemple/py-desmume";
description = "Python library to interface with DeSmuME, the Nintendo DS emulator";
homepage = "https://github.com/SkyTemple/py-desmume";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ xfix ];
};