forked from mirrors/nixpkgs
99abca2c66
* way-displays 1.5.3 -> 1.6.0 * fix: sha256 Co-authored-by: Simone Ruffini <simone.ruffini@tutanota.com>
44 lines
818 B
Nix
44 lines
818 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, wayland
|
|
, libinput
|
|
, libyamlcpp
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "way-displays";
|
|
version = "1.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alex-courtis";
|
|
repo = "way-displays";
|
|
rev = "${version}";
|
|
sha256 = "sha256-wrfRSJaVz0GjYxuIDvJ+16aaz+kRTtv0q5jN2IG4Uco=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wayland
|
|
];
|
|
|
|
buildInputs = [
|
|
wayland
|
|
libyamlcpp
|
|
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;
|
|
};
|
|
}
|