2023-09-03 21:58:23 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rot8";
|
2023-10-04 23:22:48 +00:00
|
|
|
version = "1.0.0";
|
2023-09-03 21:58:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "efernau";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-10-04 23:22:48 +00:00
|
|
|
hash = "sha256-dHx3vFY0ztyTIlzUi22TYphPD5hvgfHrWaaeoGxnvW0=";
|
2023-09-03 21:58:23 +00:00
|
|
|
};
|
|
|
|
|
2023-10-04 23:22:48 +00:00
|
|
|
cargoHash = "sha256-KDg6Ggnm6Cl/1fXqNcc7/jRFJ6KTLVGveJ6Fs3NLlHE=";
|
2023-09-03 21:58:23 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-10-04 23:22:48 +00:00
|
|
|
description = "screen rotation daemon for X11 and wlroots";
|
2023-09-03 21:58:23 +00:00
|
|
|
homepage = "https://github.com/efernau/rot8";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.smona ];
|
|
|
|
mainProgram = pname;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|