2023-08-10 07:59:29 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-08-22 20:05:09 +00:00
|
|
|
, fetchzip
|
2023-08-10 07:59:29 +00:00
|
|
|
, libX11
|
|
|
|
, libXfixes
|
2024-05-15 15:35:15 +00:00
|
|
|
, zig
|
2023-08-10 07:59:29 +00:00
|
|
|
}:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-06-28 23:13:55 +00:00
|
|
|
pname = "clipbuzz";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "2.0.1";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://trong.loang.net/~cnx/clipbuzz/snapshot/clipbuzz-${finalAttrs.version}.tar.gz";
|
|
|
|
hash = "sha256-2//IwthAjGyVSZaXjgpM1pUJGYWZVkrJ6JyrVbzOtr8=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ zig.hook ];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXfixes
|
|
|
|
];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
meta = {
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "Buzz on new X11 clipboard events";
|
2023-08-22 20:05:09 +00:00
|
|
|
homepage = "https://trong.loang.net/~cnx/clipbuzz";
|
2023-08-10 07:59:29 +00:00
|
|
|
license = lib.licenses.unlicense;
|
|
|
|
maintainers = [ lib.maintainers.McSinyx ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "clipbuzz";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
2023-08-10 07:59:29 +00:00
|
|
|
})
|