Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rot8";
9 version = "1.0.0";
10
11 src = fetchFromGitHub {
12 owner = "efernau";
13 repo = "rot8";
14 tag = "v${version}";
15 hash = "sha256-dHx3vFY0ztyTIlzUi22TYphPD5hvgfHrWaaeoGxnvW0=";
16 };
17
18 cargoHash = "sha256-MZz8IZDux9VEDDLQjkT96smNsygY1vYG2QBw3Q09hqw=";
19
20 meta = with lib; {
21 description = "Screen rotation daemon for X11 and wlroots";
22 homepage = "https://github.com/efernau/rot8";
23 license = licenses.mit;
24 maintainers = [ maintainers.smona ];
25 mainProgram = "rot8";
26 platforms = platforms.linux;
27 };
28}