summary refs log tree commit diff
path: root/pkgs/tools/wayland/ydotool/default.nix
blob: 8d55233638ec7a56748cf890afa9441bd1ca04b2 (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
25
26
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, scdoc }:

stdenv.mkDerivation rec {
  pname = "ydotool";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "ReimuNotMoe";
    repo = "ydotool";
    rev = "v${version}";
    sha256 = "sha256-maXXGCqB8dkGO8956hsKSwM4HQdYn6z1jBFENQ9sKcA=";
  };

  nativeBuildInputs = [ cmake pkg-config ];
  buildInputs = [
    scdoc
  ];

  meta = with lib; {
    inherit (src.meta) homepage;
    description = "Generic Linux command-line automation tool";
    license = licenses.agpl3Plus;
    maintainers = with maintainers; [ willibutz kraem ];
    platforms = with platforms; linux;
  };
}