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.
27 lines
782 B
Nix
27 lines
782 B
Nix
{ stdenv, fetchFromGitHub
|
|
, meson, ninja, pkg-config, wayland-protocols
|
|
, pipewire, wayland, elogind, systemd, libdrm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xdg-desktop-portal-wlr";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "12k92h9dmn1fyn8nzxk69cyv0gnb7g9gj7a66mw5dcl5zqnl07nc";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-protocols ];
|
|
buildInputs = [ pipewire wayland elogind systemd libdrm ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/emersion/xdg-desktop-portal-wlr";
|
|
description = "xdg-desktop-portal backend for wlroots";
|
|
maintainers = with maintainers; [ minijackson ];
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
};
|
|
}
|