1 { lib, stdenv, fetchFromGitHub
2 , libdrm, json_c, pciutils
3 , meson, ninja, pkg-config
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "sha256-UTDYLe3QezPCyG9CIp+O+KX716JDTL9mn+OEjjyTwlg=";
17 nativeBuildInputs = [ meson ninja pkg-config ];
18 buildInputs = [ libdrm json_c pciutils ];
21 description = "Small utility to dump info about DRM devices";
22 mainProgram = "drm_info";
23 homepage = "https://github.com/ascent12/drm_info";
24 license = licenses.mit;
25 maintainers = with maintainers; [ tadeokondrak ];
26 platforms = platforms.linux;