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.
28 lines
693 B
Nix
28 lines
693 B
Nix
{ stdenv, fetchFromGitHub
|
|
, libdrm, json_c, pciutils
|
|
, meson, ninja, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "drm_info";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ascent12";
|
|
repo = "drm_info";
|
|
rev = "v${version}";
|
|
sha256 = "0s4zp8xz21zcpinbcwdvg48rf0xr7rs0dqri28q093vfmllsk36f";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
buildInputs = [ libdrm json_c pciutils ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Small utility to dump info about DRM devices";
|
|
homepage = "https://github.com/ascent12/drm_info";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ tadeokondrak ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|