summary refs log tree commit diff
path: root/pkgs/applications/audio/miniplayer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/miniplayer/default.nix')
-rw-r--r--pkgs/applications/audio/miniplayer/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/audio/miniplayer/default.nix b/pkgs/applications/audio/miniplayer/default.nix
new file mode 100644
index 00000000000..b808bfb8b2e
--- /dev/null
+++ b/pkgs/applications/audio/miniplayer/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, python3Packages
+}:
+
+with python3Packages;
+
+buildPythonApplication rec {
+  pname = "miniplayer";
+  version = "1.7.0";
+  format = "pyproject";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-JUlUFj/5DOTLa1XCZX/9Nj3Z9W+k4gnpJONiS4qNBIU=";
+  };
+
+  propagatedBuildInputs = [
+    colorthief
+    ffmpeg-python
+    mpd2
+    pillow
+    pixcat
+    requests
+    ueberzug
+  ];
+
+  # 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 ];
+  };
+}