Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 943 B view raw
1{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, libepoxy, wayland, wrapGAppsHook }: 2 3stdenv.mkDerivation rec { 4 pname = "wdisplays"; 5 version = "unstable-2021-04-03"; 6 7 nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ]; 8 9 buildInputs = [ gtk3 libepoxy wayland ]; 10 11 src = fetchFromGitHub { 12 owner = "luispabon"; 13 repo = "wdisplays"; 14 rev = "7f2eac0d2aa81b5f495da7950fd5a94683f7868e"; 15 sha256 = "sha256-cOF3+T34zPro58maWUouGG+vlLm2C5NfcH7PZhSvApE="; 16 }; 17 18 patchPhase = '' 19 substituteInPlace ./resources/wdisplays.desktop.in --replace "@app_id@" "wdisplays" 20 ''; 21 22 meta = with lib; { 23 description = "A graphical application for configuring displays in Wayland compositors"; 24 homepage = "https://github.com/luispabon/wdisplays"; 25 maintainers = with maintainers; [ lheckemann ma27 ]; 26 license = licenses.gpl3Plus; 27 platforms = platforms.linux; 28 mainProgram = "wdisplays"; 29 }; 30}