2019-09-29 12:52:17 +01:00
|
|
|
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "rofi-mpd";
|
2020-05-04 07:11:24 +01:00
|
|
|
version = "2.2.1";
|
2019-09-29 12:52:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JakeStanger";
|
|
|
|
repo = "Rofi_MPD";
|
|
|
|
rev = "v${version}";
|
2020-05-04 07:11:24 +01:00
|
|
|
sha256 = "0jabyn6gqh8ychn2a06xws3avz0lqdnx3qvqkavfd2xr6sp2q7lg";
|
2019-09-29 12:52:17 +01:00
|
|
|
};
|
|
|
|
|
2020-01-19 22:37:37 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ mutagen mpd2 toml appdirs ];
|
2019-09-29 12:52:17 +01:00
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
}
|