2017-12-26 05:18:33 +01:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
|
|
|
|
, glib, readline, pcre, systemd, udev }:
|
2015-11-14 21:32:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "miraclecast";
|
2019-05-03 18:21:52 +02:00
|
|
|
version = "1.0-20190403";
|
2015-11-14 21:32:51 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-12-26 05:18:33 +01:00
|
|
|
owner = "albfan";
|
|
|
|
repo = "miraclecast";
|
2019-05-03 18:21:52 +02:00
|
|
|
rev = "960a785e10523cc525885380dd03aa2c5ba11bc7";
|
|
|
|
sha256 = "05afqi33rv7k6pbkkw4mynj6p97vkzhhh13y5nh0yxkyhcgf45pm";
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
|
|
|
|
2017-12-26 05:18:33 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
2015-11-14 21:32:51 +01:00
|
|
|
|
2017-12-26 05:18:33 +01:00
|
|
|
buildInputs = [ glib pcre readline systemd udev ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Drely-udev=true"
|
|
|
|
"-Dbuild-tests=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-11-14 21:32:51 +01:00
|
|
|
description = "Connect external monitors via Wi-Fi";
|
2017-12-26 05:18:33 +01:00
|
|
|
homepage = https://github.com/albfan/miraclecast;
|
|
|
|
license = licenses.lgpl21Plus;
|
2015-11-14 21:32:51 +01:00
|
|
|
maintainers = with maintainers; [ tstrobel ];
|
2017-12-26 05:18:33 +01:00
|
|
|
platforms = platforms.linux;
|
2015-11-14 21:32:51 +01:00
|
|
|
};
|
|
|
|
}
|