Something went wrong. Try again.
lol
Something went wrong. Try again.
884 B · 44 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, flit-core, requests, websockets,}:
buildPythonPackage rec { pname = "mopidyapi"; version = "1.1.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-n1BJGHFZvuGSSumEXWIjH/CiHs5w/8skhz7yfR7Jplw="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail '"flit"' '"flit_core"' \ --replace-fail "flit.buildapi" "flit_core.buildapi" '';
build-system = [ flit-core ];
dependencies = [ requests websockets ];
pythonImportsCheck = [ "mopidyapi" ];
# PyPi does not include tests doCheck = false;
meta = { description = "Module for interacting with Mopidy via its JSON RPC API"; homepage = "https://github.com/AsbjornOlling/mopidyapi"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; };}