summary refs log tree commit diff
path: root/pkgs/applications/audio/rofi-mpd/default.nix
blob: 9def4a292f618e416ac25b295d2e7fc92cc674db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
  pname = "rofi-mpd";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "JakeStanger";
    repo = "Rofi_MPD";
    rev = "v${version}";
    sha256 = "0pdra1idgas3yl9z9v7b002igwg2c1mv0yw2ffb8rsbx88x4gbai";
  };

  propagatedBuildInputs = with python3Packages; [ mutagen mpd2 ];

  # upstream doesn't contain a test suite
  doCheck = false;

  meta = with lib; {
    description = "A rofi menu for interacting with MPD written in Python";
    homepage = "https://github.com/JakeStanger/Rofi_MPD";
    license = licenses.mit;
    maintainers = with maintainers; [ jakestanger ];
    platforms = platforms.all;
  };
}