depot/third_party/nixpkgs/pkgs/tools/wayland/way-displays/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

43 lines
809 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, wayland
, libinput
, yaml-cpp
}:
stdenv.mkDerivation rec {
pname = "way-displays";
version = "1.8.1";
src = fetchFromGitHub {
owner = "alex-courtis";
repo = "way-displays";
rev = version;
sha256 = "sha256-rR181sxaddtn3yFtF1exSGPBU0Yp3VBRyucfuxyXI+Q=";
};
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;
};
}