summary refs log tree commit diff
path: root/pkgs/os-specific/linux/miraclecast
diff options
context:
space:
mode:
authorThomas Strobel <ts468@cam.ac.uk>2015-10-02 12:09:30 +0200
committerThomas Strobel <ts468@cam.ac.uk>2015-10-02 12:16:37 +0200
commit9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8 (patch)
tree1836269ab7c912907eea559a090d45ad4baba34a /pkgs/os-specific/linux/miraclecast
parent26150153baa86d3e44c31633642d47c69e2a6d3b (diff)
downloadnixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.tar
nixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.tar.gz
nixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.tar.bz2
nixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.tar.lz
nixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.tar.xz
nixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.tar.zst
nixpkgs-9e33e2365eeff59e9a25701dc2cf8dbcc38a9dc8.zip
miraclecast: init at 0.0-git-20151002
Diffstat (limited to 'pkgs/os-specific/linux/miraclecast')
-rw-r--r--pkgs/os-specific/linux/miraclecast/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/miraclecast/default.nix b/pkgs/os-specific/linux/miraclecast/default.nix
new file mode 100644
index 00000000000..3d5a76144af
--- /dev/null
+++ b/pkgs/os-specific/linux/miraclecast/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, systemd, glib, readline }:
+
+with stdenv.lib;
+stdenv.mkDerivation rec {
+  name = "miraclecast-0.0-git-20151002";
+
+  src = fetchFromGitHub {
+    owner = "albfan";
+    repo = "miraclecast";
+    rev = "30b8c2d22391423f76ba582aaaa1e0936869103a";
+    sha256 = "0i076n76kq64fayc7v06gr1853pk5r6ms86m57vd1xsjd0r9wyxd";
+  };
+
+  # INFO: It is important to list 'systemd' first as for now miraclecast
+  # links against a customized systemd. Otherwise, a systemd package from
+  # a propagatedBuildInput could take precedence.
+  buildInputs = [ systemd autoreconfHook pkgconfig udev glib readline ];
+
+  meta = {
+    homepage = https://github.com/albfan/miraclecast;
+    description = "Connect external monitors via Wi-Fi";
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ tstrobel ];
+    platforms = platforms.linux;
+  };
+}