depot/third_party/nixpkgs/pkgs/tools/wayland/way-displays/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

44 lines
844 B
Nix

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