mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
34 lines
862 B
Nix
34 lines
862 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
|
|
, glib, readline, pcre, systemd, udev }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "miraclecast";
|
|
version = "1.0-20190403";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "albfan";
|
|
repo = "miraclecast";
|
|
rev = "960a785e10523cc525885380dd03aa2c5ba11bc7";
|
|
sha256 = "05afqi33rv7k6pbkkw4mynj6p97vkzhhh13y5nh0yxkyhcgf45pm";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [ glib pcre readline systemd udev ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
mesonFlags = [
|
|
"-Drely-udev=true"
|
|
"-Dbuild-tests=true"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Connect external monitors via Wi-Fi";
|
|
homepage = "https://github.com/albfan/miraclecast";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ tstrobel ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|