mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
753 B
Nix
28 lines
753 B
Nix
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "rofi-mpd";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JakeStanger";
|
|
repo = "Rofi_MPD";
|
|
rev = "v${version}";
|
|
sha256 = "0jabyn6gqh8ychn2a06xws3avz0lqdnx3qvqkavfd2xr6sp2q7lg";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [ mutagen mpd2 toml appdirs ];
|
|
|
|
# upstream doesn't contain a test suite
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Rofi menu for interacting with MPD written in Python";
|
|
mainProgram = "rofi-mpd";
|
|
homepage = "https://github.com/JakeStanger/Rofi_MPD";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jakestanger ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|