2021-04-12 18:23:04 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, epoxy, wayland, wrapGAppsHook }:
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wdisplays";
|
2021-04-12 18:23:04 +00:00
|
|
|
version = "unstable-2021-04-03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ gtk3 epoxy wayland ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-04-12 18:23:04 +00:00
|
|
|
owner = "luispabon";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "wdisplays";
|
2021-04-12 18:23:04 +00:00
|
|
|
rev = "7f2eac0d2aa81b5f495da7950fd5a94683f7868e";
|
|
|
|
sha256 = "sha256-cOF3+T34zPro58maWUouGG+vlLm2C5NfcH7PZhSvApE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A graphical application for configuring displays in Wayland compositors";
|
2021-04-12 18:23:04 +00:00
|
|
|
homepage = "https://github.com/luispabon/wdisplays";
|
|
|
|
maintainers = with maintainers; [ lheckemann ma27 ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|