3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/rofi-mpd/default.nix

27 lines
712 B
Nix
Raw Normal View History

2019-09-29 12:52:17 +01:00
{ 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;
};
}