1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/audio/rofi-mpd/default.nix
2020-01-20 18:22:12 +00:00

27 lines
725 B
Nix

{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "rofi-mpd";
version = "2.0.1";
src = fetchFromGitHub {
owner = "JakeStanger";
repo = "Rofi_MPD";
rev = "v${version}";
sha256 = "12zzx0m2nwyzxzzqgzq30a27k015kcw4ylvs7cyalf5gf6sg27kl";
};
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;
};
}