2023-09-03 16:58:23 -05:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rot8";
|
2023-10-04 18:22:48 -05:00
|
|
|
version = "1.0.0";
|
2023-09-03 16:58:23 -05:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "efernau";
|
2025-03-07 01:06:27 +01:00
|
|
|
repo = "rot8";
|
2025-01-03 21:24:13 +01:00
|
|
|
tag = "v${version}";
|
2023-10-04 18:22:48 -05:00
|
|
|
hash = "sha256-dHx3vFY0ztyTIlzUi22TYphPD5hvgfHrWaaeoGxnvW0=";
|
2023-09-03 16:58:23 -05:00
|
|
|
};
|
|
|
|
|
2025-01-23 08:45:31 +01:00
|
|
|
cargoHash = "sha256-MZz8IZDux9VEDDLQjkT96smNsygY1vYG2QBw3Q09hqw=";
|
2023-09-03 16:58:23 -05:00
|
|
|
|
|
|
|
meta = with lib; {
|
2025-07-23 04:23:40 +00:00
|
|
|
description = "Screen rotation daemon for X11 and wlroots";
|
2023-09-03 16:58:23 -05:00
|
|
|
homepage = "https://github.com/efernau/rot8";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.smona ];
|
2023-12-20 03:45:17 +01:00
|
|
|
mainProgram = "rot8";
|
2023-09-03 16:58:23 -05:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|