diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8eac070f26c1..dddc6290d4a2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8083,6 +8083,12 @@ githubId = 1711539; name = "matklad"; }; + matrss = { + name = "Matthias Riße"; + email = "matthias.risze@t-online.de"; + github = "matrss"; + githubId = 9308656; + }; matt-snider = { email = "matt.snider@protonmail.com"; github = "matt-snider"; diff --git a/nixos/modules/programs/noisetorch.nix b/nixos/modules/programs/noisetorch.nix index c69b2581296f..d5e004da73eb 100644 --- a/nixos/modules/programs/noisetorch.nix +++ b/nixos/modules/programs/noisetorch.nix @@ -3,7 +3,8 @@ with lib; let cfg = config.programs.noisetorch; -in { +in +{ options.programs.noisetorch = { enable = mkEnableOption "noisetorch + setcap wrapper"; @@ -24,5 +25,6 @@ in { capabilities = "cap_sys_resource=+ep"; source = "${cfg.package}/bin/noisetorch"; }; + environment.systemPackages = [ cfg.package ]; }; } diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix index 7f81ca1c69b8..e8677f7e1e97 100644 --- a/nixos/release-combined.nix +++ b/nixos/release-combined.nix @@ -43,7 +43,7 @@ in rec { name = "nixos-${nixos.channel.version}"; meta = { description = "Release-critical builds for the NixOS channel"; - maintainers = with pkgs.lib.maintainers; [ eelco fpletz ]; + maintainers = with pkgs.lib.maintainers; [ eelco ]; }; constituents = pkgs.lib.concatLists [ [ "nixos.channel" ] diff --git a/nixos/tests/couchdb.nix b/nixos/tests/couchdb.nix index 453f5dcd66e8..b57072d6be2d 100644 --- a/nixos/tests/couchdb.nix +++ b/nixos/tests/couchdb.nix @@ -20,7 +20,7 @@ with lib; { name = "couchdb"; meta = with pkgs.lib.maintainers; { - maintainers = [ fpletz ]; + maintainers = [ ]; }; nodes = { diff --git a/nixos/tests/privacyidea.nix b/nixos/tests/privacyidea.nix index fb072514dd90..401ad72c37b7 100644 --- a/nixos/tests/privacyidea.nix +++ b/nixos/tests/privacyidea.nix @@ -3,7 +3,7 @@ import ./make-test-python.nix ({ pkgs, ...} : rec { name = "privacyidea"; meta = with pkgs.lib.maintainers; { - maintainers = [ fpletz ]; + maintainers = [ ]; }; nodes.machine = { ... }: { diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix index 8b1acc9d0bcb..ce12b239e5ac 100644 --- a/pkgs/applications/audio/mixxx/default.nix +++ b/pkgs/applications/audio/mixxx/default.nix @@ -53,13 +53,13 @@ mkDerivation rec { pname = "mixxx"; - version = "2.3.2"; + version = "2.3.3"; src = fetchFromGitHub { owner = "mixxxdj"; repo = "mixxx"; rev = version; - sha256 = "sha256-EnOO5OGcaIITqfF9gpGktarzYOx128C1M2VmYNzdRsA="; + sha256 = "sha256-NRtrEobdJMFgDXrEeb2t1zeVN8pQP7+pda2DSU/yNX8="; }; nativeBuildInputs = [ cmake pkg-config ]; @@ -117,7 +117,7 @@ mkDerivation rec { # mixxx installs udev rules to DATADIR instead of SYSCONFDIR # let's disable this and install udev rules manually via postInstall - # see https://github.com/mixxxdj/mixxx/blob/2.3.2/CMakeLists.txt#L1381-L1392 + # see https://github.com/mixxxdj/mixxx/blob/2.3.3/CMakeLists.txt#L1381-L1392 cmakeFlags = [ "-DINSTALL_USER_UDEV_RULES=OFF" ]; diff --git a/pkgs/applications/blockchains/masari/default.nix b/pkgs/applications/blockchains/masari/default.nix index bf995da36afa..175cd7a31bd8 100644 --- a/pkgs/applications/blockchains/masari/default.nix +++ b/pkgs/applications/blockchains/masari/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { description = "scalability-focused, untraceable, secure, and fungible cryptocurrency using the RingCT protocol"; homepage = "https://www.getmasari.org/"; license = licenses.bsd3; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/blockchains/sumokoin/default.nix b/pkgs/applications/blockchains/sumokoin/default.nix index ee817b581953..8a193d906ece 100644 --- a/pkgs/applications/blockchains/sumokoin/default.nix +++ b/pkgs/applications/blockchains/sumokoin/default.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { description = "A fork of Monero and a truely fungible cryptocurrency"; homepage = "https://www.sumokoin.org/"; license = licenses.bsd3; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/graphics/pika/default.nix b/pkgs/applications/graphics/pika/default.nix new file mode 100644 index 000000000000..b9cbf142a21f --- /dev/null +++ b/pkgs/applications/graphics/pika/default.nix @@ -0,0 +1,32 @@ +{ lib +, fetchurl +, stdenv +, undmg +}: + +stdenv.mkDerivation rec { + pname = "pika"; + version = "0.0.12"; + + src = fetchurl { + url = "https://github.com/superhighfives/${pname}/releases/download/${version}/Pika-${version}.dmg"; + sha256 = "sha256-hcP2bETEx9RQW43I9nvdRPi9lbWwKW6mhRx5H6RxhjM="; + }; + + nativeBuildInputs = [ undmg ]; + + sourceRoot = "Pika.app"; + + installPhase = '' + mkdir -p "$out/Applications/Pika.app" + cp -R . "$out/Applications/Pika.app" + ''; + + meta = with lib; { + homepage = "https://superhighfives.com/pika"; + description = "An open-source colour picker app for macOS"; + platforms = platforms.darwin; + license = licenses.mit; + maintainers = with maintainers; [ arkivm ]; + }; +} diff --git a/pkgs/applications/misc/gpsprune/default.nix b/pkgs/applications/misc/gpsprune/default.nix index da5c8574ad05..4c917ce9050b 100644 --- a/pkgs/applications/misc/gpsprune/default.nix +++ b/pkgs/applications/misc/gpsprune/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "gpsprune"; - version = "21.2"; + version = "21.3"; src = fetchurl { url = "https://activityworkshop.net/software/gpsprune/gpsprune_${version}.jar"; - sha256 = "sha256-QgbLbpqlC2sITbPK4ZcaovmycwhWtnu06x8F0grpECc="; + sha256 = "sha256-0uPCMMWixw1dZeG12kvFO4FTp8qrOsLyLTKtGSVJxuw="; }; dontUnpack = true; diff --git a/pkgs/applications/misc/kanboard/default.nix b/pkgs/applications/misc/kanboard/default.nix index 26500ead5a23..49e8688cb59c 100644 --- a/pkgs/applications/misc/kanboard/default.nix +++ b/pkgs/applications/misc/kanboard/default.nix @@ -22,6 +22,6 @@ stdenv.mkDerivation rec { description = "Kanban project management software"; homepage = "https://kanboard.net"; license = licenses.mit; - maintainers = with maintainers; [ fpletz lheckemann ]; + maintainers = with maintainers; [ lheckemann ]; }; } diff --git a/pkgs/applications/misc/nwg-panel/default.nix b/pkgs/applications/misc/nwg-panel/default.nix index 488f5cd997d0..c9765b1e1b44 100644 --- a/pkgs/applications/misc/nwg-panel/default.nix +++ b/pkgs/applications/misc/nwg-panel/default.nix @@ -9,17 +9,18 @@ , light # light , pamixer # pamixer , pulseaudio # pactl +, libdbusmenu-gtk3 # tray }: python3Packages.buildPythonApplication rec { pname = "nwg-panel"; - version = "0.5.7"; + version = "0.7.2"; src = fetchFromGitHub { owner = "nwg-piotr"; repo = "nwg-panel"; rev = "v${version}"; - sha256 = "1d3qh42cwayb5d9ymhfs2vrbg5x5x6x73hw77m3xb9y4vyhji85x"; + sha256 = "sha256-kQow8jBHxMTgtTaOvq8uT5YjWxml+GoYaoUH3hMQN8g="; }; # No tests @@ -31,7 +32,10 @@ python3Packages.buildPythonApplication rec { buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango ]; nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; - propagatedBuildInputs = with python3Packages; [ i3ipc netifaces psutil pybluez pygobject3 ]; + propagatedBuildInputs = (with python3Packages; + [ i3ipc netifaces psutil pybluez pygobject3 requests dasbus setuptools ]) + # Run-time GTK dependency required by the Tray module + ++ [ libdbusmenu-gtk3 ]; postInstall = '' mkdir -p $out/share/{applications,pixmaps} diff --git a/pkgs/applications/misc/usql/default.nix b/pkgs/applications/misc/usql/default.nix index eec7bee309b1..064c20fca338 100644 --- a/pkgs/applications/misc/usql/default.nix +++ b/pkgs/applications/misc/usql/default.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "usql"; - version = "0.9.3"; + version = "0.11.12"; src = fetchFromGitHub { owner = "xo"; repo = "usql"; rev = "v${version}"; - sha256 = "sha256-NHeJSWrcX4hYBJpZu/UjQ1ZWfcUnWFCV0Meo+XveDOw="; + sha256 = "sha256-0uXcCwMIhr+8snH3HqQ+ZXtTrYD6ufCTVaZPi1+RwUw="; }; - vendorSha256 = "sha256-EsLLBhyOcupx5LrJyWWMu4RAGWDKo3keflyZOASKldE="; + vendorSha256 = "sha256-9XyG0Fu3idxGG01MoBr5BMoQSz+dyZFEXRNvvb+XWjA="; buildInputs = [ unixODBC icu ]; diff --git a/pkgs/applications/misc/xmr-stak/default.nix b/pkgs/applications/misc/xmr-stak/default.nix index 3dbf4467a3a8..73d111979f33 100644 --- a/pkgs/applications/misc/xmr-stak/default.nix +++ b/pkgs/applications/misc/xmr-stak/default.nix @@ -35,6 +35,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/fireice-uk/xmr-stak"; license = licenses.gpl3Plus; platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ fpletz bfortz ]; + maintainers = with maintainers; [ bfortz ]; }; } diff --git a/pkgs/applications/misc/xmrig/default.nix b/pkgs/applications/misc/xmrig/default.nix index 0ba3fb834203..cf16c8e17fca 100644 --- a/pkgs/applications/misc/xmrig/default.nix +++ b/pkgs/applications/misc/xmrig/default.nix @@ -33,6 +33,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/xmrig/xmrig"; license = licenses.gpl3Plus; platforms = [ "x86_64-linux" "x86_64-darwin" ]; - maintainers = with maintainers; [ fpletz kim0 ]; + maintainers = with maintainers; [ kim0 ]; }; } diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.json b/pkgs/applications/networking/browsers/chromium/upstream-info.json index c4a012458b21..ee93c051b623 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.json +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.json @@ -19,9 +19,9 @@ } }, "beta": { - "version": "104.0.5112.65", - "sha256": "03adyhinhmih54rsv23w0cm86ldyfsxlmqhgk36vhgylgdras81v", - "sha256bin64": "17rck7zvyxmlhmi4x27xhlrn6sznx75cbidhbw7bxk3z9x7qybfy", + "version": "104.0.5112.79", + "sha256": "1wxb3nl080wgg1g61g3pgzz3gaawg442iv8pxqhnayacm3qn5ilw", + "sha256bin64": "1vagpsnjrdjcisgg7i56l3zcgvb5sg4pkaq5li500vmgcjin8irq", "deps": { "gn": { "version": "2022-06-08", @@ -32,9 +32,9 @@ } }, "dev": { - "version": "105.0.5195.10", - "sha256": "12spa7b8iy1ipj6f2rs6kdv6r986zdjmdkng5gk1ki1qli80gv2x", - "sha256bin64": "146qxhzhlmd5hvp2g1nrfk7hjdxjlrafwa1gl4msjgrdrfz3bdql", + "version": "105.0.5195.19", + "sha256": "08wap1v2qjx8nzd8sbiv24vx0vdc2dhlzrlv3g4zpm2qj7l4mki7", + "sha256bin64": "1alj49ysqdr5w1q42ww36kxfx60df2z5jxj39lza4vxm9b8r6ij2", "deps": { "gn": { "version": "2022-07-11", diff --git a/pkgs/applications/networking/cluster/minikube/default.nix b/pkgs/applications/networking/cluster/minikube/default.nix index 11a06f5775e0..605160e3d5ed 100644 --- a/pkgs/applications/networking/cluster/minikube/default.nix +++ b/pkgs/applications/networking/cluster/minikube/default.nix @@ -12,9 +12,9 @@ buildGoModule rec { pname = "minikube"; - version = "1.26.0"; + version = "1.26.1"; - vendorSha256 = "sha256-3ME8bs4TAQRAECko7+ZXBCFf4IyTn1P/+hParpc5QTU="; + vendorSha256 = "sha256-aw2B5wdhEQiTDp/BpJdXzY3XBm3eXlSQt83j4RHhMg0="; doCheck = false; @@ -22,7 +22,7 @@ buildGoModule rec { owner = "kubernetes"; repo = "minikube"; rev = "v${version}"; - sha256 = "sha256-vGlW65jf3XGFNK9aSvsK7V0OmUOCtgJcWeNFOZVuH00="; + sha256 = "sha256-08q/IdQEq1/KaIBN6ss8r1KbjSjZnhOW/BeaJ8BuYZM="; }; nativeBuildInputs = [ installShellFiles pkg-config which makeWrapper ]; diff --git a/pkgs/applications/networking/cluster/minishift/default.nix b/pkgs/applications/networking/cluster/minishift/default.nix index 488d0c4327a2..bee4d4785293 100644 --- a/pkgs/applications/networking/cluster/minishift/default.nix +++ b/pkgs/applications/networking/cluster/minishift/default.nix @@ -59,7 +59,7 @@ in buildGoPackage rec { or develop with it, day-to-day, on your local host. ''; homepage = "https://github.com/minishift/minishift"; - maintainers = with maintainers; [ fpletz vdemeester ]; + maintainers = with maintainers; [ vdemeester ]; platforms = platforms.linux; license = licenses.asl20; }; diff --git a/pkgs/applications/networking/errbot/default.nix b/pkgs/applications/networking/errbot/default.nix index d9f02941b43c..032238d399d1 100644 --- a/pkgs/applications/networking/errbot/default.nix +++ b/pkgs/applications/networking/errbot/default.nix @@ -63,7 +63,7 @@ in python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Chatbot designed to be simple to extend with plugins written in Python"; homepage = "http://errbot.io/"; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ globin ]; license = licenses.gpl3Plus; platforms = platforms.linux; # flaky on darwin, "RuntimeError: can't start new thread" diff --git a/pkgs/applications/networking/opsdroid/default.nix b/pkgs/applications/networking/opsdroid/default.nix index 2b3cbce2cb4e..3ba4f6ac57f3 100644 --- a/pkgs/applications/networking/opsdroid/default.nix +++ b/pkgs/applications/networking/opsdroid/default.nix @@ -29,7 +29,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { description = "An open source chat-ops bot framework"; homepage = "https://opsdroid.dev"; - maintainers = with maintainers; [ fpletz globin willibutz ]; + maintainers = with maintainers; [ globin willibutz ]; license = licenses.asl20; platforms = platforms.unix; }; diff --git a/pkgs/applications/networking/remote/remmina/default.nix b/pkgs/applications/networking/remote/remmina/default.nix index 9721c6b9ba43..20496f38e868 100644 --- a/pkgs/applications/networking/remote/remmina/default.nix +++ b/pkgs/applications/networking/remote/remmina/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchFromGitLab, cmake, ninja, pkg-config, wrapGAppsHook -, glib, gtk3, gettext, libxkbfile, libX11 +, glib, gtk3, gettext, libxkbfile, libX11, python3 , freerdp, libssh, libgcrypt, gnutls, vte , pcre2, libdbusmenu-gtk3, libappindicator-gtk3 , libvncserver, libpthreadstubs, libXdmcp, libxkbcommon @@ -15,13 +15,13 @@ with lib; stdenv.mkDerivation rec { pname = "remmina"; - version = "1.4.25"; + version = "1.4.27"; src = fetchFromGitLab { owner = "Remmina"; repo = "Remmina"; rev = "v${version}"; - sha256 = "sha256-1val/KCClEtw1prVWuXJe8DmmQ7e7oqwAfAnT9G9iHI="; + sha256 = "sha256-WIppHK4ucvKqgXB8VPy9ldbw22ZuDaEn1gNaLpyb4jA="; }; nativeBuildInputs = [ cmake ninja pkg-config wrapGAppsHook ]; @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { libvncserver libpthreadstubs libXdmcp libxkbcommon libsoup spice-protocol spice-gtk libepoxy at-spi2-core openssl gnome.adwaita-icon-theme json-glib libsodium webkitgtk - harfbuzz + harfbuzz python3 ] ++ optionals withLibsecret [ libsecret ] ++ optionals withVte [ vte ]; diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix index 55e24d80f277..d4a3028b8943 100644 --- a/pkgs/applications/office/jameica/default.nix +++ b/pkgs/applications/office/jameica/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, ant, jdk, jre, gtk2, glib, xorg, Cocoa }: +{ lib, stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, wrapGAppsHook, ant, jdk, jre, gtk2, glib, xorg, Cocoa }: let _version = "2.10.2"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { pname = "jameica"; inherit version; - nativeBuildInputs = [ ant jdk makeWrapper ]; + nativeBuildInputs = [ ant jdk wrapGAppsHook makeWrapper ]; buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] ++ lib.optional stdenv.isDarwin Cocoa; @@ -35,6 +35,8 @@ stdenv.mkDerivation rec { sha256 = "1x9sybknzsfxp9z0pvw9dx80732ynyap57y03p7xwwjbcrnjla57"; }; + dontWrapGApps = true; + # there is also a build.gradle, but it only seems to be used to vendor 3rd party libraries # and is not able to build the application itself buildPhase = '' @@ -53,13 +55,16 @@ stdenv.mkDerivation rec { install -Dm644 plugin.xml $out/share/java/ install -Dm644 build/jameica-icon.png $out/share/pixmaps/jameica.png cp ${desktopItem}/share/applications/* $out/share/applications/ + ''; + postFixup = '' makeWrapper ${jre}/bin/java $out/bin/jameica \ --add-flags "-cp $out/share/java/jameica.jar:$out/share/jameica-${version}/* ${ lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread'' } de.willuhn.jameica.Main" \ --prefix LD_LIBRARY_PATH : ${lib.escapeShellArg (lib.makeLibraryPath buildInputs)} \ - --chdir "$out/share/java/" + --chdir "$out/share/java/" \ + "''${gappsWrapperArgs[@]}" ''; meta = with lib; { @@ -71,7 +76,7 @@ stdenv.mkDerivation rec { ''; sourceProvenance = with sourceTypes; [ fromSource - binaryBytecode # source bundles dependencies as jars + binaryBytecode # source bundles dependencies as jars ]; license = licenses.gpl2Plus; platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]; diff --git a/pkgs/applications/science/electronics/fritzing/default.nix b/pkgs/applications/science/electronics/fritzing/default.nix index 668a34b511d4..ca2b2e5175b0 100644 --- a/pkgs/applications/science/electronics/fritzing/default.nix +++ b/pkgs/applications/science/electronics/fritzing/default.nix @@ -1,7 +1,8 @@ -{ mkDerivation +{ stdenv , lib , fetchFromGitHub , fetchpatch +, wrapQtAppsHook , qmake , pkg-config , qtbase @@ -9,6 +10,7 @@ , qttools , qtserialport , boost +, libngspice , libgit2 , quazip }: @@ -16,35 +18,34 @@ let # SHA256 of the fritzing-parts HEAD on the master branch, # which contains the latest stable parts definitions - partsSha = "640fa25650211afccd369f960375ade8ec3e8653"; + partsSha = "4713511c894cb2894eae505b9307c6555afcc32c"; parts = fetchFromGitHub { owner = "fritzing"; repo = "fritzing-parts"; rev = partsSha; - sha256 = "sha256-4S65eX4LCnXCFQAOxmdvr8d0nAgTWcJooE2SpLYpcXI="; + sha256 = "sha256-QiOGWc+99MJhOVrXyNOinR8rTVvW/E+wPfoB6QvbhY0="; }; in -mkDerivation rec { +stdenv.mkDerivation rec { pname = "fritzing"; - version = "unstable-2021-09-22"; + version = "unstable-2022-07-01"; src = fetchFromGitHub { owner = pname; repo = "fritzing-app"; - rev = "f0af53a9077f7cdecef31d231b85d8307de415d4"; - sha256 = "sha256-fF38DrBoeZ0aKwVMNyYMPWa5rFPbIVXRARZT+eRat5Q="; + rev = "40d23c29b0463d5c968c3c4b34ed5ffc05c5a258"; + sha256 = "sha256-smvfuxQWF/LMFFXHOKb3zUZsEet/XoiaxXOR5QMaYzw="; }; - buildInputs = [ qtbase qtsvg qtserialport boost libgit2 quazip ]; - nativeBuildInputs = [ qmake pkg-config qttools ]; + buildInputs = [ qtbase qtsvg qtserialport boost libgit2 quazip libngspice ]; + nativeBuildInputs = [ qmake pkg-config qttools wrapQtAppsHook ]; patches = [ - # Add support for QuaZip 1.x (fetchpatch { - url = "https://github.com/fritzing/fritzing-app/commit/ef83ebd9113266bb31b3604e3e9d0332bb48c999.patch"; - sha256 = "sha256-J43E6iBRIVbsuuo82gPk3Q7tyLhNkuuyYwtH8hUfcPU="; + url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-Quick-Dirty-patch-to-allow-finding-quazip-qt5-on-Arc.patch?h=fritzing&id=1ae0dc88464f375a54b156e6761315bcb04bcc1f"; + sha256 = "sha256-iS18EWw920gyeXDoHBRGwXvwMJurJS21H77Erl+fqog="; }) ]; @@ -60,10 +61,10 @@ mkDerivation rec { cp -a ${parts}/* parts/ ''; + NIX_CFLAGS_COMPILE = "-I${quazip}/include/QuaZip-Qt${lib.versions.major qtbase.version}-${quazip.version}/quazip"; + qmakeFlags = [ "phoenix.pro" - "DEFINES=QUAZIP_INSTALLED" - "DEFINES+=QUAZIP_1X" ]; postFixup = '' diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 73a02673471f..02a9c5f01bc7 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -203,7 +203,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "http://www.gitlab.com/"; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz globin krav talyz yayayayaka yuka ]; + maintainers = with maintainers; [ globin krav talyz yayayayaka yuka ]; } // (if gitlabEnterprise then { license = licenses.unfreeRedistributable; # https://gitlab.com/gitlab-org/gitlab-ee/raw/master/LICENSE diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix index d3390fa419a7..0213d8b129aa 100644 --- a/pkgs/applications/version-management/gitlab/gitaly/default.nix +++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix @@ -52,7 +52,7 @@ buildGoModule { homepage = "https://gitlab.com/gitlab-org/gitaly"; description = "A Git RPC service for handling all the git calls made by GitLab"; platforms = platforms.linux ++ [ "x86_64-darwin" ]; - maintainers = with maintainers; [ roblabla globin fpletz talyz yayayayaka ]; + maintainers = with maintainers; [ roblabla globin talyz yayayayaka ]; license = licenses.mit; }; } diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix index 37d66c3a7f65..11adc247623c 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix @@ -26,7 +26,7 @@ buildGoModule rec { description = "SSH access and repository management app for GitLab"; homepage = "http://www.gitlab.com/"; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz globin talyz yayayayaka ]; + maintainers = with maintainers; [ globin talyz yayayayaka ]; license = licenses.mit; }; } diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix index 639240c6493e..7050b88faab8 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix @@ -24,7 +24,7 @@ buildGoModule rec { meta = with lib; { homepage = "http://www.gitlab.com/"; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz globin talyz yayayayaka ]; + maintainers = with maintainers; [ globin talyz yayayayaka ]; license = licenses.mit; }; } diff --git a/pkgs/applications/version-management/gogs/default.nix b/pkgs/applications/version-management/gogs/default.nix index 91b33d0b1e04..0549169ed1b6 100644 --- a/pkgs/applications/version-management/gogs/default.nix +++ b/pkgs/applications/version-management/gogs/default.nix @@ -8,13 +8,13 @@ with lib; buildGoModule rec { pname = "gogs"; - version = "0.12.9"; + version = "0.12.10"; src = fetchFromGitHub { owner = "gogs"; repo = "gogs"; rev = "v${version}"; - sha256 = "sha256-oXIA0JY7+pfXk5RnHWCJEkU9bL+ZIc2oXQrLwa1XHMg="; + sha256 = "sha256-EFGC94aIMW7AYJpgaHBT4W7BjXd+oijMqQPH40rIvlg="; }; vendorSha256 = "sha256-5AnQ7zF2UK1HNoyr6gwFdVv+KMJEGkjKPpDEpUXckUg="; diff --git a/pkgs/applications/video/iina/default.nix b/pkgs/applications/video/iina/default.nix index 3adb2a926d28..bb3fd9cd5e5b 100644 --- a/pkgs/applications/video/iina/default.nix +++ b/pkgs/applications/video/iina/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "iina"; - version = "1.2.0"; + version = "1.3.0"; src = fetchurl { url = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg"; - sha256 = "sha256-kbh+gAVfCXoct6jJGXnetTAzFfIGdVLL5zh/SL/EJzY="; + sha256 = "sha256-tQxBaCgAXh7sDcgGbJYe/MOJ5r4aWllVQepi1I0xo5E="; }; nativeBuildInputs = [ undmg ]; diff --git a/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix b/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix index 20c49692b8d3..014a7ef2fbaa 100644 --- a/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix +++ b/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix @@ -10,22 +10,41 @@ stdenv.mkDerivation rec { pname = "obs-gstreamer"; - version = "0.3.3"; + version = "0.3.4"; src = fetchFromGitHub { owner = "fzwoch"; repo = "obs-gstreamer"; rev = "v${version}"; - hash = "sha256-KhSBZcV2yILTf5+aNoYWDfNwPiJoyYPeIOQMDFvOusg="; + hash = "sha256-CDtWe4bx1M06nfqvVmIZaLQoKAsXFnG0Xy/mhiSbMgU="; }; nativeBuildInputs = [ pkg-config meson ninja ]; buildInputs = with gst_all_1; [ gstreamer gst-plugins-base obs-studio ]; + # - We need "getLib" instead of default derivation, otherwise it brings gstreamer-bin; + # - without gst-plugins-base it won't even show proper errors in logs; + # - Without gst-plugins-bad it won't find element "h264parse"; + # - gst-vaapi adds "VA-API" to "Encoder type"; + # - gst-plugins-ugly adds "x264" to "Encoder type"; + # Tip: "could not link appsrc to videoconvert1" can mean a lot of things, enable GST_DEBUG=2 for help. + passthru.obsWrapperArguments = + let + gstreamerHook = package: "--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${lib.getLib package}/lib/gstreamer-1.0"; + in + with gst_all_1; builtins.map gstreamerHook [ + gstreamer + gst-plugins-base + gst-plugins-bad + + gst-plugins-ugly + gst-vaapi + ]; + meta = with lib; { description = "An OBS Studio source, encoder and video filter plugin to use GStreamer elements/pipelines in OBS Studio"; homepage = "https://github.com/fzwoch/obs-gstreamer"; - maintainers = with maintainers; [ ahuzik ]; + maintainers = with maintainers; [ ahuzik pedrohlc ]; license = licenses.gpl2Plus; platforms = [ "x86_64-linux" "i686-linux" ]; }; diff --git a/pkgs/applications/video/obs-studio/wrapper.nix b/pkgs/applications/video/obs-studio/wrapper.nix index 3871151bbb28..80880d9318d9 100644 --- a/pkgs/applications/video/obs-studio/wrapper.nix +++ b/pkgs/applications/video/obs-studio/wrapper.nix @@ -1,4 +1,4 @@ -{ obs-studio, symlinkJoin, makeWrapper }: +{ lib, obs-studio, symlinkJoin, makeWrapper }: { plugins ? [] }: @@ -8,11 +8,19 @@ symlinkJoin { nativeBuildInputs = [ makeWrapper ]; paths = [ obs-studio ] ++ plugins; - postBuild = '' - wrapProgram $out/bin/obs \ - --set OBS_PLUGINS_PATH "$out/lib/obs-plugins" \ - --set OBS_PLUGINS_DATA_PATH "$out/share/obs/obs-plugins" - ''; + postBuild = with lib; + let + # Some plugins needs extra environment, see obs-gstreamer for an example. + pluginArguments = + lists.concatMap (plugin: plugin.obsWrapperArguments or []) plugins; + + wrapCommand = [ + "wrapProgram" + "$out/bin/obs" + ''--set OBS_PLUGINS_PATH "$out/lib/obs-plugins"'' + ''--set OBS_PLUGINS_DATA_PATH "$out/share/obs/obs-plugins"'' + ] ++ pluginArguments; + in concatStringsSep " " wrapCommand; inherit (obs-studio) meta; passthru = obs-studio.passthru // { diff --git a/pkgs/applications/virtualization/lima/default.nix b/pkgs/applications/virtualization/lima/default.nix index f5de8aaf5346..dc9521be2987 100644 --- a/pkgs/applications/virtualization/lima/default.nix +++ b/pkgs/applications/virtualization/lima/default.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "lima"; - version = "0.11.2"; + version = "0.11.3"; src = fetchFromGitHub { owner = "lima-vm"; repo = pname; rev = "v${version}"; - sha256 = "sha256-DN8YXbpD7TVVPvl8LKAwLHKt50G37cu8dJBqF+DDE6g="; + sha256 = "sha256-sSmadO7iKkJb/kd9rnH34/DyAHqdNtbvGDt9xkK4t8E="; }; - vendorSha256 = "sha256-lrJVnWd94nELROP5VYI+Qs8cK5U9PYiZo9j9cusb9cY="; + vendorSha256 = "sha256-pe6AaO3vTbix+b21GqEICxdej8mbXXpzNrF4eKbEnSE="; nativeBuildInputs = [ makeWrapper installShellFiles ]; diff --git a/pkgs/data/fonts/iosevka/comfy-private-build-plans.toml b/pkgs/data/fonts/iosevka/comfy-private-build-plans.toml deleted file mode 100644 index 1affc3a8c84d..000000000000 --- a/pkgs/data/fonts/iosevka/comfy-private-build-plans.toml +++ /dev/null @@ -1,507 +0,0 @@ -# The file below is copy/pasted from -# https://raw.githubusercontent.com/protesilaos/iosevka-comfy/0.2.1/private-build-plans.toml. It -# seems like ofborg will prevent me from using fetchurl to download -# this file automatically. -[buildPlans.iosevka-comfy] # is your plan name -family = "Iosevka Comfy" # Font menu family name -spacing = "normal" # Optional; Values: `normal`, `quasi-proportional`, `quasi-proportional-extension-only`, `term`, `fontconfig-mono`, or `fixed` -serifs = "sans" # Optional; Values: `sans` or `slab` - -################################################################################################### -# Configure variants - -# # Optional; Whether to inherit a `ss##` variant -# [buildPlans.iosevka-comfy.variants] -# inherits = "ss01" - -# Optional; Configure single character's variant -[buildPlans.iosevka-comfy.variants.design] -cv01 = 1 # A cap straight -cv02 = 1 # B cap straight -cv03 = 1 # C cap serifless -cv04 = 6 # D cap curly with top and bottom serif (without serifs TODO reads like TOOO at small point sizes) -cv05 = 1 # E cap serifless -cv06 = 1 # F cap serifless -cv07 = 4 # G cap toothed -cv08 = 1 # H cap serifless -cv09 = 1 # I cap long serifs -cv10 = 2 # J cap serified -cv11 = 2 # K cap curly -cv12 = 1 # L cap serifless -cv13 = 3 # M cap short middle leg slanted sides -cv14 = 1 # N cap symmetric -cv15 = 1 # P cap straight -cv16 = 4 # Q cap crossing tail -cv17 = 1 # R cap straight -cv18 = 1 # S cap serifless -cv19 = 1 # T cap serifless -cv20 = 3 # U cap serifless -cv21 = 1 # V cap straight -cv22 = 1 # W straight -cv23 = 1 # X cap straight -cv24 = 1 # Y cap straight -cv25 = 1 # Z cap straight -cv26 = 10 # a single storey earless tailed bottom -cv27 = 1 # b toothed -cv28 = 1 # c serifless -cv29 = 1 # d toothed -cv33 = 1 # h straight -cv34 = 10 # i serified flat tailed -cv35 = 6 # j flat hook serified -cv37 = 10 # l serified flat tailed -cv42 = 9 # r compact -cv43 = 1 # s serifless -cv44 = 2 # t flat hook -cv45 = 4 # u tailed -cv49 = 6 # y cursive flat terminal hook -cv53 = 1 # Λ, Δ lambda and delta cap straight -cv54 = 2 # α alpha straight tailed -VXAA = 1 # δ delta rounded top -cv55 = 1 # Γ gamma cap straight -cv56 = 6 # ι iota serified flat tailed -cv57 = 2 # λ lambda top tailed -VXAC = 1 # μ me tailless -VXAB = 2 # ξ xe flat top -cv71 = 13 # 0 oval dashed forward slash -cv74 = 2 # 3 arched -cv76 = 2 # 5 open contour -cv78 = 1 # 7 straight -cv79 = 3 # 8 two asymmetric circles -cv81 = 2 # ~ tilde low -cv82 = 2 # * asterisk five-pointed low -cv83 = 1 # _ underscore right below baseline -cv85 = 1 # ^ uptick high -cv86 = 1 # ( parentheses normal slope -cv87 = 2 # { braces curly -cv88 = 1 # # column straight -cv90 = 4 # @ three-fold, tall height -cv91 = 2 # $ dollar strike through -cv92 = 2 # ¢ cent strike through -cv93 = 1 # % percent dots -cv94 = 1 # | bar natural slope -cv95 = 2 # ≥ equal-or-{higher,lower} slanted -cv96 = 1 # ' single quote straight -cv97 = 1 # ` grave/backtick straight -cv98 = 1 # ? smooth -cv99 = 2 # .:; square punctuation marks -VXDD = 2 # ijäöü square diacretics - -# Optional; Configure single character's variant for Upright and Oblique; Overrides [design] -[buildPlans.iosevka-comfy.variants.upright] -cv30 = 1 # e straight -cv31 = 16 # f serifless bottom flat top crossbar at x height -cv32 = 9 # g single storey flat hook earless cornered top -cv36 = 1 # k straight -cv38 = 6 # m earless double arch short middle leg -cv39 = 3 # n earless straight -cv40 = 2 # p earless -cv41 = 2 # q earless -cv46 = 1 # v straight -cv47 = 1 # w straight -cv48 = 1 # x straight -cv50 = 1 # z straight -cv72 = 3 # 1 serified with base -cv73 = 1 # 2 straight -cv75 = 3 # 4 semi-open contour -cv77 = 3 # 6 straight -cv80 = 3 # 9 straight -cv89 = 2 # & et open top (ampersand) - -# Optional; Configure single character's variant for Italic only; Overrides [design] -[buildPlans.iosevka-comfy.variants.italic] -cv30 = 2 # e curly -cv31 = 14 # f extended flat top bottom hook -cv32 = 7 # g single storey flat hook -cv36 = 2 # k curly -cv38 = 2 # m straight middle shortleg -cv39 = 1 # n straight -cv40 = 1 # p straight -cv41 = 1 # q straight -cv46 = 2 # v curly -cv47 = 2 # w curly short middle top -cv48 = 2 # x curly -cv50 = 4 # z curly -cv72 = 2 # 1 serified no base -cv73 = 2 # 2 curly -cv75 = 1 # 4 closed contour crossing -cv77 = 1 # 6 closed contour -cv80 = 1 # 9 closed contour -cv89 = 4 # & et open top toothed (ampersand) - -# End variant section -################################################################################################### - -################################################################################################### -# Override default building weights -# When buildPlans..weights is absent, all weights would built and mapped to -# default values. -# IMPORTANT : Currently "menu" and "css" property only support numbers between 0 and 1000. -# and "shape" properly only supports number between 100 and 900 (inclusive). -# If you decide to use custom weights you have to define all the weights you -# plan to use otherwise they will not be built. -[buildPlans.iosevka-comfy.weights.light] -shape = 300 -menu = 300 -css = 300 - -[buildPlans.iosevka-comfy.weights.semilight] -shape = 350 -menu = 350 -css = 350 - -[buildPlans.iosevka-comfy.weights.regular] -shape = 400 -menu = 400 -css = 400 - -[buildPlans.iosevka-comfy.weights.bold] -shape = 700 -menu = 700 -css = 700 - -[buildPlans.iosevka-comfy.weights.extrabold] -shape = 800 -menu = 800 -css = 800 - -# End weight section -################################################################################################### - -################################################################################################### -# Override default building slope sets -# When this section is absent, all slopes would be built. - -[buildPlans.iosevka-comfy.slopes.upright] -angle = 0 # Angle in degrees. Valid range [0, 15] -shape = "upright" # Slope grade used for shape selection. `upright` | `oblique` | `italic` -menu = "upright" # Slope grade used for naming. `upright` | `oblique` | `italic` -css = "normal" # Slope grade used for webfont CSS. `normal` | `oblique` | `italic` - -[buildPlans.iosevka-comfy.slopes.italic] -angle = 9.4 -shape = "italic" -menu = "italic" -css = "italic" - -# End slope section -################################################################################################### - -################################################################################################### -# Override default building widths -# When buildPlans..widths is absent, all widths would built and mapped to -# default values. -# IMPORTANT : Currently "shape" property only supports numbers between 434 and 664 (inclusive), -# while "menu" only supports integers between 1 and 9 (inclusive). -# The "shape" parameter specifies the unit width, measured in 1/1000 em. The glyphs' -# width are equal to, or a simple multiple of the unit width. -# If you decide to use custom widths you have to define all the widths you plan to use, -# otherwise they will not be built. - -# [buildPlans.iosevka-comfy.widths.condensed] -# shape = 485 -# menu = 3 -# css = "condensed" - -[buildPlans.iosevka-comfy.widths.normal] -shape = 525 # Unit Width, measured in 1/1000 em. -menu = 5 # Width grade for the font's names. -css = "normal" # "font-stretch' property of webfont CSS. - -# [buildPlans.iosevka-comfy.widths.expanded] -# shape = 600 -# menu = 7 -# css = "expanded" - -# End width section -################################################################################################### - -################################################################################################### -# Metric overrides -# Certain metrics like line height (leading) could be overridden in your build plan file. -# Edit the values to change the metrics. Remove this section when overriding is not needed. - -[buildPlans.iosevka-comfy.metric-override] -leading = 1100 - -# End metric override section -################################################################################################### - - -# Iosevka Comfy variants -# ====================== -# Same glyph overrides and metrics, except for the spacing. - - -# Fixed spacing (no ligatures) -# ---------------------------- -[buildPlans.iosevka-comfy-fixed] -family = "Iosevka Comfy Fixed" -spacing = "fixed" -serifs = "sans" - -# It seems we can inherit variants, but not weights, slopes, widths, -# metric-override... -[buildPlans.iosevka-comfy-fixed.variants] -inherits = "buildPlans.iosevka-comfy" - -[buildPlans.iosevka-comfy-fixed.weights.light] -shape = 300 -menu = 300 -css = 300 - -[buildPlans.iosevka-comfy-fixed.weights.semilight] -shape = 350 -menu = 350 -css = 350 - -[buildPlans.iosevka-comfy-fixed.weights.regular] -shape = 400 -menu = 400 -css = 400 - -[buildPlans.iosevka-comfy-fixed.weights.bold] -shape = 700 -menu = 700 -css = 700 - -[buildPlans.iosevka-comfy-fixed.weights.extrabold] -shape = 800 -menu = 800 -css = 800 - -[buildPlans.iosevka-comfy-fixed.slopes.upright] -angle = 0 -shape = "upright" -menu = "upright" -css = "normal" - -[buildPlans.iosevka-comfy-fixed.slopes.italic] -angle = 9.4 -shape = "italic" -menu = "italic" -css = "italic" - -[buildPlans.iosevka-comfy-fixed.widths.normal] -shape = 525 -menu = 5 -css = "normal" - -[buildPlans.iosevka-comfy-fixed.metric-override] -leading = 1100 - - - -# Duo spacing (quasi-proportional) -# -------------------------------- -[buildPlans.iosevka-comfy-duo] -family = "Iosevka Comfy Duo" -spacing = "quasi-proportional" -serifs = "sans" - -# It seems we can inherit variants, but not weights, slopes, widths, -# metric-override... -[buildPlans.iosevka-comfy-duo.variants] -inherits = "buildPlans.iosevka-comfy" - -# The '0' has a forward slash that cuts diagonally through the middle of -# the circle, connecting the bottom left part to the top right of the -# oval shape. Whereas the narrow variants have a dashed forward slash -# which does not connect the two sides as it is positioned inside the -# oval shape. -[buildPlans.iosevka-comfy-duo.variants.design] -cv71 = 9 # 0 oval forward slash - -# The 'm' character has three legs of equal length, insetad of a shorter -# middle leg. The short middle leg in the narrow variants is necessary -# for legibility, especially at small point sizes (otherwise the -# character's legs visually blend into what appears to be a solid -# block). -[buildPlans.iosevka-comfy-duo.variants.upright] -cv38 = 5 # m earless normal middle leg - -[buildPlans.iosevka-comfy-duo.variants.italic] -cv38 = 1 # m straight normal middle leg - -[buildPlans.iosevka-comfy-duo.weights.light] -shape = 300 -menu = 300 -css = 300 - -[buildPlans.iosevka-comfy-duo.weights.semilight] -shape = 350 -menu = 350 -css = 350 - -[buildPlans.iosevka-comfy-duo.weights.regular] -shape = 400 -menu = 400 -css = 400 - -[buildPlans.iosevka-comfy-duo.weights.bold] -shape = 700 -menu = 700 -css = 700 - -[buildPlans.iosevka-comfy-duo.weights.extrabold] -shape = 800 -menu = 800 -css = 800 - -[buildPlans.iosevka-comfy-duo.slopes.upright] -angle = 0 -shape = "upright" -menu = "upright" -css = "normal" - -[buildPlans.iosevka-comfy-duo.slopes.italic] -angle = 9.4 -shape = "italic" -menu = "italic" -css = "italic" - -[buildPlans.iosevka-comfy-duo.widths.normal] -shape = 525 -menu = 5 -css = "normal" - -[buildPlans.iosevka-comfy-duo.metric-override] -leading = 1100 - - - -# Like iosevka-comfy but expanded -# ------------------------------- -[buildPlans.iosevka-comfy-wide] -family = "Iosevka Comfy Wide" -spacing = "normal" -serifs = "sans" - -# It seems we can inherit variants, but not weights, slopes, widths, -# metric-override... -[buildPlans.iosevka-comfy-wide.variants] -inherits = "buildPlans.iosevka-comfy" - -# The '0' has a forward slash that cuts diagonally through the middle of -# the circle, connecting the bottom left part to the top right of the -# oval shape. Whereas the narrow variants have a dashed forward slash -# which does not connect the two sides as it is positioned inside the -# oval shape. -[buildPlans.iosevka-comfy-wide.variants.design] -cv71 = 9 # 0 oval forward slash - -# The 'm' character has three legs of equal length, insetad of a shorter -# middle leg. The short middle leg in the narrow variants is necessary -# for legibility, especially at small point sizes (otherwise the -# character's legs visually blend into what appears to be a solid -# block). -[buildPlans.iosevka-comfy-wide.variants.upright] -cv38 = 5 # m earless normal middle leg - -[buildPlans.iosevka-comfy-wide.variants.italic] -cv38 = 1 # m straight normal middle leg - -[buildPlans.iosevka-comfy-wide.weights.light] -shape = 300 -menu = 300 -css = 300 - -[buildPlans.iosevka-comfy-wide.weights.semilight] -shape = 350 -menu = 350 -css = 350 - -[buildPlans.iosevka-comfy-wide.weights.regular] -shape = 400 -menu = 400 -css = 400 - -[buildPlans.iosevka-comfy-wide.weights.bold] -shape = 700 -menu = 700 -css = 700 - -[buildPlans.iosevka-comfy-wide.weights.extrabold] -shape = 800 -menu = 800 -css = 800 - -[buildPlans.iosevka-comfy-wide.slopes.upright] -angle = 0 -shape = "upright" -menu = "upright" -css = "normal" - -[buildPlans.iosevka-comfy-wide.slopes.italic] -angle = 9.4 -shape = "italic" -menu = "italic" -css = "italic" - -# For the default width, check buildPlans.iosevka-comfy.widths.normal -[buildPlans.iosevka-comfy-wide.widths.normal] -shape = 625 -menu = 7 -css = "normal" - -[buildPlans.iosevka-comfy-wide.metric-override] -leading = 1100 - - - -# Like iosevka-comfy-wide but fixed monospace (no ligatures) -# ---------------------------------------------------------- -[buildPlans.iosevka-comfy-wide-fixed] -family = "Iosevka Comfy Wide Fixed" -spacing = "fixed" -serifs = "sans" - -# It seems we can inherit variants, but not weights, slopes, widths, -# metric-override... -[buildPlans.iosevka-comfy-wide-fixed.variants] -inherits = "buildPlans.iosevka-comfy-wide" - -[buildPlans.iosevka-comfy-wide-fixed.weights.light] -shape = 300 -menu = 300 -css = 300 - -[buildPlans.iosevka-comfy-wide-fixed.weights.semilight] -shape = 350 -menu = 350 -css = 350 - -[buildPlans.iosevka-comfy-wide-fixed.weights.regular] -shape = 400 -menu = 400 -css = 400 - -[buildPlans.iosevka-comfy-wide-fixed.weights.bold] -shape = 700 -menu = 700 -css = 700 - -[buildPlans.iosevka-comfy-wide-fixed.weights.extrabold] -shape = 800 -menu = 800 -css = 800 - -[buildPlans.iosevka-comfy-wide-fixed.slopes.upright] -angle = 0 -shape = "upright" -menu = "upright" -css = "normal" - -[buildPlans.iosevka-comfy-wide-fixed.slopes.italic] -angle = 9.4 -shape = "italic" -menu = "italic" -css = "italic" - -# For the default width, check buildPlans.iosevka-comfy.widths.normal -[buildPlans.iosevka-comfy-wide-fixed.widths.normal] -shape = 625 -menu = 7 -css = "normal" - -[buildPlans.iosevka-comfy-wide-fixed.metric-override] -leading = 1100 diff --git a/pkgs/data/fonts/iosevka/comfy.nix b/pkgs/data/fonts/iosevka/comfy.nix index 3e42151857f1..4921017cf336 100644 --- a/pkgs/data/fonts/iosevka/comfy.nix +++ b/pkgs/data/fonts/iosevka/comfy.nix @@ -1,14 +1,17 @@ -{stdenv, lib, nodejs, nodePackages, remarshal, ttfautohint-nox, fetchurl}: +{ callPackage, lib, fetchFromGitHub }: let sets = [ "comfy" "comfy-fixed" "comfy-duo" "comfy-wide" "comfy-wide-fixed" ]; - privateBuildPlan = builtins.readFile ./comfy-private-build-plans.toml; + version = "0.3.1"; + src = fetchFromGitHub { + owner = "protesilaos"; + repo = "iosevka-comfy"; + rev = version; + sha256 = "sha256-SMy3Kqve65ZU13lf1vZQR61mH7gcl1DvIZt3yD6tIf4="; + }; + privateBuildPlan = src.outPath + "/private-build-plans.toml"; overrideAttrs = (attrs: { - version = "0.2.1"; - - passthru = { - updateScript = ./update-comfy.sh; - }; + inherit version; meta = with lib; { homepage = "https://github.com/protesilaos/iosevka-comfy"; @@ -22,8 +25,8 @@ let maintainers = [ maintainers.DamienCassou ]; }; }); - makeIosevkaFont = set: (import ./default.nix { - inherit stdenv lib nodejs nodePackages remarshal ttfautohint-nox set privateBuildPlan; + makeIosevkaFont = set: (callPackage ./. { + inherit set privateBuildPlan; }).overrideAttrs overrideAttrs; in builtins.listToAttrs (builtins.map (set: {name=set; value=makeIosevkaFont set;}) sets) diff --git a/pkgs/data/fonts/iosevka/default.nix b/pkgs/data/fonts/iosevka/default.nix index c145aad8d7d7..b4f64c59d80b 100644 --- a/pkgs/data/fonts/iosevka/default.nix +++ b/pkgs/data/fonts/iosevka/default.nix @@ -80,16 +80,23 @@ stdenv.mkDerivation rec { else privateBuildPlan; inherit extraParameters; - passAsFile = [ "buildPlan" "extraParameters" ]; + passAsFile = [ + "extraParameters" + ] ++ lib.optional (! (builtins.isString privateBuildPlan && lib.hasPrefix builtins.storeDir privateBuildPlan)) [ + "buildPlan" + ]; configurePhase = '' runHook preConfigure ${lib.optionalString (builtins.isAttrs privateBuildPlan) '' remarshal -i "$buildPlanPath" -o private-build-plans.toml -if json -of toml ''} - ${lib.optionalString (builtins.isString privateBuildPlan) '' + ${lib.optionalString (builtins.isString privateBuildPlan && (!lib.hasPrefix builtins.storeDir privateBuildPlan)) '' cp "$buildPlanPath" private-build-plans.toml ''} + ${lib.optionalString (builtins.isString privateBuildPlan && (lib.hasPrefix builtins.storeDir privateBuildPlan)) '' + cp "$buildPlan" private-build-plans.toml + ''} ${lib.optionalString (extraParameters != null) '' echo -e "\n" >> params/parameters.toml cat "$extraParametersPath" >> params/parameters.toml diff --git a/pkgs/data/fonts/iosevka/update-comfy.sh b/pkgs/data/fonts/iosevka/update-comfy.sh deleted file mode 100755 index 63e68c768dd9..000000000000 --- a/pkgs/data/fonts/iosevka/update-comfy.sh +++ /dev/null @@ -1,33 +0,0 @@ -#! /usr/bin/env nix-shell -#! nix-shell -i bash -p curl jq - -set -euo pipefail -cd "$(dirname "${BASH_SOURCE[0]}")" - -repo=protesilaos/iosevka-comfy -oldVersion=$(nix-instantiate --eval -E 'with import ../../../.. {}; lib.getVersion iosevka-comfy.comfy' | tr -d \") -version=$(curl -s https://api.github.com/repos/$repo/tags | jq '.[0].name' | tr -d \") -buildPlansUrl=https://raw.githubusercontent.com/$repo/$(echo $version)/private-build-plans.toml - -if test "$oldVersion" = "$version"; then - echo "New version same as old version, nothing to do." >&2 - exit 0 -fi - -sed --in-place "s/$oldVersion/$version/" comfy.nix - -cat > ./comfy-private-build-plans.toml <> ./comfy-private-build-plans.toml - -sets=$(grep '^\[buildPlans\.iosevka-comfy[^.]*\]' comfy-private-build-plans.toml \ - | sed 's/^.*iosevka-\(comfy[^]]*\)].*$/"\1" /' \ - | tr -d '\n' \ - | sort) - -sed --in-place "s/sets = .*$/sets = [ $sets];/" comfy.nix diff --git a/pkgs/data/fonts/victor-mono/default.nix b/pkgs/data/fonts/victor-mono/default.nix index 11d3f1d25bae..e351cea9fdb4 100644 --- a/pkgs/data/fonts/victor-mono/default.nix +++ b/pkgs/data/fonts/victor-mono/default.nix @@ -1,7 +1,7 @@ { lib, fetchzip }: let - version = "1.5.3"; + version = "1.5.4"; in fetchzip { name = "victor-mono-${version}"; @@ -25,7 +25,7 @@ fetchzip { rm -r $out/{EOT,WOFF,WOFF2} ''; - sha256 = "sha256-3TGpUDBJ24NEJb00oaJAHEbjC58bSthohzqM1klVDGA="; + sha256 = "sha256-1si0d2lpuXaDcSc3giVMMMbZc/eKbHKU3wmwfYHZ8o0="; meta = with lib; { description = "Free programming font with cursive italics and ligatures"; diff --git a/pkgs/development/compilers/lingua-franca/default.nix b/pkgs/development/compilers/lingua-franca/default.nix index 8944c4b75710..5f5de16b44b8 100644 --- a/pkgs/development/compilers/lingua-franca/default.nix +++ b/pkgs/development/compilers/lingua-franca/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "lfc"; - version = "0.2.0"; + version = "0.3.0"; src = fetchzip { url = "https://github.com/lf-lang/lingua-franca/releases/download/v${version}/lfc_${version}.zip"; - sha256 = "rBx7UnPLufZBO7lG0In5upHqYCyRtI4kQv0V83CZHew="; + sha256 = "sha256-jSINlwHfSOPbti3LJTXpSk6lcUtwKfz7CMLtq2OuNns="; }; buildInputs = [ jdk17_headless ]; diff --git a/pkgs/development/compilers/zulu/8.nix b/pkgs/development/compilers/zulu/8.nix index 00f18f1238fe..e23dbdbd6c1b 100644 --- a/pkgs/development/compilers/zulu/8.nix +++ b/pkgs/development/compilers/zulu/8.nix @@ -112,7 +112,7 @@ in stdenv.mkDerivation { Certified builds of OpenJDK that can be deployed across multiple operating systems, containers, hypervisors and Cloud platforms. ''; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = [ "x86_64-linux" "x86_64-darwin" ]; mainProgram = "java"; }; diff --git a/pkgs/development/compilers/zulu/default.nix b/pkgs/development/compilers/zulu/default.nix index a3731a97045e..03dff2348a29 100644 --- a/pkgs/development/compilers/zulu/default.nix +++ b/pkgs/development/compilers/zulu/default.nix @@ -117,7 +117,7 @@ in stdenv.mkDerivation { Certified builds of OpenJDK that can be deployed across multiple operating systems, containers, hypervisors and Cloud platforms. ''; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; mainProgram = "java"; }; diff --git a/pkgs/development/libraries/cdo/default.nix b/pkgs/development/libraries/cdo/default.nix index d13305d10b9e..ece7ab2f6921 100644 --- a/pkgs/development/libraries/cdo/default.nix +++ b/pkgs/development/libraries/cdo/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, curl, hdf5, netcdf +{ lib, stdenv, fetchurl, curl, hdf5, netcdf, eccodes , # build, install and link to a CDI library [default=no] enable_cdi_lib ? false , # build a completely statically linked CDO binary @@ -9,22 +9,24 @@ stdenv.mkDerivation rec { pname = "cdo"; - version = "1.9.10"; + version = "2.0.5"; # Dependencies buildInputs = [ curl netcdf hdf5 ]; src = fetchurl { - url = "https://code.mpimet.mpg.de/attachments/download/24638/${pname}-${version}.tar.gz"; - sha256 = "sha256-zDnIm7tIHXs5RaBsVqhJIEcjX0asNjxPDZgPzN3mZ34="; + url = "https://code.mpimet.mpg.de/attachments/download/26823/${pname}-${version}.tar.gz"; + sha256 = "sha256-7e678cOxofDGQtrmvIx2JODFS6vkYQZNxcfaykpbDc4="; }; - # Configure phase configureFlags = [ - "--with-netcdf=${netcdf}" "--with-hdf5=${hdf5}"] - ++ lib.optional (enable_cdi_lib) "--enable-cdi-lib" - ++ lib.optional (enable_all_static) "--enable-all-static" - ++ lib.optional (enable_cxx) "--enable-cxx"; + "--with-netcdf=${netcdf}" + "--with-hdf5=${hdf5}" + "--with-eccodes=${eccodes}" + ] + ++ lib.optional enable_cdi_lib "--enable-cdi-lib" + ++ lib.optional enable_all_static "--enable-all-static" + ++ lib.optional enable_cxx "--enable-cxx"; meta = with lib; { description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data"; diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index 54f42ae8db7b..13e23b0fa4b5 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -87,6 +87,8 @@ stdenv.mkDerivation rec { substituteInPlace ../tests/bash_tests/testcases.py \ --replace "def io_test(self):" "def io_disabled(self):" ''} + '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' + export LC_ALL=C ''; # With CMake we have to enable samples or there won't be @@ -120,6 +122,6 @@ stdenv.mkDerivation rec { description = "A library and command-line utility to manage image metadata"; platforms = platforms.all; license = licenses.gpl2Plus; - maintainers = [ ]; + maintainers = with maintainers; [ wegank ]; }; } diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix index f6c6aca19a22..64176dfacf0e 100644 --- a/pkgs/development/libraries/gnutls/default.nix +++ b/pkgs/development/libraries/gnutls/default.nix @@ -124,7 +124,7 @@ stdenv.mkDerivation rec { homepage = "https://gnutls.org/"; license = licenses.lgpl21Plus; - maintainers = with maintainers; [ eelco fpletz ]; + maintainers = with maintainers; [ eelco ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/jose/default.nix b/pkgs/development/libraries/jose/default.nix index 808dcaeed3a0..08fc7e6dc99e 100644 --- a/pkgs/development/libraries/jose/default.nix +++ b/pkgs/development/libraries/jose/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "C-language implementation of Javascript Object Signing and Encryption"; homepage = "https://github.com/latchset/jose"; - maintainers = with lib.maintainers; [ fpletz ]; + maintainers = with lib.maintainers; [ ]; license = lib.licenses.asl20; }; } diff --git a/pkgs/development/libraries/lame/default.nix b/pkgs/development/libraries/lame/default.nix index 94f2ab39b96f..674defc42e2a 100644 --- a/pkgs/development/libraries/lame/default.nix +++ b/pkgs/development/libraries/lame/default.nix @@ -56,7 +56,7 @@ stdenv.mkDerivation rec { description = "A high quality MPEG Audio Layer III (MP3) encoder"; homepage = "http://lame.sourceforge.net"; license = licenses.lgpl2; - maintainers = with maintainers; [ codyopel fpletz ]; + maintainers = with maintainers; [ codyopel ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/mbedtls/default.nix b/pkgs/development/libraries/mbedtls/default.nix index 8bba8f0efe0e..4fa4a5c4503f 100644 --- a/pkgs/development/libraries/mbedtls/default.nix +++ b/pkgs/development/libraries/mbedtls/default.nix @@ -44,6 +44,6 @@ stdenv.mkDerivation rec { description = "Portable cryptographic and TLS library, formerly known as PolarSSL"; license = licenses.asl20; platforms = platforms.all; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/libraries/rapidfuzz-cpp/default.nix b/pkgs/development/libraries/rapidfuzz-cpp/default.nix index e21ff01018db..3e3ab72d2720 100644 --- a/pkgs/development/libraries/rapidfuzz-cpp/default.nix +++ b/pkgs/development/libraries/rapidfuzz-cpp/default.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation rec { pname = "rapidfuzz-cpp"; - version = "1.1.0"; + version = "1.1.1"; src = fetchFromGitHub { owner = "maxbachmann"; repo = "rapidfuzz-cpp"; rev = "v${version}"; - hash = "sha256-ltxOn8thAiYgi5rG6xYFSnPl20Uyf4mWs1Rcv3lP++E="; + hash = "sha256-ogj8eFkiDtjFcBb3Yip909gKBIeALsoH3LnRIjQmLMA="; }; patches = [ diff --git a/pkgs/development/python-modules/Mako/default.nix b/pkgs/development/python-modules/Mako/default.nix index 8aa3f687dded..694f3138c928 100644 --- a/pkgs/development/python-modules/Mako/default.nix +++ b/pkgs/development/python-modules/Mako/default.nix @@ -13,6 +13,8 @@ # tests , mock , pytestCheckHook +, lingua +, chameleon }: buildPythonPackage rec { @@ -37,8 +39,10 @@ buildPythonPackage rec { }; checkInputs = [ - pytestCheckHook + chameleon + lingua mock + pytestCheckHook ] ++ passthru.optional-dependencies.babel; disabledTests = lib.optionals isPyPy [ @@ -51,11 +55,6 @@ buildPythonPackage rec { "test_bytestring_passthru" ]; - disabledTestPaths = [ - # lingua dependency is not packaged - "test/ext/test_linguaplugin.py" - ]; - meta = with lib; { description = "Super-fast templating language"; homepage = "https://www.makotemplates.org/"; diff --git a/pkgs/development/python-modules/censys/default.nix b/pkgs/development/python-modules/censys/default.nix index 272be648d2cf..432958255d2c 100644 --- a/pkgs/development/python-modules/censys/default.nix +++ b/pkgs/development/python-modules/censys/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "censys"; - version = "2.1.6"; + version = "2.1.7"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "censys"; repo = "censys-python"; rev = "v${version}"; - hash = "sha256-jCQWjGx35erhkj1gjBjdGytvKNarrTODH6fJpFMQqLE="; + hash = "sha256-1GJef+6Aqah9W9yPwqD8QCh0sNn/X9UwlzmsCk51QMY="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/itemadapter/default.nix b/pkgs/development/python-modules/itemadapter/default.nix index 74b8eabd866f..ba8396d16272 100644 --- a/pkgs/development/python-modules/itemadapter/default.nix +++ b/pkgs/development/python-modules/itemadapter/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "itemadapter"; - version = "0.6.0"; + version = "0.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Px9g69bJGwAiKCDzi/USaqSaj7bkZ9NR8DZEIflToV0="; + hash = "sha256-MsBh7Jq0fVND6AEbJocw9I/2MqAZK5UpLRGLGNvXaHo="; }; # Infinite recursion with Scrapy diff --git a/pkgs/development/python-modules/jarowinkler/default.nix b/pkgs/development/python-modules/jarowinkler/default.nix index f144cc49a9d4..c29a5c303c97 100644 --- a/pkgs/development/python-modules/jarowinkler/default.nix +++ b/pkgs/development/python-modules/jarowinkler/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "jarowinkler"; - version = "1.1.2"; + version = "1.2.0"; disabled = pythonOlder "3.6"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "maxbachmann"; repo = "JaroWinkler"; rev = "refs/tags/v${version}"; - hash = "sha256-yaJcmHkLxiRqrBiIel97mFxpav3N5QQSM+L9jA1kn5A="; + hash = "sha256-JR6nCLO6oUxpGKjnrrVAOLbrIALSNKkll53+3p4bb1g="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/lingua/default.nix b/pkgs/development/python-modules/lingua/default.nix new file mode 100644 index 000000000000..f116df7e2fda --- /dev/null +++ b/pkgs/development/python-modules/lingua/default.nix @@ -0,0 +1,35 @@ +{ lib +, fetchPypi +, buildPythonPackage +, flit-core +, polib +, click }: + +buildPythonPackage rec { + pname = "lingua"; + version = "4.15.0"; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-DhqUZ0HbKIpANhrQT/OP4EvwgZg0uKu4TEtTX+2bpO8="; + }; + + nativeBuildInputs = [ + flit-core + ]; + + propagatedBuildInputs = [ + click + polib + ]; + + pythonImportsCheck = [ "lingua" ]; + + meta = with lib; { + description = "Translation toolset"; + homepage = "https://github.com/wichert/lingua"; + license = licenses.bsd3; + maintainers = with maintainers; [ np ]; + }; +} diff --git a/pkgs/development/python-modules/mitmproxy/default.nix b/pkgs/development/python-modules/mitmproxy/default.nix index 5508f39531a5..ed390ef33658 100644 --- a/pkgs/development/python-modules/mitmproxy/default.nix +++ b/pkgs/development/python-modules/mitmproxy/default.nix @@ -121,6 +121,6 @@ buildPythonPackage rec { description = "Man-in-the-middle proxy"; homepage = "https://mitmproxy.org/"; license = licenses.mit; - maintainers = with maintainers; [ fpletz kamilchm ]; + maintainers = with maintainers; [ kamilchm SuperSandro2000 ]; }; } diff --git a/pkgs/development/python-modules/parts/default.nix b/pkgs/development/python-modules/parts/default.nix index b1c520ded322..ba54ce2e70a6 100644 --- a/pkgs/development/python-modules/parts/default.nix +++ b/pkgs/development/python-modules/parts/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "parts"; - version = "1.5.1"; + version = "1.5.2"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-H6nyn2TY1Ga65CyhxOSlgcDTTC1UJi8I/4damM6I7fM="; + hash = "sha256-gOPDqXF05bQcG0Kv0+akBrikRr/CfHB9/tM/TJDPHdM="; }; # Project has no tests diff --git a/pkgs/development/python-modules/pygls/default.nix b/pkgs/development/python-modules/pygls/default.nix index 4de2e30d0f64..e9a6850b5e65 100644 --- a/pkgs/development/python-modules/pygls/default.nix +++ b/pkgs/development/python-modules/pygls/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, isPy3k +, pythonOlder , fetchFromGitHub , setuptools-scm , pydantic @@ -13,15 +13,16 @@ buildPythonPackage rec { pname = "pygls"; - version = "0.12"; + version = "0.12.1"; format = "setuptools"; - disabled = !isPy3k; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "openlawlibrary"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-PEfGxOUsiZ5WLmoQkOP2RRWJlIKi+42lOu55C3C+k8A="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-L2KTNiI+I+r2fF88B1NSunowokrDzGCw3PXbxekg/oE="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; @@ -32,12 +33,6 @@ buildPythonPackage rec { toml typeguard ]; - # We don't know why an early version of pydantic is required, see: - # https://github.com/openlawlibrary/pygls/issues/221 - preBuild = '' - substituteInPlace setup.cfg \ - --replace "pydantic>=1.7,<1.9" "pydantic" - ''; checkInputs = [ mock diff --git a/pkgs/development/python-modules/python-language-server/default.nix b/pkgs/development/python-modules/python-language-server/default.nix deleted file mode 100644 index e0de396b7c76..000000000000 --- a/pkgs/development/python-modules/python-language-server/default.nix +++ /dev/null @@ -1,93 +0,0 @@ -{ lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, pythonOlder, isPy27 -, backports_functools_lru_cache ? null, configparser ? null, futures ? null, future, jedi, pluggy, python-jsonrpc-server, flake8 -, pytestCheckHook, mock, pytest-cov, coverage, setuptools, ujson, flaky -, # Allow building a limited set of providers, e.g. ["pycodestyle"]. - providers ? ["*"] - # The following packages are optional and - # can be overwritten with null as your liking. -, autopep8 ? null -, mccabe ? null -, pycodestyle ? null -, pydocstyle ? null -, pyflakes ? null -, pylint ? null -, rope ? null -, yapf ? null -}: - -let - withProvider = p: builtins.elem "*" providers || builtins.elem p providers; -in - -buildPythonPackage rec { - pname = "python-language-server"; - version = "0.36.2"; - # https://github.com/palantir/python-language-server/issues/896#issuecomment-752790868 - disabled = pythonAtLeast "3.9"; - - src = fetchFromGitHub { - owner = "palantir"; - repo = "python-language-server"; - rev = version; - sha256 = "07x6jr4z20jxn03bxblwc8vk0ywha492cgwfhj7q97nb5cm7kx0q"; - }; - - postPatch = '' - # Reading the changelog I don't expect an API break in pycodestyle and pyflakes - substituteInPlace setup.py \ - --replace "pycodestyle>=2.6.0,<2.7.0" "pycodestyle>=2.6.0,<2.8.0" \ - --replace "jedi>=0.17.2,<0.18.0" "jedi>=0.17.2,<0.19.0" \ - --replace "pyflakes>=2.2.0,<2.3.0" "pyflakes>=2.2.0,<2.4.0" - ''; - - propagatedBuildInputs = [ setuptools jedi pluggy future python-jsonrpc-server ujson ] - ++ lib.optional (withProvider "autopep8") autopep8 - ++ lib.optional (withProvider "mccabe") mccabe - ++ lib.optional (withProvider "pycodestyle") pycodestyle - ++ lib.optional (withProvider "pydocstyle") pydocstyle - ++ lib.optional (withProvider "pyflakes") pyflakes - ++ lib.optional (withProvider "pylint") pylint - ++ lib.optional (withProvider "rope") rope - ++ lib.optional (withProvider "yapf") yapf - ++ lib.optional isPy27 configparser - ++ lib.optionals (pythonOlder "3.2") [ backports_functools_lru_cache futures ]; - - # The tests require all the providers, disable otherwise. - doCheck = providers == ["*"]; - - checkInputs = [ - pytestCheckHook mock pytest-cov coverage flaky - # Do not propagate flake8 or it will enable pyflakes implicitly - flake8 - # rope is technically a dependency, but we don't add it by default since we - # already have jedi, which is the preferred option - rope - ]; - - dontUseSetuptoolsCheck = true; - - preCheck = '' - export HOME=$TEMPDIR - ''; - - # Tests failed since update to 0.31.8 - disabledTests = [ - "test_pyqt_completion" - "test_numpy_completions" - "test_pandas_completions" - "test_matplotlib_completions" - "test_snippet_parsing" - "test_numpy_hover" - "test_symbols" - ] ++ lib.optional isPy27 "test_flake8_lint"; - - meta = with lib; { - homepage = "https://github.com/palantir/python-language-server"; - description = "An implementation of the Language Server Protocol for Python"; - license = licenses.mit; - maintainers = [ ]; - # no longer maintained - # see https://github.com/palantir/python-language-server/pull/918#issuecomment-817361554 - broken = true; - }; -} diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix index 41af2ad8e3ef..eafad1a9ab09 100644 --- a/pkgs/development/python-modules/python-lsp-server/default.nix +++ b/pkgs/development/python-modules/python-lsp-server/default.nix @@ -23,6 +23,7 @@ , setuptools-scm , stdenv , ujson +, whatthepatch , yapf , withAutopep8 ? true , withFlake8 ? true @@ -50,7 +51,7 @@ buildPythonPackage rec { }; postPatch = '' - substituteInPlace setup.cfg \ + substituteInPlace pyproject.toml \ --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ --replace "--cov pylsp --cov test" "" \ --replace "mccabe>=0.6.0,<0.7.0" "mccabe" @@ -75,7 +76,7 @@ buildPythonPackage rec { ++ lib.optional withPyflakes pyflakes ++ lib.optional withPylint pylint ++ lib.optional withRope rope - ++ lib.optional withYapf yapf; + ++ lib.optionals withYapf [ whatthepatch yapf ]; checkInputs = [ flaky @@ -87,7 +88,9 @@ buildPythonPackage rec { # pyqt5 is broken on aarch64-darwin ++ lib.optionals (!stdenv.isDarwin || !stdenv.isAarch64) [ pyqt5 ]; - disabledTests = lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config" + disabledTests = [ + "test_numpy_completions" # https://github.com/python-lsp/python-lsp-server/issues/243 + ] ++ lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config" # pyqt5 is broken on aarch64-darwin ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "test_pyqt_completion"; diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix index 1e0c97079a38..1475b42ec939 100644 --- a/pkgs/development/python-modules/rapidfuzz/default.nix +++ b/pkgs/development/python-modules/rapidfuzz/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "rapidfuzz"; - version = "2.1.3"; + version = "2.4.2"; disabled = pythonOlder "3.6"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "maxbachmann"; repo = "RapidFuzz"; rev = "refs/tags/v${version}"; - hash = "sha256-vK/56+5R6SgDz9DT92PzvDn8cSxSyUiCsV2EOcsGWTA="; + hash = "sha256-nLYxPGK+7ThvpsmvF2zlo+DqykY8bW1j2si3Lnyq7oo="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/rstcheck-core/default.nix b/pkgs/development/python-modules/rstcheck-core/default.nix index a867a9434820..b296f5dc168d 100644 --- a/pkgs/development/python-modules/rstcheck-core/default.nix +++ b/pkgs/development/python-modules/rstcheck-core/default.nix @@ -47,7 +47,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"' + --replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"' \ + --replace 'docutils = ">=0.7, <0.19"' 'docutils = ">=0.7"' ''; pythonImportsCheck = [ diff --git a/pkgs/development/python-modules/s3-credentials/default.nix b/pkgs/development/python-modules/s3-credentials/default.nix index 032d3a5dda2a..13431569d505 100644 --- a/pkgs/development/python-modules/s3-credentials/default.nix +++ b/pkgs/development/python-modules/s3-credentials/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "s3-credentials"; - version = "0.12"; + version = "0.12.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "simonw"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-NDUm/RhlmuZwB3fwwom2Y9PcF6J4+G29WHE7lqdDP3Y="; + hash = "sha256-w0pwQidSAh/CQPVbv4UocbbETyyOT/rcNFE1ixYz4lY="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/whatthepatch/default.nix b/pkgs/development/python-modules/whatthepatch/default.nix new file mode 100644 index 000000000000..9244e26520cd --- /dev/null +++ b/pkgs/development/python-modules/whatthepatch/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "whatthepatch"; + version = "1.0.2"; + + src = fetchFromGitHub { + owner = "cscorley"; + repo = pname; + rev = version; + hash = "sha256-0l/Ebq7Js9sKFJ/RzkQ1aWEDCxt+COVd2qVnLSWwFx0="; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ "whatthepatch" ]; + + meta = with lib; { + description = "Python library for both parsing and applying patch files"; + homepage = "https://github.com/cscorley/whatthepatch"; + license = licenses.mit; + maintainers = with maintainers; [ jyooru ]; + }; +} diff --git a/pkgs/development/tools/cmake-language-server/disable-test-timeouts.patch b/pkgs/development/tools/cmake-language-server/disable-test-timeouts.patch deleted file mode 100644 index febe7cf77e71..000000000000 --- a/pkgs/development/tools/cmake-language-server/disable-test-timeouts.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tests/test_server.py b/tests/test_server.py -index c0777f5..1184fb3 100644 ---- a/tests/test_server.py -+++ b/tests/test_server.py -@@ -11,7 +11,7 @@ from pygls.types import (CompletionContext, CompletionParams, - InitializeParams, Position, TextDocumentIdentifier, - TextDocumentItem, TextDocumentPositionParams) - --CALL_TIMEOUT = 2 -+CALL_TIMEOUT = None - - - def _init(client: LanguageServer, root: Path): diff --git a/pkgs/development/tools/continuous-integration/jenkins/default.nix b/pkgs/development/tools/continuous-integration/jenkins/default.nix index 87a90aa90b9f..0bd1d5484388 100644 --- a/pkgs/development/tools/continuous-integration/jenkins/default.nix +++ b/pkgs/development/tools/continuous-integration/jenkins/default.nix @@ -70,7 +70,7 @@ stdenv.mkDerivation rec { homepage = "https://jenkins-ci.org"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mit; - maintainers = with maintainers; [ coconnor fpletz earldouglas nequissimus ]; + maintainers = with maintainers; [ coconnor earldouglas nequissimus ]; mainProgram = "jenkins-cli"; platforms = platforms.all; }; diff --git a/pkgs/development/tools/git-ftp/default.nix b/pkgs/development/tools/git-ftp/default.nix index 25295ad0062d..57b5e3c46372 100644 --- a/pkgs/development/tools/git-ftp/default.nix +++ b/pkgs/development/tools/git-ftp/default.nix @@ -1,5 +1,22 @@ -{ lib, stdenv, fetchFromGitHub, pandoc, man }: -stdenv.mkDerivation rec { +{ lib +, resholve +, fetchFromGitHub +, fetchpatch +, bash +, coreutils +, git +, gnugrep +, gawk +, curl +, hostname +, gnused +, findutils +, lftp +, pandoc +, man +}: + +resholve.mkDerivation rec { pname = "git-ftp"; version = "1.6.0"; src = fetchFromGitHub { @@ -11,11 +28,66 @@ stdenv.mkDerivation rec { dontBuild = true; + # fix bug/typo; PRed upstream @ + # https://github.com/git-ftp/git-ftp/pull/628 + patches = [ + (fetchpatch { + name = "fix-function-invocation-typo.patch"; + url = "https://github.com/git-ftp/git-ftp/commit/cddf7cbba80e710758f6aac0ec0d77552ea8cd75.patch"; + sha256 = "sha256-2B0QaMJi78Bg3bA1jp41aiyql1/LCryoaDs7+xmS1HY="; + }) + ]; + installPhase = '' make install-all prefix=$out ''; - buildInputs = [pandoc man]; + nativeBuildInputs = [ pandoc man ]; + + solutions = { + git-ftp = { + scripts = [ "bin/git-ftp" ]; + interpreter = "${bash}/bin/bash"; + inputs = [ + coreutils + git + gnugrep + gawk + curl + hostname + gnused + findutils + lftp + ]; + fake = { + # don't resolve impure system macOS security + # caution: will still be fragile if PATH is bad + # TODO: fixable once we figure out how to handle + # this entire class of problem... + "external" = [ "security" ]; + }; + keep = { + # looks like run-time user/env/git-config controlled + "$GIT_PAGER" = true; + "$hook" = true; # presumably git hooks given context + }; + execer = [ + # TODO: rm when binlore/resholve handle git; manually + # checked and see no obvious subexec for now + "cannot:${git}/bin/git" + /* + Mild uncertainty here. There *are* commandlikes in + the arguments (especially wait & cd), but I think they are + fine as-is, because I'm reading them as: + 1. ftp commands + 2. running on the remote anyways + + See https://github.com/git-ftp/git-ftp/blob/057f7d8e9f00ffc5a8c6ceaa4be30af2939df41a/git-ftp#L1214-L1221 + */ + "cannot:${lftp}/bin/lftp" + ]; + }; + }; meta = with lib; { description = "Git powered FTP client written as shell script"; diff --git a/pkgs/development/tools/lazygit/default.nix b/pkgs/development/tools/lazygit/default.nix index 196c65d21005..c6fbc7112640 100644 --- a/pkgs/development/tools/lazygit/default.nix +++ b/pkgs/development/tools/lazygit/default.nix @@ -21,6 +21,6 @@ buildGoModule rec { homepage = "https://github.com/jesseduffield/lazygit"; changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}"; license = licenses.mit; - maintainers = with maintainers; [ fpletz equirosa Br1ght0ne ]; + maintainers = with maintainers; [ equirosa Br1ght0ne ]; }; } diff --git a/pkgs/development/tools/cmake-language-server/default.nix b/pkgs/development/tools/misc/cmake-language-server/default.nix similarity index 65% rename from pkgs/development/tools/cmake-language-server/default.nix rename to pkgs/development/tools/misc/cmake-language-server/default.nix index 12c14fcb73b4..fcaac283029a 100644 --- a/pkgs/development/tools/cmake-language-server/default.nix +++ b/pkgs/development/tools/misc/cmake-language-server/default.nix @@ -2,6 +2,7 @@ , buildPythonApplication , fetchFromGitHub , poetry +, cmake-format , pygls , pyparsing , cmake @@ -11,19 +12,22 @@ buildPythonApplication rec { pname = "cmake-language-server"; - version = "0.1.4"; + version = "0.1.5"; format = "pyproject"; src = fetchFromGitHub { owner = "regen100"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-FOyyXSgoFpX4mOHFyZtVW618M1Xs7k+IioJzm1sdkKY="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-4GchuxArSJKnl28ckefJgbqxyf1fOU0DUj8R50upTcQ="; }; patches = [ # Test timeouts occasionally cause the build to fail ./disable-test-timeouts.patch + + # cmake-language-server depends on pygls 0.11, but still works with 0.12 + ./use-latest-pygls.patch ]; postPatch = '' @@ -31,10 +35,23 @@ buildPythonApplication rec { --replace 'pyparsing = "^2.4"' 'pyparsing = "^3.0.6"' ''; - nativeBuildInputs = [ poetry ]; - propagatedBuildInputs = [ pygls pyparsing ]; + nativeBuildInputs = [ + poetry + ]; + + propagatedBuildInputs = [ + cmake-format + pygls + pyparsing + ]; + + checkInputs = [ + cmake + cmake-format + pytest-datadir + pytestCheckHook + ]; - checkInputs = [ cmake pytest-datadir pytestCheckHook ]; dontUseCmakeConfigure = true; pythonImportsCheck = [ "cmake_language_server" ]; diff --git a/pkgs/development/tools/misc/cmake-language-server/disable-test-timeouts.patch b/pkgs/development/tools/misc/cmake-language-server/disable-test-timeouts.patch new file mode 100644 index 000000000000..6b66681056bb --- /dev/null +++ b/pkgs/development/tools/misc/cmake-language-server/disable-test-timeouts.patch @@ -0,0 +1,13 @@ +diff --git a/tests/test_server.py b/tests/test_server.py +index 2d09bb2..59a122a 100644 +--- a/tests/test_server.py ++++ b/tests/test_server.py +@@ -26,7 +26,7 @@ from pygls.lsp.types import ( + ) + from pygls.server import LanguageServer + +-CALL_TIMEOUT = 2 ++CALL_TIMEOUT = None + + + def _init(client: LanguageServer, root: Path) -> None: diff --git a/pkgs/development/tools/misc/cmake-language-server/use-latest-pygls.patch b/pkgs/development/tools/misc/cmake-language-server/use-latest-pygls.patch new file mode 100644 index 000000000000..3ff3171aa3b3 --- /dev/null +++ b/pkgs/development/tools/misc/cmake-language-server/use-latest-pygls.patch @@ -0,0 +1,13 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 417df1d..0f59857 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -19,7 +19,7 @@ classifiers = [ + + [tool.poetry.dependencies] + python = "^3.6" +-pygls = "^0.11" ++pygls = "^0.12" + importlib-metadata = {version = "^4.8", python = "<3.8"} + + [tool.poetry.dev-dependencies] diff --git a/pkgs/development/tools/refinery-cli/default.nix b/pkgs/development/tools/refinery-cli/default.nix new file mode 100644 index 000000000000..11219f6eec54 --- /dev/null +++ b/pkgs/development/tools/refinery-cli/default.nix @@ -0,0 +1,25 @@ +{ fetchCrate, lib, openssl, pkg-config, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "refinery-cli"; + version = "0.8.5"; + + src = fetchCrate { + pname = "refinery_cli"; + inherit version; + sha256 = "sha256-I9YjMsl70eiws4ea0P9oqOsNzN+gfO5Jwr7VlFCltq8="; + }; + + cargoSha256 = "sha256-Ehofdr6UNtOwRT0QVFaXDrWFRPqdF9eA8eL/hRwIJUM="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ]; + + meta = with lib; { + description = "Run migrations for the Refinery ORM for Rust via the CLI"; + homepage = "https://github.com/rust-db/refinery"; + license = licenses.mit; + maintainers = with maintainers; [ lucperkins ]; + }; +} diff --git a/pkgs/development/tools/wasmedge/default.nix b/pkgs/development/tools/wasmedge/default.nix new file mode 100644 index 000000000000..f2a4863ecbca --- /dev/null +++ b/pkgs/development/tools/wasmedge/default.nix @@ -0,0 +1,42 @@ +{ lib +, fetchFromGitHub +, llvmPackages +, boost +, cmake +, gtest +, spdlog +}: + +llvmPackages.stdenv.mkDerivation rec { + pname = "wasmedge"; + version = "0.10.1"; + + src = fetchFromGitHub { + owner = "WasmEdge"; + repo = "WasmEdge"; + rev = version; + sha256 = "sha256-SJi8CV0sa+g+Ngvdw8+SxV3kHqoiKBhYUwDLZM4+jX0="; + }; + + buildInputs = [ + boost + spdlog + llvmPackages.llvm + ]; + + nativeBuildInputs = [ cmake llvmPackages.lld ]; + + checkInputs = [ gtest ]; + + cmakeFlags = [ + "-DCMAKE_BUILD_TYPE=Release" + "-DWASMEDGE_BUILD_TESTS=OFF" # Tests are downloaded using git + ]; + + meta = with lib; { + homepage = "https://wasmedge.org/"; + license = with licenses; [ asl20 ]; + description = "A lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications"; + maintainers = with maintainers; [ dit7ya ]; + }; +} diff --git a/pkgs/games/bzflag/default.nix b/pkgs/games/bzflag/default.nix index 6715c1b36250..db144a147f6d 100644 --- a/pkgs/games/bzflag/default.nix +++ b/pkgs/games/bzflag/default.nix @@ -20,6 +20,6 @@ stdenv.mkDerivation rec { homepage = "https://bzflag.org/"; license = licenses.lgpl21Plus; platforms = platforms.unix; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/games/tintin/default.nix b/pkgs/games/tintin/default.nix new file mode 100644 index 000000000000..7add5af64fc7 --- /dev/null +++ b/pkgs/games/tintin/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, lib, zlib, pcre +, memorymappingHook, memstreamHook +, gnutls +}: + +stdenv.mkDerivation rec { + pname = "tintin"; + version = "2.02.20"; + + src = fetchFromGitHub { + owner = "scandum"; + repo = "tintin"; + rev = version; + hash = "sha256-H9Cjg/GkyV50pgewv77zOJ8/Op78P9sQmZ5LorO4L+A="; + }; + + buildInputs = [ zlib pcre gnutls ] + ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook memstreamHook ]; + + preConfigure = '' + cd src + ''; + + meta = with lib; { + description = "A free MUD client for macOS, Linux and Windows"; + homepage = "https://tintin.mudhalla.net/index.php"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ abathur ]; + mainProgram = "tt++"; + platforms = platforms.unix; + }; +} diff --git a/pkgs/games/urbanterror/default.nix b/pkgs/games/urbanterror/default.nix index dfbad29fa9e0..fbb633bb657b 100644 --- a/pkgs/games/urbanterror/default.nix +++ b/pkgs/games/urbanterror/default.nix @@ -68,7 +68,7 @@ stdenv.mkDerivation rec { ''; homepage = "http://www.urbanterror.info"; license = licenses.unfreeRedistributable; - maintainers = with maintainers; [ astsmtl fpletz ]; + maintainers = with maintainers; [ astsmtl ]; platforms = platforms.linux; hydraPlatforms = []; }; diff --git a/pkgs/misc/screensavers/electricsheep/default.nix b/pkgs/misc/screensavers/electricsheep/default.nix index ff1736c09425..4b79758ef892 100644 --- a/pkgs/misc/screensavers/electricsheep/default.nix +++ b/pkgs/misc/screensavers/electricsheep/default.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Electric Sheep, a distributed screen saver for evolving artificial organisms"; homepage = "https://electricsheep.org/"; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = platforms.linux; license = licenses.gpl1; }; diff --git a/pkgs/misc/screensavers/xscreensaver/default.nix b/pkgs/misc/screensavers/xscreensaver/default.nix index 836714fb919a..72e283eaf11c 100644 --- a/pkgs/misc/screensavers/xscreensaver/default.nix +++ b/pkgs/misc/screensavers/xscreensaver/default.nix @@ -9,12 +9,12 @@ }: stdenv.mkDerivation rec { - version = "6.03"; + version = "6.04"; pname = "xscreensaver"; src = fetchurl { url = "https://www.jwz.org/${pname}/${pname}-${version}.tar.gz"; - sha256 = "sha256-Mo1ReXNSrPWMpbq0nnb78mA058rXhfZR6hHOe0P7olo="; + sha256 = "sha256-eHAUsp8MV5Pswtk+EQmgSf9IqwwpuFHas09oPO72sVI="; }; nativeBuildInputs = [ diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index 62f63a8c3ac3..18c23c46c13c 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -94,6 +94,6 @@ stdenv.mkDerivation rec { ''; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/os-specific/linux/lxcfs/default.nix b/pkgs/os-specific/linux/lxcfs/default.nix index 68bf03552307..67e96289e2ab 100644 --- a/pkgs/os-specific/linux/lxcfs/default.nix +++ b/pkgs/os-specific/linux/lxcfs/default.nix @@ -46,6 +46,6 @@ stdenv.mkDerivation rec { changelog = "https://linuxcontainers.org/lxcfs/news/"; license = licenses.asl20; platforms = platforms.linux; - maintainers = with maintainers; [ mic92 fpletz ]; + maintainers = with maintainers; [ mic92 ]; }; } diff --git a/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix b/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix index 1952d31b0247..75f210f4c228 100644 --- a/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix +++ b/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix @@ -10,12 +10,12 @@ buildGoModule rec { pname = "oci-seccomp-bpf-hook"; - version = "1.2.5"; + version = "1.2.6"; src = fetchFromGitHub { owner = "containers"; repo = "oci-seccomp-bpf-hook"; rev = "v${version}"; - sha256 = "sha256-PU7WX5RAV6wWVRsqq6MdEjr00AtlTT4cSacRaxrEF2s="; + sha256 = "sha256-+HGVxPBCPIdFwzZf3lFE0MWA2xMKsHQkfDo4zyNgzpg="; }; vendorSha256 = null; diff --git a/pkgs/os-specific/linux/prl-tools/default.nix b/pkgs/os-specific/linux/prl-tools/default.nix index ce0c05346ef1..9a2c23d735ab 100644 --- a/pkgs/os-specific/linux/prl-tools/default.nix +++ b/pkgs/os-specific/linux/prl-tools/default.nix @@ -1,7 +1,24 @@ -{ stdenv, lib, makeWrapper, p7zip -, gawk, util-linux, xorg, glib, dbus-glib, zlib, bbe, bash, timetrap, netcat, cups -, kernel ? null, libsOnly ? false -, fetchurl, undmg, perl, autoPatchelfHook +{ stdenv +, lib +, makeWrapper +, p7zip +, gawk +, util-linux +, xorg +, glib +, dbus-glib +, zlib +, bbe +, bash +, timetrap +, netcat +, cups +, kernel ? null +, libsOnly ? false +, fetchurl +, undmg +, perl +, autoPatchelfHook }: assert (!libsOnly) -> kernel != null; @@ -14,7 +31,7 @@ stdenv.mkDerivation rec { # We download the full distribution to extract prl-tools-lin.iso from # => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso src = fetchurl { - url = "https://download.parallels.com/desktop/v${lib.versions.major version}/${version}/ParallelsDesktop-${version}.dmg"; + url = "https://download.parallels.com/desktop/v${lib.versions.major version}/${version}/ParallelsDesktop-${version}.dmg"; sha256 = "sha256-gjLxQOTFuVghv1Bj+zfbNW97q1IN2rurSnPQi13gzRA="; }; @@ -39,7 +56,8 @@ stdenv.mkDerivation rec { fi ''; - patches = lib.optionals (lib.versionAtLeast kernel.version "5.18") [ ./prl-tools.patch ]; + patches = lib.optional (lib.versionAtLeast kernel.version "5.18") ./prl-tools-5.18.patch + ++ lib.optional (lib.versionAtLeast kernel.version "5.19") ./prl-tools-5.19.patch; kernelVersion = lib.optionalString (!libsOnly) kernel.modDirVersion; kernelDir = lib.optionalString (!libsOnly) "${kernel.dev}/lib/modules/${kernelVersion}"; diff --git a/pkgs/os-specific/linux/prl-tools/prl-tools.patch b/pkgs/os-specific/linux/prl-tools/prl-tools-5.18.patch similarity index 100% rename from pkgs/os-specific/linux/prl-tools/prl-tools.patch rename to pkgs/os-specific/linux/prl-tools/prl-tools-5.18.patch diff --git a/pkgs/os-specific/linux/prl-tools/prl-tools-5.19.patch b/pkgs/os-specific/linux/prl-tools/prl-tools-5.19.patch new file mode 100644 index 000000000000..5ec00e6dd02e --- /dev/null +++ b/pkgs/os-specific/linux/prl-tools/prl-tools-5.19.patch @@ -0,0 +1,29 @@ +diff -puNr prl-tools-build/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c prl-tools-build/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c +--- prl-tools-build/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c ++++ prl-tools-build/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c +@@ -851,7 +851,7 @@ ssize_t prlfs_rw(struct inode *inode, char *buf, size_t size, + loff_t *off, unsigned int rw, int user, int flags); + + +-int prlfs_readpage(struct file *file, struct page *page) { ++int prlfs_read_folio(struct file *file, struct folio *folio) { + char *buf; + ssize_t ret; + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) +@@ -859,6 +859,7 @@ int prlfs_readpage(struct file *file, struct page *page) { + #else + struct inode *inode = file->f_dentry->d_inode; + #endif ++ struct page *page = &folio->page; + loff_t off = page->index << PAGE_SHIFT; + + if (!file) { +@@ -950,7 +951,7 @@ out: + } + + static const struct address_space_operations prlfs_aops = { +- .readpage = prlfs_readpage, ++ .read_folio = prlfs_read_folio, + .writepage = prlfs_writepage, + .write_begin = simple_write_begin, + .write_end = prlfs_write_end, diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index eec2d1ad04ab..5d55d1db6574 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -203,7 +203,7 @@ let changelog = "https://github.com/openzfs/zfs/releases/tag/zfs-${version}"; license = lib.licenses.cddl; platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ hmenke jcumming jonringer wizeman fpletz globin ]; + maintainers = with lib.maintainers; [ hmenke jcumming jonringer wizeman globin ]; mainProgram = "zfs"; # If your Linux kernel version is not yet supported by zfs, try zfsUnstable. # On NixOS set the option boot.zfs.enableUnstable. diff --git a/pkgs/servers/atlassian/confluence.nix b/pkgs/servers/atlassian/confluence.nix index 03d78aeeefe2..8ea89293a348 100644 --- a/pkgs/servers/atlassian/confluence.nix +++ b/pkgs/servers/atlassian/confluence.nix @@ -52,6 +52,6 @@ optionalWarning (crowdProperties != null) "Using `crowdProperties` is deprecated homepage = "https://www.atlassian.com/software/confluence"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.unfree; - maintainers = with maintainers; [ fpletz globin willibutz ciil techknowlogick ma27 ]; + maintainers = with maintainers; [ globin willibutz ciil techknowlogick ma27 ]; }; }) diff --git a/pkgs/servers/atlassian/crowd.nix b/pkgs/servers/atlassian/crowd.nix index 606bcf0ac2e1..918aec8e16b8 100644 --- a/pkgs/servers/atlassian/crowd.nix +++ b/pkgs/servers/atlassian/crowd.nix @@ -51,6 +51,6 @@ optionalWarning (openidPassword != "WILL_NEVER_BE_SET") "Using `crowdProperties` description = "Single sign-on and identity management tool"; homepage = "https://www.atlassian.com/software/crowd"; license = licenses.unfree; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ globin ]; }; }) diff --git a/pkgs/servers/atlassian/jira.nix b/pkgs/servers/atlassian/jira.nix index 5b4d9d695f50..fcb709d7f423 100644 --- a/pkgs/servers/atlassian/jira.nix +++ b/pkgs/servers/atlassian/jira.nix @@ -39,6 +39,6 @@ stdenv.mkDerivation rec { description = "Proprietary issue tracking product, also providing project management functions"; homepage = "https://www.atlassian.com/software/jira"; license = licenses.unfree; - maintainers = with maintainers; [ fpletz globin ciil megheaiulian techknowlogick ma27 ]; + maintainers = with maintainers; [ globin ciil megheaiulian techknowlogick ma27 ]; }; } diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix index 4ea9d6a03056..8b0de8f53880 100644 --- a/pkgs/servers/bird/default.nix +++ b/pkgs/servers/bird/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { description = "BIRD Internet Routing Daemon"; homepage = "http://bird.network.cz"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ globin ]; platforms = platforms.linux; }; } diff --git a/pkgs/servers/freeradius/default.nix b/pkgs/servers/freeradius/default.nix index 9729c57769b3..fb557bb73fb8 100644 --- a/pkgs/servers/freeradius/default.nix +++ b/pkgs/servers/freeradius/default.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation rec { homepage = "https://freeradius.org/"; description = "A modular, high performance free RADIUS suite"; license = licenses.gpl2; - maintainers = with maintainers; [ sheenobu willibutz fpletz lheckemann ]; + maintainers = with maintainers; [ sheenobu willibutz lheckemann ]; platforms = with platforms; linux; }; } diff --git a/pkgs/servers/irc/charybdis/default.nix b/pkgs/servers/irc/charybdis/default.nix index 53bfbb81cd91..37d5b299837d 100644 --- a/pkgs/servers/irc/charybdis/default.nix +++ b/pkgs/servers/irc/charybdis/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { description = "IRCv3 server designed to be highly scalable"; homepage = "https://github.com/charybdis-ircd/charybdis"; license = licenses.gpl2; - maintainers = with maintainers; [ lassulus fpletz ]; + maintainers = with maintainers; [ lassulus ]; platforms = platforms.unix; }; diff --git a/pkgs/servers/mattermost/default.nix b/pkgs/servers/mattermost/default.nix index a9d18d5b3f72..20ffc299d018 100644 --- a/pkgs/servers/mattermost/default.nix +++ b/pkgs/servers/mattermost/default.nix @@ -45,6 +45,6 @@ buildGoModule rec { description = "Mattermost is an open source platform for secure collaboration across the entire software development lifecycle"; homepage = "https://www.mattermost.org"; license = with licenses; [ agpl3 asl20 ]; - maintainers = with maintainers; [ fpletz ryantm numinit kranzes ]; + maintainers = with maintainers; [ ryantm numinit kranzes ]; }; } diff --git a/pkgs/servers/mattermost/matterircd.nix b/pkgs/servers/mattermost/matterircd.nix index ac459234093e..bc78495a5013 100644 --- a/pkgs/servers/mattermost/matterircd.nix +++ b/pkgs/servers/mattermost/matterircd.nix @@ -19,7 +19,7 @@ buildGoModule rec { inherit (src.meta) homepage; description = "Minimal IRC server bridge to Mattermost"; license = licenses.mit; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/servers/monitoring/prometheus/collectd-exporter.nix b/pkgs/servers/monitoring/prometheus/collectd-exporter.nix index d089a3877cd9..4f059b7e84f1 100644 --- a/pkgs/servers/monitoring/prometheus/collectd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/collectd-exporter.nix @@ -20,7 +20,7 @@ buildGoPackage rec { description = "Relay server for exporting metrics from collectd to Prometheus"; homepage = "https://github.com/prometheus/collectd_exporter"; license = licenses.asl20; - maintainers = with maintainers; [ benley fpletz ]; + maintainers = with maintainers; [ benley ]; platforms = platforms.unix; }; } diff --git a/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix b/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix index f4c64d225e90..5d47bede00bd 100644 --- a/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix @@ -19,7 +19,7 @@ buildGoModule rec { description = "HAProxy Exporter for the Prometheus monitoring system"; homepage = "https://github.com/prometheus/haproxy_exporter"; license = licenses.asl20; - maintainers = with maintainers; [ benley fpletz ]; + maintainers = with maintainers; [ benley ]; platforms = platforms.unix; }; } diff --git a/pkgs/servers/monitoring/prometheus/openvpn-exporter.nix b/pkgs/servers/monitoring/prometheus/openvpn-exporter.nix index 78224bcfaa82..735fc8529984 100644 --- a/pkgs/servers/monitoring/prometheus/openvpn-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/openvpn-exporter.nix @@ -18,6 +18,6 @@ buildGoModule rec { description = "Prometheus exporter for OpenVPN"; broken = true; license = licenses.asl20; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ globin ]; }; } diff --git a/pkgs/servers/monitoring/prometheus/pushgateway.nix b/pkgs/servers/monitoring/prometheus/pushgateway.nix index f14ceec44e21..f8a195c92fe0 100644 --- a/pkgs/servers/monitoring/prometheus/pushgateway.nix +++ b/pkgs/servers/monitoring/prometheus/pushgateway.nix @@ -42,7 +42,7 @@ buildGoPackage rec { description = "Allows ephemeral and batch jobs to expose metrics to Prometheus"; homepage = "https://github.com/prometheus/pushgateway"; license = licenses.asl20; - maintainers = with maintainers; [ benley fpletz ]; + maintainers = with maintainers; [ benley ]; platforms = platforms.unix; }; } diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index 82c5ac5ea5da..28f3a85442b5 100644 --- a/pkgs/servers/mpd/default.nix +++ b/pkgs/servers/mpd/default.nix @@ -185,7 +185,7 @@ let description = "A flexible, powerful daemon for playing music"; homepage = "https://www.musicpd.org/"; license = licenses.gpl2Only; - maintainers = with maintainers; [ astsmtl ehmry fpletz tobim ]; + maintainers = with maintainers; [ astsmtl ehmry tobim ]; platforms = platforms.unix; longDescription = '' diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix index 01cdddfd398f..928545a8d8d7 100644 --- a/pkgs/servers/nextcloud/default.nix +++ b/pkgs/servers/nextcloud/default.nix @@ -25,7 +25,7 @@ let meta = with lib; { description = "Sharing solution for files, calendars, contacts and more"; homepage = "https://nextcloud.com"; - maintainers = with maintainers; [ schneefux bachp globin fpletz ma27 ]; + maintainers = with maintainers; [ schneefux bachp globin ma27 ]; license = licenses.agpl3Plus; platforms = with platforms; unix; knownVulnerabilities = extraVulnerabilities diff --git a/pkgs/servers/sks/default.nix b/pkgs/servers/sks/default.nix index 0f21690bbee3..2ace06edc975 100644 --- a/pkgs/servers/sks/default.nix +++ b/pkgs/servers/sks/default.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { inherit (src.meta) homepage; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ globin ]; }; } diff --git a/pkgs/servers/squid/default.nix b/pkgs/servers/squid/default.nix index 917d15241164..23749170386c 100644 --- a/pkgs/servers/squid/default.nix +++ b/pkgs/servers/squid/default.nix @@ -35,6 +35,6 @@ stdenv.mkDerivation rec { homepage = "http://www.squid-cache.org"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz raskin ]; + maintainers = with maintainers; [ raskin ]; }; } diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix index e20cc1c972a0..45fc65326526 100644 --- a/pkgs/servers/varnish/default.nix +++ b/pkgs/servers/varnish/default.nix @@ -42,7 +42,7 @@ let description = "Web application accelerator also known as a caching HTTP reverse proxy"; homepage = "https://www.varnish-cache.org"; license = licenses.bsd2; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = platforms.unix; }; }; diff --git a/pkgs/servers/web-apps/searx/default.nix b/pkgs/servers/web-apps/searx/default.nix index 5327b48d51e7..3d65fe463148 100644 --- a/pkgs/servers/web-apps/searx/default.nix +++ b/pkgs/servers/web-apps/searx/default.nix @@ -70,6 +70,6 @@ toPythonModule (buildPythonApplication rec { homepage = "https://github.com/searx/searx"; description = "A privacy-respecting, hackable metasearch engine"; license = licenses.agpl3Plus; - maintainers = with maintainers; [ matejc fpletz globin danielfullmer ]; + maintainers = with maintainers; [ matejc globin danielfullmer ]; }; }) diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix index 607a9dc02016..00a88b8073fe 100644 --- a/pkgs/servers/xmpp/prosody/default.nix +++ b/pkgs/servers/xmpp/prosody/default.nix @@ -82,6 +82,6 @@ stdenv.mkDerivation rec { license = licenses.mit; homepage = "https://prosody.im"; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ globin ]; }; } diff --git a/pkgs/shells/liquidprompt/default.nix b/pkgs/shells/liquidprompt/default.nix index 4f06225e94f6..47e2e72c7ab7 100644 --- a/pkgs/shells/liquidprompt/default.nix +++ b/pkgs/shells/liquidprompt/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "liquidprompt"; - version = "2.0.4"; + version = "2.1.2"; src = fetchFromGitHub { owner = "nojhan"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ntCfXJUOQqL63HWoG+WJr9a+qB16AaL5zf58039t7GU="; + sha256 = "sha256-7mnrXLqnCdOuS2aRs4tVLfO8SRFrqZHNM40gWE/CVFI="; }; strictDeps = true; diff --git a/pkgs/tools/admin/lxd/default.nix b/pkgs/tools/admin/lxd/default.nix index 99515ce997e5..a3a64d361c61 100644 --- a/pkgs/tools/admin/lxd/default.nix +++ b/pkgs/tools/admin/lxd/default.nix @@ -62,7 +62,7 @@ buildGoPackage rec { homepage = "https://linuxcontainers.org/lxd/"; changelog = "https://github.com/lxc/lxd/releases/tag/lxd-${version}"; license = licenses.asl20; - maintainers = with maintainers; [ fpletz marsam ]; + maintainers = with maintainers; [ marsam ]; platforms = platforms.linux; }; } diff --git a/pkgs/tools/admin/uacme/default.nix b/pkgs/tools/admin/uacme/default.nix index b47560c44be3..45f897afbe89 100644 --- a/pkgs/tools/admin/uacme/default.nix +++ b/pkgs/tools/admin/uacme/default.nix @@ -10,13 +10,13 @@ }: stdenv.mkDerivation rec { pname = "uacme"; - version = "1.7.1"; + version = "1.7.2"; src = fetchFromGitHub { owner = "ndilieto"; repo = "uacme"; rev = "v${version}"; - hash = "sha256-QCI34B/C4vZ3hNnp06NIScY03RTZ0EZBl2HPnQjjtnc="; + hash = "sha256-mbH5Z/ieV4fiLCLWag1aLPNA89sexd5upNF3KHTfhKM="; }; configureFlags = [ "--with-openssl" ]; diff --git a/pkgs/tools/audio/darkice/default.nix b/pkgs/tools/audio/darkice/default.nix index bc3bcbe4eff2..73c71ee6f1a1 100644 --- a/pkgs/tools/audio/darkice/default.nix +++ b/pkgs/tools/audio/darkice/default.nix @@ -32,6 +32,6 @@ stdenv.mkDerivation rec { homepage = "http://darkice.org/"; description = "Live audio streamer"; license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ ikervagyok fpletz ]; + maintainers = with lib.maintainers; [ ikervagyok ]; }; } diff --git a/pkgs/tools/inputmethods/emote/default.nix b/pkgs/tools/inputmethods/emote/default.nix index b51c058bd058..21d50d76d4cd 100644 --- a/pkgs/tools/inputmethods/emote/default.nix +++ b/pkgs/tools/inputmethods/emote/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, python3Packages, wrapGAppsHook, gobject-introspection, gtk3, keybinder3, xdotool, pango, gdk-pixbuf, atk, librsvg }: +{ lib, fetchFromGitHub, python3Packages, wrapGAppsHook, gobject-introspection, gtk3, keybinder3, xdotool, pango, gdk-pixbuf, atk }: python3Packages.buildPythonApplication rec { pname = "emote"; @@ -23,18 +23,19 @@ python3Packages.buildPythonApplication rec { nativeBuildInputs = [ wrapGAppsHook gobject-introspection + ]; + + buildInputs = [ + atk + gdk-pixbuf + gtk3 keybinder3 pango - gdk-pixbuf - atk ]; propagatedBuildInputs = [ python3Packages.manimpango python3Packages.pygobject3 - gtk3 - xdotool - librsvg ]; postInstall = '' @@ -45,16 +46,19 @@ python3Packages.buildPythonApplication rec { dontWrapGApps = true; preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + makeWrapperArgs+=( + "''${gappsWrapperArgs[@]}" + --prefix PATH : ${lib.makeBinPath [ xdotool ]} + ) ''; doCheck = false; meta = with lib; { - description = "A modern emoji picker for Linux"; + description = "Modern emoji picker for Linux"; homepage = "https://github.com/tom-james-watson/emote"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ emilytrau ]; + maintainers = with maintainers; [ emilytrau SuperSandro2000 ]; platforms = platforms.linux; }; } diff --git a/pkgs/tools/misc/getoptions/default.nix b/pkgs/tools/misc/getoptions/default.nix new file mode 100644 index 000000000000..364cf2aca822 --- /dev/null +++ b/pkgs/tools/misc/getoptions/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenvNoCC, fetchFromGitHub, shellcheck, shellspec, busybox-sandbox-shell, ksh, mksh, yash, zsh }: + +stdenvNoCC.mkDerivation rec { + pname = "getoptions"; + version = "3.3.0"; + + src = fetchFromGitHub { + owner = "ko1nksm"; + repo = "getoptions"; + rev = "v${version}"; + hash = "sha256-kUQ0dPjPr/A/btgFQu13ZLklnI284Ij74hCYbGgzF3A="; + }; + + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + doCheck = true; + + checkInputs = [ shellcheck shellspec busybox-sandbox-shell ksh mksh yash zsh ]; + + preCheck = '' + sed -i '/shellspec -s posh/d' Makefile + ''; + + checkTarget = "check testall"; + + meta = with lib; { + description = "An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)"; + homepage = "https://github.com/ko1nksm/getoptions"; + license = licenses.cc0; + platforms = platforms.all; + maintainers = with maintainers; [ matrss ]; + }; +} diff --git a/pkgs/tools/networking/babeld/default.nix b/pkgs/tools/networking/babeld/default.nix index 28caace10289..5714a75e50e5 100644 --- a/pkgs/tools/networking/babeld/default.nix +++ b/pkgs/tools/networking/babeld/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { homepage = "http://www.irif.fr/~jch/software/babel/"; description = "Loop-avoiding distance-vector routing protocol"; license = licenses.mit; - maintainers = with maintainers; [ fpletz hexa ]; + maintainers = with maintainers; [ hexa ]; platforms = platforms.linux; }; } diff --git a/pkgs/tools/networking/dhcpcd/default.nix b/pkgs/tools/networking/dhcpcd/default.nix index 1cd1918e3c87..81c721a20a49 100644 --- a/pkgs/tools/networking/dhcpcd/default.nix +++ b/pkgs/tools/networking/dhcpcd/default.nix @@ -64,6 +64,6 @@ stdenv.mkDerivation rec { homepage = "https://roy.marples.name/projects/dhcpcd"; platforms = platforms.linux; license = licenses.bsd2; - maintainers = with maintainers; [ eelco fpletz ]; + maintainers = with maintainers; [ eelco ]; }; } diff --git a/pkgs/tools/networking/quicktun/default.nix b/pkgs/tools/networking/quicktun/default.nix index e9fa828af533..b997aad0c2d6 100644 --- a/pkgs/tools/networking/quicktun/default.nix +++ b/pkgs/tools/networking/quicktun/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation { broken = stdenv.isDarwin; description = "Very simple, yet secure VPN software"; homepage = "http://wiki.ucis.nl/QuickTun"; - maintainers = [ maintainers.fpletz ]; + maintainers = [ ]; platforms = platforms.unix; license = licenses.bsd2; }; diff --git a/pkgs/tools/networking/tinc/pre.nix b/pkgs/tools/networking/tinc/pre.nix index 5bd1858c195c..173d2432a772 100644 --- a/pkgs/tools/networking/tinc/pre.nix +++ b/pkgs/tools/networking/tinc/pre.nix @@ -39,6 +39,6 @@ stdenv.mkDerivation rec { homepage="http://www.tinc-vpn.org/"; license = licenses.gpl2Plus; platforms = platforms.unix; - maintainers = with maintainers; [ fpletz lassulus mic92 ]; + maintainers = with maintainers; [ lassulus mic92 ]; }; } diff --git a/pkgs/tools/security/clamav/default.nix b/pkgs/tools/security/clamav/default.nix index eb27468b40fb..16cd827b8f3b 100644 --- a/pkgs/tools/security/clamav/default.nix +++ b/pkgs/tools/security/clamav/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { homepage = "https://www.clamav.net"; description = "Antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats"; license = licenses.gpl2; - maintainers = with maintainers; [ robberer qknight fpletz globin ]; + maintainers = with maintainers; [ robberer qknight globin ]; platforms = platforms.unix; }; } diff --git a/pkgs/tools/security/clevis/default.nix b/pkgs/tools/security/clevis/default.nix index 753fd8a6395e..76fe93ab679d 100644 --- a/pkgs/tools/security/clevis/default.nix +++ b/pkgs/tools/security/clevis/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { meta = { description = "Automated Encryption Framework"; homepage = "https://github.com/latchset/clevis"; - maintainers = with lib.maintainers; [ fpletz ]; + maintainers = with lib.maintainers; [ ]; license = lib.licenses.gpl3Plus; }; } diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix index ef09cc1ac71b..459f9f12c1ea 100644 --- a/pkgs/tools/security/fail2ban/default.nix +++ b/pkgs/tools/security/fail2ban/default.nix @@ -80,7 +80,7 @@ python3.pkgs.buildPythonApplication rec { homepage = "https://www.fail2ban.org/"; description = "A program that scans log files for repeated failing login attempts and bans IP addresses"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ eelco lovek323 fpletz ]; + maintainers = with maintainers; [ eelco lovek323 ]; platforms = platforms.unix; }; } diff --git a/pkgs/tools/security/linux-exploit-suggester/default.nix b/pkgs/tools/security/linux-exploit-suggester/default.nix new file mode 100644 index 000000000000..9744c416bb74 --- /dev/null +++ b/pkgs/tools/security/linux-exploit-suggester/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenvNoCC, fetchFromGitHub }: + +stdenvNoCC.mkDerivation rec { + pname = "linux-exploit-suggester"; + version = "unstable-2022-04-01"; + + src = fetchFromGitHub { + owner = "mzet-"; + repo = pname; + rev = "54a5c01497d6655be88f6262ccad5bc5a5e4f4ec"; + sha256 = "v0Q8O+aaXEqwWAwGP/u5Nkm4DzM6nM11GI4XbK2PeWM="; + }; + + installPhase = '' + runHook preInstall + + install -Dm755 linux-exploit-suggester.sh $out/bin/${pname} + + runHook postInstall + ''; + + meta = with lib; { + description = "Tool designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine"; + homepage = "https://github.com/mzet-/linux-exploit-suggester"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ emilytrau ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/tools/security/metasploit/Gemfile b/pkgs/tools/security/metasploit/Gemfile index dc964d2b8cb5..290ca81b8c9a 100644 --- a/pkgs/tools/security/metasploit/Gemfile +++ b/pkgs/tools/security/metasploit/Gemfile @@ -1,4 +1,4 @@ # frozen_string_literal: true source "https://rubygems.org" -gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.2.6" +gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.2.10" diff --git a/pkgs/tools/security/metasploit/Gemfile.lock b/pkgs/tools/security/metasploit/Gemfile.lock index 914ef4a791bc..1baf8dc6c7e0 100644 --- a/pkgs/tools/security/metasploit/Gemfile.lock +++ b/pkgs/tools/security/metasploit/Gemfile.lock @@ -1,9 +1,9 @@ GIT remote: https://github.com/rapid7/metasploit-framework - revision: cb251272d8937b0b5bc92c5194a3617392b50625 - ref: refs/tags/6.2.6 + revision: 67b884984178ba348249dd4374b809e4b6f12a90 + ref: refs/tags/6.2.10 specs: - metasploit-framework (6.2.6) + metasploit-framework (6.2.10) actionpack (~> 6.0) activerecord (~> 6.0) activesupport (~> 6.0) @@ -130,26 +130,26 @@ GEM arel-helpers (2.14.0) activerecord (>= 3.1.0, < 8) aws-eventstream (1.2.0) - aws-partitions (1.605.0) - aws-sdk-core (3.131.2) + aws-partitions (1.614.0) + aws-sdk-core (3.131.5) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.525.0) aws-sigv4 (~> 1.1) jmespath (~> 1, >= 1.6.1) - aws-sdk-ec2 (1.321.0) + aws-sdk-ec2 (1.326.0) aws-sdk-core (~> 3, >= 3.127.0) aws-sigv4 (~> 1.1) aws-sdk-iam (1.69.0) aws-sdk-core (~> 3, >= 3.127.0) aws-sigv4 (~> 1.1) - aws-sdk-kms (1.57.0) + aws-sdk-kms (1.58.0) aws-sdk-core (~> 3, >= 3.127.0) aws-sigv4 (~> 1.1) aws-sdk-s3 (1.114.0) aws-sdk-core (~> 3, >= 3.127.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.4) - aws-sigv4 (1.5.0) + aws-sigv4 (1.5.1) aws-eventstream (~> 1, >= 1.0.2) bcrypt (3.1.18) bcrypt_pbkdf (1.1.0) @@ -174,14 +174,14 @@ GEM http_parser.rb (>= 0.6.0) em-socksify (0.3.2) eventmachine (>= 1.0.0.beta.4) - erubi (1.10.0) + erubi (1.11.0) eventmachine (1.2.7) - faker (2.21.0) + faker (2.22.0) i18n (>= 1.8.11, < 2) - faraday (2.3.0) + faraday (2.4.0) faraday-net_http (~> 2.0) ruby2_keywords (>= 0.0.4) - faraday-net_http (2.0.3) + faraday-net_http (2.1.0) faraday-retry (2.0.0) faraday (~> 2.0) faye-websocket (0.11.1) @@ -224,7 +224,7 @@ GEM activemodel (~> 6.0) activesupport (~> 6.0) railties (~> 6.0) - metasploit-credential (5.0.7) + metasploit-credential (5.0.8) metasploit-concern metasploit-model metasploit_data_models (>= 5.0.0) @@ -234,7 +234,7 @@ GEM rex-socket rubyntlm rubyzip - metasploit-model (4.0.5) + metasploit-model (4.0.6) activemodel (~> 6.0) activesupport (~> 6.0) railties (~> 6.0) @@ -254,9 +254,9 @@ GEM mini_portile2 (2.8.0) minitest (5.16.2) mqtt (0.5.0) - msgpack (1.5.3) + msgpack (1.5.4) multi_json (1.15.0) - mustermann (1.1.1) + mustermann (2.0.2) ruby2_keywords (~> 0.0.1) nessus_rest (0.1.6) net-ldap (0.17.1) @@ -270,15 +270,15 @@ GEM network_interface (0.0.2) nexpose (7.3.0) nio4r (2.5.8) - nokogiri (1.13.7) + nokogiri (1.13.8) mini_portile2 (~> 2.8.0) racc (~> 1.4) nori (2.6.0) - octokit (5.1.0) + octokit (5.2.0) faraday (>= 1, < 3) sawyer (~> 0.9) - openssl-ccm (1.2.2) - openssl-cmac (2.0.1) + openssl-ccm (1.2.3) + openssl-cmac (2.0.2) openvas-omp (0.0.4) packetfu (1.1.13) pcaprub @@ -290,13 +290,13 @@ GEM hashery (~> 2.0) ruby-rc4 ttfunk - pg (1.4.1) + pg (1.4.2) public_suffix (4.0.7) puma (5.6.4) nio4r (~> 2.0) racc (1.6.0) rack (2.2.4) - rack-protection (2.2.0) + rack-protection (2.2.2) rack rack-test (2.0.2) rack (>= 1.3) @@ -331,7 +331,7 @@ GEM metasm rex-arch rex-text - rex-exploitation (0.1.32) + rex-exploitation (0.1.35) jsobfu metasm rex-arch @@ -356,7 +356,7 @@ GEM metasm rex-core rex-text - rex-socket (0.1.40) + rex-socket (0.1.41) rex-core rex-sslscan (0.1.7) rex-core @@ -371,7 +371,7 @@ GEM ruby-macho (3.0.0) ruby-rc4 (0.1.5) ruby2_keywords (0.0.5) - ruby_smb (3.1.6) + ruby_smb (3.1.7) bindata openssl-ccm openssl-cmac @@ -384,10 +384,10 @@ GEM faraday (>= 0.17.3, < 3) simpleidn (0.2.1) unf (~> 0.1.4) - sinatra (2.2.0) - mustermann (~> 1.0) + sinatra (2.2.2) + mustermann (~> 2.0) rack (~> 2.2) - rack-protection (= 2.2.0) + rack-protection (= 2.2.2) tilt (~> 2.0) sqlite3 (1.4.4) sshkey (2.0.0) @@ -397,10 +397,10 @@ GEM eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) thor (1.2.1) - tilt (2.0.10) + tilt (2.0.11) timeout (0.3.0) ttfunk (1.7.0) - tzinfo (2.0.4) + tzinfo (2.0.5) concurrent-ruby (~> 1.0) tzinfo-data (1.2022.1) tzinfo (>= 1.0.0) diff --git a/pkgs/tools/security/metasploit/default.nix b/pkgs/tools/security/metasploit/default.nix index c188dfb266fd..186aec8961bb 100644 --- a/pkgs/tools/security/metasploit/default.nix +++ b/pkgs/tools/security/metasploit/default.nix @@ -15,13 +15,13 @@ let }; in stdenv.mkDerivation rec { pname = "metasploit-framework"; - version = "6.2.6"; + version = "6.2.10"; src = fetchFromGitHub { owner = "rapid7"; repo = "metasploit-framework"; rev = version; - sha256 = "sha256-GppCjA35d4cvCuGE29czAu4JVCq3l2CHIRFkKWNSNH0="; + sha256 = "sha256-POUwkmYnhr7laic59bBF+VdZW1vB488u0yCqsHkc6QM="; }; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/tools/security/metasploit/gemset.nix b/pkgs/tools/security/metasploit/gemset.nix index e73b8fa37834..299f695e38c7 100644 --- a/pkgs/tools/security/metasploit/gemset.nix +++ b/pkgs/tools/security/metasploit/gemset.nix @@ -104,30 +104,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15ff3d8ijqh7har1cgwv2aiq77gkp8jyb8km15vz4kbckf7jps2m"; + sha256 = "0x5nqb4hppcfva0h0sjdjq1ipiwbng6d1jghb853i8q8q56sm20y"; type = "gem"; }; - version = "1.605.0"; + version = "1.614.0"; }; aws-sdk-core = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "164abp3cvmvfa2qsgzbxvkafbhwbgn3qwknp0amwmxw5nwvz8p3s"; + sha256 = "1zjlmk1mxw25rbsg8hx5c621a7q444rjmqv1gdywgckn0mydlw8g"; type = "gem"; }; - version = "3.131.2"; + version = "3.131.5"; }; aws-sdk-ec2 = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0a4j83p1a8x9zdrmlnvqr9g53wmrf1dcf7i5glyamsj4lmqxlnv1"; + sha256 = "0674pphc7m3di01dzbcvl9g5brv1mmcmj14lwaj73gsvbc6zybhy"; type = "gem"; }; - version = "1.321.0"; + version = "1.326.0"; }; aws-sdk-iam = { groups = ["default"]; @@ -144,10 +144,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1m8vwm4cakfv3i4f723a6id07myx18fpdbq8ypa2j7r5njwxpmzz"; + sha256 = "1p2dbmb1vl8vk2xchrrsp2sxa95ya5w7ll1jlw89yyhls3l2l1ag"; type = "gem"; }; - version = "1.57.0"; + version = "1.58.0"; }; aws-sdk-s3 = { groups = ["default"]; @@ -164,10 +164,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xp7diwq7nv4vvxrl9x3lis2l4x6bissrfzbfyy6rv5bmj5w109z"; + sha256 = "1d4bifmll4hrf4gihr5hdvn59wjpz4qpyg5jj95kp17fykzqg36n"; type = "gem"; }; - version = "1.5.0"; + version = "1.5.1"; }; bcrypt = { groups = ["default"]; @@ -324,10 +324,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "09l8lz3j00m898li0yfsnb6ihc63rdvhw3k5xczna5zrjk104f2l"; + sha256 = "11bz1v1cxabm8672gabrw542zyg51dizlcvdck6vvwzagxbjv9zx"; type = "gem"; }; - version = "1.10.0"; + version = "1.11.0"; }; eventmachine = { groups = ["default"]; @@ -344,30 +344,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "025lapimxw0db74gf2yd6zypqq1yvfblhk7wkd6h3r1szk7k8r8p"; + sha256 = "1na8p9r9zdvz75aihjczhamlygrjs9dj7pcbxgg8vfavrx8d89b5"; type = "gem"; }; - version = "2.21.0"; + version = "2.22.0"; }; faraday = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rvxs99wvrcw65v8ykppih323kw1qr5pnzgw3daxch1sfj828f2k"; + sha256 = "0i45f90mg367izgpxf6rrq9zbwwqba1pymwyja6q128vrj1pjajj"; type = "gem"; }; - version = "2.3.0"; + version = "2.4.0"; }; faraday-net_http = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1mbgcnjikbqa5d0pyn6cv30f33p2vaj3rgzkx45gwxw2gmx4wlb6"; + sha256 = "1rfiwhggrqgwp00c82sk8v2h93l81nxgl0mf07pijxz1zjmbgswj"; type = "gem"; }; - version = "2.0.3"; + version = "2.1.0"; }; faraday-retry = { groups = ["default"]; @@ -604,32 +604,32 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "073bhxlyszk5iknx6896kch4yfcjk48wq7q5vnjd5k7akx0k9h8p"; + sha256 = "08w1yhjybrdrn7rv77j4d58w9m8fdh4l5kaw7wsikv1zzcjdqwrl"; type = "gem"; }; - version = "5.0.7"; + version = "5.0.8"; }; metasploit-framework = { groups = ["default"]; platforms = []; source = { fetchSubmodules = false; - rev = "cb251272d8937b0b5bc92c5194a3617392b50625"; - sha256 = "0z9la9ijjr0i463n15xp59a0kvh26gbxp17118pqfxzr1n6456hs"; + rev = "67b884984178ba348249dd4374b809e4b6f12a90"; + sha256 = "00z93iwv1ai0scpczqy1bddmjmzr8nqgaf97dbjvx1i7cs931r9w"; type = "git"; url = "https://github.com/rapid7/metasploit-framework"; }; - version = "6.2.6"; + version = "6.2.10"; }; metasploit-model = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1i08iwb7xgddh798xb3blyygqwgnb15ww3vlvw45248llk01gay3"; + sha256 = "17kmw9gx4mdimv5wbf3935g43ad9spdx9bshdgk5y754kw80cnqd"; type = "gem"; }; - version = "4.0.5"; + version = "4.0.6"; }; metasploit-payloads = { groups = ["default"]; @@ -706,10 +706,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0bqf9yp0kvcmqskixzhg66w922z280bkyfq41id6kk5nixlnmwg7"; + sha256 = "02af38s49111wglqzcjcpa7bwg6psjgysrjvgk05h3x4zchb6gd5"; type = "gem"; }; - version = "1.5.3"; + version = "1.5.4"; }; multi_json = { groups = ["default"]; @@ -726,10 +726,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ccm54qgshr1lq3pr1dfh7gphkilc19dp63rw6fcx7460pjwy88a"; + sha256 = "0m70qz27mlv2rhk4j1li6pw797gmiwwqg02vcgxcxr1rq2v53rnb"; type = "gem"; }; - version = "1.1.1"; + version = "2.0.2"; }; nessus_rest = { groups = ["default"]; @@ -817,10 +817,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0lhhnqch8r9n1835p6pvmg4m2r4hb98nkfxrpr4yf6246d9xg8bc"; + sha256 = "0g7axlq2y6gzmixzzzhw3fn6nhrhg469jj8gfr7gs8igiclpkhkr"; type = "gem"; }; - version = "1.13.7"; + version = "1.13.8"; }; nori = { groups = ["default"]; @@ -837,30 +837,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1jxx0pxm46vyrc3zp684m5b7xvw12ca2gnhnwizyvh15d65aribm"; + sha256 = "1xn53wdrk0vy08d88s6dd2n3mly3prw8m00pcc9hm7ykmbs1668r"; type = "gem"; }; - version = "5.1.0"; + version = "5.2.0"; }; openssl-ccm = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0gxwxk657jya2s5m8cpckvgy5m7qx0hzfp8xvc0hg2wf1lg5gwp0"; + sha256 = "1mqr538wcfjc1q9qxsc2pz0s81kw1f3xk7k1qy903n5b3bh9vri3"; type = "gem"; }; - version = "1.2.2"; + version = "1.2.3"; }; openssl-cmac = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1k69p0p0ilvqnwskhc0bfax8rwvyk6n4wzarg8qsjdvm13xwx508"; + sha256 = "1mml6105j6ryd9d019gbwzkdjmvycjlxxld0qzg9vs70f1qdihcc"; type = "gem"; }; - version = "2.0.1"; + version = "2.0.2"; }; openvas-omp = { groups = ["default"]; @@ -917,10 +917,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "11q4zw8n0lmff5k514ip30yizr38jb2x5nh3m7fy3k13sbxbysrq"; + sha256 = "1mjy37q5pmfhj5ygsfjpskdqjba1l6iss8v9ydi8zdwlic7w3vzs"; type = "gem"; }; - version = "1.4.1"; + version = "1.4.2"; }; public_suffix = { groups = ["default"]; @@ -967,10 +967,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1hz6h6d67r217qi202qmxq2xkn3643ay3iybhl3dq3qd6j8nm3b2"; + sha256 = "169jzzgvbjrqmz4q55wp9pg4ji2h90mggcdxy152gv5vp96l2hgx"; type = "gem"; }; - version = "2.2.0"; + version = "2.2.2"; }; rack-test = { groups = ["default"]; @@ -1107,10 +1107,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0646y7nbc54ljgw28gmlsqbmwxs1hs5v3h24arj4jrnvqrq9bw71"; + sha256 = "1hnwjilqyx39w0vi94ixj6qa2nlmb0z69f57vdb2xw3z9q29jlsl"; type = "gem"; }; - version = "0.1.32"; + version = "0.1.35"; }; rex-java = { groups = ["default"]; @@ -1197,10 +1197,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ckcqycg8jl2iiibpcry88rl0j2hsiklsxh6za5vp9rxsl09wlv6"; + sha256 = "1ws7xj7898ba2ib3c2ww2g6df1jyjny42smndqb5sa4gfzynkcfp"; type = "gem"; }; - version = "0.1.40"; + version = "0.1.41"; }; rex-sslscan = { groups = ["default"]; @@ -1297,10 +1297,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0yvm8qg4i6qgdgqh5j4k3vw5hz9zl8w06jxhmwx69l7gvjxqi2fr"; + sha256 = "0y6yz3zpf64hrz5pa43jhrk8jxl2iivsirh7n7gzy6gfbxxmvssb"; type = "gem"; }; - version = "3.1.6"; + version = "3.1.7"; }; rubyntlm = { groups = ["default"]; @@ -1347,10 +1347,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1x3rci7k30g96y307hvglpdgm3f7nga3k3n4i8n1v2xxx290800y"; + sha256 = "0mbjp75dy35q796iard8izsy7gk55g2c3q864r2p13my3yjmlcvz"; type = "gem"; }; - version = "2.2.0"; + version = "2.2.2"; }; sqlite3 = { groups = ["default"]; @@ -1407,10 +1407,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0rn8z8hda4h41a64l0zhkiwz2vxw9b1nb70gl37h1dg2k874yrlv"; + sha256 = "186nfbcsk0l4l86gvng1fw6jq6p6s7rc0caxr23b3pnbfb20y63v"; type = "gem"; }; - version = "2.0.10"; + version = "2.0.11"; }; timeout = { groups = ["default"]; @@ -1437,10 +1437,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "10qp5x7f9hvlc0psv9gsfbxg4a7s0485wsbq1kljkxq94in91l4z"; + sha256 = "0rx114mpqnw2k4h98vc0rs0x0bmf0img84yh8mkkjkal07cjydf5"; type = "gem"; }; - version = "2.0.4"; + version = "2.0.5"; }; tzinfo-data = { groups = ["default"]; diff --git a/pkgs/tools/security/nitrokey-app/default.nix b/pkgs/tools/security/nitrokey-app/default.nix index f06877b99fe1..acc82636f32f 100644 --- a/pkgs/tools/security/nitrokey-app/default.nix +++ b/pkgs/tools/security/nitrokey-app/default.nix @@ -37,6 +37,6 @@ stdenv.mkDerivation rec { ''; homepage = "https://github.com/Nitrokey/nitrokey-app"; license = licenses.gpl3; - maintainers = with maintainers; [ kaiha fpletz ]; + maintainers = with maintainers; [ kaiha ]; }; } diff --git a/pkgs/tools/security/parsero/default.nix b/pkgs/tools/security/parsero/default.nix new file mode 100644 index 000000000000..a8cd9c39eb13 --- /dev/null +++ b/pkgs/tools/security/parsero/default.nix @@ -0,0 +1,28 @@ +{ lib, python3Packages, fetchFromGitHub }: + +python3Packages.buildPythonApplication rec { + pname = "parsero"; + version = "0.81"; + + src = fetchFromGitHub { + owner = "behindthefirewalls"; + repo = pname; + rev = "e5b585a19b79426975a825cafa4cc8a353cd267e"; + sha256 = "rqupeJxslL3AfQ+CzBWRb4ZS32VoYd8hlA+eACMKGPY="; + }; + + propagatedBuildInputs = with python3Packages; [ + beautifulsoup4 + urllib3 + ]; + + # Project has no tests + doCheck = false; + + meta = with lib; { + description = "Robots.txt audit tool"; + homepage = "https://github.com/behindthefirewalls/Parsero"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ emilytrau fab ]; + }; +} diff --git a/pkgs/tools/security/signing-party/default.nix b/pkgs/tools/security/signing-party/default.nix index ee099b704aaa..e08632154385 100644 --- a/pkgs/tools/security/signing-party/default.nix +++ b/pkgs/tools/security/signing-party/default.nix @@ -220,7 +220,7 @@ in stdenv.mkDerivation rec { * gpg-key2latex: generate LaTeX file with fingerprint paper slips ''; license = with licenses; [ bsd2 bsd3 gpl2 gpl2Plus gpl3Plus ]; - maintainers = with maintainers; [ fpletz primeos ]; + maintainers = with maintainers; [ primeos ]; platforms = platforms.linux; }; } diff --git a/pkgs/tools/security/step-ca/default.nix b/pkgs/tools/security/step-ca/default.nix index 5877910ad2c4..bb2663a70c32 100644 --- a/pkgs/tools/security/step-ca/default.nix +++ b/pkgs/tools/security/step-ca/default.nix @@ -12,16 +12,16 @@ buildGoModule rec { pname = "step-ca"; - version = "0.19.0"; + version = "0.21.0"; src = fetchFromGitHub { owner = "smallstep"; repo = "certificates"; rev = "v${version}"; - sha256 = "sha256-BhPup3q2muYGWzAa/9b4vnIjBces4GhUHZ/mg4CWMRc="; + sha256 = "sha256-n6rKkhz1J4KNq84UvxRFH2H2PIsRZGONRIhgUyrlkhA="; }; - vendorSha256 = "sha256-oVaziWZGslZCVqkEXL32XvOVU54VOf41Qg+VoVWo7x0="; + vendorSha256 = "sha256-lRezUowItjW2IuxRc5GOnnuWq7VOBacSNrtMvi+3Agc="; ldflags = [ "-buildid=" ]; diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix index e957c10a85cf..b350558887ff 100644 --- a/pkgs/tools/system/collectd/default.nix +++ b/pkgs/tools/system/collectd/default.nix @@ -61,6 +61,6 @@ stdenv.mkDerivation rec { homepage = "https://collectd.org"; license = licenses.gpl2; platforms = platforms.unix; - maintainers = with maintainers; [ bjornfor fpletz ]; + maintainers = with maintainers; [ bjornfor ]; }; } diff --git a/pkgs/tools/system/syslog-ng/default.nix b/pkgs/tools/system/syslog-ng/default.nix index 97c5ca6d5f66..ecd3290f5643 100644 --- a/pkgs/tools/system/syslog-ng/default.nix +++ b/pkgs/tools/system/syslog-ng/default.nix @@ -58,7 +58,7 @@ stdenv.mkDerivation rec { homepage = "https://www.syslog-ng.com"; description = "Next-generation syslogd with advanced networking and filtering capabilities"; license = with licenses; [ gpl2Plus lgpl21Plus ]; - maintainers = with maintainers; [ fpletz ]; + maintainers = with maintainers; [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/tools/text/mdcat/default.nix b/pkgs/tools/text/mdcat/default.nix index 4fe156600c07..87ac39fb56f8 100644 --- a/pkgs/tools/text/mdcat/default.nix +++ b/pkgs/tools/text/mdcat/default.nix @@ -12,21 +12,21 @@ rustPlatform.buildRustPackage rec { pname = "mdcat"; - version = "0.27.1"; + version = "0.28.0"; src = fetchFromGitea { domain = "codeberg.org"; owner = "flausch"; repo = "mdcat"; rev = "mdcat-${version}"; - sha256 = "sha256-iWFWpUyg/VYI+AKFsJe/rOYco+680l/bIHX0qXfD3u0="; + sha256 = "sha256-l64gRoWYYLbPA0n6vNQf14CCUtnkfMnQdqbetIbWvBU="; }; nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ]; buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; - cargoSha256 = "sha256-e/yupkCqWZZCfD8brVb2yD4pt3ExSfwCm2bmTyjRGpA="; + cargoSha256 = "sha256-MCldDRleFfl4UrITuMEmLo0JyR+eoi6S6zGvFOMnIBE="; checkInputs = [ ansi2html ]; # Skip tests that use the network and that include files. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9e4aad7d204..a37ef33a6e38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3493,6 +3493,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + refinery-cli = callPackage ../development/tools/refinery-cli { }; + digitemp = callPackage ../tools/misc/digitemp { }; dijo = callPackage ../tools/misc/dijo { @@ -4379,6 +4381,8 @@ with pkgs; piglit = callPackage ../tools/graphics/piglit { }; + pika = callPackage ../applications/graphics/pika { }; + playerctl = callPackage ../tools/audio/playerctl { }; pn = callPackage ../tools/text/pn { }; @@ -6466,6 +6470,8 @@ with pkgs; getopt = callPackage ../tools/misc/getopt { }; + getoptions = callPackage ../tools/misc/getoptions { }; + gexiv2 = callPackage ../development/libraries/gexiv2 { }; gftp = callPackage ../applications/networking/ftp/gftp { @@ -8401,6 +8407,8 @@ with pkgs; limesurvey = callPackage ../servers/limesurvey { }; + linux-exploit-suggester = callPackage ../tools/security/linux-exploit-suggester { }; + linuxquota = callPackage ../tools/misc/linuxquota { }; liquidctl = with python3Packages; toPythonApplication liquidctl; @@ -11764,6 +11772,10 @@ with pkgs; nodejs = nodejs_latest; }; + wasmedge = callPackage ../development/tools/wasmedge { + llvmPackages = llvmPackages_12; + }; + welkin = callPackage ../tools/graphics/welkin {}; wemux = callPackage ../tools/misc/wemux { }; @@ -15673,8 +15685,8 @@ with pkgs; cmake-format = python3Packages.callPackage ../development/tools/cmake-format { }; - cmake-language-server = python3Packages.callPackage ../development/tools/cmake-language-server { - inherit cmake; + cmake-language-server = python3Packages.callPackage ../development/tools/misc/cmake-language-server { + inherit cmake cmake-format; }; # Does not actually depend on Qt 5 @@ -20520,6 +20532,8 @@ with pkgs; paperkey = callPackage ../tools/security/paperkey { }; + parsero = callPackage ../tools/security/parsero { }; + pcaudiolib = callPackage ../development/libraries/pcaudiolib { }; pcg_c = callPackage ../development/libraries/pcg-c { }; @@ -33111,7 +33125,7 @@ with pkgs; tibia = pkgsi686Linux.callPackage ../games/tibia { }; - tintin = throw "tintin has been removed due to lack of maintainers"; + tintin = callPackage ../games/tintin { }; tinyfugue = callPackage ../games/tinyfugue { }; diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index b5f3a9b39a31..3ef407116a43 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -150,6 +150,7 @@ mapAliases ({ python-lz4 = lz4; # added 2018-06-01 python_magic = python-magic; # added 2022-05-07 python_mimeparse = python-mimeparse; # added 2021-10-31 + python-language-server = throw "python-language-server is no longer maintained, use the python-lsp-server community fork instead."; # Added 2022-08-03 python-subunit = subunit; # added 2021-09-10 pytest_xdist = pytest-xdist; # added 2021-01-04 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d2cb3b326d1d..66212123d5cf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5097,6 +5097,8 @@ in { line_profiler = callPackage ../development/python-modules/line_profiler { }; + lingua = callPackage ../development/python-modules/lingua { }; + linkify-it-py = callPackage ../development/python-modules/linkify-it-py { }; linode-api = callPackage ../development/python-modules/linode-api { }; @@ -8638,8 +8640,6 @@ in { python_keyczar = callPackage ../development/python-modules/python_keyczar { }; - python-language-server = callPackage ../development/python-modules/python-language-server { }; - python-ldap-test = callPackage ../development/python-modules/python-ldap-test { }; python-Levenshtein = callPackage ../development/python-modules/python-levenshtein { }; @@ -11369,6 +11369,8 @@ in { wget = callPackage ../development/python-modules/wget { }; + whatthepatch = callPackage ../development/python-modules/whatthepatch { }; + wheel = callPackage ../development/python-modules/wheel { }; wheel-filename = callPackage ../development/python-modules/wheel-filename { };