forked from mirrors/nixpkgs
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.
23 lines
696 B
Nix
23 lines
696 B
Nix
{ lib, stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkg-config }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "kmscube-2018-06-17";
|
|
|
|
src = fetchgit {
|
|
url = "git://anongit.freedesktop.org/mesa/kmscube";
|
|
rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a";
|
|
sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ libdrm libX11 libGL mesa ];
|
|
|
|
meta = with lib; {
|
|
description = "Example OpenGL app using KMS/GBM";
|
|
homepage = "https://gitlab.freedesktop.org/mesa/kmscube";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dezgeg ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|