summary refs log tree commit diff
path: root/pkgs/tools/misc/rot8/default.nix
blob: 5747e72918a31c491d87900b2b5021882af3328a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "rot8";
  version = "0.1.5";

  src = fetchFromGitHub {
    owner = "efernau";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-i+VLVA/XKZiFPEeFHR3CpZKi8CWA/tiaZJerciqQHJ0=";
  };

  cargoHash = "sha256-Zz3RK79pMBn9JcpOVHf8vrvQzOJuV7anm136HcTBhJE=";

  meta = with lib; {
    description = "screen rotation daemon for X11 and sway";
    homepage = "https://github.com/efernau/rot8";
    license = licenses.mit;
    maintainers = [ maintainers.smona ];
    mainProgram = pname;
    platforms = platforms.linux;
  };
}