2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, socat, fetchFromGitHub, makeWrapper }:
|
2017-03-19 18:17:52 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2017-03-19 18:17:52 +01:00
|
|
|
name = "mpvc-unstable-2017-03-18";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wildefyr";
|
|
|
|
repo = "mpvc";
|
|
|
|
rev = "aea5c661455248cde7ac9ddba5f63cc790d26512";
|
|
|
|
sha256 = "0qiyvb3ck1wyd3izajwvlq4bwgsbq7x8ya3fgi5i0g2qr39a1qml";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/mpvc --prefix PATH : "${socat}/bin/"
|
|
|
|
'';
|
|
|
|
|
2021-02-07 10:17:39 +01:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ socat ];
|
2017-03-19 18:17:52 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-03-19 18:17:52 +01:00
|
|
|
description = "A mpc-like control interface for mpv";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/wildefyr/mpvc";
|
2017-03-19 18:17:52 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.neeasade ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|