mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
python310Packages.py-desmume: rename GitPython
This commit is contained in:
parent
0ade4c5f53
commit
3c97a66e91
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user