9 buildPythonPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-qP5Biw4sTLioAhmMZX+Pemue2PWc3N7afAe38dwJv3U=";
25 buildInputs = [ mpv ];
28 substituteInPlace mpv.py \
29 --replace "sofile = ctypes.util.find_library('mpv')" \
30 'sofile = "${mpv}/lib/libmpv${stdenv.hostPlatform.extensions.sharedLibrary}"'
33 # tests impure, will error if it can't load libmpv.so
35 pythonImportsCheck = [ "mpv" ];
38 description = "A python interface to the mpv media player";
39 homepage = "https://github.com/jaseg/python-mpv";
40 license = licenses.agpl3Plus;
41 maintainers = with maintainers; [ onny ];