iio-hyprland: init at 0-unstable-2024-07-24

Yusuf b523a839 bafbee13

Changed files
+42
pkgs
by-name
ii
iio-hyprland
+42
pkgs/by-name/ii/iio-hyprland/package.nix
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitHub,
+
unstableGitUpdater,
+
meson,
+
cmake,
+
pkg-config,
+
dbus,
+
ninja,
+
}:
+
+
stdenv.mkDerivation {
+
pname = "iio-hyprland";
+
version = "0-unstable-2024-07-24";
+
+
src = fetchFromGitHub {
+
owner = "JeanSchoeller";
+
repo = "iio-hyprland";
+
rev = "bbf59e10cbf293e64b765864a324e971fcc06125";
+
hash = "sha256-9tB29tP3ZQ2tU2c+FrWrGqSm70ZrJP8H9WZKzHx55zI=";
+
};
+
+
buildInputs = [ dbus ];
+
nativeBuildInputs = [
+
meson
+
cmake
+
pkg-config
+
ninja
+
];
+
+
passthru.updateScript = unstableGitUpdater { };
+
+
meta = {
+
description = "Listens to iio-sensor-proxy and automatically changes Hyprland output orientation";
+
homepage = "https://github.com/JeanSchoeller/iio-hyprland/tree/master";
+
license = lib.licenses.gpl3Only;
+
maintainers = with lib.maintainers; [ yusuf-duran ];
+
platforms = lib.platforms.linux;
+
mainProgram = "iio-hyprland";
+
};
+
}