git.iko.soy/typeable/nixpkgs
on master help sign in
miraclecast: 20151002 -> 20170427
commit644e39abf19e3b79bfca91694f9eca54c22642f7 authorPeter Hoeg <peter@hoeg.com> dateTue 26 Dec 2017, 12:18 (9 years ago) parentcf52f8e
1 file changed+22−16
pkgs/os-specific/linux/miraclecast/default.nix+22−16
pkgs/os-specific/linux/miraclecast/default.nix+22−16
@@ -1,27 +1,33 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, systemd, glib, readline }:
1+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
2+, glib, readline, pcre, systemd, udev }:
23
3−with stdenv.lib;
44stdenv.mkDerivation rec {
5− name = "miraclecast-0.0-git-20151002";
5+ name = "miraclecast-${version}";
6+ version = "1.0-20170427";
67
78 src = fetchFromGitHub {
8− owner = "albfan";
9− repo = "miraclecast";
10− rev = "30b8c2d22391423f76ba582aaaa1e0936869103a";
11− sha256 = "0i076n76kq64fayc7v06gr1853pk5r6ms86m57vd1xsjd0r9wyxd";
9+ owner = "albfan";
10+ repo = "miraclecast";
11+ rev = "a395c3c7afc39a958ae8ab805dea0f5d22118f0c";
12+ sha256 = "03kbjajv2x0i2g68c5aij0icf9waxnqkc9pp32z60nc8zxy9jk1y";
1213 };
1314
14− # INFO: It is important to list 'systemd' first as for now miraclecast
15− # links against a customized systemd. Otherwise, a systemd package from
16− # a propagatedBuildInput could take precedence.
17− nativeBuildInputs = [ autoreconfHook pkgconfig ];
18− buildInputs = [ systemd udev glib readline ];
15+ nativeBuildInputs = [ meson ninja pkgconfig ];
1916
20− meta = {
21− homepage = https://github.com/albfan/miraclecast;
17+ buildInputs = [ glib pcre readline systemd udev ];
18+
19+ enableParallelBuilding = true;
20+
21+ mesonFlags = [
22+ "-Drely-udev=true"
23+ "-Dbuild-tests=true"
24+ ];
25+
26+ meta = with stdenv.lib; {
2227 description = "Connect external monitors via Wi-Fi";
23− license = licenses.lgpl21Plus;
28+ homepage = https://github.com/albfan/miraclecast;
29+ license = licenses.lgpl21Plus;
2430 maintainers = with maintainers; [ tstrobel ];
25− platforms = platforms.linux;
31+ platforms = platforms.linux;
2632 };
2733}