about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/clipbuzz/default.nix
blob: 7bece66a786de2d01f8ad9d6fa28a8821e77a08e (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
27
28
29
30
31
{ lib
, stdenv
, fetchzip
, libX11
, libXfixes
, zig_0_11
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "clipbuzz";
  version = "2.0.1";

  src = fetchzip {
    url = "https://trong.loang.net/~cnx/clipbuzz/snapshot/clipbuzz-${finalAttrs.version}.tar.gz";
    hash = "sha256-2//IwthAjGyVSZaXjgpM1pUJGYWZVkrJ6JyrVbzOtr8=";
  };

  nativeBuildInputs = [ zig_0_11.hook ];

  buildInputs = [
    libX11
    libXfixes
  ];

  meta =  {
    description = "Buzz on new X11 clipboard events";
    homepage = "https://trong.loang.net/~cnx/clipbuzz";
    license = lib.licenses.unlicense;
    maintainers = [ lib.maintainers.McSinyx ];
  };
})