2022-09-11 15:47:08 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2022-09-11 15:47:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "miniplayer";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "1.8.1";
|
2022-09-11 15:47:08 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-iUUsVIDLQAiaMomfA2LvvJZ2ePhgADtC6GCwIpRC1MA=";
|
2022-09-11 15:47:08 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
2022-09-11 15:47:08 +00:00
|
|
|
colorthief
|
|
|
|
ffmpeg-python
|
|
|
|
mpd2
|
|
|
|
pillow
|
|
|
|
pixcat
|
|
|
|
requests
|
|
|
|
ueberzug
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
doCheck = false; # no tests
|
|
|
|
|
2022-09-11 15:47:08 +00:00
|
|
|
# pythonImportsCheck is disabled because this package doesn't expose any modules.
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A curses-based MPD client with basic functionality that can also display an album art";
|
|
|
|
homepage = "https://github.com/GuardKenzie/miniplayer";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ azahi ];
|
|
|
|
};
|
|
|
|
}
|