1 { lib, stdenv, socat, fetchFromGitHub, makeWrapper }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-wPETEG0BtNBEj3ZyP70byLzIP+NMUKbnjQ+kdvrvK3s=";
14 makeFlags = [ "PREFIX=$(out)" ];
15 installFlags = [ "PREFIX=$(out)" ];
18 wrapProgram $out/bin/mpvc --prefix PATH : "${socat}/bin/"
21 nativeBuildInputs = [ makeWrapper ];
22 buildInputs = [ socat ];
25 description = "A mpc-like control interface for mpv";
26 homepage = "https://github.com/lwilletts/mpvc";
27 license = licenses.mit;
28 maintainers = [ maintainers.neeasade ];
29 platforms = platforms.linux;