9 stdenv.mkDerivation rec {
10 pname = "vkdisplayinfo";
13 src = fetchFromGitHub {
14 owner = "ChristophHaag";
15 repo = "vkdisplayinfo";
17 hash = "sha256-n6U7T5aOYTpgWE2WGPBPHtQKzitf9PxAoXJNWyz4rYw=";
21 install vkdisplayinfo -Dm755 -t $out/bin
24 doInstallCheck = true;
25 installCheckPhase = ''
26 runHook preInstallCheck
27 ($out/bin/vkdisplayinfo 2>&1 || true) | grep -q vkdisplayinfo
28 runHook postInstallCheck
42 description = "Print displays and modes enumerated with the Vulkan function vkGetPhysicalDeviceDisplayPropertiesKHR";
43 homepage = "https://github.com/ChristophHaag/vkdisplayinfo";
44 platforms = platforms.linux;
45 license = licenses.boost;
46 maintainers = [ maintainers.LunNova ];
47 mainProgram = "vkdisplayinfo";