Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
32 lines
655 B
Nix
32 lines
655 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
, libX11
|
|
, libXfixes
|
|
, zig
|
|
}:
|
|
|
|
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.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 ];
|
|
mainProgram = "clipbuzz";
|
|
};
|
|
})
|