nixpkgs-suyu/pkgs/os-specific/linux/xf86-video-nested/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
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.
2021-01-19 01:16:25 -08:00

30 lines
884 B
Nix

{ lib, stdenv, fetchgit, autoreconfHook, xorgproto, libX11, libXext
, pixman, pkg-config, utilmacros, xorgserver
}:
stdenv.mkDerivation {
name = "xf86-video-nested-2017-06-12";
src = fetchgit {
url = "git://anongit.freedesktop.org/xorg/driver/xf86-video-nested";
rev = "6a48b385c41ea89354d0b2ee7f4649a1d1d9ec70";
sha256 = "133rd2kvr2q2wmwpx82bb93qbi8wm8qp1vlmbhgc7aslz0j4cqqv";
};
buildInputs =
[ autoreconfHook xorgproto libX11 libXext pixman
pkg-config utilmacros xorgserver
];
hardeningDisable = [ "fortify" ];
CFLAGS = "-I${pixman}/include/pixman-1";
meta = with lib; {
homepage = "https://cgit.freedesktop.org/xorg/driver/xf86-video-nested";
description = "A driver to run Xorg on top of Xorg or something else";
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
license = licenses.mit;
};
}