mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
Merge staging-next-23.11 into staging-23.11
This commit is contained in:
@@ -172,6 +172,10 @@ in {
|
||||
primary.wait_for_unit("knot.service")
|
||||
secondary.wait_for_unit("knot.service")
|
||||
|
||||
for zone in ("example.com.", "sub.example.com."):
|
||||
secondary.wait_until_succeeds(
|
||||
f"knotc zone-status {zone} | grep -q 'serial: 2019031302'"
|
||||
)
|
||||
|
||||
def test(host, query_type, query, pattern):
|
||||
out = client.succeed(f"khost -t {query_type} {query} {host}").strip()
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"version" = "1.11.65";
|
||||
"version" = "1.11.66";
|
||||
"hashes" = {
|
||||
"desktopSrcHash" = "sha256-aRlTM8j+lMB97QsmRlcvSZqLJ/2vmQIz1viTIoycmYA=";
|
||||
"desktopYarnHash" = "08scs091k0i6lwfpw0id4jxmmdix0jxvnm9fyjwzrsrzh6q6899y";
|
||||
"webSrcHash" = "sha256-aE7pmqLOa9aCaSaSOpX2NqcY0OKBjL5mZbKModbKxZg=";
|
||||
"webYarnHash" = "1b9q8v5jz6w2vvfkgq8nzajzs798ja2ff3wjv6d5m7sri8il7f0s";
|
||||
"desktopSrcHash" = "sha256-QrFk6NIHvWgQuJz33CEU6rwmgtGZ9w3L9vqj/rdCkE8=";
|
||||
"desktopYarnHash" = "1kin5z6cjgsljdhh5f4fq2782ld86pza6hz58rq1zwbd187nzbwz";
|
||||
"webSrcHash" = "sha256-xWaK2tHsuZmiwp7HExX83zKL8Z0ScRCEOnfxePWk2KI=";
|
||||
"webYarnHash" = "1ykjpsg4d4kykd6w7c0yjyg8ljpc9czzwjx7ab27i84ys6pknx3q";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
, qtwebengine
|
||||
, qtx11extras
|
||||
, qtquickcontrols2
|
||||
, qtgraphicaleffects
|
||||
, getconf
|
||||
, glibc
|
||||
, libXrandr
|
||||
@@ -51,7 +52,7 @@ mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ];
|
||||
buildInputs = [ qtbase qtwebengine qtx11extras qtquickcontrols2 icu63 ];
|
||||
buildInputs = [ qtbase qtwebengine qtx11extras qtquickcontrols2 qtgraphicaleffects icu63 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/teamviewer $out/bin $out/share/applications
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
, vala
|
||||
, wrapGAppsHook
|
||||
, glib
|
||||
, glib-networking
|
||||
, gtk3
|
||||
, json-glib
|
||||
, libappindicator
|
||||
@@ -42,6 +43,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
glib-networking # see #311066
|
||||
gtk3
|
||||
json-glib
|
||||
libappindicator
|
||||
|
||||
75
pkgs/by-name/bt/btrfs-auto-snapshot/package.nix
Normal file
75
pkgs/by-name/bt/btrfs-auto-snapshot/package.nix
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
coreutils,
|
||||
getopt,
|
||||
gnugrep,
|
||||
gnused,
|
||||
gawk,
|
||||
btrfs-progs,
|
||||
syslogSupport ? true,
|
||||
util-linux ? null,
|
||||
}:
|
||||
assert syslogSupport -> util-linux != null;
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.4";
|
||||
pname = "btrfs-auto-snapshot";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hunleyd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QpuwkGaYAkpu5hYyb360Mr5tHsZc2LzMlKtpS8CyyhI=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 btrfs-auto-snapshot $out/bin/btrfs-auto-snapshot
|
||||
'';
|
||||
|
||||
wrapperPath =
|
||||
with lib;
|
||||
makeBinPath (
|
||||
[
|
||||
coreutils
|
||||
getopt
|
||||
gnugrep
|
||||
gnused
|
||||
gawk
|
||||
btrfs-progs
|
||||
]
|
||||
++ optional syslogSupport util-linux
|
||||
);
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/btrfs-auto-snapshot \
|
||||
--prefix PATH : "${wrapperPath}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "BTRFS Automatic Snapshot Service for Linux";
|
||||
homepage = "https://github.com/hunleyd/btrfs-auto-snapshot";
|
||||
license = licenses.gpl2;
|
||||
mainProgram = "btrfs-auto-snapshot";
|
||||
maintainers = with maintainers; [ motiejus ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
longDescription = ''
|
||||
btrfs-auto-snapshot is a Bash script designed to bring as much of the
|
||||
functionality of the wonderful ZFS snapshot tool zfs-auto-snapshot to
|
||||
BTRFS as possible. Designed to run from cron (using
|
||||
/etc/cron.{daily,hourly,weekly}) it automatically creates a snapshot of
|
||||
the specified BTRFS filesystem (or, optionally, all of them) and then
|
||||
automatically purges the oldest snapshots of that type (hourly, daily, et
|
||||
al) based on a user-defined retention policy.
|
||||
|
||||
Snapshots are stored in a '.btrfs' directory at the root of the BTRFS
|
||||
filesystem being snapped and are read-only by default.
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -10,9 +10,12 @@
|
||||
, libglvnd
|
||||
, libxkbcommon
|
||||
, vulkan-loader
|
||||
, wayland
|
||||
, xdg-utils
|
||||
, xorg
|
||||
, zlib
|
||||
, makeWrapper
|
||||
, waylandSupport ? false
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -35,7 +38,7 @@ linux = stdenv.mkDerivation (finalAttrs: {
|
||||
--replace /opt/ $out/opt/
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook zstd ];
|
||||
nativeBuildInputs = [ autoPatchelfHook zstd makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
@@ -54,7 +57,7 @@ linux = stdenv.mkDerivation (finalAttrs: {
|
||||
xorg.libxcb
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
];
|
||||
] ++ lib.optionals waylandSupport [wayland];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@@ -62,6 +65,9 @@ linux = stdenv.mkDerivation (finalAttrs: {
|
||||
mkdir $out
|
||||
cp -r opt usr/* $out
|
||||
|
||||
'' + lib.optionalString waylandSupport ''
|
||||
wrapProgram $out/bin/warp-terminal --set WARP_ENABLE_WAYLAND 1
|
||||
'' + ''
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
@@ -93,7 +99,7 @@ meta = with lib; {
|
||||
homepage = "https://www.warp.dev";
|
||||
license = licenses.unfree;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with maintainers; [ emilytrau Enzime imadnyc ];
|
||||
maintainers = with maintainers; [ emilytrau Enzime imadnyc donteatoreo ];
|
||||
platforms = platforms.darwin ++ [ "x86_64-linux" ];
|
||||
};
|
||||
|
||||
|
||||
@@ -25,16 +25,16 @@ let
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "fzf";
|
||||
version = "0.45.0";
|
||||
version = "0.46.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-oOAXV3TZ/E2b+P1sUy/oblSBkOF8VN1di7a7dWPmCbo=";
|
||||
hash = "sha256-Lcqe1eVQXOLJWsxsUK0dzZHAA3c1Wps07HFvlaflN5Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-w/7Ds31mW1jnjkKVeaH81bLhasxNyy/SWeww20KhBrs=";
|
||||
vendorHash = "sha256-3InzP299GJUizNWyPNpg9+pGA88ggnky56bGV5E+7ck=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user