iio-niri: init at 1.2.1

This commit is contained in:
Zhaith Izaliel
2025-10-22 22:41:00 +02:00
parent 934a9ff265
commit 3fbc67c715
+37
View File
@@ -0,0 +1,37 @@
{
rustPlatform,
lib,
fetchFromGitHub,
dbus,
pkg-config,
}:
rustPlatform.buildRustPackage rec {
pname = "iio-niri";
version = "1.2.1";
src = fetchFromGitHub {
owner = "Zhaith-Izaliel";
repo = "iio-niri";
tag = "v${version}";
hash = "sha256-IOMJ1xtjUkUoUgFZ9pxBf5XKdaUHu3WbUH5TlEiNRc4=";
};
cargoHash = "sha256-b05Jy+EKFAUcHR9+SdjHZUcIZG0Ta+ar/qc0GdRlJik=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
];
meta = {
description = "Listen to iio-sensor-proxy and updates Niri output orientation depending on the accelerometer orientation";
homepage = "https://github.com/Zhaith-Izaliel/iio-niri";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ zhaithizaliel ];
mainProgram = "iio-niri";
platforms = lib.platforms.linux;
};
}