2021-11-11 04:35:34 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, libepoxy, wayland, wrapGAppsHook }:
|
2020-05-09 23:02:37 +00:00
|
|
|
|
2023-10-18 18:23:41 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-05-09 23:02:37 +00:00
|
|
|
pname = "wdisplays";
|
2023-10-18 18:23:41 +00:00
|
|
|
version = "1.1.1";
|
2019-10-29 11:04:50 +00:00
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
|
2019-10-29 11:04:50 +00:00
|
|
|
|
2021-11-11 04:35:34 +00:00
|
|
|
buildInputs = [ gtk3 libepoxy wayland ];
|
2019-10-29 11:04:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-10-18 18:23:41 +00:00
|
|
|
owner = "artizirk";
|
2019-10-29 11:04:50 +00:00
|
|
|
repo = "wdisplays";
|
2023-10-18 18:23:41 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
sha256 = "sha256-dtvP930ChiDRT60xq6xBDU6k+zHnkrAkxkKz2FxlzRs=";
|
2019-10-29 11:04:50 +00:00
|
|
|
};
|
|
|
|
|
2021-01-27 05:44:43 +00:00
|
|
|
meta = with lib; {
|
2019-10-29 11:04:50 +00:00
|
|
|
description = "A graphical application for configuring displays in Wayland compositors";
|
2021-04-09 09:04:11 +00:00
|
|
|
homepage = "https://github.com/luispabon/wdisplays";
|
|
|
|
maintainers = with maintainers; [ lheckemann ma27 ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-11-22 10:50:04 +00:00
|
|
|
mainProgram = "wdisplays";
|
2019-10-29 11:04:50 +00:00
|
|
|
};
|
2023-10-18 18:23:41 +00:00
|
|
|
})
|