27 lines
725 B
Nix
27 lines
725 B
Nix
|
{ lib, python3Packages, fetchFromGitHub }:
|
||
|
|
||
|
python3Packages.buildPythonApplication rec {
|
||
|
pname = "rofi-mpd";
|
||
|
version = "2.2.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "JakeStanger";
|
||
|
repo = "Rofi_MPD";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1b0y8706mmrxhiyz8g6znisllc35j8g7sz8gfjll9svysjmvb6lc";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = with python3Packages; [ mutagen mpd2 toml appdirs ];
|
||
|
|
||
|
# 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;
|
||
|
};
|
||
|
}
|