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