fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
alsa-lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
gitpython,
|
|
libpcap,
|
|
meson,
|
|
ninja,
|
|
openal,
|
|
pillow,
|
|
pkg-config,
|
|
pygobject3,
|
|
pythonOlder,
|
|
SDL2,
|
|
soundtouch,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-desmume";
|
|
version = "0.0.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SkyTemple";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-AgUdILCqpmuVI3uMSdGl+lIfUVXnIo/egm/48FMRF3M=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
alsa-lib
|
|
gitpython
|
|
libpcap
|
|
openal
|
|
SDL2
|
|
soundtouch
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
pillow
|
|
pygobject3
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
pythonImportsCheck = [ "desmume" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to interface with DeSmuME, the Nintendo DS emulator";
|
|
homepage = "https://github.com/SkyTemple/py-desmume";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ marius851000 ];
|
|
};
|
|
}
|