Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-07-08 00:02:35 +00:00 committed by GitHub
commit 6d9902baac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 767 additions and 603 deletions

View File

@ -2276,6 +2276,12 @@
fingerprint = "17C7 95D4 871C 2F87 83C8 053D 0C61 C4E5 907F 76C8";
}];
};
booniepepper = {
name = "J.R. Hill";
email = "justin@so.dang.cool";
github = "booniepepper";
githubId = 17605298;
};
bootstrap-prime = {
email = "bootstrap.prime@gmail.com";
github = "bootstrap-prime";
@ -6562,13 +6568,6 @@
githubId = 72349937;
name = "Hikari";
};
hiljusti = {
name = "J.R. Hill";
email = "hiljusti@so.dang.cool";
github = "hiljusti";
githubId = 17605298;
};
hirenashah = {
email = "hiren@hiren.io";
github = "hirenashah";

View File

@ -27,7 +27,7 @@ in
};
webhookUrl = mkOption {
type = types.string;
type = types.str;
default = "";
description = lib.mdDoc ''
WEBHOOK_URL for n8n, in case we're running behind a reverse proxy.
@ -53,7 +53,7 @@ in
N8N_USER_FOLDER = "/var/lib/n8n";
HOME = "/var/lib/n8n";
N8N_CONFIG_FILES = "${configFile}";
WEBHOOK_URL = "${webhookUrl}";
WEBHOOK_URL = "${cfg.webhookUrl}";
# Don't phone home
N8N_DIAGNOSTICS_ENABLED = "false";

View File

@ -1,28 +1,24 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.twingate;
in {
in
{
options.services.twingate = {
enable = mkEnableOption (lib.mdDoc "Twingate Client daemon");
enable = lib.mkEnableOption (lib.mdDoc "Twingate Client daemon");
package = lib.mkPackageOptionMD pkgs "twingate" { };
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.packages = [ cfg.package ];
systemd.services.twingate = {
preStart = "cp -r -n ${cfg.package}/etc/twingate/. /etc/twingate/";
wantedBy = [ "multi-user.target" ];
};
networking.firewall.checkReversePath = lib.mkDefault false;
networking.networkmanager.enable = true;
networking.firewall.checkReversePath = lib.mkDefault "loose";
services.resolved.enable = !(config.networking.networkmanager.enable);
environment.systemPackages = [ pkgs.twingate ]; # for the CLI
systemd.packages = [ pkgs.twingate ];
systemd.services.twingate.preStart = ''
cp -r -n ${pkgs.twingate}/etc/twingate/. /etc/twingate/
'';
systemd.services.twingate.wantedBy = [ "multi-user.target" ];
environment.systemPackages = [ cfg.package ]; # For the CLI.
};
}

View File

@ -168,13 +168,14 @@ in
systemd.packages = [ nixPackage ];
# Will only work once https://github.com/NixOS/nix/pull/6285 is merged
# systemd.tmpfiles.packages = [ nixPackage ];
# Can be dropped for Nix > https://github.com/NixOS/nix/pull/6285
systemd.tmpfiles.rules = [
"d /nix/var/nix/daemon-socket 0755 root root - -"
];
systemd.tmpfiles =
if (isNixAtLeast "2.8") then {
packages = [ nixPackage ];
} else {
rules = [
"d /nix/var/nix/daemon-socket 0755 root root - -"
];
};
systemd.sockets.nix-daemon.wantedBy = [ "sockets.target" ];

View File

@ -801,6 +801,7 @@ in {
tuptime = handleTest ./tuptime.nix {};
turbovnc-headless-server = handleTest ./turbovnc-headless-server.nix {};
tuxguitar = handleTest ./tuxguitar.nix {};
twingate = runTest ./twingate.nix;
ucarp = handleTest ./ucarp.nix {};
udisks2 = handleTest ./udisks2.nix {};
ulogd = handleTest ./ulogd.nix {};

View File

@ -1,6 +1,7 @@
import ./make-test-python.nix ({ lib, ... }:
let
port = 5678;
webhookUrl = "http://example.com";
in
{
name = "n8n";
@ -11,6 +12,7 @@ in
{
services.n8n = {
enable = true;
webhookUrl = webhookUrl;
};
};
@ -18,5 +20,6 @@ in
machine.wait_for_unit("n8n.service")
machine.wait_for_console_text("Editor is now accessible via")
machine.succeed("curl --fail -vvv http://localhost:${toString port}/")
machine.succeed("grep -qF ${webhookUrl} /etc/systemd/system/n8n.service")
'';
})

10
nixos/tests/twingate.nix Normal file
View File

@ -0,0 +1,10 @@
{
name = "twingate";
nodes.machine.services.twingate.enable = true;
testScript = { nodes, ... }: ''
machine.wait_for_unit("twingate.service")
machine.succeed("twingate --version | grep '${nodes.machine.services.twingate.package.version}' >&2")
'';
}

View File

@ -3,15 +3,15 @@
}:
let
pname = "josm";
version = "18746";
version = "18772";
srcs = {
jar = fetchurl {
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
hash = "sha256-TzRs7YPpCzsgGAeaW0px2aZsUJj8yqIpoUf7RIzAsZg=";
hash = "sha256-Jy8Z/uYmVKCr9Gq0pOmIG9jfTQekzlpkgQrTDZ+ALI0=";
};
macosx = fetchurl {
url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java17.zip";
hash = "sha256-4ZQ75KiQDmmswSHklnS1yX5sQ/MChYoU//i37VXh8Zo=";
hash = "sha256-E125YYwVzLzbPh0bbz/FzJO+JysjBhKfpLKmMRO9nJc=";
};
pkg = fetchsvn {
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";

View File

@ -25,6 +25,6 @@ rustPlatform.buildRustPackage rec {
description = "Organizing CLI for people who don't love organizing.";
homepage = "https://github.com/sigi-cli/sigi";
license = licenses.gpl2;
maintainers = with maintainers; [ hiljusti ];
maintainers = with maintainers; [ booniepepper ];
};
}

View File

@ -3,10 +3,10 @@
{
firefox = buildMozillaMach rec {
pname = "firefox";
version = "115.0";
version = "115.0.1";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "ed5d150e4dfdc01026beb3ae502a0b04321dd130084fdef63afce79a8a7a4898741d08f77716ba720c24f31b9c732c00ad0f1cd408b35b5eb6601a10014fb1a2";
sha512 = "4368b3fa4ad4eb65752ab706f19175758bfa202c51a4c31d6512ab8e4f19dfdd0bd6fb8d845990d3c0aaad0e96a5c86e4ef699149ba2630c7a3c7dc4a5bc509c";
};
meta = {
@ -29,11 +29,11 @@
firefox-beta = buildMozillaMach rec {
pname = "firefox-beta";
version = "115.0b9";
version = "116.0b2";
applicationName = "Mozilla Firefox Beta";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "26e030143c09daef8fcdde55ebd020828025694d354e5f1e51308275af07b4c44aef325bb74e5e289b89d469822b2380a4abf47103972f46f12dfd9ac8fad830";
sha512 = "108ff803704442cb0e7d1dd2044b17d96f5bc2ccca692d8603084afcf2805b1f4be33a2711136a80538c5b04cb1d719bd46528482e1591bb2eeda0d792727d57";
};
meta = {
@ -56,12 +56,12 @@
firefox-devedition = buildMozillaMach rec {
pname = "firefox-devedition";
version = "115.0b9";
version = "116.0b2";
applicationName = "Mozilla Firefox Developer Edition";
branding = "browser/branding/aurora";
src = fetchurl {
url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "8d2a0dc2c64f8fc846077165ea0c97cae04a85db9ffcd23fbf933b25f165ecd85727ba2f432842f2d2f41c5b5bef5eb4ae2536d8492888c334aba0dcec278c47";
sha512 = "8e186aa7d74b57341589a9737c779267874445ef38a7f32a9b9093694d411a3a2c38b723fb7c676bb69c666ad34c82230900fc690ecc306e9d59150622163bc2";
};
meta = {

View File

@ -31,13 +31,13 @@ let
in
stdenv.mkDerivation rec {
pname = "firewalld";
version = "1.3.3";
version = "2.0.0";
src = fetchFromGitHub {
owner = "firewalld";
repo = "firewalld";
rev = "v${version}";
sha256 = "sha256-PZ+ZaHRZsfW/VNXQXdr/a+UAGJeDUBytre5bH1WDSzY=";
sha256 = "sha256-seOokeFbjCuwUsB6MbrxaeTlPUzwNzkJPbByM9/oDDU=";
};
patches = [

View File

@ -1,9 +1,9 @@
{
"version" = "1.11.34";
"version" = "1.11.35";
"hashes" = {
"desktopSrcHash" = "rq8PdRP290MLBuw8h67Zw86Ee62l1VYGNW4Ph7XGVSQ=";
"desktopYarnHash" = "1ry6w9n91ma8s461rj32g11li0gpn8s65mrw2wkj8k0na52qpx57";
"webSrcHash" = "28GQiU8h72kD5w5QwOOPxX2Ti0Kv+GVBDDUQYtG0bZ8=";
"webYarnHash" = "1x7vlc0iqqw8jp6yha54lyk9wglpidm4p32wwgifc8vzqjr9a2ii";
"desktopSrcHash" = "8BP7PC0ZqE3d0K1AxmG05Xh3Ze1dAOcBVW9ADW4YAjY=";
"desktopYarnHash" = "1k8ih7z9hxm38kbvnfimd0djwqlrs62s8i0hc6d6ii10l3binkzp";
"webSrcHash" = "IM1M8iygeya8hw0uVjV4EK/jGG4UyQUTviYAvAjI7k4=";
"webYarnHash" = "0lr5cgs8nhdjrv43pcyhq4ysrz8bncx0j969j82l0chq3nzdml5b";
};
}

View File

@ -8,6 +8,7 @@
, udev
, cryptsetup
, stdenv
, nixosTests
}:
stdenv.mkDerivation rec {
@ -41,6 +42,8 @@ stdenv.mkDerivation rec {
mv usr/share $out/share
'';
passthru.tests = { inherit (nixosTests) twingate; };
meta = with lib; {
description = "Twingate Client";
homepage = "https://twingate.com";

View File

@ -7,6 +7,20 @@
*/
let versions = [
{
version = "13.3.0";
lang = "en";
language = "English";
sha256 = "sha256-24MC0O+kBUe3TrwXUb+7QZt8tQHvWVIT8F9B6Ih+4k8=";
installer = "Mathematica_13.3.0_LINUX.sh";
}
{
version = "13.3.0";
lang = "en";
language = "English";
sha256 = "sha256-91bw7+4ht+7g+eF32BNYf77yEQWyuPffisj4kB63pcI=";
installer = "Mathematica_13.3.0_BNDL_LINUX.sh";
}
{
version = "13.2.1";
lang = "en";

View File

@ -14,8 +14,15 @@
, flac
, fluidsynth
, freefont_ttf
, freetype
, fribidi
, gnutls
, libSM
, libXext
, libXinerama
, libXpm
, libXv
, libXvMC
, libarchive
, libass
, libbluray
@ -31,6 +38,7 @@
, libkate
, libmad
, libmatroska
, libmicrodns
, libmodplug
, libmtp
, liboggz
@ -56,6 +64,11 @@
, ncurses
, perl
, pkg-config
, protobuf
, qtbase
, qtsvg
, qtwayland
, qtx11extras
, removeReferencesTo
, samba
, schroedinger
@ -64,14 +77,19 @@
, systemd
, taglib
, unzip
, xorg
, wayland
, wayland-protocols
, wrapGAppsHook
, wrapQtAppsHook
, xcbutilkeysyms
, zlib
, chromecastSupport ? true, libmicrodns, protobuf
, chromecastSupport ? true
, jackSupport ? false
, onlyLibVLC ? false
, skins2Support ? !onlyLibVLC, freetype
, waylandSupport ? true, wayland, wayland-protocols
, withQt5 ? true, qtbase, qtsvg, qtwayland, qtx11extras, wrapQtAppsHook, wrapGAppsHook
, skins2Support ? !onlyLibVLC
, waylandSupport ? true
, withQt5 ? true
}:
# chromecastSupport requires TCP port 8010 to be open for it to work.
@ -81,15 +99,29 @@
let
inherit (lib) optionalString optional optionals;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "${optionalString onlyLibVLC "lib"}vlc";
version = "3.0.18";
src = fetchurl {
url = "http://get.videolan.org/vlc/${version}/vlc-${version}.tar.xz";
sha256 = "sha256-VwlEOcNl2KqLm0H6MIDMDu8r7+YCW7XO9yKszGJa7ew=";
url = "http://get.videolan.org/vlc/${finalAttrs.version}/vlc-${finalAttrs.version}.tar.xz";
hash = "sha256-VwlEOcNl2KqLm0H6MIDMDu8r7+YCW7XO9yKszGJa7ew=";
};
nativeBuildInputs = [
autoreconfHook
perl
pkg-config
removeReferencesTo
unzip
wrapGAppsHook
]
++ optionals withQt5 [ wrapQtAppsHook ]
++ optionals waylandSupport [
wayland
wayland-protocols
];
# VLC uses a *ton* of libraries for various pieces of functionality, many of
# which are not included here for no other reason that nobody has mentioned
# needing them
@ -106,6 +138,10 @@ stdenv.mkDerivation rec {
fluidsynth
fribidi
gnutls
libSM
libXpm
libXv
libXvMC
libarchive
libass
libbluray
@ -121,8 +157,8 @@ stdenv.mkDerivation rec {
libkate
libmad
libmatroska
libmtp
libmodplug
libmtp
liboggz
libopus
libplacebo
@ -149,46 +185,28 @@ stdenv.mkDerivation rec {
srt
systemd
taglib
xcbutilkeysyms
zlib
]
++ (with xorg; [
libSM
libXpm
libXv
libXvMC
xcbutilkeysyms
])
++ optional (!stdenv.hostPlatform.isAarch && !onlyLibVLC) live555
++ optional jackSupport libjack2
++ optionals chromecastSupport [ libmicrodns protobuf ]
++ optionals skins2Support (with xorg; [
++ optionals skins2Support [
freetype
libXext
libXinerama
libXpm
])
]
++ optionals waylandSupport [ wayland wayland-protocols ]
++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
++ optional (waylandSupport && withQt5) qtwayland;
nativeBuildInputs = [
autoreconfHook
perl
pkg-config
removeReferencesTo
unzip
wrapGAppsHook
]
++ optionals withQt5 [ wrapQtAppsHook ]
++ optionals waylandSupport [ wayland wayland-protocols ];
enableParallelBuilding = true;
LIVE555_PREFIX = if stdenv.hostPlatform.isAarch then null else live555;
# vlc depends on a c11-gcc wrapper script which we don't have so we need to
# set the path to the compiler
BUILDCC = "${stdenv.cc}/bin/gcc";
env = {
LIVE555_PREFIX = if stdenv.hostPlatform.isAarch then null else live555;
# vlc depends on a c11-gcc wrapper script which we don't have so we need to
# set the path to the compiler
BUILDCC = "${stdenv.cc}/bin/gcc";
};
patches = [
# patch to build with recent live555
@ -210,9 +228,9 @@ stdenv.mkDerivation rec {
/usr/share/fonts/truetype/freefont ${freefont_ttf}/share/fonts/truetype
'';
enableParallelBuilding = true;
# to prevent double wrapping of Qtwrap and Gwrap
dontWrapGApps = true;
dontWrapGApps = true; # to prevent double wrapping of Qtwrap and Gwrap
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
@ -259,11 +277,11 @@ stdenv.mkDerivation rec {
cp -R share/hrtfs $out/share/vlc
'';
meta = with lib; {
meta = {
description = "Cross-platform media player and streaming server";
homepage = "http://www.videolan.org/vlc/";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
}
})

View File

@ -1,6 +1,5 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, meson
, pkg-config
, ninja
@ -12,6 +11,8 @@
, wayland-scanner
, wayland-protocols
, libxkbcommon
, glm
, gbenchmark
, libcap
, SDL2
, pipewire
@ -32,13 +33,13 @@
}:
let
pname = "gamescope";
version = "3.11.52-beta6";
version = "3.12.0-beta9";
vkroots = fetchFromGitHub {
owner = "Joshua-Ashton";
repo = "vkroots";
rev = "26757103dde8133bab432d172b8841df6bb48155";
sha256 = "sha256-eet+FMRO2aBQJcCPOKNKGuQv5oDIrgdVPRO00c5gkL0=";
hash = "sha256-eet+FMRO2aBQJcCPOKNKGuQv5oDIrgdVPRO00c5gkL0=";
};
in
stdenv.mkDerivation {
@ -48,36 +49,11 @@ stdenv.mkDerivation {
owner = "ValveSoftware";
repo = "gamescope";
rev = "refs/tags/${version}";
hash = "sha256-2gn6VQfmwwl86mmnRh+J1uxSIpA5x/Papq578seJ3n8=";
hash = "sha256-nPFHMRp3uq2CIxY3EdaoTltqyb5z0kFwXw5U9ajbrfo=";
};
patches = [
./use-pkgconfig.patch
# https://github.com/Plagman/gamescope/pull/811
(fetchpatch {
name = "fix-openvr-dependency-name.patch";
url = "https://github.com/Plagman/gamescope/commit/557e56badec7d4c56263d3463ca9cdb195e368d7.patch";
sha256 = "sha256-9Y1tJ24EsdtZEOCEA30+FJBrdzXX+Nj3nTb5kgcPfBE=";
})
# https://github.com/Plagman/gamescope/pull/813
(fetchpatch {
name = "fix-openvr-include.patch";
url = "https://github.com/Plagman/gamescope/commit/1331b9f81ea4b3ae692a832ed85a464c3fd4c5e9.patch";
sha256 = "sha256-wDtFpM/nMcqSbIpR7K5Tyf0845r3l4kQHfwll1VL4Mc=";
})
# https://github.com/Plagman/gamescope/pull/812
(fetchpatch {
name = "bump-libdisplay-info-maximum-version.patch";
url = "https://github.com/Plagman/gamescope/commit/b430c5b9a05951755051fd4e41ce20496705fbbc.patch";
sha256 = "sha256-YHtwudMUHiE8i3ZbiC9gkSjrlS0/7ydjmJsY1a8ZI2E=";
})
# https://github.com/Plagman/gamescope/pull/824
(fetchpatch {
name = "update-libdisplay-info-pkgconfig-filename.patch";
url = "https://github.com/Plagman/gamescope/commit/5a672f09aa07c7c5d674789f3c685c8173e7a2cf.patch";
sha256 = "sha256-7NX54WIsJDvZT3C58N2FQasV9PJyKkJrLGYS1r4f+kc=";
})
];
strictDeps = true;
@ -117,6 +93,8 @@ stdenv.mkDerivation {
seatd
libinput
libxkbcommon
glm
gbenchmark
udev
pixman
pipewire

View File

@ -2,13 +2,13 @@
buildNpmPackage rec {
pname = "typescript";
version = "5.1.5";
version = "5.1.6";
src = fetchFromGitHub {
owner = "microsoft";
repo = "TypeScript";
rev = "v${version}";
hash = "sha256-HdDzkDhlaTDUNmAsWlLUHuGAIgXGcgZW4dZAweaXrL0=";
hash = "sha256-YBAAiO7MBJ41VK6A9zeExB7ZSbbrQ23sVTHAqo+/H/w=";
};
npmDepsHash = "sha256-RHiUhhkzkr2Ra3wc1d13gE2WIZL49w7IEFEAZuBDTDI=";

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "desktop-notifier";
version = "3.5.3";
version = "3.5.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "SamSchott";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-IA9LTsjO9se3Gx6Jm36m+tUxUHPjwmVCt9gAw1ZqDgg=";
hash = "sha256-rMbXGkI6nVgMPzD/vSbAjfouFb4sQkoBFrLxe7vlcDg=";
};
nativeBuildInputs = [
@ -29,7 +29,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [
packaging
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
] ++ lib.optionals stdenv.isLinux [
dbus-next

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, setuptools-scm
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pystardict";
version = "0.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "lig";
repo = "pystardict";
rev = version;
hash = "sha256-YrZpIhyxfA3G7rP0SJ+EvzGwAXlne80AYilkj6cIDnA=";
};
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = [ six ];
nativeBuildInputs = [ setuptools setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pystardict" ];
meta = with lib; {
description =
"Library for manipulating StarDict dictionaries from within Python";
homepage = "https://github.com/lig/pystardict";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ thornycrackers ];
};
}

View File

@ -20,11 +20,11 @@
buildPythonPackage rec {
pname = "python-ironicclient";
version = "5.2.0";
version = "5.3.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-bnWUfNIx85vSV0P5zcI7syjP0+wTXYDmC8wiuInjGfc=";
hash = "sha256-veDhwpSXPtoi27tKI6xebH4haAeq+sUsEEk9TxQSbg4=";
};
propagatedBuildInputs = [

View File

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "sqlmap";
version = "1.7.6";
version = "1.7.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-T2ei1cqDAeR+/sSifb0SvJaJX3sgcPcRzrmjgncQDRc=";
hash = "sha256-t9qKWEvNnYPDkNwo9oGdF2c7IfxDGLLOGpmLFqomPOU=";
};
postPatch = ''

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, gitUpdater
, jre
, makeWrapper
, mysqlSupport ? true
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-mIuHNNo/L5h2RvpTN0jZt6ri+Il0H9aSL4auOjIepjU=";
hash = "sha256-mIuHNNo/L5h2RvpTN0jZt6ri+Il0H9aSL4auOjIepjU=";
};
nativeBuildInputs = [ makeWrapper ];
@ -72,13 +73,22 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/liquibase
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/liquibase/liquibase";
rev-prefix = "v";
# The latest versions are in the 4.xx series. I am not sure where
# 10.10.10 and 5.0.0 came from, though it appears like they are
# for the commercial product.
ignoredVersions = "10.10.10|5.0.0|.*-beta.*";
};
meta = with lib; {
description = "Version Control for your database";
homepage = "https://www.liquibase.org/";
changelog = "https://raw.githubusercontent.com/liquibase/liquibase/v${version}/changelog.txt";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.asl20;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ jsoo1 ];
platforms = with platforms; unix;
};
}

View File

@ -11,23 +11,25 @@
buildGoModule rec {
pname = "dive";
version = "0.10.0";
version = "0.11.0";
src = fetchFromGitHub {
owner = "wagoodman";
repo = pname;
repo = "dive";
rev = "v${version}";
sha256 = "sha256-1pmw8pUlek5FlI1oAuvLSqDow7hw5rw86DRDZ7pFAmA=";
hash = "sha256-9REthyb+bzsb7NBXkU9XyUZJFQHHrV1cG4//lTLgTgw=";
};
patches = [
# fixes: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
# https://github.com/wagoodman/dive/pull/461
(fetchpatch {
url = "https://github.com/wagoodman/dive/commit/fe9411c414418d839a8638bb9a12ccfc892b5845.patch";
sha256 = "sha256-c0TcUQ87CeOiXHoTQ3z/04i72aDr403DL7fIbXTJ9cY=";
url = "https://github.com/wagoodman/dive/commit/555555d777f961ad0a2d1bb843e87f434d731dba.patch";
hash = "sha256-tPSgvENiVgrlQSkT7LbQPRYhkkaYQeWRJ0P4bA3XOiI=";
})
];
vendorSha256 = "sha256-YPkEei7d7mXP+5FhooNoMDARQLosH2fdSaLXGZ5C27o=";
vendorHash = "sha256-6KIbTrkvdugsUKdFBqtPUFzs/6h2xslLFpr6S2nSBiY=";
nativeBuildInputs = [ pkg-config ];
@ -39,6 +41,6 @@ buildGoModule rec {
description = "A tool for exploring each layer in a docker image";
homepage = "https://github.com/wagoodman/dive";
license = licenses.mit;
maintainers = with maintainers; [ marsam spacekookie SuperSandro2000 ];
maintainers = with maintainers; [ marsam SuperSandro2000 ];
};
}

View File

@ -1,36 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, binutils
, chrpath
, cmake
, cxxopts
, elfio
, termcolor
, gtest
, testers
, libtree
, runCommand
, coreutils
, dieHook
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libtree";
version = "3.1.0";
version = "3.1.1";
src = fetchFromGitHub {
owner = "haampie";
repo = "libtree";
rev = "v${version}";
sha256 = "sha256-C5QlQsBL9Als80Tv13ex2XS5Yj50Ht8eDfGYAtnh/HI=";
rev = "v${finalAttrs.version}";
hash = "sha256-q3JtQ9AxoP0ma9K96cC3gf6QmQ1FbS7T7I59qhkwbMk=";
};
buildInputs = [ cxxopts elfio termcolor ];
makeFlags = [ "PREFIX=$(out)" ];
# note: "make check" returns exit code 0 even when the tests fail.
# This has been reported upstream:
# https://github.com/haampie/libtree/issues/77
nativeCheckInputs = [ gtest ];
checkTarget = [ "check" ];
doCheck = true;
# Fails at https://github.com/haampie/libtree/blob/v3.1.1/tests/07_origin_is_relative_to_symlink_location_not_realpath/Makefile#L28
doCheck = false;
passthru.tests = {
version = testers.testVersion {
package = libtree;
command = "libtree --version";
version = finalAttrs.version;
};
checkCoreUtils = runCommand "${finalAttrs.pname}-ls-test" {
nativeBuildInputs = [ finalAttrs.finalPackage dieHook ];
} ''
libtree ${coreutils}/bin/ls > $out || die "libtree failed to show dependencies."
[ -s $out ]
'';
};
meta = with lib; {
description = "Tree ldd with an option to bundle dependencies into a single folder";
@ -39,4 +45,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ prusnak rardiol ];
};
}
})

View File

@ -1,19 +1,19 @@
{ lib, stdenv, fetchurl, ocaml, findlib
, lambda-term, cppo, makeWrapper, buildDunePackage
, zed, logs, lwt, react, lwt_react
, xdg, zed, logs, lwt, react, lwt_react
}:
buildDunePackage rec {
pname = "utop";
version = "2.12.1";
propagatedBuildInputs = [ findlib lambda-term zed logs ];
version = "2.13.0";
propagatedBuildInputs = [ findlib lambda-term xdg zed logs ];
minimalOCamlVersion = "4.08";
minimalOCamlVersion = "4.11";
src = fetchurl {
url = "https://github.com/ocaml-community/utop/releases/download/${version}/utop-${version}.tbz";
sha256 = "sha256-Z6S3pUE4RY5Q7keRUVSQuzkikewWgM+sRLgcR+8bIlM=";
sha256 = "sha256-iEUPIABsLRB4Gr6YQbrSpX5ymLXs8b4zu/Hq3r0Shtg=";
};
nativeBuildInputs = [ makeWrapper cppo ];
@ -65,7 +65,8 @@ buildDunePackage rec {
It integrates with the tuareg mode in Emacs.
'';
homepage = "https://github.com/diml/utop";
homepage = "https://github.com/ocaml-community/utop";
changelog = "https://github.com/ocaml-community/utop/blob/${version}/CHANGES.md";
license = lib.licenses.bsd3;
platforms = ocaml.meta.platforms or [];
maintainers = [

View File

@ -2,7 +2,7 @@
let
baseName = "scalafmt";
version = "3.7.5";
version = "3.7.7";
deps = stdenv.mkDerivation {
name = "${baseName}-deps-${version}";
buildCommand = ''
@ -12,7 +12,7 @@ let
cp $(< deps) $out/share/java/
'';
outputHashMode = "recursive";
outputHash = "sha256-5WNvA7pzOyH1WnAiBaRhk1S34Lba9wgCQg5JaOe8VXw=";
outputHash = "sha256-gNxtB4Rf31hMOdRsk11CxNg15QUzit20Iq0+0Ub/L0U=";
};
in
stdenv.mkDerivation {

View File

@ -34,19 +34,19 @@
stdenv.mkDerivation rec {
pname = "ddnet";
version = "17.0.3";
version = "17.1";
src = fetchFromGitHub {
owner = "ddnet";
repo = pname;
rev = version;
hash = "sha256-93zYa6Y5Da8ksaCbgRpePiehMHtcICs4hY6Ys+vUeHw=";
hash = "sha256-qhMb0PE08qHbjW3IuZvEDly84zh4FdjLAZnAi2Zu36w=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
name = "${pname}-${version}";
inherit src;
hash = "sha256-OeTINJVe/Ov3A4UmCC3QtCMj8e3vi+Qmai0DXJ3DpVU=";
hash = "sha256-aEFNiJi/kcBYET7r0jsQKUYdsm4yLymKeRzHx9fKGwg=";
};
nativeBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "homeassistant-stubs";
version = "2023.7.0";
version = "2023.7.1";
format = "pyproject";
disabled = python.version != home-assistant.python.version;
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "KapJI";
repo = "homeassistant-stubs";
rev = "refs/tags/${version}";
hash = "sha256-N/3Gja6WPNdRsWl4XYMo9skCTJiHFkhr9y+T0MFrUTc=";
hash = "sha256-RRfORjC1YC9z9oYY1GGCnWUlK1N0EaG89hlrMn8Qmh8=";
};
nativeBuildInputs = [

View File

@ -16,16 +16,16 @@
buildGoModule rec {
pname = "evcc";
version = "0.118.6";
version = "0.118.7";
src = fetchFromGitHub {
owner = "evcc-io";
repo = pname;
rev = version;
hash = "sha256-4AJTXLH17D4AMmNus341VHu9bHAkosOaA7DIw9gbYOM=";
hash = "sha256-1mE3PZDC3IikVvgHYK0RQ6gheGdZcwxwQRLo7f8h9F0=";
};
vendorHash = "sha256-SFs7Bua3/bgTcdzvSisTn3Xx+7jD84LrMdaUhDXp9VI=";
vendorHash = "sha256-1c+0EoTM/K0Bq0/eg4J/qNyslo7MP3VSwFgGn5DOWto=";
npmDeps = fetchNpmDeps {
inherit src;

View File

@ -6,13 +6,15 @@ let
};
variants = if stdenv.isLinux then
{
version = "5.0.7";
sha256 = "sha256-1PeDBZJNqJXHH/cSh2e+WR0PfS/b7XuJEzkkbrRT/gc=";
version = "5.0.18";
sha256 = "sha256-tvQkDBwXYRZbIuST49JJ5T9zzYe/4BQ8ul1vUGlXHxI=";
patches = [ ./fix-build-with-boost-1.79-5_0-linux.patch ];
}
else
else lib.optionalAttrs stdenv.isDarwin
{
version = "5.0.3"; # at least darwin has to stay on 5.0.3 until the SDK used by nixpkgs is bumped to 10.13
sha256 = "1p9pq0dfd6lynvnz5p1c8dqp4filzrz86j840xwxwx82dm1zl6p0";
patches = [ ./fix-build-with-boost-1.79-5_0.patch ]; # no darwin in name to prevent unnecessary rebuild
};
in
buildMongoDB {
@ -21,7 +23,6 @@ buildMongoDB {
patches = [
./forget-build-dependencies-4-4.patch
./asio-no-experimental-string-view-4-4.patch
./fix-build-with-boost-1.79-5_0.patch
./fix-gcc-Wno-exceptions-5.0.patch
];
] ++ variants.patches;
}

View File

@ -0,0 +1,90 @@
From fb846bdbd07cc3b8ada6179dccd974072c2b69da Mon Sep 17 00:00:00 2001
From: Et7f3 <cadeaudeelie@gmail.com>
Date: Tue, 19 Jul 2022 22:01:56 +0200
Subject: [PATCH] build: Upgrade boost to 1.79.0
We can see in src/third_party/boost/boost/version.hpp that vendored version of
boost is BOOST_LIB_VERSION "1_76"
We can also see the doc desbribe 2 headers to use filesystems lib: One is
src/third_party/boost/boost/filesystem/fstream.hpp that contains (175-177)
typedef basic_ifstream<char> ifstream;
typedef basic_ofstream<char> ofstream;
typedef basic_fstream<char> fstream;
So this mean they mostly forgot to include a header and include-what-you-use
would catch this error.
In upstream they fixed in a simmilar way
https://github.com/mongodb/mongo/commit/13389dc222fc372442be8c147e09685bb9a26a3a
---
src/mongo/db/storage/storage_repair_observer.cpp | 1 +
src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp | 1 +
src/mongo/shell/shell_utils_extended.cpp | 1 +
src/mongo/util/processinfo_linux.cpp | 1 +
src/mongo/util/stacktrace_threads.cpp | 1 +
5 files changed, 5 insertions(+)
diff --git a/src/mongo/db/storage/storage_repair_observer.cpp b/src/mongo/db/storage/storage_repair_observer.cpp
index 22b76a6a39c..453f48229cd 100644
--- a/src/mongo/db/storage/storage_repair_observer.cpp
+++ b/src/mongo/db/storage/storage_repair_observer.cpp
@@ -42,6 +42,7 @@
#endif
#include <boost/filesystem/path.hpp>
+#include <boost/filesystem/fstream.hpp>
#include "mongo/db/dbhelpers.h"
#include "mongo/db/operation_context.h"
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
index 2f032e4..d1a90e0 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
@@ -37,6 +37,7 @@
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
+#include <boost/filesystem/fstream.hpp>
#include <pcrecpp.h>
#include "mongo/base/simple_string_data_comparator.h"
diff --git a/src/mongo/shell/shell_utils_extended.cpp b/src/mongo/shell/shell_utils_extended.cpp
index fbdddc1318d..e37d4c93a11 100644
--- a/src/mongo/shell/shell_utils_extended.cpp
+++ b/src/mongo/shell/shell_utils_extended.cpp
@@ -37,6 +37,7 @@
#endif
#include <boost/filesystem.hpp>
+#include <boost/filesystem/fstream.hpp>
#include <fmt/format.h>
#include <fstream>
diff --git a/src/mongo/util/processinfo_linux.cpp b/src/mongo/util/processinfo_linux.cpp
index eae0e9b7764..d5cd40f6039 100644
--- a/src/mongo/util/processinfo_linux.cpp
+++ b/src/mongo/util/processinfo_linux.cpp
@@ -52,6 +52,7 @@
#endif
#include <boost/filesystem.hpp>
+#include <boost/filesystem/fstream.hpp>
#include <boost/none.hpp>
#include <boost/optional.hpp>
#include <fmt/format.h>
diff --git a/src/mongo/util/stacktrace_threads.cpp b/src/mongo/util/stacktrace_threads.cpp
index d2ee29d24b4..d485fa22367 100644
--- a/src/mongo/util/stacktrace_threads.cpp
+++ b/src/mongo/util/stacktrace_threads.cpp
@@ -36,6 +36,7 @@
#include <array>
#include <atomic>
#include <boost/filesystem.hpp>
+#include <boost/filesystem/fstream.hpp>
#include <cstdint>
#include <cstdlib>
#include <dirent.h>
--
2.32.1 (Apple Git-133)

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "findup";
version = "1.1";
version = "1.1.1";
src = fetchFromGitHub {
owner = "hiljusti";
owner = "booniepepper";
repo = pname;
rev = "v${version}";
sha256 = "sha256-fafMBC/ibCHgC3JwCNEh74Qw/yZ+KQF//z1e+OpeGus=";
sha256 = "sha256-Tpyiy5oJQ04lqVEOFshFC0+90VoNILQ+N6Dd7lbuH/Q=";
};
nativeBuildInputs = [ zig ];
@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
passthru.tests.version = testers.testVersion { package = findup; };
meta = with lib; {
homepage = "https://github.com/hiljusti/findup";
homepage = "https://github.com/booniepepper/findup";
description = "Search parent directories for sentinel files";
license = licenses.mit;
maintainers = with maintainers; [ hiljusti ];
maintainers = with maintainers; [ booniepepper ];
};
}

View File

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "vale";
version = "2.27.0";
version = "2.28.0";
subPackages = [ "cmd/vale" ];
outputs = [ "out" "data" ];
@ -11,7 +11,7 @@ buildGoModule rec {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
hash = "sha256-Dun2KmJy1E8NSOhZFBjdTCOldPhvRPLKmNSuPcdGfIw=";
hash = "sha256-AalZFc2GGIA7CV3+OGEmNZEQk0OUsbfQDq8d3Z708XU=";
};
vendorHash = "sha256-KB1mRWDYejc38tUv316MiGfmq2riNnpEMIUpjgfSasU=";

View File

@ -35592,19 +35592,10 @@ with pkgs;
vkeybd = callPackage ../applications/audio/vkeybd { };
vlc = libsForQt5.callPackage ../applications/video/vlc {
# Newest libcaca changed the API, and libvlc didn't catch it. Until next
# version arrives, it is safer to disable it.
# Upstream thread: https://code.videolan.org/videolan/vlc/-/issues/26389
libcaca = null;
};
vlc = libsForQt5.callPackage ../applications/video/vlc { };
libvlc = vlc.override {
withQt5 = false;
qtbase = null;
qtsvg = null;
qtx11extras = null;
wrapQtAppsHook = null;
onlyLibVLC = true;
};

View File

@ -9652,6 +9652,8 @@ self: super: with self; {
pystache = callPackage ../development/python-modules/pystache { };
pystardict = callPackage ../development/python-modules/pystardict { };
pystemd = callPackage ../development/python-modules/pystemd {
inherit (pkgs) systemd;
};