2021-04-09 10:04:11 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gtk3, epoxy, wayland, wrapGAppsHook }:
|
2020-05-10 00:02:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wdisplays";
|
2021-04-09 10:04:11 +01:00
|
|
|
version = "unstable-2021-04-03";
|
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
|
|
|
|
|
|
|
buildInputs = [ gtk3 epoxy wayland ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-04-09 10:04:11 +01:00
|
|
|
owner = "luispabon";
|
2019-10-29 11:04:50 +00:00
|
|
|
repo = "wdisplays";
|
2021-04-09 10:04:11 +01:00
|
|
|
rev = "7f2eac0d2aa81b5f495da7950fd5a94683f7868e";
|
|
|
|
sha256 = "sha256-cOF3+T34zPro58maWUouGG+vlLm2C5NfcH7PZhSvApE=";
|
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 10:04:11 +01:00
|
|
|
homepage = "https://github.com/luispabon/wdisplays";
|
|
|
|
maintainers = with maintainers; [ lheckemann ma27 ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-10-29 11:04:50 +00:00
|
|
|
};
|
|
|
|
}
|