mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
4c704748b3
This upgrades the default version of zig to zig_0_12, which builds reproducibly on darwin. Fixes #299091. Also upgrades all packages compatible with zig 0.12 to that version. I tried to upgrade packages currently pinning 0.11 as well, but only a few worked. Co-authored-by: Weijia Wang (wegank) <contact@weijia.wang>
33 lines
655 B
Nix
33 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";
|
|
};
|
|
})
|