mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
33 lines
708 B
Nix
33 lines
708 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "python-mpv-jsonipc";
|
|
version = "1.2.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iwalton3";
|
|
repo = "python-mpv-jsonipc";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-9QfGsJW08YqATP4+G3bADkjxHoauSF7BmcsIi56fBKI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# 'mpv-jsonipc' does not have any tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "python_mpv_jsonipc" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/iwalton3/python-mpv-jsonipc";
|
|
description = "Python API to MPV using JSON IPC";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
})
|