504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
44 lines
843 B
Nix
44 lines
843 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, wayland
|
|
, libinput
|
|
, yaml-cpp
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "way-displays";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alex-courtis";
|
|
repo = "way-displays";
|
|
rev = version;
|
|
sha256 = "sha256-X+/aM+/2pO1FbHGwEiC2w9AxPXHf1EVZkyr+CXtprLk=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wayland
|
|
];
|
|
|
|
buildInputs = [
|
|
wayland
|
|
yaml-cpp
|
|
libinput
|
|
];
|
|
|
|
makeFlags = [ "DESTDIR=$(out) PREFIX= PREFIX_ETC= ROOT_ETC=$(out)/etc"];
|
|
|
|
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;
|
|
mainProgram = "way-displays";
|
|
};
|
|
}
|