nixpkgs-immich/pkgs/tools/misc/xdo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
691 B
Nix
Raw Permalink Normal View History

2024-09-17 10:23:40 -06:00
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm }:
stdenv.mkDerivation rec {
pname = "xdo";
version = "0.5.7";
src = fetchFromGitHub {
owner = "baskerville";
repo = "xdo";
rev = version;
sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9";
};
makeFlags = [ "PREFIX=$(out)" ];
buildInputs = [ libxcb xcbutilwm xcbutil ];
meta = with lib; {
description = "Small X utility to perform elementary actions on windows";
homepage = "https://github.com/baskerville/xdo";
maintainers = with maintainers; [ meisternu ];
license = licenses.bsd2;
platforms = platforms.linux;
mainProgram = "xdo";
};
}