nixpkgs-suyu/pkgs/os-specific/linux/miraclecast/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

33 lines
864 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
, glib, readline, pcre, systemd, udev }:
stdenv.mkDerivation rec {
pname = "miraclecast";
version = "1.0-20190403";
src = fetchFromGitHub {
owner = "albfan";
repo = "miraclecast";
rev = "960a785e10523cc525885380dd03aa2c5ba11bc7";
sha256 = "05afqi33rv7k6pbkkw4mynj6p97vkzhhh13y5nh0yxkyhcgf45pm";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ glib pcre readline systemd udev ];
enableParallelBuilding = true;
mesonFlags = [
"-Drely-udev=true"
"-Dbuild-tests=true"
];
meta = with stdenv.lib; {
description = "Connect external monitors via Wi-Fi";
homepage = https://github.com/albfan/miraclecast;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ tstrobel ];
platforms = platforms.linux;
};
}