depot/third_party/nixpkgs/pkgs/development/python-modules/py-desmume/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

33 lines
957 B
Nix

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