nixpkgs/pkgs/development/python-modules/python-mpv-jsonipc/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

31 lines
815 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, requests
, tqdm, websocket-client, pythonOlder }:
buildPythonPackage rec {
pname = "python-mpv-jsonipc";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "iwalton3";
repo = "python-mpv-jsonipc";
rev = "v${version}";
hash = "sha256-W9TNtbRhQmwZXhi0TJIDkZRtWhi92/iwL056YIcWnLM=";
};
# 'mpv-jsonipc' does not have any tests
doCheck = false;
propagatedBuildInputs = [ requests tqdm websocket-client ];
pythonImportsCheck = [ "python_mpv_jsonipc" ];
meta = with lib; {
homepage = "https://github.com/iwalton3/python-mpv-jsonipc";
description = "Python API to MPV using JSON IPC";
license = licenses.gpl3;
maintainers = with maintainers; [ colemickens ];
};
}