2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, wayland
|
|
|
|
, libinput
|
2023-02-02 18:25:31 +00:00
|
|
|
, yaml-cpp
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "way-displays";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.9.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alex-courtis";
|
|
|
|
repo = "way-displays";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-X+/aM+/2pO1FbHGwEiC2w9AxPXHf1EVZkyr+CXtprLk=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
wayland
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
wayland
|
2023-02-02 18:25:31 +00:00
|
|
|
yaml-cpp
|
2022-06-16 17:23:12 +00:00
|
|
|
libinput
|
|
|
|
];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
makeFlags = [ "DESTDIR=$(out) PREFIX= PREFIX_ETC= ROOT_ETC=$(out)/etc"];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/alex-courtis/way-displays";
|
|
|
|
description = "Auto Manage Your Wayland Displays";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ simoneruffini ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|