diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index b20b473dc679..715244aab685 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -11074,22 +11074,6 @@
githubId = 132835;
name = "Samuel Dionne-Riel";
};
- samuelgrf = {
- email = "s@muel.gr";
- github = "samuelgrf";
- githubId = 67663538;
- name = "Samuel Gräfenstein";
- keys = [
- {
- longkeyid = "rsa4096/0xDE75F92E318123F0";
- fingerprint = "6F2E 2A90 423C 8111 BFF2 895E DE75 F92E 3181 23F0";
- }
- {
- longkeyid = "rsa4096/0xEF76A063F15C63C8";
- fingerprint = "FF24 5832 8FAF 4660 18C6 186E EF76 A063 F15C 63C8";
- }
- ];
- };
samuelrivas = {
email = "samuelrivas@gmail.com";
github = "samuelrivas";
diff --git a/nixos/doc/manual/development/writing-nixos-tests.section.md b/nixos/doc/manual/development/writing-nixos-tests.section.md
index a9ffffe2277c..e5ee1cb01ff1 100644
--- a/nixos/doc/manual/development/writing-nixos-tests.section.md
+++ b/nixos/doc/manual/development/writing-nixos-tests.section.md
@@ -159,34 +159,42 @@ The following methods are available on machine objects:
`execute`
: Execute a shell command, returning a list `(status, stdout)`.
+
+ Commands are run with `set -euo pipefail` set:
+
+ - If several commands are separated by `;` and one fails, the
+ command as a whole will fail.
+
+ - For pipelines, the last non-zero exit status will be returned
+ (if there is one; otherwise zero will be returned).
+
+ - Dereferencing unset variables fails the command.
+
+ - It will wait for stdout to be closed.
+
If the command detaches, it must close stdout, as `execute` will wait
for this to consume all output reliably. This can be achieved by
redirecting stdout to stderr `>&2`, to `/dev/console`, `/dev/null` or
a file. Examples of detaching commands are `sleep 365d &`, where the
shell forks a new process that can write to stdout and `xclip -i`, where
the `xclip` command itself forks without closing stdout.
+
Takes an optional parameter `check_return` that defaults to `True`.
Setting this parameter to `False` will not check for the return code
and return -1 instead. This can be used for commands that shut down
the VM and would therefore break the pipe that would be used for
retrieving the return code.
+ A timeout for the command can be specified (in seconds) using the optional
+ `timeout` parameter, e.g., `execute(cmd, timeout=10)` or
+ `execute(cmd, timeout=None)`. The default is 900 seconds.
+
`succeed`
: Execute a shell command, raising an exception if the exit status is
- not zero, otherwise returning the standard output. Commands are run
- with `set -euo pipefail` set:
-
- - If several commands are separated by `;` and one fails, the
- command as a whole will fail.
-
- - For pipelines, the last non-zero exit status will be returned
- (if there is one, zero will be returned otherwise).
-
- - Dereferencing unset variables fail the command.
-
- - It will wait for stdout to be closed. See `execute` for the
- implications.
+ not zero, otherwise returning the standard output. Similar to `execute`,
+ except that the timeout is `None` by default. See `execute` for details on
+ command execution.
`fail`
@@ -196,10 +204,13 @@ The following methods are available on machine objects:
`wait_until_succeeds`
: Repeat a shell command with 1-second intervals until it succeeds.
+ Has a default timeout of 900 seconds which can be modified, e.g.
+ `wait_until_succeeds(cmd, timeout=10)`. See `execute` for details on
+ command execution.
`wait_until_fails`
-: Repeat a shell command with 1-second intervals until it fails.
+: Like `wait_until_succeeds`, but repeating the command until it fails.
`wait_for_unit`
diff --git a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml
index b194d58e5beb..7ce3e4cb2906 100644
--- a/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml
+++ b/nixos/doc/manual/from_md/development/writing-nixos-tests.section.xml
@@ -274,35 +274,9 @@ start_all()
Execute a shell command, returning a list
- (status, stdout). If the command
- detaches, it must close stdout, as
- execute will wait for this to consume all
- output reliably. This can be achieved by redirecting stdout
- to stderr >&2, to
- /dev/console,
- /dev/null or a file. Examples of
- detaching commands are sleep 365d &,
- where the shell forks a new process that can write to stdout
- and xclip -i, where the
- xclip command itself forks without
- closing stdout. Takes an optional parameter
- check_return that defaults to
- True. Setting this parameter to
- False will not check for the return code
- and return -1 instead. This can be used for commands that
- shut down the VM and would therefore break the pipe that
- would be used for retrieving the return code.
+ (status, stdout).
-
-
-
-
- succeed
-
-
- Execute a shell command, raising an exception if the exit
- status is not zero, otherwise returning the standard output.
Commands are run with set -euo pipefail
set:
@@ -317,22 +291,63 @@ start_all()
For pipelines, the last non-zero exit status will be
- returned (if there is one, zero will be returned
- otherwise).
+ returned (if there is one; otherwise zero will be
+ returned).
- Dereferencing unset variables fail the command.
+ Dereferencing unset variables fails the command.
- It will wait for stdout to be closed. See
- execute for the implications.
+ It will wait for stdout to be closed.
+
+ If the command detaches, it must close stdout, as
+ execute will wait for this to consume all
+ output reliably. This can be achieved by redirecting stdout
+ to stderr >&2, to
+ /dev/console,
+ /dev/null or a file. Examples of
+ detaching commands are sleep 365d &,
+ where the shell forks a new process that can write to stdout
+ and xclip -i, where the
+ xclip command itself forks without
+ closing stdout.
+
+
+ Takes an optional parameter check_return
+ that defaults to True. Setting this
+ parameter to False will not check for the
+ return code and return -1 instead. This can be used for
+ commands that shut down the VM and would therefore break the
+ pipe that would be used for retrieving the return code.
+
+
+ A timeout for the command can be specified (in seconds)
+ using the optional timeout parameter,
+ e.g., execute(cmd, timeout=10) or
+ execute(cmd, timeout=None). The default
+ is 900 seconds.
+
+
+
+
+
+ succeed
+
+
+
+ Execute a shell command, raising an exception if the exit
+ status is not zero, otherwise returning the standard output.
+ Similar to execute, except that the
+ timeout is None by default. See
+ execute for details on command execution.
+
@@ -353,7 +368,10 @@ start_all()
Repeat a shell command with 1-second intervals until it
- succeeds.
+ succeeds. Has a default timeout of 900 seconds which can be
+ modified, e.g.
+ wait_until_succeeds(cmd, timeout=10). See
+ execute for details on command execution.
@@ -363,8 +381,8 @@ start_all()
- Repeat a shell command with 1-second intervals until it
- fails.
+ Like wait_until_succeeds, but repeating
+ the command until it fails.
diff --git a/nixos/lib/test-driver/test_driver/machine.py b/nixos/lib/test-driver/test_driver/machine.py
index f3e615fe5bf9..035e3ffe8973 100644
--- a/nixos/lib/test-driver/test_driver/machine.py
+++ b/nixos/lib/test-driver/test_driver/machine.py
@@ -526,10 +526,17 @@ class Machine:
self.run_callbacks()
self.connect()
- if timeout is not None:
- command = "timeout {} sh -c {}".format(timeout, shlex.quote(command))
+ # Always run command with shell opts
+ command = f"set -euo pipefail; {command}"
+
+ timeout_str = ""
+ if timeout is not None:
+ timeout_str = f"timeout {timeout}"
+
+ out_command = (
+ f"{timeout_str} sh -c {shlex.quote(command)} | (base64 --wrap 0; echo)\n"
+ )
- out_command = f"( set -euo pipefail; {command} ) | (base64 --wrap 0; echo)\n"
assert self.shell
self.shell.send(out_command.encode())
diff --git a/nixos/modules/services/web-apps/atlassian/jira.nix b/nixos/modules/services/web-apps/atlassian/jira.nix
index d7a26838d6f8..a120f6cdb3d8 100644
--- a/nixos/modules/services/web-apps/atlassian/jira.nix
+++ b/nixos/modules/services/web-apps/atlassian/jira.nix
@@ -151,6 +151,7 @@ in
users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
+ home = cfg.home;
};
users.groups.${cfg.group} = {};
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index f74b6bda0caf..a4b886821ebf 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -522,6 +522,29 @@ in {
The nextcloud-occ program preconfigured to target this Nextcloud instance.
'';
};
+ globalProfiles = mkEnableOption "global profiles" // {
+ description = ''
+ Makes user-profiles globally available under nextcloud.tld/u/user.name.
+ Even though it's enabled by default in Nextcloud, it must be explicitly enabled
+ here because it has the side-effect that personal information is even accessible to
+ unauthenticated users by default.
+
+ By default, the following properties are set to Show to everyone
+ if this flag is enabled:
+
+ About
+ Full name
+ Headline
+ Organisation
+ Profile picture
+ Role
+ Twitter
+ Website
+
+
+ Only has an effect in Nextcloud 23 and later.
+ '';
+ };
nginx.recommendedHttpHeaders = mkOption {
type = types.bool;
@@ -650,6 +673,8 @@ in {
if x == null then "false"
else boolToString x;
+ nextcloudGreaterOrEqualThan = req: versionAtLeast cfg.package.version req;
+
overrideConfig = pkgs.writeText "nextcloud-config.php" ''
${writePhpArrary ([ cfg.hostName ] ++ c.extraTrustedDomains)},
'trusted_proxies' => ${writePhpArrary (c.trustedProxies)},
${optionalString (c.defaultPhoneRegion != null) "'default_phone_region' => '${c.defaultPhoneRegion}',"}
+ ${optionalString (nextcloudGreaterOrEqualThan "23") "'profile.enabled' => ${boolToString cfg.globalProfiles}"}
${objectstoreConfig}
];
'';
diff --git a/nixos/tests/step-ca.nix b/nixos/tests/step-ca.nix
index f21bd5366266..a855b590232d 100644
--- a/nixos/tests/step-ca.nix
+++ b/nixos/tests/step-ca.nix
@@ -9,6 +9,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
'';
in
{
+ name = "step-ca";
nodes =
{
caserver =
diff --git a/nixos/tests/web-apps/peertube.nix b/nixos/tests/web-apps/peertube.nix
index 706c598338e8..d42b4e3d677b 100644
--- a/nixos/tests/web-apps/peertube.nix
+++ b/nixos/tests/web-apps/peertube.nix
@@ -30,10 +30,11 @@ import ../make-test-python.nix ({pkgs, ...}:
'';
};
- services.redis = {
+ services.redis.servers.peertube = {
enable = true;
bind = "0.0.0.0";
requirePass = "turrQfaQwnanGbcsdhxy";
+ port = 6379;
};
};
@@ -109,7 +110,7 @@ import ../make-test-python.nix ({pkgs, ...}:
start_all()
database.wait_for_unit("postgresql.service")
- database.wait_for_unit("redis.service")
+ database.wait_for_unit("redis-peertube.service")
database.wait_for_open_port(5432)
database.wait_for_open_port(6379)
diff --git a/pkgs/applications/audio/parlatype/default.nix b/pkgs/applications/audio/parlatype/default.nix
deleted file mode 100644
index c1bb1102bf1b..000000000000
--- a/pkgs/applications/audio/parlatype/default.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, pkg-config, meson, gtk3, at-spi2-core, dbus, gst_all_1, sphinxbase, pocketsphinx, ninja, gettext, appstream-glib, python3, glib, gobject-introspection, gsettings-desktop-schemas, itstool, wrapGAppsHook, hicolor-icon-theme }:
-
-stdenv.mkDerivation rec {
- pname = "parlatype";
- version = "2.1";
-
- src = fetchFromGitHub {
- owner = "gkarsay";
- repo = pname;
- rev = "v${version}";
- sha256 = "1k53q0kbwpnbgyr0lmfzf5sm4f93d8nbjrzdz9pdhzpxgihndg25";
- };
-
- nativeBuildInputs = [
- pkg-config
- meson
- ninja
- gettext
- appstream-glib
- python3
- gobject-introspection
- itstool
- wrapGAppsHook
- ];
-
- buildInputs = [
- gtk3
- at-spi2-core
- dbus
- gst_all_1.gstreamer
- gst_all_1.gst-plugins-base
- gst_all_1.gst-plugins-good
- gst_all_1.gst-plugins-bad
- gst_all_1.gst-plugins-ugly
- gst_all_1.gst-libav
- sphinxbase
- pocketsphinx
- glib
- gsettings-desktop-schemas
- hicolor-icon-theme
- ];
-
- postPatch = ''
- chmod +x data/meson_post_install.py
- patchShebangs data/meson_post_install.py
- '';
-
- doCheck = false;
-
- buildPhase = ''
- export GST_PLUGIN_SYSTEM_PATH_1_0="$out/lib/gstreamer-1.0/:$GST_PLUGIN_SYSTEM_PATH_1_0"
- '';
-
- meta = with lib; {
- description = "GNOME audio player for transcription";
- longDescription = ''
- Parlatype is a minimal audio player for manual speech transcription, written for the GNOME desktop environment.
- It plays audio sources to transcribe them in your favourite text application.
- It’s intended to be useful for journalists, students, scientists and whoever needs to transcribe audio files.
- '';
- homepage = "https://gkarsay.github.io/parlatype/";
- license = licenses.gpl3Plus;
- maintainers = [ maintainers.melchips ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/applications/blockchains/chia-plotter/default.nix b/pkgs/applications/blockchains/chia-plotter/default.nix
index 51ca4469bc48..25d4d8653466 100644
--- a/pkgs/applications/blockchains/chia-plotter/default.nix
+++ b/pkgs/applications/blockchains/chia-plotter/default.nix
@@ -9,13 +9,13 @@
stdenv.mkDerivation {
pname = "chia-plotter";
- version = "1.1.7";
+ version = "1.1.8";
src = fetchFromGitHub {
owner = "madMAx43v3r";
repo = "chia-plotter";
- rev = "18cad340858f0dbcc8dafd0bda1ce1af0fe58c65";
- sha256 = "sha256-lXjeqcjn3+LtnVYngdM1T3on7V7wez4oOAZ0RpKJXMM=";
+ rev = "9d7fd929919d1adde6404cb4718a665a81bcef6d";
+ sha256 = "sha256-TMAly+Qof2DHPRHqE1nZuHQaCeMo0jEd8MWy4OlXrcs=";
fetchSubmodules = true;
};
@@ -25,10 +25,17 @@ stdenv.mkDerivation {
src = ./dont_fetch_dependencies.patch;
pybind11_src = python3Packages.pybind11.src;
relic_src = fetchFromGitHub {
- owner = "relic-toolkit";
+ owner = "Chia-Network";
repo = "relic";
- rev = "1885ae3b681c423c72b65ce1fe70910142cf941c";
- hash = "sha256-tsSZTcssl8t7Nqdex4BesgQ+ACPgTdtHnJFvS9josN0=";
+ rev = "1d98e5abf3ca5b14fd729bd5bcced88ea70ecfd7";
+ hash = "sha256-IfTD8DvTEXeLUoKe4Ejafb+PEJW5DV/VXRYuutwGQHU=";
+ };
+ sodium_src = fetchFromGitHub {
+ owner = "AmineKhaldi";
+ repo = "libsodium-cmake";
+ rev = "f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65"; # pinned by upstream
+ sha256 = "sha256-lGz7o6DQVAuEc7yTp8bYS2kwjzHwGaNjugDi1ruRJOA=";
+ fetchSubmodules = true;
};
})
];
diff --git a/pkgs/applications/blockchains/chia-plotter/dont_fetch_dependencies.patch b/pkgs/applications/blockchains/chia-plotter/dont_fetch_dependencies.patch
index 05486473eef5..b7474af4c963 100644
--- a/pkgs/applications/blockchains/chia-plotter/dont_fetch_dependencies.patch
+++ b/pkgs/applications/blockchains/chia-plotter/dont_fetch_dependencies.patch
@@ -11,30 +11,43 @@ index 255e3bb..5f99c3a 100644
+ SOURCE_DIR @pybind11_src@
)
FetchContent_MakeAvailable(pybind11 relic)
-
-diff --git a/lib/bls-signatures/src/CMakeLists.txt b/lib/bls-signatures/src/CMakeLists.txt
-index b762b5d..e06073b 100644
---- a/lib/bls-signatures/src/CMakeLists.txt
-+++ b/lib/bls-signatures/src/CMakeLists.txt
-@@ -4,18 +4,11 @@ set (CMAKE_CXX_STANDARD 17)
- # CMake 3.14+
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6922167..23d8da6 100644
+--- a/lib/bls-signatures/CMakeLists.txt
++++ b/lib/bls-signatures/CMakeLists.txt
+@@ -31,29 +31,18 @@ set(CMAKE_MODULE_PATH
include(FetchContent)
+ FetchContent_Declare(Sodium
+- GIT_REPOSITORY https://github.com/AmineKhaldi/libsodium-cmake.git
+- # Latest commit at the moment this was added here
+- # Anchored to libsodium v1.0.18
+- GIT_TAG f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65
++ URL @sodium_src@
+ )
+ set(SODIUM_PCH "on" CACHE STRING "")
+ set(SODIUM_DISABLE_TESTS "on" CACHE STRING "")
+ set(SODIUM_CHIA_MINIMAL "on" CACHE STRING "")
+ FetchContent_MakeAvailable(Sodium)
+
-if (DEFINED ENV{RELIC_MAIN})
- set(RELIC_GIT_TAG "origin/main")
-else ()
-- set(RELIC_GIT_TAG "1885ae3b681c423c72b65ce1fe70910142cf941c")
+- # This is currently anchored to upstream aecdcae7956f542fbee2392c1f0feb0a8ac41dc5
+- set(RELIC_GIT_TAG "1d98e5abf3ca5b14fd729bd5bcced88ea70ecfd7")
-endif ()
-
message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")
FetchContent_Declare(
relic
-- GIT_REPOSITORY https://github.com/relic-toolkit/relic.git
-- GIT_TAG ${RELIC_GIT_TAG}
+- GIT_REPOSITORY https://github.com/Chia-Network/relic.git
+- GIT_TAG ${RELIC_GIT_TAG}
+ SOURCE_DIR @relic_src@
)
- FetchContent_MakeAvailable(relic)
+
+ # Relic related options
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 970ec74..948441a 100644
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index 12324088b040..ac293faee3b5 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -216,9 +216,9 @@ in runCommand
# source-code itself).
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; rec {
- stable = [ fabianhjr ];
- beta = [ fabianhjr ];
- canary = [ fabianhjr ];
+ stable = [ ];
+ beta = [ ];
+ canary = [ ];
dev = canary;
}."${channel}";
};
diff --git a/pkgs/applications/editors/emacs/elisp-packages/ement/default.nix b/pkgs/applications/editors/emacs/elisp-packages/ement/default.nix
index caf7bbf24d28..ccbfe76719e5 100644
--- a/pkgs/applications/editors/emacs/elisp-packages/ement/default.nix
+++ b/pkgs/applications/editors/emacs/elisp-packages/ement/default.nix
@@ -5,23 +5,31 @@
, plz
, cl-lib
, ts
+, magit-section
+, taxy-magit-section
+, taxy
+, svg-lib
}:
trivialBuild {
pname = "ement";
- version = "unstable-2021-10-08";
+ version = "unstable-2022-04-22";
src = fetchFromGitHub {
owner = "alphapapa";
repo = "ement.el";
- rev = "c951737dc855604aba389166bb0e7366afadc533";
- sha256 = "00iwwz4hzg4g59wrb5df6snqz3ppvrsadhfp61w1pa8gvg2z9bvy";
+ rev = "70da19e4c9210d362b1d6d9c17ab2c034a03250d";
+ sha256 = "sha256-Pxul0WrtyH2XZzF0fOOitLc3x/kc+Qc11RDH0n+Hm04=";
};
packageRequires = [
plz
cl-lib
ts
+ magit-section
+ taxy-magit-section
+ taxy
+ svg-lib
];
patches = [
diff --git a/pkgs/applications/editors/emacs/elisp-packages/update b/pkgs/applications/editors/emacs/elisp-packages/update
new file mode 100755
index 000000000000..02701fb546d9
--- /dev/null
+++ b/pkgs/applications/editors/emacs/elisp-packages/update
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
+cd "$SCRIPT_DIR"
+
+./update-from-overlay
+
+./update-manual
+git commit -m "emacs.pkgs.manualPackages: $(date --iso)" -- .
diff --git a/pkgs/applications/editors/emacs/elisp-packages/update-manual b/pkgs/applications/editors/emacs/elisp-packages/update-manual
new file mode 100755
index 000000000000..3b199eecc3d2
--- /dev/null
+++ b/pkgs/applications/editors/emacs/elisp-packages/update-manual
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
+cd "$SCRIPT_DIR"
+
+nix-build --no-out-link update-manual.nix | xargs -n 1 -P $(nproc) bash -c
diff --git a/pkgs/applications/editors/emacs/elisp-packages/update-manual.nix b/pkgs/applications/editors/emacs/elisp-packages/update-manual.nix
new file mode 100644
index 000000000000..788d096e6ec6
--- /dev/null
+++ b/pkgs/applications/editors/emacs/elisp-packages/update-manual.nix
@@ -0,0 +1,11 @@
+let
+ pkgs = import ../../../../../. {
+ config.allowBroken = true;
+ };
+ inherit (pkgs) lib emacs;
+ inherit (lib) isDerivation hasAttr filterAttrs mapAttrs attrValues;
+
+ # Extract updateScript's from manually package emacs packages
+ hasScript = filterAttrs (_: v: isDerivation v && hasAttr "updateScript" v) emacs.pkgs.manualPackages;
+
+in attrValues (mapAttrs (_: v: v.updateScript) hasScript)
diff --git a/pkgs/applications/emulators/commanderx16/emulator.nix b/pkgs/applications/emulators/commanderx16/emulator.nix
index 73442215ff1e..d15c99d355bb 100644
--- a/pkgs/applications/emulators/commanderx16/emulator.nix
+++ b/pkgs/applications/emulators/commanderx16/emulator.nix
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "x16-emulator";
- version = "38";
+ version = "40";
src = fetchFromGitHub {
owner = "commanderx16";
repo = pname;
rev = "r${version}";
- sha256 = "WNRq/m97NpOBWIk6mtxBAKmkxCGWacWjXeOvIhBrkYE=";
+ hash = "sha256-7ZzVd2NJCFNAFrS2cj6bxcq/AzO5VakoFX9o1Ac9egg=";
};
dontConfigure = true;
@@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
- install -D --mode 755 --target-directory $out/bin/ x16emu
- install -D --mode 444 --target-directory $out/share/doc/${pname} README.md
+
+ install -Dm 755 -t $out/bin/ x16emu
+ install -Dm 444 -t $out/share/doc/${pname} README.md
+
runHook postInstall
'';
@@ -31,7 +33,7 @@ stdenv.mkDerivation rec {
description = "The official emulator of CommanderX16 8-bit computer";
license = licenses.bsd2;
maintainers = with maintainers; [ AndersonTorres ];
- platforms = SDL2.meta.platforms;
+ inherit (SDL2.meta) platforms;
};
passthru = {
diff --git a/pkgs/applications/emulators/commanderx16/rom.nix b/pkgs/applications/emulators/commanderx16/rom.nix
index 5da77ebceefe..617c0a16b83c 100644
--- a/pkgs/applications/emulators/commanderx16/rom.nix
+++ b/pkgs/applications/emulators/commanderx16/rom.nix
@@ -2,20 +2,24 @@
, lib
, fetchFromGitHub
, cc65
+, python3
}:
stdenv.mkDerivation rec {
pname = "x16-rom";
- version = "38";
+ version = "40";
src = fetchFromGitHub {
owner = "commanderx16";
repo = pname;
rev = "r${version}";
- sha256 = "xaqF0ppB7I7ST8Uh3jPbC14uRAb/WH21tHlNeTvYpoI=";
+ hash = "sha256-5oqttuTJiJOUENncOJipAar22OsI1uG3G69m+eYoSh0=";
};
- nativeBuildInputs = [ cc65 ];
+ nativeBuildInputs = [
+ cc65
+ python3
+ ];
postPatch = ''
patchShebangs scripts/
@@ -25,8 +29,10 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
- install -D --mode 444 --target-directory $out/share/${pname} build/x16/rom.bin
- install -D --mode 444 --target-directory $out/share/doc/${pname} README.md
+
+ install -Dm 444 -t $out/share/${pname} build/x16/rom.bin
+ install -Dm 444 -t $out/share/doc/${pname} README.md
+
runHook postInstall
'';
@@ -35,7 +41,7 @@ stdenv.mkDerivation rec {
description = "ROM file for CommanderX16 8-bit computer";
license = licenses.bsd2;
maintainers = with maintainers; [ AndersonTorres ];
- platforms = cc65.meta.platforms;
+ inherit (cc65.meta) platforms;
};
passthru = {
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix
index 64de314c760f..b553640d144e 100644
--- a/pkgs/applications/emulators/retroarch/cores.nix
+++ b/pkgs/applications/emulators/retroarch/cores.nix
@@ -56,7 +56,7 @@ let
, stdenvOverride ? stdenv
, src ? (getCoreSrc core)
, broken ? false
- , version ? "unstable-2022-04-08"
+ , version ? "unstable-2022-04-21"
, platforms ? retroarch.meta.platforms
# The resulting core file is based on core name
# Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename
@@ -359,6 +359,7 @@ in
core = "dosbox";
description = "Port of DOSBox to libretro";
license = lib.licenses.gpl2Only;
+ stdenvOverride = gcc10Stdenv;
};
eightyone = mkLibRetroCore {
diff --git a/pkgs/applications/emulators/retroarch/default.nix b/pkgs/applications/emulators/retroarch/default.nix
index c32f46cf2665..e9aa7d80d57f 100644
--- a/pkgs/applications/emulators/retroarch/default.nix
+++ b/pkgs/applications/emulators/retroarch/default.nix
@@ -35,11 +35,11 @@
}:
let
- version = "1.10.2";
+ version = "1.10.3";
libretroCoreInfo = fetchFromGitHub {
owner = "libretro";
repo = "libretro-core-info";
- sha256 = "sha256-XOSIVH3BSwAFKUeRvyYc2OXDa+TLjoKVGl+b8fgnvtY=";
+ sha256 = "sha256-wIIMEWrria8bZe/rcoJwDA9aCMWwbkDQFyEU80TZXFQ=";
rev = "v${version}";
};
runtimeLibs = lib.optional withVulkan vulkan-loader
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "libretro";
repo = "RetroArch";
- sha256 = "sha256-fMsHMQiEoXeFKITxeEyRH829z5SCf8p0Hxq6ww1p3z4=";
+ sha256 = "sha256-nAv1yv0laqlOmB8UUkK5wSYy/ySqXloEErm+yV30bbA=";
rev = "v${version}";
};
diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json
index 78969df95d30..80e4e278c945 100644
--- a/pkgs/applications/emulators/retroarch/hashes.json
+++ b/pkgs/applications/emulators/retroarch/hashes.json
@@ -20,8 +20,8 @@
"beetle-ngp": {
"owner": "libretro",
"repo": "beetle-ngp-libretro",
- "rev": "6abc74d9dc6a86460ab71c93c153fe1cb8ef4dbb",
- "sha256": "+p3MwlzwwTghIKTDMzkqGlxhZiy/Px7xaDK3a0JagUE="
+ "rev": "facf8e1f5440c5d289258ee3c483710f3bf916fb",
+ "sha256": "vDKDt7MvCB9XQYP291cwcEPDxfNIVgNSWtBYz9PVgcw="
},
"beetle-pce-fast": {
"owner": "libretro",
@@ -32,20 +32,20 @@
"beetle-pcfx": {
"owner": "libretro",
"repo": "beetle-pcfx-libretro",
- "rev": "00abc26cafb15cc33dcd73f4bd6b93cbaab6e1ea",
- "sha256": "4a1wV3WKZmg1ed3BD0PN0Ap9E9XahQtilRWTGV5Ns3g="
+ "rev": "bfc0954e14b261a04dcf8dbe0df8798f16ae3f3c",
+ "sha256": "XzCb1lZFYgsg+3eQ1OqyycNxCgLtZFA30rno3ytdnoM="
},
"beetle-psx": {
"owner": "libretro",
"repo": "beetle-psx-libretro",
- "rev": "88929ae90b4807a41b1b240377ab440e39ecf2cc",
- "sha256": "5AX5FPsmsqGWCNzLgJ7lsekZaIdano2j5sb4qUkD4cQ="
+ "rev": "5a24d54d30dd00d817d267cf92fd5b3f4640928f",
+ "sha256": "uG1BhElNW75PnfM+rEYfbl97iwRT89hnl84yvlgx6fg="
},
"beetle-saturn": {
"owner": "libretro",
"repo": "beetle-saturn-libretro",
- "rev": "ae30f29e340a00b33e38df85ceaa599151a47cd7",
- "sha256": "nc239PRM/TfkZMWm4Zl5kSoZBQcrMcMudupvCJtTBlc="
+ "rev": "dd18f9c477106263b3b7b050f4970d331ff7b23a",
+ "sha256": "RN5dmORtNOjIklSz/n11lz37bZ4IcPD7cyRcBGS4Oi8="
},
"beetle-snes": {
"owner": "libretro",
@@ -62,14 +62,14 @@
"beetle-vb": {
"owner": "libretro",
"repo": "beetle-vb-libretro",
- "rev": "a91437af0879124aa00b6cb30ca1189f2c84b7cb",
- "sha256": "ryahr/g6PDvUKCPkF1D8xozNGNCa4bLw63b5Ra9Vsfo="
+ "rev": "246555f8ed7e0b9e5748b2ee2ed6743187c61393",
+ "sha256": "96lQlDqx2bvFeovqGGkemxqS2zlHw92O6YeTEGlgf34="
},
"beetle-wswan": {
"owner": "libretro",
"repo": "beetle-wswan-libretro",
- "rev": "089a62477c5f51ac746a5fc8eacf3599e9feb649",
- "sha256": "yaaEJ+XgrBgtTEkffgnxvt2mrp5dsDYJ+TTxCZZU5OE="
+ "rev": "d1fb3f399a2bc16b9ad0f2e8c8ba9f7051cd26bd",
+ "sha256": "p9mJv7zBFjNh1sh5iAjBZzxP6k8ydUNDXLQIjHl9doQ="
},
"blastem": {
"owner": "libretro",
@@ -135,8 +135,8 @@
"eightyone": {
"owner": "libretro",
"repo": "81-libretro",
- "rev": "6aba19246c1ec08f3de5659b2dbc3277ec6bfb97",
- "sha256": "2G6NkNlvqvP5RM35ydppnr2/RRbeiIpM2HKOpt8PkgU="
+ "rev": "2e34567a320cba27b9162b1776db4de3cdb7cf03",
+ "sha256": "vjrHRLzc9Fy0MwV9d+LlcJTGJfVsRauEig8R+erBtfw="
},
"fbalpha2012": {
"owner": "libretro",
@@ -147,8 +147,8 @@
"fbneo": {
"owner": "libretro",
"repo": "fbneo",
- "rev": "01bf2e189dcd96f978c3a4ae7bbbb00f2d90aabf",
- "sha256": "naCfGSrwA9vO3Cu2rHLplCMcTbpx6S/sapwisFCcL5c="
+ "rev": "e4625a196b9232ba93a156e3a5164aa11193f20a",
+ "sha256": "/5JmwuLWWBQWXnqCMjKzOC2XG6wo5a6xgQOYX1P1zcw="
},
"fceumm": {
"owner": "libretro",
@@ -165,8 +165,8 @@
"fmsx": {
"owner": "libretro",
"repo": "fmsx-libretro",
- "rev": "f9ea9eacd49297783c216d147dcc1a22465b2749",
- "sha256": "nDsaaUeZUm4zTj07+2nPDefoDpw18vXdhQr1BH6/4eY="
+ "rev": "11fa9f3c08cde567394c41320ca76798c2c64670",
+ "sha256": "1u5c5oDIjjXEquh6UBv2H1F/Ln7h44DTF1ohDG0Qnww="
},
"freeintv": {
"owner": "libretro",
@@ -183,26 +183,26 @@
"genesis-plus-gx": {
"owner": "libretro",
"repo": "Genesis-Plus-GX",
- "rev": "144045b30a18ab4b27c3ae46490274988f302748",
- "sha256": "ydnyPdkJmM+xhuJqIOxZISFcTN8RFgOLbnRvOBJORek="
+ "rev": "7520ac8aae7b08262c0472e724e6ef0bfe41d285",
+ "sha256": "wKcO/dulgZKgXTuHdcQvfSrfxSI5UA0az6qMLtP4K6g="
},
"gpsp": {
"owner": "libretro",
"repo": "gpsp",
- "rev": "d4547baf26dd70a18eeb38d231ce3f998004ec30",
- "sha256": "9XU9TmBpuZeAOzqxuKVQZvdHRgX8fm4HcEfleM3jB7E="
+ "rev": "f0f0b31f9ab95946965b75fed8d31e19290f3d43",
+ "sha256": "aiegBSpQDyXzVkyWuUpI66QvA1tqS8PQ8+75U89K10A="
},
"gw": {
"owner": "libretro",
"repo": "gw-libretro",
- "rev": "85bf5c936044db0bf4138e7eb8ab20d3a7330035",
- "sha256": "yCAnveQw+VyZFQ/GsUBuyoMRQ4yfhA0f3tYghZ2HecU="
+ "rev": "d08a08154ce8ed8e9de80582c108f157e4c6b226",
+ "sha256": "PWd/r4BBmhiNqJdV6OaXHr4XCdR1GyVipq3zvyBcqEs="
},
"handy": {
"owner": "libretro",
"repo": "libretro-handy",
- "rev": "5145f79bb746f6d9c0b340c2f9cc4bf059848924",
- "sha256": "madTjJWKM8elM35LRAwm0RwnA44skLtIK2/7RXPSNl0="
+ "rev": "517bb2d02909271836604c01c8f09a79ad605297",
+ "sha256": "Igf/OvmnCzoWjCZBoep7T0pXsoBKq3NJpXlYhE7nr3s="
},
"hatari": {
"owner": "libretro",
@@ -213,14 +213,14 @@
"mame": {
"owner": "libretro",
"repo": "mame",
- "rev": "2a0e4ea0e2362bb7dcf77216c9fcb48426cea1e8",
- "sha256": "imuHEwzDpI8jbdOeOhBBfzl4k74mDq/3SrKD8upzZmo="
+ "rev": "b7dd999590717638ceade2e24d16d63147aa12ad",
+ "sha256": "QgENNjykhO+WSxAb//J+R7QP3/rZnxqv7sarO4eBYuc="
},
"mame2000": {
"owner": "libretro",
"repo": "mame2000-libretro",
- "rev": "f35db3877f8a79a174dd3b2e37f4ebf39d71d5a4",
- "sha256": "JmtvxKWAYNk1SyV1YpFeLX49zzGqpUv6nqM82xU70OM="
+ "rev": "dd9d6612c29bf5b29bc2f94cab2d43fe3dcd69ee",
+ "sha256": "X0fP0bNBk2hqXVdRspylLIjZO563aMXkyX4qgx/3Vr8="
},
"mame2003": {
"owner": "libretro",
@@ -267,8 +267,8 @@
"mesen-s": {
"owner": "libretro",
"repo": "mesen-s",
- "rev": "3694c7f9692a0be32d86979c347884ae9def0a3b",
- "sha256": "VBNl4682e2X12WNjtXZ3P4/Kw4OeRLSRWyZqYDpfmCo="
+ "rev": "b0b53409eecb696fb13f411ffde72e8f576feb09",
+ "sha256": "lDHyeIsVsI5+ZK8EJI50alrFuu0uJmxscda5bR1UmQQ="
},
"meteor": {
"owner": "libretro",
@@ -297,8 +297,8 @@
"nestopia": {
"owner": "libretro",
"repo": "nestopia",
- "rev": "7dbd5c6384c4c6326004c97fd8e6fa07cb4edcef",
- "sha256": "OBkWP36BzwsEW+ORF2opHlXwXHgGN0l2ZxBuyDO/sKY="
+ "rev": "a9e197f2583ef4f36e9e77d930a677e63a2c2f62",
+ "sha256": "QqmWSk8Ejf7QMJk0cVBgpnyqcK6oLjCnnXMXInuWfYc="
},
"np2kai": {
"owner": "AZO234",
@@ -310,8 +310,8 @@
"o2em": {
"owner": "libretro",
"repo": "libretro-o2em",
- "rev": "efd749cec2dd1ce42a8aa3048a89f817d271d804",
- "sha256": "aw0bJyQzYFOlQQOfNsRgqdeUJP1qF4llJxLq5t9oc5g="
+ "rev": "641f06d67d192a0677ec861fcb731d3ce8da0f87",
+ "sha256": "s3FreOziXeGhUyQdSoOywZldD21m3+OXK0EJ2Z8rXiY="
},
"opera": {
"owner": "libretro",
@@ -334,28 +334,28 @@
"pcsx_rearmed": {
"owner": "libretro",
"repo": "pcsx_rearmed",
- "rev": "37d9bf8315be570a350cd44876ae14f9b0eff20b",
- "sha256": "ieuEWs+NIQFCgMl/yTnaFdClxEv5NurrLuUvkjSUar0="
+ "rev": "e24732050e902bd5402b2b7da7c391d2ca8fa799",
+ "sha256": "tPz5E3QO6FucjYOzdjbY2FHLPz1Fmms10tdt7rZIW8U="
},
"picodrive": {
"owner": "libretro",
"repo": "picodrive",
- "rev": "bb6a52fe60e6f3bdcd17effe75e68fd0f8c44ba7",
- "sha256": "wztctLbK7VE4OPJS7ixKwnN4VkQv96Te3FmJlZ5m4A0=",
+ "rev": "7ff457f2f833570013f2a7e2608ac40632e0735d",
+ "sha256": "xEG5swvvWFhvosC1XpFaZphESNaf4AtX+6UE02B57j8=",
"fetchSubmodules": true
},
"play": {
"owner": "jpd002",
"repo": "Play-",
- "rev": "ec2a9460ea2beeb69d30534ee8affbda4fc4b156",
- "sha256": "8maLaSJiF9soJdIlYoFHSG+2XXYTdLmWH6cq9vZRd/4=",
+ "rev": "39eb5c2eb6da65dc76b1c4d1319175a68120a77a",
+ "sha256": "EF3p0lvHjKGt4pxtTAkDM+uHsnW72lN+Ki8BaZIk/BQ=",
"fetchSubmodules": true
},
"ppsspp": {
"owner": "hrydgard",
"repo": "ppsspp",
- "rev": "0eea0acf13022ff8d910adb55cec14ebad825afc",
- "sha256": "f1Tscndz0TcW0bUhixEvsrbFKefLfsCFjqWA7ANnfB4=",
+ "rev": "83b8211abf7fb705835eb1ccf8feae04816ae96c",
+ "sha256": "8K4bz/GUnE8GrlAVFULMXLC+i3ZYvR28EpehEg6up4s=",
"fetchSubmodules": true
},
"prboom": {
@@ -391,20 +391,20 @@
"smsplus-gx": {
"owner": "libretro",
"repo": "smsplus-gx",
- "rev": "8e8378896bc15c8a9f756339b596171ba266cc14",
- "sha256": "zvG2SF4zx3Yaaf54NZ2DgsGPN59msW8TvQFCS4OMcHQ="
+ "rev": "9de9847dc8ba458e9522d5ae8b87bf71ad437257",
+ "sha256": "XzqQ/3XH5L79UQep+DZ+mDHnUJKZQXzjNCZNZw2mGvY="
},
"snes9x": {
"owner": "snes9xgit",
"repo": "snes9x",
- "rev": "78d006ffdbb5cb6944177db52c3640152948d928",
- "sha256": "Qh+nLtwdLfjwYxXCv49pPPf0mqdxKRv/JLRm82knJu0="
+ "rev": "3c729a9763263bc3a69f48370e43ae05e672970a",
+ "sha256": "01M6Wvbu1omMwh3Xg4RGh028jirGs7mLpxwKJgMRQxA="
},
"snes9x2002": {
"owner": "libretro",
"repo": "snes9x2002",
- "rev": "25d9d4fea4c7d7fcc8608c65c2bec9bcbc41f26e",
- "sha256": "EYcaWckvTfi2ajx6C1olE5pW51diLSjMdqZdyH8U2Ck="
+ "rev": "c4397de75a5f11403d154abd935e39fe969bca94",
+ "sha256": "yL4SIRR1Er+7Iq3YPfoe5ES47nvyA3UmGK+upLzKiFA="
},
"snes9x2005": {
"owner": "libretro",
@@ -415,26 +415,26 @@
"snes9x2010": {
"owner": "libretro",
"repo": "snes9x2010",
- "rev": "b12f3ba46f09dd5d0254676ed4b9e289d16b9ea8",
- "sha256": "i4GEqZkgwlehuUQGcjLdMkO9xNWRs8k+3y2OGivwXCw="
+ "rev": "c98224bc74aa0bbf355d128b22e4a2a4e94215b0",
+ "sha256": "mf5msdwdcRRfFWHwmWLS/qKd7gNlLwexGEB6wB6TfhE="
},
"stella": {
"owner": "stella-emu",
"repo": "stella",
- "rev": "071e8f7eb1096dfe95d9eb2e5b7b27b30f28fbf9",
- "sha256": "8WzBL8ojsHYxOqItHeeG4djALhqBBOV7nHE078UzqAY="
+ "rev": "efb2a9f299cad241e12d811580f28d75b6c3438d",
+ "sha256": "QYwDTd8EZUMXJiuSJtoW8XQXgl+Wx0lPkNLOwzM5bzA="
},
"stella2014": {
"owner": "libretro",
"repo": "stella2014-libretro",
- "rev": "1a2e96bc6ccf91de6fb4322048da05f67a9d21d4",
- "sha256": "yINO6EU2kCldfxKcqym5ha3uIEQg7I6t4Wmu+8b6Hmw="
+ "rev": "1351a4fe2ca6b1f3a66c7db0df2ec268ab002d41",
+ "sha256": "/sVDOfP5CE8k808lhmH3tT47oZ1ka3pgDG5LglfPmHc="
},
"swanstation": {
"owner": "libretro",
"repo": "swanstation",
- "rev": "0932243b0e5f1a5a237b0521b30b39473b61fa31",
- "sha256": "krA7X9CIOg53giWSMXgzgazeyWFXEpMobPSnOB7g994="
+ "rev": "0e53a5ac09a30d73d78b628f7e4954ebe5615801",
+ "sha256": "vOu99fsm2oeSi96tWR+vV5suZSYCyXJVgOdvjnKbNhg="
},
"tgbdual": {
"owner": "libretro",
@@ -464,8 +464,8 @@
"vba-next": {
"owner": "libretro",
"repo": "vba-next",
- "rev": "ebd175d57ebb2065726099d32034cb25934787ce",
- "sha256": "hTUlhLzvsemNz6wSmlnQNoNtzaVhipA+hmVmhzZVN+w="
+ "rev": "4191e09e2b0fcf175a15348c1fa8a12bbc6320dd",
+ "sha256": "IG2oH4F17tlSv1cXYZobggb37tFNE53JOHzan/X0+ws="
},
"vecx": {
"owner": "libretro",
diff --git a/pkgs/applications/emulators/retroarch/update_cores.py b/pkgs/applications/emulators/retroarch/update_cores.py
index 0facf4e2656e..c6c44926fc82 100755
--- a/pkgs/applications/emulators/retroarch/update_cores.py
+++ b/pkgs/applications/emulators/retroarch/update_cores.py
@@ -107,10 +107,16 @@ def get_repo_hash_fetchFromGitHub(
extra_args = []
if deep_clone:
extra_args.append("--deep-clone")
+ else:
+ extra_args.append("--no-deep-clone")
if fetch_submodules:
extra_args.append("--fetch-submodules")
+ else:
+ extra_args.append("--no-fetch-submodules")
if leave_dot_git:
extra_args.append("--leave-dot-git")
+ else:
+ extra_args.append("--no-leave-dot-git")
if rev:
extra_args.append("--rev")
extra_args.append(rev)
diff --git a/pkgs/applications/graphics/ImageMagick/7.0.nix b/pkgs/applications/graphics/ImageMagick/7.0.nix
index 74a60857a6a3..b4c06ae77192 100644
--- a/pkgs/applications/graphics/ImageMagick/7.0.nix
+++ b/pkgs/applications/graphics/ImageMagick/7.0.nix
@@ -45,13 +45,13 @@ in
stdenv.mkDerivation rec {
pname = "imagemagick";
- version = "7.1.0-30";
+ version = "7.1.0-31";
src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
rev = version;
- hash = "sha256-FfZJfjuQmYvYuOi18cZdr3Nam98/j+ZTGRwsd1sslsY=";
+ hash = "sha256-Pf+x3TnmvKTCDL3dGLyAr6JUl5E3BRi/XW/dkuCr2YA=";
};
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix
index e950d5e36f5c..0fe5a0b183e8 100644
--- a/pkgs/applications/graphics/darktable/default.nix
+++ b/pkgs/applications/graphics/darktable/default.nix
@@ -14,6 +14,7 @@
, desktop-file-utils
, exiv2
, glib
+, glib-networking
, ilmbase
, gtk3
, intltool
@@ -71,6 +72,7 @@ stdenv.mkDerivation rec {
curl
exiv2
glib
+ glib-networking
gtk3
ilmbase
lcms2
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 6f4fdd689098..79760bb31a65 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -101,7 +101,7 @@ in
description = "Batch Image Manipulation Plugin for GIMP";
homepage = "https://github.com/alessandrofrancesconi/gimp-plugin-bimp";
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ samuelgrf ];
+ maintainers = with maintainers; [ ];
};
};
diff --git a/pkgs/applications/graphics/skanpage/default.nix b/pkgs/applications/graphics/skanpage/default.nix
index 17a228808972..bee04cbad52c 100644
--- a/pkgs/applications/graphics/skanpage/default.nix
+++ b/pkgs/applications/graphics/skanpage/default.nix
@@ -30,7 +30,7 @@ mkDerivation rec {
description = "KDE utility to scan images and multi-page documents";
homepage = "https://apps.kde.org/skanpage";
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ samuelgrf ];
+ maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/misc/fluidd/default.nix b/pkgs/applications/misc/fluidd/default.nix
index 766b05b2e145..5d709235741a 100644
--- a/pkgs/applications/misc/fluidd/default.nix
+++ b/pkgs/applications/misc/fluidd/default.nix
@@ -2,12 +2,12 @@
stdenvNoCC.mkDerivation rec {
pname = "fluidd";
- version = "1.17.1";
+ version = "1.17.2";
src = fetchurl {
name = "fluidd-v${version}.zip";
url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip";
- sha256 = "sha256-F4hAFLsZmRg/zeTHo9eYoT0BasorynGaSzNSbKr2/JE=";
+ sha256 = "sha256-kb7t3H2gpiN6/N/LxyG/Vu5Cp/zytAePsXmacxVyWCk=";
};
nativeBuildInputs = [ unzip ];
diff --git a/pkgs/applications/misc/kjv/default.nix b/pkgs/applications/misc/kjv/default.nix
index 08a1b5a71af6..ee599fd3b6cc 100644
--- a/pkgs/applications/misc/kjv/default.nix
+++ b/pkgs/applications/misc/kjv/default.nix
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, readline }:
let
- patchPrefix = "https://github.com/samuelgrf/kjv/commit/";
+ patchPrefix = "https://web.archive.org/web/20220422205751/https://github.com/samuelgrf/kjv/commit/";
add-apocrypha = fetchpatch {
url = patchPrefix + "0856fa0d37b45de0d6b47d163b5ea9a0b7f2c061.patch";
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
description = "The Bible, King James Version";
homepage = "https://github.com/bontibon/kjv";
license = licenses.unlicense;
- maintainers = with maintainers; [ jtobin samuelgrf ];
+ maintainers = with maintainers; [ jtobin ];
mainProgram = "kjv";
};
}
diff --git a/pkgs/applications/misc/minigalaxy/default.nix b/pkgs/applications/misc/minigalaxy/default.nix
index 2786492d47a5..2be567f2a149 100644
--- a/pkgs/applications/misc/minigalaxy/default.nix
+++ b/pkgs/applications/misc/minigalaxy/default.nix
@@ -31,6 +31,10 @@ python3Packages.buildPythonApplication rec {
runHook postCheck
'';
+ # Cannot find GSettings schemas when opening settings,
+ # probably https://github.com/NixOS/nixpkgs/issues/56943
+ strictDeps = false;
+
nativeBuildInputs = [
gettext
wrapGAppsHook
diff --git a/pkgs/applications/misc/sampler/default.nix b/pkgs/applications/misc/sampler/default.nix
index 2e1b94b6b6c7..a020b15eea3e 100644
--- a/pkgs/applications/misc/sampler/default.nix
+++ b/pkgs/applications/misc/sampler/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildGoModule, fetchFromGitHub, alsa-lib }:
+{ lib, buildGoModule, fetchFromGitHub, darwin, libiconv, alsa-lib, stdenv }:
buildGoModule rec {
pname = "sampler";
@@ -17,7 +17,10 @@ buildGoModule rec {
subPackages = [ "." ];
- buildInputs = [ alsa-lib ];
+ buildInputs = lib.optional stdenv.isLinux alsa-lib
+ ++ lib.optionals stdenv.isDarwin [
+ darwin.apple_sdk.frameworks.OpenAL
+ ];
meta = with lib; {
description = "Tool for shell commands execution, visualization and alerting";
diff --git a/pkgs/applications/networking/cluster/krane/Gemfile.lock b/pkgs/applications/networking/cluster/krane/Gemfile.lock
index 1c1b8dc7b715..ba7e5bb0a633 100644
--- a/pkgs/applications/networking/cluster/krane/Gemfile.lock
+++ b/pkgs/applications/networking/cluster/krane/Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (7.0.1)
+ activesupport (7.0.2.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
@@ -9,11 +9,11 @@ GEM
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorize (0.8.1)
- concurrent-ruby (1.1.9)
+ concurrent-ruby (1.1.10)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
ejson (1.3.1)
- faraday (1.9.3)
+ faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
@@ -58,12 +58,12 @@ GEM
http-form_data (2.3.0)
http-parser (1.2.3)
ffi-compiler (>= 1.0, < 2.0)
- i18n (1.8.11)
+ i18n (1.10.0)
concurrent-ruby (~> 1.0)
- jsonpath (1.1.0)
+ jsonpath (1.1.1)
multi_json
jwt (2.3.0)
- krane (2.4.0)
+ krane (2.4.6)
activesupport (>= 5.0)
colorize (~> 0.8)
concurrent-ruby (~> 1.1)
@@ -74,7 +74,7 @@ GEM
oj (~> 3.0)
statsd-instrument (>= 2.8, < 4)
thor (>= 1.0, < 2.0)
- kubeclient (4.9.2)
+ kubeclient (4.9.3)
http (>= 3.0, < 5.0)
jsonpath (~> 1.0)
recursive-open-struct (~> 1.1, >= 1.1.1)
@@ -89,7 +89,7 @@ GEM
netrc (0.11.0)
oj (3.13.11)
os (1.1.4)
- public_suffix (4.0.6)
+ public_suffix (4.0.7)
rake (13.0.6)
recursive-open-struct (1.1.3)
rest-client (2.1.0)
@@ -98,9 +98,9 @@ GEM
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
ruby2_keywords (0.0.5)
- signet (0.16.0)
+ signet (0.16.1)
addressable (~> 2.8)
- faraday (>= 0.17.3, < 2.0)
+ faraday (>= 0.17.5, < 3.0)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
statsd-instrument (3.1.2)
@@ -109,7 +109,7 @@ GEM
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
- unf_ext (0.0.8)
+ unf_ext (0.0.8.1)
PLATFORMS
ruby
@@ -118,4 +118,4 @@ DEPENDENCIES
krane
BUNDLED WITH
- 2.2.24
+ 2.3.9
diff --git a/pkgs/applications/networking/cluster/krane/gemset.nix b/pkgs/applications/networking/cluster/krane/gemset.nix
index e14b6902fe26..058910072a78 100644
--- a/pkgs/applications/networking/cluster/krane/gemset.nix
+++ b/pkgs/applications/networking/cluster/krane/gemset.nix
@@ -5,10 +5,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "02lys9pnb99hsczs551iqzjn008i8k7c728xxba7acfi9rdw9pa6";
+ sha256 = "1jpydd414j0fig3r0f6ci67mchclg6cq2qgqbq9zplrbg40pzfi8";
type = "gem";
};
- version = "7.0.1";
+ version = "7.0.2.3";
};
addressable = {
dependencies = ["public_suffix"];
@@ -36,10 +36,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nwad3211p7yv9sda31jmbyw6sdafzmdi2i2niaz6f0wk5nq9h0f";
+ sha256 = "0s4fpn3mqiizpmpy2a24k4v365pv75y50292r8ajrv4i1p5b2k14";
type = "gem";
};
- version = "1.1.9";
+ version = "1.1.10";
};
domain_name = {
dependencies = ["unf"];
@@ -68,10 +68,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0y32gj994ll3zlcqjmwp78r7s03iiwayij6fz2pjpkfywgvp71s6";
+ sha256 = "00palwawk897p5gypw5wjrh93d4p0xz2yl9w93yicb4kq7amh8d4";
type = "gem";
};
- version = "1.9.3";
+ version = "1.10.0";
};
faraday-em_http = {
groups = ["default"];
@@ -265,10 +265,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0vdd1kii40qhbr9n8qx71k2gskq6rkl8ygy8hw5hfj8bb5a364xf";
+ sha256 = "0b2qyvnk4yynlg17ymkq4g5xgr275637fhl1mjh0valw3cb1fhhg";
type = "gem";
};
- version = "1.8.11";
+ version = "1.10.0";
};
jsonpath = {
dependencies = ["multi_json"];
@@ -276,10 +276,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "12hjsr0plnx6v0bh1rhhimfi7z3rqm19xb47ybdkc1h9yhynnmdq";
+ sha256 = "0slr38w21gwizkq4nk6c7l7lcqc2c733zfn5fq1pmbwy5bwiggad";
type = "gem";
};
- version = "1.1.0";
+ version = "1.1.1";
};
jwt = {
groups = ["default"];
@@ -297,10 +297,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xnf0cw5i1i8l5nm1c9z02h184ad6hvy7fydr4bdzckjkyinamv9";
+ sha256 = "16rf7qzwshlbhrc9fdgq44fcf2qbgjwik1kwkv1gncy12lvwfdmz";
type = "gem";
};
- version = "2.4.0";
+ version = "2.4.6";
};
kubeclient = {
dependencies = ["http" "jsonpath" "recursive-open-struct" "rest-client"];
@@ -308,10 +308,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0kld1w4706dfd6jx3snsi4h2pvqfazz1fni5al2ln60s3b8sybq4";
+ sha256 = "0ih04d0vgj91rl66iaqh8jmpskwz3g6mgajid0wlzi5skxqqxlym";
type = "gem";
};
- version = "4.9.2";
+ version = "4.9.3";
};
memoist = {
groups = ["default"];
@@ -409,10 +409,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xqcgkl7bwws1qrlnmxgh8g4g9m10vg60bhlw40fplninb3ng6d9";
+ sha256 = "1f3knlwfwm05sfbaihrxm4g772b79032q14c16q4b38z8bi63qcb";
type = "gem";
};
- version = "4.0.6";
+ version = "4.0.7";
};
rake = {
groups = ["default"];
@@ -461,10 +461,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0cgmadrpgkpcklvvm2cga9mnrfqwqlydwpask1wx617h5ha6954k";
+ sha256 = "1jwyggz80xb3yi2hycmmw214c4072g8i56y0b0gsmpkiyk5d0vh1";
type = "gem";
};
- version = "0.16.0";
+ version = "0.16.1";
};
statsd-instrument = {
groups = ["default"];
@@ -513,9 +513,9 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0jmbimpnpjdzz8hlrppgl9spm99qh3qzbx0b81k3gkgwba8nk3yd";
+ sha256 = "0bf120xbq23zjyf8zi8h1576d71g58srr8rndig0whn10w72vrxz";
type = "gem";
};
- version = "0.0.8";
+ version = "0.0.8.1";
};
}
diff --git a/pkgs/applications/networking/flexget/default.nix b/pkgs/applications/networking/flexget/default.nix
index ad18f4e1e611..8421a077d005 100644
--- a/pkgs/applications/networking/flexget/default.nix
+++ b/pkgs/applications/networking/flexget/default.nix
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
ln -sf requirements.in requirements.txt
# remove dependency constraints
- sed 's/[>=]=.*//' -i requirements.txt
+ sed 's/[~<>=].*//' -i requirements.txt
# "zxcvbn-python" was renamed to "zxcvbn", and we don't have the former in
# nixpkgs. See: https://github.com/NixOS/nixpkgs/issues/62110
@@ -35,6 +35,8 @@ python3Packages.buildPythonApplication rec {
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
APScheduler
beautifulsoup4
+ click
+ colorama
feedparser
guessit
html5lib
@@ -62,6 +64,7 @@ python3Packages.buildPythonApplication rec {
flask-restx
flask
pyparsing
+ werkzeug
zxcvbn
# Plugins requirements
diff --git a/pkgs/applications/networking/gns3/default.nix b/pkgs/applications/networking/gns3/default.nix
index 5bb125c10077..7f6ff3be034f 100644
--- a/pkgs/applications/networking/gns3/default.nix
+++ b/pkgs/applications/networking/gns3/default.nix
@@ -1,7 +1,9 @@
-{ callPackage, libsForQt5 }:
+{ callPackage
+, libsForQt5
+}:
let
- stableVersion = "2.2.29";
+ stableVersion = "2.2.31";
previewVersion = stableVersion;
addVersion = args:
let version = if args.stable then stableVersion else previewVersion;
@@ -18,16 +20,13 @@ let
});
};
commonOverrides = [
- (mkOverride "psutil" "5.8.0"
- "sha256-DJzLmat2Al8vC77PNB1GVunBNR24zIoDzNYuMYq0tcY=")
- (mkOverride "jsonschema" "3.2.0"
- "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
+ (mkOverride "jsonschema" "3.2.0" "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
];
};
mkGui = args: libsForQt5.callPackage (import ./gui.nix (addVersion args // extraArgs)) { };
mkServer = args: callPackage (import ./server.nix (addVersion args // extraArgs)) { };
- guiSrcHash = "04yqh0kq5pkmadcxf090ilh9sqqxajcg65nf7ai1iikxi3x7z3r8";
- serverSrcHash = "0p6q421rldmyqi0padssgrssf4d9mb5ifiqjm5y8vfhwfl5a2cqk";
+ guiSrcHash = "sha256-o9j/avuapiUKIDO6aO/uWFF/5gu+xdfhL7ZSDSaQ858=";
+ serverSrcHash = "sha256-8r8nWNqbHUDtJ6x+/SxHxaw1isSuWF/5as3YXLB6LFw=";
in {
guiStable = mkGui {
stable = true;
diff --git a/pkgs/applications/networking/gns3/gui.nix b/pkgs/applications/networking/gns3/gui.nix
index 95ec995cbfd5..8d1ab4e590c5 100644
--- a/pkgs/applications/networking/gns3/gui.nix
+++ b/pkgs/applications/networking/gns3/gui.nix
@@ -1,6 +1,16 @@
-{ stable, branch, version, sha256Hash, mkOverride, commonOverrides }:
+{ stable
+, branch
+, version
+, sha256Hash
+, mkOverride
+, commonOverrides
+}:
-{ lib, python3, fetchFromGitHub, wrapQtAppsHook }:
+{ lib
+, python3
+, fetchFromGitHub
+, wrapQtAppsHook
+}:
let
defaultOverrides = commonOverrides ++ [
@@ -34,21 +44,33 @@ in python.pkgs.buildPythonPackage rec {
sha256 = sha256Hash;
};
- nativeBuildInputs = [ wrapQtAppsHook ];
+ nativeBuildInputs = [
+ wrapQtAppsHook
+ ];
+
propagatedBuildInputs = with python.pkgs; [
- sentry-sdk psutil jsonschema # tox for check
- # Runtime dependencies
- sip_4 (pyqt5.override { withWebSockets = true; }) distro setuptools
+ distro
+ jsonschema
+ psutil
+ sentry-sdk
+ setuptools
+ sip_4 (pyqt5.override { withWebSockets = true; })
];
doCheck = false; # Failing
+
dontWrapQtApps = true;
+
postFixup = ''
wrapQtApp "$out/bin/gns3"
'';
+
postPatch = ''
substituteInPlace requirements.txt \
- --replace "sentry-sdk==1.3.1" "sentry-sdk>=1.3.1" \
+ --replace "sentry-sdk==" "sentry-sdk>=" \
+ --replace "psutil==" "psutil>=" \
+ --replace "distro==" "distro>=" \
+ --replace "setuptools==" "setuptools>="
'';
meta = with lib; {
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix
index 818c01a89ab4..50a2453b0408 100644
--- a/pkgs/applications/networking/gns3/server.nix
+++ b/pkgs/applications/networking/gns3/server.nix
@@ -1,23 +1,20 @@
-{ stable, branch, version, sha256Hash, mkOverride, commonOverrides }:
+{ stable
+, branch
+, version
+, sha256Hash
+, mkOverride
+, commonOverrides
+}:
-{ lib, python3, fetchFromGitHub, packageOverrides ? self: super: {}
- }:
+{ lib
+, python3
+, fetchFromGitHub
+, packageOverrides ? self: super: {}
+}:
let
defaultOverrides = commonOverrides ++ [
(self: super: {
- aiofiles = super.aiofiles.overridePythonAttrs (oldAttrs: rec {
- pname = "aiofiles";
- version = "0.7.0";
- src = fetchFromGitHub {
- owner = "Tinche";
- repo = pname;
- rev = "v${version}";
- sha256 = "sha256-njQ7eRYJO+dUrwO5pZwKHXn9nVSGYcEhwhs3x5BMc28=";
- };
- doCheck = false;
- });
-
jsonschema = super.jsonschema.overridePythonAttrs (oldAttrs: rec {
version = "3.2.0";
@@ -51,16 +48,33 @@ in python.pkgs.buildPythonApplication {
postPatch = ''
substituteInPlace requirements.txt \
- --replace "aiohttp==3.7.4" "aiohttp>=3.7.4" \
- --replace "Jinja2==3.0.1" "Jinja2>=3.0.1" \
- --replace "sentry-sdk==1.3.1" "sentry-sdk>=1.3.1" \
- --replace "async-timeout==3.0.1" "async-timeout>=3.0.1" \
+ --replace "aiohttp==" "aiohttp>=" \
+ --replace "aiofiles==" "aiofiles>=" \
+ --replace "Jinja2==" "Jinja2>=" \
+ --replace "sentry-sdk==" "sentry-sdk>=" \
+ --replace "async-timeout==" "async-timeout>=" \
+ --replace "psutil==" "psutil>=" \
+ --replace "distro==" "distro>=" \
+ --replace "py-cpuinfo==" "py-cpuinfo>=" \
+ --replace "setuptools==" "setuptools>="
'';
propagatedBuildInputs = with python.pkgs; [
- aiohttp-cors yarl aiohttp multidict setuptools
- jinja2 psutil zipstream sentry-sdk jsonschema distro async_generator aiofiles
- prompt-toolkit py-cpuinfo
+ aiofiles
+ aiohttp
+ aiohttp-cors
+ async_generator
+ distro
+ jinja2
+ jsonschema
+ multidict
+ prompt-toolkit
+ psutil
+ py-cpuinfo
+ sentry-sdk
+ setuptools
+ yarl
+ zipstream
];
# Requires network access
diff --git a/pkgs/applications/networking/instant-messengers/bluejeans/default.nix b/pkgs/applications/networking/instant-messengers/bluejeans/default.nix
index ad57e2c6623b..c902a7e67c57 100644
--- a/pkgs/applications/networking/instant-messengers/bluejeans/default.nix
+++ b/pkgs/applications/networking/instant-messengers/bluejeans/default.nix
@@ -44,11 +44,11 @@ in
stdenv.mkDerivation rec {
pname = "bluejeans";
- version = "2.26.0.136";
+ version = "2.27.0.130";
src = fetchurl {
url = "https://swdl.bluejeans.com/desktop-app/linux/${getFirst 3 version}/BlueJeans_${version}.rpm";
- sha256 = "sha256-9QiE7CjCepDXQCzduqGzNUGqUgYS+PWBS71ouzHa83o=";
+ sha256 = "sha256-J0BGL03k1NAJLLEUOfvKjZEsBlupeHJR2Bp3c0ANBwg=";
};
nativeBuildInputs = [ rpmextract makeWrapper ];
diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix
index 3c56d84db4b5..118a35381a66 100644
--- a/pkgs/applications/networking/instant-messengers/gajim/default.nix
+++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix
@@ -63,7 +63,7 @@ python3.pkgs.buildPythonApplication rec {
'';
propagatedBuildInputs = with python3.pkgs; [
- nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools
+ nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools packaging
] ++ lib.optionals enableE2E [ pycrypto python-gnupg ]
++ lib.optional enableRST docutils
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
diff --git a/pkgs/applications/office/buho/default.nix b/pkgs/applications/office/buho/default.nix
new file mode 100644
index 000000000000..997b1c9d502d
--- /dev/null
+++ b/pkgs/applications/office/buho/default.nix
@@ -0,0 +1,58 @@
+{ lib
+, mkDerivation
+, fetchFromGitLab
+, cmake
+, extra-cmake-modules
+, applet-window-buttons
+, karchive
+, kcoreaddons
+, ki18n
+, kio
+, kirigami2
+, mauikit
+, mauikit-filebrowsing
+, mauikit-accounts
+, mauikit-texteditor
+, qtmultimedia
+, qtquickcontrols2
+}:
+
+mkDerivation rec {
+ pname = "buho";
+ version = "2.1.1";
+
+ src = fetchFromGitLab {
+ domain = "invent.kde.org";
+ owner = "maui";
+ repo = "buho";
+ rev = "v${version}";
+ sha256 = "sha256-rHjjvjRY2WsyZfj3fzp46copZ1g2ae6PVv9lBNZDzcI=";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ extra-cmake-modules
+ ];
+
+ buildInputs = [
+ applet-window-buttons
+ karchive
+ kcoreaddons
+ ki18n
+ kio
+ kirigami2
+ mauikit
+ mauikit-filebrowsing
+ mauikit-accounts
+ mauikit-texteditor
+ qtmultimedia
+ qtquickcontrols2
+ ];
+
+ meta = with lib; {
+ description = "Task and Note Keeper";
+ homepage = "https://invent.kde.org/maui/buho";
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ onny ];
+ };
+}
diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix
index b40085e85293..8617d6233560 100644
--- a/pkgs/applications/office/qownnotes/default.nix
+++ b/pkgs/applications/office/qownnotes/default.nix
@@ -5,13 +5,13 @@
mkDerivation rec {
pname = "qownnotes";
- version = "22.3.4";
+ version = "22.4.1";
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Fetch the checksum of current version with curl:
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-.tar.xz.sha256
- sha256 = "bec1ee9735821a7c4556c00790e3acfef06f21490ec8b7d99d9e002c9c0a1207";
+ sha256 = "b9ce77ecd5bb48bd6534068b0582dfaa3b828f800b19ddec80387a84e00766da";
};
nativeBuildInputs = [ qmake qttools ];
diff --git a/pkgs/applications/radio/flrig/default.nix b/pkgs/applications/radio/flrig/default.nix
index c927d77bef44..43f223980178 100644
--- a/pkgs/applications/radio/flrig/default.nix
+++ b/pkgs/applications/radio/flrig/default.nix
@@ -3,21 +3,23 @@
, fetchurl
, fltk13
, libjpeg
+, eudev
, pkg-config
}:
stdenv.mkDerivation rec {
- version = "1.3.54";
+ version = "1.4.5";
pname = "flrig";
src = fetchurl {
url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
- sha256 = "sha256-zw0xi4AVnm8Vi/oWkh13C9BjabOKUtZaVmLN++zKGug=";
+ sha256 = "sha256-Zj/LkP1nSm1zLKLxuGfaKuVuP8jaVlvK/TzX504VKHk=";
};
buildInputs = [
fltk13
libjpeg
+ eudev
];
nativeBuildInputs = [
diff --git a/pkgs/applications/science/logic/elan/default.nix b/pkgs/applications/science/logic/elan/default.nix
index 7e4cc08d358a..1c16de8ad951 100644
--- a/pkgs/applications/science/logic/elan/default.nix
+++ b/pkgs/applications/science/logic/elan/default.nix
@@ -3,16 +3,16 @@
rustPlatform.buildRustPackage rec {
pname = "elan";
- version = "1.4.0";
+ version = "1.4.1";
src = fetchFromGitHub {
owner = "leanprover";
repo = "elan";
rev = "v${version}";
- sha256 = "sha256-86O2P48wcib22IRB8niqVLIukGECbBV9ZufEUZEkvnQ=";
+ sha256 = "sha256-jHECNSXSATLuNHNSVwi7mBTI8l6+cLPDISc5T/4yHDg=";
};
- cargoSha256 = "sha256-2kTAFyFDeFQn7x2oVHZvFzJVs4jLBgl0pSOCcj6Vzdk=";
+ cargoSha256 = "sha256-/XwlTmUboDbB6RTanhKyO6o2GBUhxpH/NQjeNsKpse0=";
nativeBuildInputs = [ pkg-config makeWrapper ];
diff --git a/pkgs/applications/science/misc/bada-bib/default.nix b/pkgs/applications/science/misc/bada-bib/default.nix
index 6dfc6f7ea55a..8f840b2998db 100644
--- a/pkgs/applications/science/misc/bada-bib/default.nix
+++ b/pkgs/applications/science/misc/bada-bib/default.nix
@@ -17,15 +17,15 @@
python3Packages.buildPythonApplication rec {
pname = "bada-bib";
- version = "0.6.1";
+ version = "0.6.2";
format = "other";
strictDeps = false; # https://github.com/NixOS/nixpkgs/issues/56943
src = fetchFromGitHub {
owner = "RogerCrocker";
repo = "BadaBib";
- rev = "v${version}";
- sha256 = "sha256-fuGGKBScdo9rI3tLSBWIcWEME8nSuct0IUyfmI7PzCc=";
+ rev = "refs/tags/v${version}";
+ sha256 = "sha256-3dXtBwqEqiXLjntmqLYeuwLv0RDb774+yOXc7vdf8+Y=";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix b/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix
index f0184c663777..1cf29fbd6c2d 100644
--- a/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix
@@ -1,23 +1,32 @@
-{ fetchFromGitHub, git, gnupg, makeWrapper, openssl, lib, stdenv
-, libxslt, docbook_xsl
+{ fetchFromGitHub
+, git
+, gnupg
+, makeWrapper
+, openssl
+, lib
+, stdenv
+, libxslt
+, docbook_xsl
}:
stdenv.mkDerivation rec {
pname = "git-crypt";
- version = "0.6.0";
+ version = "0.7.0";
src = fetchFromGitHub {
owner = "AGWA";
repo = pname;
rev = version;
- sha256 = "13m9y0m6gc3mlw3pqv9x4i0him2ycbysizigdvdanhh514kga602";
+ sha256 = "sha256-GcGCX6hoKL+sNLAeGEzZpaM+cdFjcNlwYExfOFEPi0I=";
};
+ strictDeps = true;
+
nativeBuildInputs = [ libxslt makeWrapper ];
buildInputs = [ openssl ];
- patchPhase = ''
+ postPatch = ''
substituteInPlace commands.cpp \
--replace '(escape_shell_arg(our_exe_path()))' '= "git-crypt"'
'';
@@ -29,7 +38,8 @@ stdenv.mkDerivation rec {
];
postFixup = ''
- wrapProgram $out/bin/git-crypt --prefix PATH : $out/bin:${git}/bin:${gnupg}/bin
+ wrapProgram $out/bin/git-crypt \
+ --suffix PATH : ${lib.makeBinPath [ git gnupg ]}
'';
meta = with lib; {
@@ -48,7 +58,7 @@ stdenv.mkDerivation rec {
'';
downloadPage = "https://github.com/AGWA/git-crypt/releases";
license = licenses.gpl3;
- maintainers = [ maintainers.dochang ];
+ maintainers = with maintainers; [ dochang SuperSandro2000 ];
platforms = platforms.unix;
};
diff --git a/pkgs/applications/version-management/git-review/default.nix b/pkgs/applications/version-management/git-review/default.nix
index 37053b7f7a0c..1eaedf218cda 100644
--- a/pkgs/applications/version-management/git-review/default.nix
+++ b/pkgs/applications/version-management/git-review/default.nix
@@ -9,7 +9,7 @@
buildPythonApplication rec {
pname = "git-review";
- version = "2.3.0";
+ version = "2.3.1";
# Manually set version because prb wants to get it from the git
# upstream repository (and we are installing from tarball instead)
@@ -20,7 +20,7 @@ buildPythonApplication rec {
owner = "opendev";
repo = pname;
rev = version;
- sha256 = "sha256-ENrv2jx59iNA/hALFg6+gOz8zxJaoiCwYcAh1xeEOR0=";
+ sha256 = "sha256-C8M4b/paHJB9geizc1eIhXsTuLeeS4dDisCfCQF1RuU=";
};
outputs = [ "out" "man" ];
diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json
index dbae269aab8c..2bdf0260f1e8 100644
--- a/pkgs/applications/version-management/gitlab/data.json
+++ b/pkgs/applications/version-management/gitlab/data.json
@@ -1,14 +1,14 @@
{
- "version": "14.9.2",
- "repo_hash": "sha256-+tZN6isOb7LtUVwGshx9TP+P42sftJmQGVk1L9UJqcY=",
+ "version": "14.9.3",
+ "repo_hash": "04a5z9dr8qs1vrgrdlw5sx5wjwjgqzgj7rqxy4lswycxglc8i1ad",
"yarn_hash": "1mya6y0cb9x8491gpf7f1i7qi2rb0l7d9g5yzj44vvy3mb4rcqaj",
"owner": "gitlab-org",
"repo": "gitlab",
- "rev": "v14.9.2-ee",
+ "rev": "v14.9.3-ee",
"passthru": {
- "GITALY_SERVER_VERSION": "14.9.2",
+ "GITALY_SERVER_VERSION": "14.9.3",
"GITLAB_PAGES_VERSION": "1.56.1",
"GITLAB_SHELL_VERSION": "13.24.0",
- "GITLAB_WORKHORSE_VERSION": "14.9.2"
+ "GITLAB_WORKHORSE_VERSION": "14.9.3"
}
}
diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix
index cd76768aee49..408a5df85648 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix
@@ -11,7 +11,7 @@ let
gemdir = ./.;
};
- version = "14.9.2";
+ version = "14.9.3";
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
in
@@ -23,7 +23,7 @@ buildGoModule {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
- sha256 = "sha256-eEo+WZ2N/5bLfvwJCNf9qt+h/V5dIVqCjVJeomzw/Ps=";
+ sha256 = "sha256-D4Dgw2vqX5464ciYvTqagQG/uXt0Wm15ztdwbyJp1HM=";
};
vendorSha256 = "sha256-kEjgWA/Task23PScPYrqdDu3vdVR/FJl7OilUug/Bds=";
diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
index 9fcecc53a070..22b982f5d715 100644
--- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
@@ -5,7 +5,7 @@ in
buildGoModule rec {
pname = "gitlab-workhorse";
- version = "14.9.2";
+ version = "14.9.3";
src = fetchFromGitLab {
owner = data.owner;
diff --git a/pkgs/applications/version-management/rcs/default.nix b/pkgs/applications/version-management/rcs/default.nix
index 6982bd43b263..5f2f9aab2b3c 100644
--- a/pkgs/applications/version-management/rcs/default.nix
+++ b/pkgs/applications/version-management/rcs/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, fetchpatch, buildPackages, diffutils, ed, lzip }:
+{ lib, stdenv, fetchurl, buildPackages, diffutils, ed, lzip }:
stdenv.mkDerivation rec {
pname = "rcs";
@@ -9,14 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Q93+EHJKi4XiRo9kA7YABzcYbwHmDgvWL95p2EIjTMU=";
};
- patches = [
- # glibc 2.34 compat
- (fetchpatch {
- url = "https://src.fedoraproject.org/rpms/rcs/raw/f8e07cd37f4abfb36e37d41852bb8f9e234d3fb1/f/rcs-5.10.0-SIGSTKSZ.patch";
- sha256 = "sha256-mc6Uye9mdEsLBcOnf1m1TUb1BV0ncNU//iKBpLGBjho=";
- })
- ];
-
ac_cv_path_ED = "${ed}/bin/ed";
DIFF = "${diffutils}/bin/diff";
DIFF3 = "${diffutils}/bin/diff3";
diff --git a/pkgs/applications/version-management/redmine/default.nix b/pkgs/applications/version-management/redmine/default.nix
index 39e46d90b88d..e3fba172a5f1 100644
--- a/pkgs/applications/version-management/redmine/default.nix
+++ b/pkgs/applications/version-management/redmine/default.nix
@@ -47,7 +47,7 @@ in
meta = with lib; {
homepage = "https://www.redmine.org/";
platforms = platforms.linux;
- maintainers = [ maintainers.aanderse ];
+ maintainers = with maintainers; [ aanderse felixsinger ];
license = licenses.gpl2;
};
}
diff --git a/pkgs/applications/video/kodi/add-KODI_WEBSERVER_EXTRA_WHITELIST.patch b/pkgs/applications/video/kodi/add-KODI_WEBSERVER_EXTRA_WHITELIST.patch
new file mode 100644
index 000000000000..ae221eff6045
--- /dev/null
+++ b/pkgs/applications/video/kodi/add-KODI_WEBSERVER_EXTRA_WHITELIST.patch
@@ -0,0 +1,88 @@
+From 620c3eb38f0dbea6e877e37e97508513e87a0732 Mon Sep 17 00:00:00 2001
+From: Jeremy Fleischman
+Date: Sun, 27 Mar 2022 00:44:52 -0700
+Subject: [PATCH] Add new KODI_WEBSERVER_EXTRA_WHITELIST cmake var to allow
+ access to more directories
+
+(This is a backport of
+https://github.com/xbmc/xbmc/commit/a6dedce7ba1f03bdd83b019941d1e369a06f7888
+to Kodi 19.4 Matrix)
+
+This is useful for NixOS, which often ends up creating a `KODI_HOME`
+with symlinks to other files (including the chorus2 interface). Kodi's
+webserver cautiously refuses to follow these symlinks, and you end up
+getting 404s rather than the web page.
+
+See https://forum.kodi.tv/showthread.php?tid=366338&pid=3079493 for a
+discussion of this on the Kodi forum.
+---
+ CMakeLists.txt | 1 +
+ xbmc/CompileInfo.cpp.in | 5 +++++
+ xbmc/CompileInfo.h | 1 +
+ xbmc/utils/FileUtils.cpp | 6 +++++-
+ 4 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2d5369798df23..d5ef6d9390ef0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -243,6 +243,7 @@ add_custom_command(OUTPUT ${CORE_BUILD_DIR}/xbmc/CompileInfo.cpp
+ -DAPP_BUILD_DATE=${APP_BUILD_DATE}
+ -DAPP_SHARED_LIBRARY_SUFFIX="${APP_SHARED_LIBRARY_SUFFIX}"
+ -Dprefix=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}
++ -DKODI_WEBSERVER_EXTRA_WHITELIST="${KODI_WEBSERVER_EXTRA_WHITELIST}"
+ -P ${CMAKE_SOURCE_DIR}/cmake/scripts/common/GenerateVersionedFiles.cmake
+ DEPENDS ${CMAKE_SOURCE_DIR}/version.txt
+ export-files
+diff --git a/xbmc/CompileInfo.cpp.in b/xbmc/CompileInfo.cpp.in
+index f81fe77902236..4f19203a89cde 100644
+--- a/xbmc/CompileInfo.cpp.in
++++ b/xbmc/CompileInfo.cpp.in
+@@ -105,3 +105,8 @@ std::vector CCompileInfo::GetAvailableWindowSystems()
+ {
+ return StringUtils::Split("@CORE_PLATFORM_NAME_LC@", ' ');
+ }
++
++const std::vector CCompileInfo::GetWebserverExtraWhitelist()
++{
++ return StringUtils::Split("@KODI_WEBSERVER_EXTRA_WHITELIST@", ',');
++}
+diff --git a/xbmc/CompileInfo.h b/xbmc/CompileInfo.h
+index 553a0194ee77f..e2521324e6576 100644
+--- a/xbmc/CompileInfo.h
++++ b/xbmc/CompileInfo.h
+@@ -32,4 +32,5 @@ class CCompileInfo
+ static const char* GetVersionCode();
+ static std::vector GetAvailableWindowSystems();
+ static std::vector LoadOfficialRepoInfos();
++ static const std::vector GetWebserverExtraWhitelist();
+ };
+diff --git a/xbmc/utils/FileUtils.cpp b/xbmc/utils/FileUtils.cpp
+index e51f3d631c256..fc717c9608098 100644
+--- a/xbmc/utils/FileUtils.cpp
++++ b/xbmc/utils/FileUtils.cpp
+@@ -6,6 +6,7 @@
+ * See LICENSES/README.md for more information.
+ */
+
++#include "CompileInfo.h"
+ #include "FileUtils.h"
+ #include "ServiceBroker.h"
+ #include "guilib/GUIKeyboardFactory.h"
+@@ -261,12 +262,15 @@ bool CFileUtils::CheckFileAccessAllowed(const std::string &filePath)
+ "/.ssh/",
+ };
+ // ALLOW kodi paths
+- const std::vector whitelist = {
++ std::vector whitelist = {
+ CSpecialProtocol::TranslatePath("special://home"),
+ CSpecialProtocol::TranslatePath("special://xbmc"),
+ CSpecialProtocol::TranslatePath("special://musicartistsinfo")
+ };
+
++ auto kodiExtraWhitelist = CCompileInfo::GetWebserverExtraWhitelist();
++ whitelist.insert(whitelist.end(), kodiExtraWhitelist.begin(), kodiExtraWhitelist.end());
++
+ // image urls come in the form of image://... sometimes with a / appended at the end
+ // and can be embedded in a music or video file image://music@...
+ // strip this off to get the real file path
diff --git a/pkgs/applications/video/kodi/unwrapped.nix b/pkgs/applications/video/kodi/unwrapped.nix
index 18319468eae9..47f3e0a9d996 100644
--- a/pkgs/applications/video/kodi/unwrapped.nix
+++ b/pkgs/applications/video/kodi/unwrapped.nix
@@ -107,6 +107,15 @@ in stdenv.mkDerivation {
src = kodi_src;
+ # This is a backport of
+ # https://github.com/xbmc/xbmc/commit/a6dedce7ba1f03bdd83b019941d1e369a06f7888
+ # to Kodi 19.4 Matrix.
+ # This can be removed once a new release of Kodi comes out and we upgrade
+ # to it.
+ patches = [
+ ./add-KODI_WEBSERVER_EXTRA_WHITELIST.patch
+ ];
+
buildInputs = [
gnutls libidn libtasn1 nasm p11-kit
libxml2 python3Packages.python
@@ -185,6 +194,12 @@ in stdenv.mkDerivation {
"-DSWIG_EXECUTABLE=${buildPackages.swig}/bin/swig"
"-DFLATBUFFERS_FLATC_EXECUTABLE=${buildPackages.flatbuffers}/bin/flatc"
"-DPYTHON_EXECUTABLE=${buildPackages.python3Packages.python}/bin/python"
+ # When wrapped KODI_HOME will likely contain symlinks to static assets
+ # that Kodi's built in webserver will cautiously refuse to serve up
+ # (because their realpaths are outside of KODI_HOME and the other
+ # whitelisted directories). This adds the entire nix store to the Kodi
+ # webserver whitelist to avoid this problem.
+ "-DKODI_WEBSERVER_EXTRA_WHITELIST=${builtins.storeDir}"
] ++ lib.optional waylandSupport [
"-DWAYLANDPP_SCANNER=${buildPackages.waylandpp}/bin/wayland-scanner++"
];
diff --git a/pkgs/applications/video/kodi/wrapper.nix b/pkgs/applications/video/kodi/wrapper.nix
index 2380d0023d57..52b7679a325e 100644
--- a/pkgs/applications/video/kodi/wrapper.nix
+++ b/pkgs/applications/video/kodi/wrapper.nix
@@ -35,11 +35,5 @@ buildEnv {
(lib.concatMap
(plugin: plugin.extraRuntimeDependencies or []) addons)}"
done
-
- # makeWrapper just created webinterface.default as a symlink. However,
- # kodi's webserver carefully refuses to follow symlinks, so we need to copy
- # these assets instead.
- rm $out/share/kodi/addons/webinterface.default
- cp -r ${kodi}/share/kodi/addons/webinterface.default/ $out/share/kodi/addons/webinterface.default
'';
}
diff --git a/pkgs/applications/window-managers/i3/status-rust.nix b/pkgs/applications/window-managers/i3/status-rust.nix
index 83406d33961c..c3d8d96bba4e 100644
--- a/pkgs/applications/window-managers/i3/status-rust.nix
+++ b/pkgs/applications/window-managers/i3/status-rust.nix
@@ -15,16 +15,16 @@
rustPlatform.buildRustPackage rec {
pname = "i3status-rust";
- version = "0.21.9";
+ version = "0.21.10";
src = fetchFromGitHub {
owner = "greshake";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-UbQEPY/Qzu3akWqCTdbhO8V46KyNh/4XCA+PySQyNaw=";
+ sha256 = "sha256-HtPgl52ysE/CVX706YeKBFc6CgGpHzvHwZoS+DzHADY=";
};
- cargoSha256 = "sha256-Bb4kkS0eSg0ue24UIy8f0kwD9w4kSCVTd1OqwEggyVs=";
+ cargoSha256 = "sha256-ini0AIYwvTskNFMSC+Gy23ohL75PTET95e1mjpjCsWE=";
nativeBuildInputs = [ pkg-config makeWrapper ];
diff --git a/pkgs/data/documentation/scheme-manpages/default.nix b/pkgs/data/documentation/scheme-manpages/default.nix
index 900f28edc8d2..aaa7007d0262 100644
--- a/pkgs/data/documentation/scheme-manpages/default.nix
+++ b/pkgs/data/documentation/scheme-manpages/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "scheme-manpages-unstable";
- version = "2021-03-11";
+ version = "2022-04-21";
src = fetchFromGitHub {
owner = "schemedoc";
repo = "manpages";
- rev = "d0163a4e29d29b2f0beb762be4095775134f5ef9";
- sha256 = "0a8f7rq458c7985chwn1qb9yxcwyr0hl39r9vlvm5j687hy3igs2";
+ rev = "e3faaa1b80b3493ee644958a105f84f2995a0436";
+ sha256 = "sha256-28e6tFRTqX/PWMhdoUZ4nQU1e/JL2uR+NjVXGBwogMM=";
};
dontBuild = true;
diff --git a/pkgs/data/fonts/times-newer-roman/default.nix b/pkgs/data/fonts/times-newer-roman/default.nix
index 6122883c6156..4bfe358d13ed 100644
--- a/pkgs/data/fonts/times-newer-roman/default.nix
+++ b/pkgs/data/fonts/times-newer-roman/default.nix
@@ -19,7 +19,7 @@ fetchzip {
description = "A font that looks just like Times New Roman, except each character is 5-10% wider";
homepage = "https://timesnewerroman.com/";
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ samuelgrf ];
+ maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}
diff --git a/pkgs/desktops/gnome/games/tali/default.nix b/pkgs/desktops/gnome/games/tali/default.nix
index c12853e5daee..40107fe4a269 100644
--- a/pkgs/desktops/gnome/games/tali/default.nix
+++ b/pkgs/desktops/gnome/games/tali/default.nix
@@ -20,11 +20,11 @@
stdenv.mkDerivation rec {
pname = "tali";
- version = "40.6";
+ version = "40.7";
src = fetchurl {
url = "mirror://gnome/sources/tali/${lib.versions.major version}/${pname}-${version}.tar.xz";
- sha256 = "g/ugR+3s0ZbTBxmnDi9NCYa7Jswr1flVoKkgDqY/BhI=";
+ sha256 = "cXqJfV0H4X4K89ZpI/USNhPEEPZSOdqX0JKeScf7C2c=";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/plasma-5/3rdparty/kwin/scripts/dynamic-workspaces.nix b/pkgs/desktops/plasma-5/3rdparty/kwin/scripts/dynamic-workspaces.nix
index cea788f26403..043f52c37efc 100644
--- a/pkgs/desktops/plasma-5/3rdparty/kwin/scripts/dynamic-workspaces.nix
+++ b/pkgs/desktops/plasma-5/3rdparty/kwin/scripts/dynamic-workspaces.nix
@@ -32,7 +32,7 @@ mkDerivation rec {
meta = with lib; {
description = "KWin script that automatically adds/removes virtual desktops";
license = licenses.bsd3;
- maintainers = with maintainers; [ samuelgrf ];
+ maintainers = with maintainers; [ ];
inherit (src.meta) homepage;
inherit (kwindowsystem.meta) platforms;
};
diff --git a/pkgs/desktops/xfce/applications/xfce4-terminal/default.nix b/pkgs/desktops/xfce/applications/xfce4-terminal/default.nix
index 65611f73a1d2..c83dd372e4ab 100644
--- a/pkgs/desktops/xfce/applications/xfce4-terminal/default.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-terminal/default.nix
@@ -3,9 +3,9 @@
mkXfceDerivation {
category = "apps";
pname = "xfce4-terminal";
- version = "0.8.10";
+ version = "1.0.1";
- sha256 = "sha256-FINoED7C2PXeDJf9sKD7bk+b5FGZMMqXFe3i2zLDqGw=";
+ sha256 = "sha256-+tuJGA/g0ddDop5mTbRZGVGUKKZ87fmdVMOaaBhMpFQ=";
nativeBuildInputs = [ libxslt docbook_xml_dtd_45 docbook_xsl ];
diff --git a/pkgs/desktops/xfce/core/xfce4-panel/default.nix b/pkgs/desktops/xfce/core/xfce4-panel/default.nix
index 4fa26b3da024..5ac7fa9e79b9 100644
--- a/pkgs/desktops/xfce/core/xfce4-panel/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-panel/default.nix
@@ -17,9 +17,9 @@
mkXfceDerivation {
category = "xfce";
pname = "xfce4-panel";
- version = "4.16.3";
+ version = "4.16.4";
- sha256 = "sha256-PdE64WKdluKfof/l1wTPi7JdpJMYWIvi0yIdpyntsCA=";
+ sha256 = "sha256-DlGcec5oUPDMzVztADw9fROmBIIO7isZ8gZEMGeDVcA=";
nativeBuildInputs = [
gobject-introspection
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix
index 08434ad25227..e4a252c7ed06 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix
@@ -15,11 +15,11 @@ let
category = "panel-plugins";
in stdenv.mkDerivation rec {
pname = "xfce4-eyes-plugin";
- version = "4.5.1";
+ version = "4.6.0";
src = fetchurl {
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
- sha256 = "sha256-TbeAF45Sk5HVPaGA5JOGkE5ppaM7O9UYWDXQp+b/WsU=";
+ sha256 = "sha256-rQ/wXYi6OTt8iSL4Iz7dM/wKTosAC2HeH486EMWuUyQ=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix
index 280e0fdd2307..f682ecfb06c4 100644
--- a/pkgs/development/compilers/crystal/default.nix
+++ b/pkgs/development/compilers/crystal/default.nix
@@ -216,7 +216,7 @@ let
description = "A compiled language with Ruby like syntax and type inference";
homepage = "https://crystal-lang.org/";
license = licenses.asl20;
- maintainers = with maintainers; [ david50407 fabianhjr manveru peterhoeg ];
+ maintainers = with maintainers; [ david50407 manveru peterhoeg ];
platforms = let archNames = builtins.attrNames archs; in
if (lib.versionOlder version "1.2.0") then remove "aarch64-darwin" archNames else archNames;
broken = lib.versionOlder version "0.36.1" && stdenv.isDarwin;
diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix
index 1e8917ef6cf1..88d4831812fd 100644
--- a/pkgs/development/compilers/gcc/10/default.nix
+++ b/pkgs/development/compilers/gcc/10/default.nix
@@ -288,6 +288,7 @@ stdenv.mkDerivation ({
maintainers = lib.teams.gcc.members;
platforms = lib.platforms.unix;
+ badPlatforms = [ "aarch64-darwin" ];
};
}
diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix
index ef1a04635f9a..8cd0d3c9ce80 100644
--- a/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/pkgs/development/compilers/gcc/4.8/default.nix
@@ -312,7 +312,7 @@ stdenv.mkDerivation ({
maintainers = with lib.maintainers; [ veprbl ];
platforms = lib.platforms.unix;
- badPlatforms = [ "x86_64-darwin" ];
+ badPlatforms = lib.platforms.darwin;
};
}
diff --git a/pkgs/development/compilers/gcc/4.9/default.nix b/pkgs/development/compilers/gcc/4.9/default.nix
index 289df07d0312..b3d0f8d5d502 100644
--- a/pkgs/development/compilers/gcc/4.9/default.nix
+++ b/pkgs/development/compilers/gcc/4.9/default.nix
@@ -328,7 +328,7 @@ stdenv.mkDerivation ({
maintainers = with lib.maintainers; [ veprbl ];
platforms = lib.platforms.unix;
- badPlatforms = [ "x86_64-darwin" ];
+ badPlatforms = lib.platforms.darwin;
};
}
diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix
index a577c61bdf58..62b46df1ab00 100644
--- a/pkgs/development/compilers/gcc/6/default.nix
+++ b/pkgs/development/compilers/gcc/6/default.nix
@@ -341,6 +341,7 @@ stdenv.mkDerivation ({
'';
platforms = lib.platforms.unix;
+ badPlatforms = [ "aarch64-darwin" ];
};
}
diff --git a/pkgs/development/compilers/gcc/7/default.nix b/pkgs/development/compilers/gcc/7/default.nix
index 937ccbb35103..1abf14c8a8c7 100644
--- a/pkgs/development/compilers/gcc/7/default.nix
+++ b/pkgs/development/compilers/gcc/7/default.nix
@@ -297,6 +297,7 @@ stdenv.mkDerivation ({
maintainers = lib.teams.gcc.members;
platforms = lib.platforms.unix;
+ badPlatforms = [ "aarch64-darwin" ];
};
}
diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix
index e98197836955..2dd265b648ce 100644
--- a/pkgs/development/compilers/gcc/8/default.nix
+++ b/pkgs/development/compilers/gcc/8/default.nix
@@ -276,6 +276,7 @@ stdenv.mkDerivation ({
maintainers = lib.teams.gcc.members;
platforms = lib.platforms.unix;
+ badPlatforms = [ "aarch64-darwin" ];
};
}
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix
index dd1a53e172a4..2ecfa1bb1cf0 100644
--- a/pkgs/development/compilers/gcc/9/default.nix
+++ b/pkgs/development/compilers/gcc/9/default.nix
@@ -307,6 +307,7 @@ stdenv.mkDerivation ({
maintainers = lib.teams.gcc.members;
platforms = lib.platforms.unix;
+ badPlatforms = [ "aarch64-darwin" ];
};
}
diff --git a/pkgs/development/compilers/scryer-prolog/cargo.patch b/pkgs/development/compilers/scryer-prolog/cargo.patch
index e704798c3acf..ccce7ba357d7 100644
--- a/pkgs/development/compilers/scryer-prolog/cargo.patch
+++ b/pkgs/development/compilers/scryer-prolog/cargo.patch
@@ -1,101 +1,44 @@
diff --git a/Cargo.lock b/Cargo.lock
-index ef25833..d9de212 100644
+index 4d699f11..1eb894fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
-@@ -41,9 +41,9 @@ checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
-
- [[package]]
- name = "az"
--version = "0.3.1"
-+version = "1.0.0"
+@@ -875,15 +875,6 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "41a6b78289a33e09b00818ca8c90ab17c5dabb6e74f4b29a6de679c0e0886ade"
-+checksum = "e9bcd47d94aa4eb8c076b50fc61a75020789394ffb9bd74a180b3379130f6569"
-
- [[package]]
- name = "base64"
-@@ -384,9 +384,9 @@ dependencies = [
-
- [[package]]
- name = "gmp-mpfr-sys"
--version = "1.2.2"
-+version = "1.4.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "63d7f805cf9df081683d463f62864bda8b8e3ce7162a8e11cd0c49f27b8ce89b"
-+checksum = "ad4e8e85ec9fb902b4564deeb17b1a263d3ba1334bef56154418aa045b159508"
- dependencies = [
- "libc",
- "winapi 0.3.8",
-@@ -485,9 +487,9 @@ dependencies = [
-
- [[package]]
- name = "lexical-core"
--version = "0.4.6"
-+version = "0.4.8"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "2304bccb228c4b020f3a4835d247df0a02a7c4686098d4167762cfbbe4c5cb14"
-+checksum = "34449d00c5d4066537f4dc72320b18e3aa421e8e92669250eecd664c618fefce"
- dependencies = [
- "arrayvec 0.4.12",
- "cfg-if",
-@@ -766,15 +766,6 @@ version = "0.1.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
+ checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
-[[package]]
-name = "openssl-src"
--version = "111.9.0+1.1.1g"
+-version = "300.0.2+3.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "a2dbe10ddd1eb335aba3780eb2eaa13e1b7b441d2562fd962398740927f39ec4"
+-checksum = "14a760a11390b1a5daf72074d4f6ff1a6e772534ae191f999f57e9ee8146d1fb"
-dependencies = [
- "cc",
-]
-
[[package]]
name = "openssl-sys"
- version = "0.9.58"
-@@ -784,7 +775,6 @@ dependencies = [
- "autocfg 1.0.0",
+ version = "0.9.70"
+@@ -893,7 +884,6 @@ dependencies = [
+ "autocfg 1.0.1",
"cc",
"libc",
- "openssl-src",
"pkg-config",
"vcpkg",
]
-@@ -1159,9 +1149,9 @@ dependencies = [
-
- [[package]]
- name = "rug"
--version = "1.8.0"
-+version = "1.11.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "72315b6d9cb7d886fb99724330c47ceb29e923df657c31da3849fe88c0ded710"
-+checksum = "e538d00da450a8e48aac7e6322e67b2dc86ec71a1feeac0e3954c4f07f01bc45"
- dependencies = [
- "az",
- "gmp-mpfr-sys",
-@@ -1232,7 +1222,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
-
- [[package]]
- name = "scryer-prolog"
--version = "0.8.126"
-+version = "0.8.127"
- dependencies = [
- "base64 0.12.3",
- "blake2",
-@@ -1243,6 +1233,7 @@ dependencies = [
+@@ -1432,6 +1422,7 @@ dependencies = [
"divrem",
- "downcast",
+ "fxhash",
"git-version",
+ "gmp-mpfr-sys",
"hostname",
"indexmap",
- "lazy_static",
+ "instructions-template",
diff --git a/Cargo.toml b/Cargo.toml
-index c359e1b..75c4325 100644
+index 8e81a947..d21a8d49 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -41,10 +41,14 @@ ring = "0.16.13"
+@@ -55,7 +55,7 @@ ring = "0.16.13"
ripemd160 = "0.8.0"
sha3 = "0.8.2"
blake2 = "0.8.1"
@@ -104,10 +47,20 @@ index c359e1b..75c4325 100644
native-tls = "0.2.4"
chrono = "0.4.11"
select = "0.4.3"
- roxmltree = "0.11.0"
- base64 = "0.12.3"
- sodiumoxide = "0.2.6"
-+
+@@ -66,10 +66,14 @@ sodiumoxide = "0.2.6"
+ static_assertions = "1.1.0"
+ slice-deque = "0.3.0"
+
+[dependencies.gmp-mpfr-sys]
+version = "1.4"
+features = ["use-system-libs"]
++
+ [dev-dependencies]
+ assert_cmd = "1.0.3"
+ predicates-core = "1.0.2"
+ serial_test = "0.5.1"
+
+ [profile.release]
+-debug = true
+\ No newline at end of file
++debug = true
diff --git a/pkgs/development/compilers/scryer-prolog/default.nix b/pkgs/development/compilers/scryer-prolog/default.nix
index 7c9afefe10df..9010cdef1dd7 100644
--- a/pkgs/development/compilers/scryer-prolog/default.nix
+++ b/pkgs/development/compilers/scryer-prolog/default.nix
@@ -1,6 +1,8 @@
{ lib
, fetchFromGitHub
+, fetchpatch
, rustPlatform
+, rustfmt
, gmp
, libmpc
, mpfr
@@ -10,21 +12,32 @@
rustPlatform.buildRustPackage rec {
pname = "scryer-prolog";
- version = "0.8.127";
+ version = "0.9.0";
src = fetchFromGitHub {
owner = "mthom";
repo = "scryer-prolog";
rev = "v${version}";
- sha256 = "0307yclslkdx6f0h0101a3da47rhz6qizf4i8q8rjh4id8wpdsn8";
+ sha256 = "3NHpEg6QaUaqbBCq8uM5hFcqS24q4XrOnKjMmn8Z1Dg=";
};
- # Use system openssl, gmp, mpc and mpfr.
- cargoPatches = [ ./cargo.patch ];
+ cargoPatches = [
+ # Use system openssl, gmp, mpc and mpfr.
+ ./cargo.patch
- cargoSha256 = "1vf7pfhvpk7ikzibdccw7xgbywv5n4vvshjwsdsf94bhl2knrlg3";
+ ./fix-tests.patch
- nativeBuildInputs = [ pkg-config ];
+ # Avoid testing failing with "couldn't save history"
+ (fetchpatch {
+ name = "fix-tests-1";
+ url = "https://patch-diff.githubusercontent.com/raw/mthom/scryer-prolog/pull/1342.patch";
+ sha256 = "2N0AOkFuf+H/aUn2QTXgmqjmvShTxHxB6kNuNdNoVRI=";
+ })
+ ];
+
+ cargoSha256 = "nqAHVXAmTW9mdE2L2yhpOTz16JbYgQUmCgiFq9pBzUU=";
+
+ nativeBuildInputs = [ pkg-config rustfmt];
buildInputs = [ openssl gmp libmpc mpfr ];
meta = with lib; {
diff --git a/pkgs/development/compilers/scryer-prolog/fix-tests.patch b/pkgs/development/compilers/scryer-prolog/fix-tests.patch
new file mode 100644
index 000000000000..53ececfdc794
--- /dev/null
+++ b/pkgs/development/compilers/scryer-prolog/fix-tests.patch
@@ -0,0 +1,29 @@
+diff --git a/tests/scryer/src_tests.rs b/tests/scryer/src_tests.rs
+index b0b9efb5..8fddd842 100644
+--- a/tests/scryer/src_tests.rs
++++ b/tests/scryer/src_tests.rs
+@@ -46,24 +46,6 @@ fn rules() {
+ load_module_test("src/tests/rules.pl", "");
+ }
+
+-#[serial]
+-#[test]
+-fn setup_call_cleanup_load() {
+- load_module_test(
+- "src/tests/setup_call_cleanup.pl",
+- "1+21+31+2>_17737+_177381+_158071+2>41+2>_177381+2>31+2>31+2>4ba"
+- );
+-}
+-
+-#[test]
+-fn setup_call_cleanup_process() {
+- run_top_level_test_with_args(
+- &["src/tests/setup_call_cleanup.pl", "-f", "-g", "halt"],
+- "",
+- "1+21+31+2>_19590+_195911+_176601+2>41+2>_195911+2>31+2>31+2>4ba"
+- );
+-}
+-
+ #[serial]
+ #[test]
+ fn clpz_load() {
diff --git a/pkgs/development/interpreters/php/generic.nix b/pkgs/development/interpreters/php/generic.nix
index bf2ff11158ec..3debeba329a9 100644
--- a/pkgs/development/interpreters/php/generic.nix
+++ b/pkgs/development/interpreters/php/generic.nix
@@ -176,6 +176,10 @@ let
if test -e $out/bin/phpdbg; then
wrapProgram $out/bin/phpdbg --set PHP_INI_SCAN_DIR $out/lib
fi
+
+ if test -e $out/bin/php-cgi; then
+ wrapProgram $out/bin/php-cgi --set PHP_INI_SCAN_DIR $out/lib
+ fi
'';
};
in
diff --git a/pkgs/development/interpreters/zuo/default.nix b/pkgs/development/interpreters/zuo/default.nix
new file mode 100644
index 000000000000..f70e674eda64
--- /dev/null
+++ b/pkgs/development/interpreters/zuo/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "zuo";
+ version = "unstable-2022-04-23";
+
+ src = fetchFromGitHub {
+ owner = "racket";
+ repo = "zuo";
+ rev = "2f3e23bd374f9a6504de6000989ebf2adf67c80c";
+ sha256 = "sha256-TxX3iinfL1hXFlQlGQ7x52O6zvYoJYXrMfEfSL4Axig=";
+ };
+
+ doCheck = true;
+
+ meta = with lib; {
+ description = "A Tiny Racket for Scripting";
+ homepage = "https://github.com/racket/zuo";
+ license = licenses.mit;
+ platforms = platforms.all;
+ maintainers = [ maintainers.marsam ];
+ };
+}
diff --git a/pkgs/development/libraries/armadillo/default.nix b/pkgs/development/libraries/armadillo/default.nix
index 8d57ce5b1568..ce41240ecf72 100644
--- a/pkgs/development/libraries/armadillo/default.nix
+++ b/pkgs/development/libraries/armadillo/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "armadillo";
- version = "11.0.0";
+ version = "11.0.1";
src = fetchurl {
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
- sha256 = "sha256-f91PBBpiTNm/I8nYSYLZGI7HA1L6jqA0YanU2hFl8NM=";
+ sha256 = "sha256-5D1ESTdsH8i1YglUMbuCz5xP+Yp5GiKiXQ+W5eeTfCI=";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/goffice/default.nix b/pkgs/development/libraries/goffice/default.nix
index 0617eaa1a260..7dbc4157f6ee 100644
--- a/pkgs/development/libraries/goffice/default.nix
+++ b/pkgs/development/libraries/goffice/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "goffice";
- version = "0.10.51";
+ version = "0.10.52";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "LoQQiE1qUa4AyUIJKKv6c/elUsGqIiNx308txazDzSM=";
+ sha256 = "YLnv2UNw8JabOU8KrIxuuR4V68DOEja0Sqc16xyYhAw=";
};
nativeBuildInputs = [ pkg-config intltool ];
diff --git a/pkgs/development/libraries/graphene-hardened-malloc/default.nix b/pkgs/development/libraries/graphene-hardened-malloc/default.nix
index f3c16c8ac321..3d4af9db19ce 100644
--- a/pkgs/development/libraries/graphene-hardened-malloc/default.nix
+++ b/pkgs/development/libraries/graphene-hardened-malloc/default.nix
@@ -1,14 +1,21 @@
-{ lib, stdenv, fetchFromGitHub, python3, runCommand, makeWrapper, stress-ng }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, python3
+, runCommand
+, makeWrapper
+, stress-ng
+}:
lib.fix (self: stdenv.mkDerivation rec {
pname = "graphene-hardened-malloc";
- version = "8";
+ version = "11";
src = fetchFromGitHub {
owner = "GrapheneOS";
repo = "hardened_malloc";
rev = version;
- sha256 = "sha256-+5kJb3hhuFTto7zsIymIXl3tpKUOm3v1DCY4EkAOCgo=";
+ sha256 = "sha256-BbjL0W12QXFmGCzFrFYY6CZZeFbUt0elCGhM+mbL/IU=";
};
doCheck = true;
@@ -20,7 +27,7 @@ lib.fix (self: stdenv.mkDerivation rec {
installPhase = ''
install -Dm444 -t $out/include include/*
- install -Dm444 -t $out/lib libhardened_malloc.so
+ install -Dm444 -t $out/lib out/libhardened_malloc.so
mkdir -p $out/bin
substitute preload.sh $out/bin/preload-hardened-malloc --replace "\$dir" $out/lib
@@ -41,21 +48,21 @@ lib.fix (self: stdenv.mkDerivation rec {
# standalone executables. this includes disabling tests for
# malloc_object_size, which doesn't make sense to use via LD_PRELOAD.
buildPhase = ''
- pushd test/simple-memory-corruption
+ pushd test
make LDLIBS= LDFLAGS=-Wl,--unresolved-symbols=ignore-all CXXFLAGS=-lstdc++
substituteInPlace test_smc.py \
--replace 'test_malloc_object_size' 'dont_test_malloc_object_size' \
--replace 'test_invalid_malloc_object_size' 'dont_test_invalid_malloc_object_size'
- popd # test/simple-memory-corruption
+ popd # test
'';
installPhase = ''
mkdir -p $out/test
- cp -r test/simple-memory-corruption $out/test/simple-memory-corruption
+ cp -r test $out/test
mkdir -p $out/bin
makeWrapper ${python3.interpreter} $out/bin/run-tests \
- --add-flags "-I -m unittest discover --start-directory $out/test/simple-memory-corruption"
+ --add-flags "-I -m unittest discover --start-directory $out/test"
'';
};
tests = {
diff --git a/pkgs/development/libraries/lasso/default.nix b/pkgs/development/libraries/lasso/default.nix
index 81cd3799a363..06825c5379d9 100644
--- a/pkgs/development/libraries/lasso/default.nix
+++ b/pkgs/development/libraries/lasso/default.nix
@@ -1,22 +1,49 @@
-{ lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
+{ lib, stdenv
+, autoreconfHook
+, fetchurl
+, glib
+, gobject-introspection
+, gtk-doc
+, libtool
+, libxml2
+, libxslt
+, openssl
+, pkg-config
+, python3
+, xmlsec
+, zlib
+}:
stdenv.mkDerivation rec {
-
pname = "lasso";
version = "2.8.0";
src = fetchurl {
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
- sha256 = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
-
+ hash = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
};
- nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
- buildInputs = [ glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
+ nativeBuildInputs = [
+ autoreconfHook
+ pkg-config
+ python3
+ ];
+
+ buildInputs = [
+ glib
+ gobject-introspection
+ gtk-doc
+ libtool
+ libxml2
+ libxslt
+ openssl
+ python3.pkgs.six
+ xmlsec
+ zlib
+ ];
configurePhase = ''
./configure --with-pkg-config=$PKG_CONFIG_PATH \
- --disable-python \
--disable-perl \
--prefix=$out
'';
@@ -28,5 +55,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ womfoo ];
};
-
}
diff --git a/pkgs/development/libraries/libkqueue/default.nix b/pkgs/development/libraries/libkqueue/default.nix
new file mode 100644
index 000000000000..39a6efeb6fdb
--- /dev/null
+++ b/pkgs/development/libraries/libkqueue/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+ pname = "libkqueue";
+ version = "2.6.0";
+
+ src = fetchFromGitHub {
+ owner = "mheily";
+ repo = "libkqueue";
+ rev = "v${version}";
+ sha256 = "sha256-qh1r95A/ngg4KWSVYlC8ldv2ClV+rRPNcJDH+aAGxHs=";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ meta = with lib; {
+ description = "kqueue(2) compatibility library";
+ homepage = "https://github.com/mheily/libkqueue";
+ license = licenses.bsd2;
+ maintainers = [ maintainers.marsam ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/libpinyin/default.nix b/pkgs/development/libraries/libpinyin/default.nix
index 4f6b2ed00506..2247c3b9406f 100644
--- a/pkgs/development/libraries/libpinyin/default.nix
+++ b/pkgs/development/libraries/libpinyin/default.nix
@@ -16,13 +16,13 @@ let
in
stdenv.mkDerivation rec {
pname = "libpinyin";
- version = "2.6.1";
+ version = "2.6.2";
src = fetchFromGitHub {
owner = "libpinyin";
repo = "libpinyin";
rev = version;
- sha256 = "0izisma5g9a7mxfxs177pi1d7v9dklm0ar4z404nf2s8x4wcg3ib";
+ sha256 = "sha256-hafetjKWqImg3Jr1tSXjY0RwbBQ7LccXqx0OdtKCy/c=";
};
postUnpack = ''
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Library for intelligent sentence-based Chinese pinyin input method";
- homepage = "https://sourceforge.net/projects/libpinyin";
+ homepage = "https://github.com/libpinyin/libpinyin";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ linsui ericsagnes ];
platforms = platforms.linux;
diff --git a/pkgs/development/libraries/libraw/0_20.nix b/pkgs/development/libraries/libraw/0_20.nix
deleted file mode 100644
index 9fa85e3ace27..000000000000
--- a/pkgs/development/libraries/libraw/0_20.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ libraw, fetchFromGitHub }:
-
-libraw.overrideAttrs (_: rec {
- version = "0.20.2";
-
- src = fetchFromGitHub {
- owner = "LibRaw";
- repo = "LibRaw";
- rev = version;
- sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
- };
-})
diff --git a/pkgs/development/libraries/libraw/default.nix b/pkgs/development/libraries/libraw/default.nix
index 2dfadcdd4886..758b00febf5f 100644
--- a/pkgs/development/libraries/libraw/default.nix
+++ b/pkgs/development/libraries/libraw/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation {
pname = "libraw";
- version = "unstable-2021-12-03";
+ version = "0.20.2.p2";
src = fetchFromGitHub {
owner = "LibRaw";
repo = "LibRaw";
- rev = "52b2fc52e93a566e7e05eaa44cada58e3360b6ad";
- sha256 = "kW0R4iPuqnFuWYDrl46ok3kaPcGgY2MqZT7mqVX+BDQ=";
+ rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
+ sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
};
outputs = [ "out" "lib" "dev" "doc" ];
diff --git a/pkgs/development/libraries/libraw/unstable.nix b/pkgs/development/libraries/libraw/unstable.nix
new file mode 100644
index 000000000000..3f19bb53c4e6
--- /dev/null
+++ b/pkgs/development/libraries/libraw/unstable.nix
@@ -0,0 +1,12 @@
+{ libraw, fetchFromGitHub }:
+
+libraw.overrideAttrs (_: rec {
+ version = "unstable-2021-12-03";
+
+ src = fetchFromGitHub {
+ owner = "LibRaw";
+ repo = "LibRaw";
+ rev = "52b2fc52e93a566e7e05eaa44cada58e3360b6ad";
+ sha256 = "kW0R4iPuqnFuWYDrl46ok3kaPcGgY2MqZT7mqVX+BDQ=";
+ };
+})
diff --git a/pkgs/development/libraries/libsystemtap/default.nix b/pkgs/development/libraries/libsystemtap/default.nix
index 17ac533732f9..3525d057b97a 100644
--- a/pkgs/development/libraries/libsystemtap/default.nix
+++ b/pkgs/development/libraries/libsystemtap/default.nix
@@ -1,19 +1,22 @@
-{lib, stdenv, fetchgit, gettext, python2, elfutils}:
+{ lib, stdenv, fetchgit
+, gettext
+, python3
+, elfutils
+}:
stdenv.mkDerivation {
pname = "libsystemtap";
- version = "3.2";
+ version = "4.6";
src = fetchgit {
url = "git://sourceware.org/git/systemtap.git";
- rev = "4051c70c9318c837981384cbb23f3e9eb1bd0892";
- sha256 = "0sd8n3j3rishks3gyqj2jyqhps7hmlfjyz8i0w8v98cczhhh04rq";
- fetchSubmodules = false;
+ rev = "release-4.6";
+ hash = "sha256-z7OUy0VGxK39aYCWFfvJnWk34Je0R+51kK5pGh7TzXM=";
};
dontBuild = true;
- nativeBuildInputs = [ gettext python2 elfutils ];
+ nativeBuildInputs = [ gettext python3 elfutils ];
installPhase = ''
mkdir -p $out/include
diff --git a/pkgs/development/libraries/libwebsockets/default.nix b/pkgs/development/libraries/libwebsockets/default.nix
index faf6acd40b92..e0ee94faf0d4 100644
--- a/pkgs/development/libraries/libwebsockets/default.nix
+++ b/pkgs/development/libraries/libwebsockets/default.nix
@@ -5,12 +5,13 @@
, openssl
, zlib
, libuv
+, fetchpatch
# External poll is required for e.g. mosquitto, but discouraged by the maintainer.
, withExternalPoll ? false
}:
let
- generic = { version, sha256 }: stdenv.mkDerivation rec {
+ generic = { version, sha256, patches ? [] }: stdenv.mkDerivation rec {
pname = "libwebsockets";
inherit version;
@@ -21,6 +22,8 @@ let
inherit sha256;
};
+ inherit patches;
+
buildInputs = [ openssl zlib libuv ];
nativeBuildInputs = [ cmake ];
@@ -76,7 +79,15 @@ in {
};
libwebsockets_4_3 = generic {
- version = "4.3.0";
- sha256 = "13lxb487mqlzbsbv6fbj50r1717mfwdy87ps592lgfy3307yqpr4";
+ version = "4.3.1";
+ sha256 = "sha256-lB3JHh058cQc5rycLnHk3JAOgtku0nRCixN5U6lPKq8=";
+ patches = [
+ # fixes the propagated cmake files, fixing the build of ttyd
+ # see also https://github.com/tsl0922/ttyd/issues/918
+ (fetchpatch {
+ url = "https://github.com/warmcat/libwebsockets/commit/99a8b9c4422bed45c8b7412a1e121056f2a6132a.patch";
+ hash = "sha256-zHBo2ZEayvibM+jzeVaZqySxghaOLUglpSFwuGhl6HM=";
+ })
+ ];
};
}
diff --git a/pkgs/development/libraries/pdal/default.nix b/pkgs/development/libraries/pdal/default.nix
index 2d971444416c..354c68decfb0 100644
--- a/pkgs/development/libraries/pdal/default.nix
+++ b/pkgs/development/libraries/pdal/default.nix
@@ -20,13 +20,13 @@
stdenv.mkDerivation rec {
pname = "pdal";
- version = "2.3.0";
+ version = "2.4.0";
src = fetchFromGitHub {
owner = "PDAL";
repo = "PDAL";
rev = version;
- sha256 = "sha256-DKIraCyp8fcgnVp5dFrtQ4Wq96cQGC9SiAPLS6htUZc=";
+ sha256 = "sha256-w9Fu4Op6OdaxdvOUM+glpJUEZq//EwRD2lqzYrMXk8w=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/pocketsphinx/default.nix b/pkgs/development/libraries/pocketsphinx/default.nix
deleted file mode 100644
index fadc14240831..000000000000
--- a/pkgs/development/libraries/pocketsphinx/default.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{ lib, stdenv
-, fetchurl
-, sphinxbase
-, pkg-config
-, python27 # >= 2.6
-, swig2 # 2.0
-}:
-
-stdenv.mkDerivation rec {
- pname = "pocketsphinx";
- version = "5prealpha";
-
- src = fetchurl {
- url = "mirror://sourceforge/cmusphinx/pocketsphinx-${version}.tar.gz";
- sha256 = "1n9yazzdgvpqgnfzsbl96ch9cirayh74jmpjf7svs4i7grabanzg";
- };
-
- propagatedBuildInputs = [ sphinxbase ];
-
- nativeBuildInputs = [ pkg-config ];
- buildInputs = [ python27 swig2 ];
-
- meta = {
- description = "Voice recognition library written in C";
- homepage = "http://cmusphinx.sourceforge.net";
- license = lib.licenses.free;
- platforms = lib.platforms.linux;
- };
-}
-
-/* Example usage:
-
-
-1.
-
-$ cat << EOF > vocabulary.txt
-oh mighty computer /1e-40/
-hello world /1e-30/
-EOF
-
-2.
-
-$ pocketsphinx_continuous -inmic yes -kws vocabulary.txt 2> /dev/null
-# after you say "hello world":
-hello world
-...
-
-*/
diff --git a/pkgs/development/libraries/sphinxbase/default.nix b/pkgs/development/libraries/sphinxbase/default.nix
deleted file mode 100644
index 43a70c50fed4..000000000000
--- a/pkgs/development/libraries/sphinxbase/default.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ lib, stdenv
-, fetchurl
-, bison
-, pkg-config
-, python27 # >= 2.6
-, swig2 # 2.0
-, multipleOutputs ? false #Uses incomplete features of nix!
-}:
-
-stdenv.mkDerivation (rec {
- pname = "sphinxbase";
- version = "5prealpha";
-
- src = fetchurl {
- url = "mirror://sourceforge/cmusphinx/sphinxbase-${version}.tar.gz";
- sha256 = "0vr4k8pv5a8nvq9yja7kl13b5lh0f9vha8fc8znqnm8bwmcxnazp";
- };
-
- nativeBuildInputs = [ pkg-config ];
- buildInputs = [ swig2 python27 bison ];
-
- meta = {
- description = "Support Library for Pocketsphinx";
- homepage = "http://cmusphinx.sourceforge.net";
- license = lib.licenses.bsd2;
- platforms = lib.platforms.unix;
- maintainers = with lib.maintainers; [ ];
- };
-
-} // (lib.optionalAttrs multipleOutputs {
- outputs = [ "out" "lib" "headers" ];
-
- postInstall = ''
- mkdir -p $lib
- cp -av $out/lib* $lib
-
- mkdir -p $headers
- cp -av $out/include $headers
- '';
-}))
diff --git a/pkgs/development/libraries/vigra/default.nix b/pkgs/development/libraries/vigra/default.nix
index a4371e7d1a54..32b97f8ea2d3 100644
--- a/pkgs/development/libraries/vigra/default.nix
+++ b/pkgs/development/libraries/vigra/default.nix
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
-, fetchurl
, boost
, cmake
, fftw
@@ -20,25 +19,17 @@ let
in
stdenv.mkDerivation rec {
pname = "vigra";
- version = "1.11.1";
+ version = "unstable-2022-01-11";
src = fetchFromGitHub {
owner = "ukoethe";
repo = "vigra";
- rev = "Version-${lib.replaceChars ["."] ["-"] version}";
- sha256 = "sha256-tD6tdoT4mWBtzkn4Xv3nNIkBQmeqNqzI1AVxUbP76Mk=";
+ rev = "093d57d15c8c237adf1704d96daa6393158ce299";
+ sha256 = "sha256-pFANoT00Wkh1/Dyd2x75IVTfyaoVA7S86tafUSr29Og=";
};
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
- # Fixes compilation with clang (on darwin) see https://github.com/ukoethe/vigra/issues/414
- patches =
- let clangPatch = fetchurl {
- url = "https://github.com/ukoethe/vigra/commit/81958d302494e137f98a8b1d7869841532f90388.patch";
- sha256 = "1i1w6smijgb5z8bg9jaq84ccy00k2sxm87s37lgjpyix901gjlgi";
- };
- in [ clangPatch ];
-
nativeBuildInputs = [ cmake ];
buildInputs = [
boost
@@ -59,9 +50,6 @@ stdenv.mkDerivation rec {
++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux")
[ "-DCMAKE_CXX_FLAGS=-fPIC" "-DCMAKE_C_FLAGS=-fPIC" ];
- # fails with "./test_watersheds3d: error while loading shared libraries: libvigraimpex.so.11: cannot open shared object file: No such file or directory"
- doCheck = false;
-
meta = with lib; {
description = "Novel computer vision C++ library with customizable algorithms and data structures";
homepage = "https://hci.iwr.uni-heidelberg.de/vigra";
diff --git a/pkgs/development/python-modules/aiodiscover/default.nix b/pkgs/development/python-modules/aiodiscover/default.nix
index f54ffc9d4ce9..d8fb5c6b38b6 100644
--- a/pkgs/development/python-modules/aiodiscover/default.nix
+++ b/pkgs/development/python-modules/aiodiscover/default.nix
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "aiodiscover";
- version = "1.4.9";
+ version = "1.4.11";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "bdraco";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-KfNf09L8WF8Op+uVLRttROIgXpY79v0HfMv8b2qMSxE=";
+ sha256 = "sha256-s5g8otQSWTAOkN4q1LrM/FxVlOnGSv8XKtIDkdwcHMg=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/arris-tg2492lg/default.nix b/pkgs/development/python-modules/arris-tg2492lg/default.nix
new file mode 100644
index 000000000000..9a883b2f68ee
--- /dev/null
+++ b/pkgs/development/python-modules/arris-tg2492lg/default.nix
@@ -0,0 +1,43 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchFromGitHub
+, pytest-aiohttp
+, pytestCheckHook
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "arris-tg2492lg";
+ version = "2.1.0";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchFromGitHub {
+ owner = "vanbalken";
+ repo = pname;
+ rev = version;
+ sha256 = "sha256-C1o9HWWJ/G/7Pp6I0FbRmX2PQvUJx71L9wHRkUMtnL4=";
+ };
+
+ propagatedBuildInputs = [
+ aiohttp
+ ];
+
+ checkInputs = [
+ pytest-aiohttp
+ pytestCheckHook
+ ];
+
+ pythonImportsCheck = [
+ "arris_tg2492lg"
+ ];
+
+ meta = with lib; {
+ description = "Library to connect to an Arris TG2492LG";
+ homepage = "https://github.com/vanbalken/arris-tg2492lg";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/python-modules/async-upnp-client/default.nix b/pkgs/development/python-modules/async-upnp-client/default.nix
index 0f1a578c20d0..f2fc5b855c10 100644
--- a/pkgs/development/python-modules/async-upnp-client/default.nix
+++ b/pkgs/development/python-modules/async-upnp-client/default.nix
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "async-upnp-client";
- version = "0.27.0";
+ version = "0.28.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "StevenLooman";
repo = "async_upnp_client";
rev = version;
- sha256 = "sha256-QElc4J2BxOFI+L9D/SVMiYeRVOmwrNTW65LgdBG0TbU=";
+ sha256 = "sha256-ZyYIZLIlLQV3Yj4a+M5vZVaTe9lEsrWhBe/g9wzM1TY=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/bottleneck/default.nix b/pkgs/development/python-modules/bottleneck/default.nix
index 7b8334ee36c1..4197920d2b9a 100644
--- a/pkgs/development/python-modules/bottleneck/default.nix
+++ b/pkgs/development/python-modules/bottleneck/default.nix
@@ -1,32 +1,47 @@
-{ lib, buildPythonPackage, fetchPypi
-, nose
+{ lib
+, buildPythonPackage
+, fetchPypi
, numpy
-, pytest
+, pytestCheckHook
, python
+, pythonOlder
}:
buildPythonPackage rec {
- pname = "Bottleneck";
+ pname = "bottleneck";
version = "1.3.4";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
src = fetchPypi {
- inherit pname version;
- sha256 = "sha256-F2Sn9K1YxVhyPFQoR+s2erC7ttiApOXV7vMKDs5c7Oo=";
+ pname = "Bottleneck";
+ inherit version;
+ hash = "sha256-F2Sn9K1YxVhyPFQoR+s2erC7ttiApOXV7vMKDs5c7Oo=";
};
- propagatedBuildInputs = [ numpy ];
+ propagatedBuildInputs = [
+ numpy
+ ];
- postPatch = ''
- substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" ""
- '';
+ checkInputs = [
+ pytestCheckHook
+ ];
- checkInputs = [ pytest nose ];
- checkPhase = ''
- py.test -p no:warnings $out/${python.sitePackages}
- '';
+ pytestFlagsArray = [
+ "$out/${python.sitePackages}"
+ ];
+
+ disabledTests = [
+ "test_make_c_files"
+ ];
+
+ pythonImportsCheck = [
+ "bottleneck"
+ ];
meta = with lib; {
- description = "Fast NumPy array functions written in C";
+ description = "Fast NumPy array functions";
homepage = "https://github.com/pydata/bottleneck";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
diff --git a/pkgs/development/python-modules/db-dtypes/default.nix b/pkgs/development/python-modules/db-dtypes/default.nix
new file mode 100644
index 000000000000..883439aba462
--- /dev/null
+++ b/pkgs/development/python-modules/db-dtypes/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, numpy
+, packaging
+, pandas
+, pyarrow
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+ pname = "db-dtypes";
+ version = "1.0.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "3070d1a8d86ff0b5d9b16f15c5fab9c18893c6b3d5723cd95ee397b169049454";
+ };
+
+ propagatedBuildInputs = [
+ numpy
+ packaging
+ pandas
+ pyarrow
+ ];
+
+ checkInputs = [
+ pytestCheckHook
+ ];
+
+ pythonImportsCheck = [ "db_dtypes" ];
+
+ meta = with lib; {
+ description = "Pandas Data Types for SQL systems (BigQuery, Spanner)";
+ homepage = "https://github.com/googleapis/python-db-dtypes-pandas";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ SuperSandro2000 ];
+ };
+}
diff --git a/pkgs/development/python-modules/dm-sonnet/default.nix b/pkgs/development/python-modules/dm-sonnet/default.nix
deleted file mode 100644
index 3820fdd1e36c..000000000000
--- a/pkgs/development/python-modules/dm-sonnet/default.nix
+++ /dev/null
@@ -1,91 +0,0 @@
-{ lib
-, fetchFromGitHub
-, bazel_0_26
-, buildBazelPackage
-, buildPythonPackage
-, git
-, python
-, six
-, absl-py
-, semantic-version
-, contextlib2
-, wrapt
-, tensorflow
-, tensorflow-probability
-, tensorflow-estimator
-}:
-
-let
- version = "1.33";
-
- # first build all binaries and generate setup.py using bazel
- bazel-build = buildBazelPackage {
- bazel = bazel_0_26;
-
- name = "dm-sonnet-bazel-${version}";
-
- src = fetchFromGitHub {
- owner = "deepmind";
- repo = "sonnet";
- rev = "v${version}";
- sha256 = "1nqsja1s8jrkq6v1whgh7smk17313mjr9vs3k5c1m8px4yblzhqc";
- };
-
- nativeBuildInputs = [
- git # needed to fetch the bazel deps (protobuf in particular)
- ];
-
- # see https://github.com/deepmind/sonnet/blob/master/docs/INSTALL.md
- bazelTarget = ":install";
-
- fetchAttrs = {
- sha256 = "09dzxs2v5wpiaxrz7qj257q1fbx0gxwbk0jyx58n81m5kys7yj9k";
- };
-
- buildAttrs = {
- preBuild = ''
- patchShebangs .
- '';
-
- installPhase = ''
- # do not generate a wheel, instead just copy the generated files to $out to be installed by buildPythonPackage
- sed -i 's,.*bdist_wheel.*,cp -rL . "$out"; exit 0,' bazel-bin/install
-
- # the target directory "dist" does not actually matter since we're not generating a wheel
- bazel-bin/install dist
- '';
- };
- };
-
-# now use pip to install the package prepared by bazel
-in buildPythonPackage {
- pname = "dm-sonnet";
- inherit version;
-
- src = bazel-build;
-
- propagatedBuildInputs = [
- six
- absl-py
- semantic-version
- contextlib2
- wrapt
- tensorflow
- tensorflow-probability
- tensorflow-estimator
- ];
-
- # not sure how to properly run the real test suite -- through bazel?
- checkPhase = ''
- ${python.interpreter} -c "import sonnet"
- '';
-
- meta = with lib; {
- description = "TensorFlow-based neural network library";
- homepage = "https://sonnet.dev";
- license = licenses.asl20;
- maintainers = with maintainers; [ timokau ];
- platforms = platforms.linux;
- broken = true; # depends on older TensorFlow version than is currently packaged
- };
-}
diff --git a/pkgs/development/python-modules/elkm1-lib/default.nix b/pkgs/development/python-modules/elkm1-lib/default.nix
index 5a6ad1f0facf..12f9a667fef8 100644
--- a/pkgs/development/python-modules/elkm1-lib/default.nix
+++ b/pkgs/development/python-modules/elkm1-lib/default.nix
@@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "elkm1-lib";
- version = "1.3.1";
+ version = "1.3.4";
format = "pyproject";
disabled = pythonOlder "3.6";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "gwww";
repo = "elkm1";
rev = version;
- hash = "sha256-z6iiXMvBZs4JshQofQpPA7u89wu8owW1wi+JAYk/R9k=";
+ hash = "sha256-g8tMVH1MZihEEHGQjxX/Mcn5Mu3N9VA3AGdk2avlOoE=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/faraday-plugins/default.nix b/pkgs/development/python-modules/faraday-plugins/default.nix
index 17f40b7a8491..fb26c1621fe3 100644
--- a/pkgs/development/python-modules/faraday-plugins/default.nix
+++ b/pkgs/development/python-modules/faraday-plugins/default.nix
@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "faraday-plugins";
- version = "1.6.3";
+ version = "1.6.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "infobyte";
repo = "faraday_plugins";
rev = "refs/tags/v${version}";
- sha256 = "sha256-oynDX1miBvBmiN22ILQH1Q2y+PmWOfBunjZmVSnlvKk=";
+ sha256 = "sha256-0IAr91ql4ShjGQol3uc/erIHW6E1Vzj724JJ3NaLZUo=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/ffcv/default.nix b/pkgs/development/python-modules/ffcv/default.nix
index 2aee132e294f..809a9ca696d8 100644
--- a/pkgs/development/python-modules/ffcv/default.nix
+++ b/pkgs/development/python-modules/ffcv/default.nix
@@ -35,7 +35,8 @@ buildPythonPackage rec {
--replace "'webdataset'," ""
'';
- buildInputs = [ libjpeg pkgconfig ];
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ libjpeg ];
propagatedBuildInputs = [ opencv4 numba pandas pytorch-pfn-extras terminaltables tqdm ];
# `ffcv._libffcv*.so` cannot be loaded in the nix build environment for some
diff --git a/pkgs/development/python-modules/fivem-api/default.nix b/pkgs/development/python-modules/fivem-api/default.nix
new file mode 100644
index 000000000000..aef6fc342129
--- /dev/null
+++ b/pkgs/development/python-modules/fivem-api/default.nix
@@ -0,0 +1,42 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+, setuptools-scm
+}:
+
+buildPythonPackage rec {
+ pname = "fivem-api";
+ version = "0.1.2";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-6llrMGWbDRmysEw+B6B115hLS5xlktQEXiSHzPLbV5s=";
+ };
+
+ nativeBuildInputs = [
+ setuptools-scm
+ ];
+
+ propagatedBuildInputs = [
+ aiohttp
+ ];
+
+ # Module has no tests
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "fivem"
+ ];
+
+ meta = with lib; {
+ description = "Module for interacting with FiveM servers";
+ homepage = "https://github.com/Sander0542/fivem-api";
+ license = licenses.mit;
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix b/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix
new file mode 100644
index 000000000000..1b59bc8ddbf8
--- /dev/null
+++ b/pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix
@@ -0,0 +1,48 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, google-api-core
+, google-auth
+, google-cloud-bigquery
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+ pname = "google-cloud-bigquery-storage";
+ version = "2.13.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "7a25148f635a04ca9ff568d47e64be275d3a4a3c90772524879e8f88f270d92d";
+ };
+
+ propagatedBuildInputs = [
+ google-api-core
+ ];
+
+ checkInputs = [
+ google-auth
+ google-cloud-bigquery
+ pytestCheckHook
+ ];
+
+ # dependency loop with google-cloud-bigquery
+ doCheck = false;
+
+ preCheck = ''
+ rm -r google
+ '';
+
+ pythonImportsCheck = [
+ "google.cloud.bigquery_storage"
+ "google.cloud.bigquery_storage_v1"
+ "google.cloud.bigquery_storage_v1beta2"
+ ];
+
+ meta = with lib; {
+ description = "BigQuery Storage API API client library";
+ homepage = "https://github.com/googleapis/python-bigquery-storage";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ SuperSandro2000 ];
+ };
+}
diff --git a/pkgs/development/python-modules/google-cloud-bigquery/default.nix b/pkgs/development/python-modules/google-cloud-bigquery/default.nix
index e6b2ba11f676..3a5142a9ceff 100644
--- a/pkgs/development/python-modules/google-cloud-bigquery/default.nix
+++ b/pkgs/development/python-modules/google-cloud-bigquery/default.nix
@@ -2,7 +2,9 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
+, db-dtypes
, freezegun
+, google-cloud-bigquery-storage
, google-cloud-core
, google-cloud-datacatalog
, google-cloud-storage
@@ -27,13 +29,15 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
- google-resumable-media
google-cloud-core
+ google-cloud-bigquery-storage
+ google-resumable-media
proto-plus
pyarrow
];
checkInputs = [
+ db-dtypes
freezegun
google-cloud-testutils
ipython
@@ -54,8 +58,8 @@ buildPythonPackage rec {
# requires credentials
"test_bigquery_magic"
"TestBigQuery"
+ "test_context_with_no_query_cache_from_context"
"test_arrow_extension_types_same_for_storage_and_REST_APIs_894"
- "test_query_retry_539"
"test_list_rows_empty_table"
"test_list_rows_page_size"
"test_list_rows_scalars"
@@ -75,6 +79,13 @@ buildPythonPackage rec {
"test__initiate_resumable_upload_with_retry"
];
+ disabledTestPaths = [
+ # requires credentials
+ "tests/system/test_query.py"
+ "tests/system/test_job_retry.py"
+ "tests/system/test_pandas.py"
+ ];
+
pythonImportsCheck = [
"google.cloud.bigquery"
"google.cloud.bigquery_v2"
diff --git a/pkgs/development/python-modules/graph_nets/default.nix b/pkgs/development/python-modules/graph_nets/default.nix
deleted file mode 100644
index 4f7b8c52e9ee..000000000000
--- a/pkgs/development/python-modules/graph_nets/default.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, tensorflow
-, absl-py
-, dm-sonnet
-, networkx
-, numpy
-, setuptools
-, six
-, future
-}:
-
-buildPythonPackage rec {
- pname = "graph_nets";
- version = "1.1.0";
-
- src = fetchPypi {
- inherit pname version;
- sha256 = "278a040674bef295aaf8bb5b0d1b3f207144dc68f0bcfe3f14912b9b85eb0927";
- };
-
- postPatch = ''
- # https://github.com/deepmind/graph_nets/issues/63
- sed -i 's/dm-sonnet==1.23/dm-sonnet/' setup.py
- '';
-
- propagatedBuildInputs = [
- tensorflow
- absl-py
- dm-sonnet
- networkx
- numpy
- setuptools
- six
- future
- ];
-
- meta = with lib; {
- description = "Build Graph Nets in Tensorflow";
- homepage = "https://github.com/deepmind/graph_nets";
- license = licenses.asl20;
- maintainers = with maintainers; [ timokau ];
- };
-}
diff --git a/pkgs/development/python-modules/intellifire4py/default.nix b/pkgs/development/python-modules/intellifire4py/default.nix
index b93b9b9c957b..f8cbd93bb35b 100644
--- a/pkgs/development/python-modules/intellifire4py/default.nix
+++ b/pkgs/development/python-modules/intellifire4py/default.nix
@@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "intellifire4py";
- version = "1.0.2";
+ version = "1.0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "jeeftor";
repo = pname;
rev = version;
- hash = "sha256-t3wJQ7dXX65yqxMYsFggViqqGvLCdASw1QLc5DJBn+4=";
+ hash = "sha256-wBk9tCVXDxHBnhofFQfMbsrYF4UYRZ2oXEBCldvJTnM=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/onnx/default.nix b/pkgs/development/python-modules/onnx/default.nix
index e873f3256084..2846042e8d45 100644
--- a/pkgs/development/python-modules/onnx/default.nix
+++ b/pkgs/development/python-modules/onnx/default.nix
@@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
+, bash
, cmake
, fetchPypi
, isPy27
@@ -43,8 +44,9 @@ buildPythonPackage rec {
postPatch = ''
chmod +x tools/protoc-gen-mypy.sh.in
- patchShebangs tools/protoc-gen-mypy.sh.in tools/protoc-gen-mypy.py
-
+ patchShebangs tools/protoc-gen-mypy.py
+ substituteInPlace tools/protoc-gen-mypy.sh.in \
+ --replace "/bin/bash" "${bash}/bin/bash"
substituteInPlace setup.py \
--replace "setup_requires.append('pytest-runner')" ""
'';
diff --git a/pkgs/development/python-modules/peco/default.nix b/pkgs/development/python-modules/peco/default.nix
new file mode 100644
index 000000000000..72450237a542
--- /dev/null
+++ b/pkgs/development/python-modules/peco/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchPypi
+, pydantic
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "peco";
+ version = "0.0.29";
+ format = "pyproject";
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-zL0tBTwm+l5eyxlWr2xoE+nLpMfUKri1/yD+WgTUqHQ=";
+ };
+
+ propagatedBuildInputs = [
+ aiohttp
+ pydantic
+ ];
+
+ # Module has no tests
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "peco"
+ ];
+
+ meta = with lib; {
+ description = "Library for interacting with the PECO outage map";
+ homepage = "https://github.com/IceBotYT/peco-outage-api";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/python-modules/pycapnp/default.nix b/pkgs/development/python-modules/pycapnp/default.nix
index 8c63a1186223..cd2e8f450cd2 100644
--- a/pkgs/development/python-modules/pycapnp/default.nix
+++ b/pkgs/development/python-modules/pycapnp/default.nix
@@ -20,16 +20,18 @@ buildPythonPackage rec {
sha256 = "1xi6df93ggkpmwckwbi356v7m32zv5qry8s45hvsps66dz438kmi";
};
- buildInputs = [ capnproto cython pkgconfig ];
+ nativeBuildInputs = [ cython pkgconfig ];
- # Tests disabled due to dependency on jinja and various other libraries.
+ buildInputs = [ capnproto ];
+
+ # Tests depend on schema_capnp which fails to generate
doCheck = false;
pythonImportsCheck = [ "capnp" ];
meta = with lib; {
+ homepage = "https://capnproto.github.io/pycapnp/";
maintainers = with maintainers; [ cstrahan lukeadams ];
license = licenses.bsd2;
- homepage = "https://capnproto.github.io/pycapnp/";
};
}
diff --git a/pkgs/development/python-modules/pysaj/default.nix b/pkgs/development/python-modules/pysaj/default.nix
new file mode 100644
index 000000000000..15f8dd0fccf0
--- /dev/null
+++ b/pkgs/development/python-modules/pysaj/default.nix
@@ -0,0 +1,41 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchFromGitHub
+, lxml
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "pysaj";
+ version = "0.0.16";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchFromGitHub {
+ owner = "fredericvl";
+ repo = pname;
+ rev = "v${version}";
+ hash = "sha256-7mN6GPRbXfEUfCrCrCs71SSt4x2Ch2y3a5rfXnuwVA0=";
+ };
+
+ propagatedBuildInputs = [
+ aiohttp
+ lxml
+ ];
+
+ # Module has no tests
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "pysaj"
+ ];
+
+ meta = with lib; {
+ description = "Library to communicate with SAJ inverters";
+ homepage = "https://github.com/fredericvl/pysaj";
+ license = with licenses; [ asl20 ];
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/python-modules/pysensibo/default.nix b/pkgs/development/python-modules/pysensibo/default.nix
new file mode 100644
index 000000000000..a4973efe5049
--- /dev/null
+++ b/pkgs/development/python-modules/pysensibo/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchFromGitHub
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+ pname = "pysensibo";
+ version = "1.0.12";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchFromGitHub {
+ owner = "andrey-git";
+ repo = pname;
+ rev = version;
+ hash = "sha256-gXdyVEBcYCUOo8PHzsJLkjtnX1B1iRS/DAxdQDU3HaY=";
+ };
+
+ propagatedBuildInputs = [
+ aiohttp
+ ];
+
+ # no tests implemented
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "pysensibo"
+ ];
+
+ meta = with lib; {
+ description = "Module for interacting with Sensibo";
+ homepage = "https://github.com/andrey-git/pysensibo";
+ license = licenses.mit;
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/python-modules/pyvips/default.nix b/pkgs/development/python-modules/pyvips/default.nix
index b25d9d3b5ae4..397476785667 100644
--- a/pkgs/development/python-modules/pyvips/default.nix
+++ b/pkgs/development/python-modules/pyvips/default.nix
@@ -1,23 +1,23 @@
-{ buildPythonPackage, fetchPypi, pytest-runner, pytestCheckHook, glib, vips, cffi
-, pkg-config, pkgconfig, lib }:
+{ buildPythonPackage, fetchFromGitHub, pytestCheckHook, glib, vips, cffi
+, pkgconfig, lib }:
buildPythonPackage rec {
pname = "pyvips";
version = "2.1.16";
- src = fetchPypi {
- inherit pname version;
- sha256 = "654c03014a15f846786807a2ece6f525a8fec883d1c857742c8e37da149a81ed";
+ src = fetchFromGitHub {
+ owner = "libvips";
+ repo = "pyvips";
+ rev = "v${version}";
+ sha256 = "sha256-8CeQbx3f2i0lEU0wxPeUwHlUGtzOztzTOdFNjIDy8s0=";
};
- nativeBuildInputs = [ pytest-runner pkgconfig pkg-config ];
+ nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib vips ];
propagatedBuildInputs = [ cffi ];
- # tests are not included in pypi tarball
- doCheck = false;
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyvips" ];
diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix
index 513e0a0acc4f..4cd80fbed809 100644
--- a/pkgs/development/python-modules/sentry-sdk/default.nix
+++ b/pkgs/development/python-modules/sentry-sdk/default.nix
@@ -28,6 +28,7 @@
, pytest-forked
, pytest-localserver
, pytestCheckHook
+, pythonOlder
, rq
, sanic
, sanic-testing
@@ -40,14 +41,16 @@
buildPythonPackage rec {
pname = "sentry-sdk";
- version = "1.5.8";
+ version = "1.5.10";
format = "setuptools";
+ disabled = pythonOlder "3.7";
+
src = fetchFromGitHub {
owner = "getsentry";
repo = "sentry-python";
rev = version;
- sha256 = "sha256-28MkwQog+Abk1PSDPWbah650YATiGCBWaTbFO52KgzY=";
+ hash = "sha256-f5V2fMvPpyz+pU08Owzxq9xI48ZeZpH5SmUXtshqMm0=";
};
propagatedBuildInputs = [
@@ -56,10 +59,12 @@ buildPythonPackage rec {
];
checkInputs = [
+ aiohttp
asttokens
blinker
botocore
bottle
+ celery
chalice
django
executing
@@ -67,25 +72,22 @@ buildPythonPackage rec {
falcon
flask_login
gevent
+ httpx
jsonschema
pure-eval
+ pyramid
+ pyspark
pytest-django
pytest-forked
pytest-localserver
pytestCheckHook
rq
+ sanic
+ sanic-testing
sqlalchemy
tornado
trytond
werkzeug
- ] ++ lib.optionals isPy3k [
- aiohttp
- celery
- httpx
- pyramid
- pyspark
- sanic
- sanic-testing
];
doCheck = !stdenv.isDarwin;
diff --git a/pkgs/development/python-modules/simplejson/default.nix b/pkgs/development/python-modules/simplejson/default.nix
index 1e6def5ae78a..74530b3fb830 100644
--- a/pkgs/development/python-modules/simplejson/default.nix
+++ b/pkgs/development/python-modules/simplejson/default.nix
@@ -12,7 +12,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = pname;
repo = pname;
- rev = "v${version}";
+ rev = "refs/tags/v${version}";
sha256 = "1irlp5sakbdfcf717qmrx0r9rjlmwk0vza6zm3y55d32zw5c1cxg";
};
diff --git a/pkgs/development/python-modules/sqlitedict/default.nix b/pkgs/development/python-modules/sqlitedict/default.nix
index 178617e18dea..5634eb41601a 100644
--- a/pkgs/development/python-modules/sqlitedict/default.nix
+++ b/pkgs/development/python-modules/sqlitedict/default.nix
@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "sqlitedict";
- version = "1.7.0";
+ version = "2.0.0";
src = fetchFromGitHub {
owner = "RaRe-Technologies";
repo = "sqlitedict";
- rev = version;
- sha256 = "08fr81rz1fz35d35kravg7vl234aqagr9wqb09x6wi9lx9zkkh28";
+ rev = "refs/tags/${version}";
+ sha256 = "sha256-8dmGn5h3NigCdDtnDYjpjntRpyjk7ivRp1B8x8nUgpE=";
};
preCheck = ''
diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix
index b4804176eddc..f31708baef8b 100644
--- a/pkgs/development/python-modules/wandb/default.nix
+++ b/pkgs/development/python-modules/wandb/default.nix
@@ -1,4 +1,6 @@
-{ azure-core
+{ lib
+, stdenv
+, azure-core
, bokeh
, buildPythonPackage
, click
@@ -9,7 +11,6 @@
, GitPython
, jsonref
, jsonschema
-, lib
, matplotlib
, nbformat
, pandas
@@ -22,6 +23,7 @@
, pytest-xdist
, pytestCheckHook
, python-dateutil
+, pythonOlder
, pyyaml
, requests
, scikit-learn
@@ -29,19 +31,21 @@
, setproctitle
, setuptools
, shortuuid
-, stdenv
, tqdm
}:
buildPythonPackage rec {
pname = "wandb";
- version = "0.12.14";
+ version = "0.12.15";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = "client";
rev = "v${version}";
- hash = "sha256-60E64ePW+C0C/eG7pLp4SpAFqycOHiCvOvmNOg2yoqY=";
+ hash = "sha256-Fq+JwUEZP1QDFKYVyiR8DUU0GQV6fK50FW78qaWh+Mo=";
};
# setuptools is necessary since pkg_resources is required at runtime.
@@ -62,6 +66,23 @@ buildPythonPackage rec {
shortuuid
];
+ checkInputs = [
+ azure-core
+ bokeh
+ flask
+ jsonref
+ jsonschema
+ matplotlib
+ nbformat
+ pandas
+ pydantic
+ pytest-mock
+ pytest-xdist
+ pytestCheckHook
+ scikit-learn
+ tqdm
+ ];
+
# wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
# for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128.
# See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to
@@ -112,26 +133,13 @@ buildPythonPackage rec {
# Disable test that fails on darwin due to issue with python3Packages.psutil:
# https://github.com/giampaolo/psutil/issues/1219
- disabledTests = lib.optional stdenv.isDarwin "test_tpu_system_stats";
-
- checkInputs = [
- azure-core
- bokeh
- flask
- jsonref
- jsonschema
- matplotlib
- nbformat
- pandas
- pydantic
- pytest-mock
- pytest-xdist
- pytestCheckHook
- scikit-learn
- tqdm
+ disabledTests = lib.optional stdenv.isDarwin [
+ "test_tpu_system_stats"
];
- pythonImportsCheck = [ "wandb" ];
+ pythonImportsCheck = [
+ "wandb"
+ ];
meta = with lib; {
description = "A CLI and library for interacting with the Weights and Biases API";
diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix
index c9cf286b6cce..be9323c774d8 100644
--- a/pkgs/development/python-modules/xml2rfc/default.nix
+++ b/pkgs/development/python-modules/xml2rfc/default.nix
@@ -1,6 +1,6 @@
{ lib
-, fetchPypi
, buildPythonPackage
+, fetchFromGitHub
, pythonOlder
, intervaltree
, pyflakes
@@ -18,19 +18,37 @@
, jinja2
, configargparse
, appdirs
+, decorator
+, pycairo
+, pytestCheckHook
+, python-fontconfig
}:
buildPythonPackage rec {
pname = "xml2rfc";
- version = "3.12.3";
+ version = "3.12.4";
disabled = pythonOlder "3.6";
- src = fetchPypi {
- inherit pname version;
- sha256 = "sha256-YUrcD3Q1fkDW+nwf6k2T/aBL8+W9iWkPYW/TqdTiuA0=";
+ src = fetchFromGitHub {
+ owner = "ietf-tools";
+ repo = "xml2rfc";
+ rev = "v${version}";
+ sha256 = "sha256-TAu2Ls553t7wJ/Jhgu+Ff+H4P6az0Du8OL00JjZyCDs=";
};
+ postPatch = ''
+ substituteInPlace Makefile \
+ --replace "SHELL := /bin/bash" "SHELL := bash" \
+ --replace "test flaketest" "test" \
+ --replace "python setup.py --quiet install" ""
+ substituteInPlace setup.py \
+ --replace "'tox'," ""
+ substituteInPlace requirements.txt \
+ --replace "jinja2>=2.11,<3.0" "jinja2" \
+ --replace "markupsafe==2.0.1" "markupsafe"
+ '';
+
propagatedBuildInputs = [
intervaltree
jinja2
@@ -50,23 +68,25 @@ buildPythonPackage rec {
appdirs
];
- postPatch = ''
- substituteInPlace requirements.txt \
- --replace "jinja2>=2.11,<3.0" "jinja2>=2.11"
- '';
+ checkInputs = [
+ decorator
+ pycairo
+ pytestCheckHook
+ python-fontconfig
+ ];
- preCheck = ''
- export HOME=$(mktemp -d)
- '';
-
- # lxml tries to fetch from the internet
+ # requires Noto Serif and Roboto Mono font
doCheck = false;
+ checkPhase = ''
+ make tests-no-network
+ '';
+
pythonImportsCheck = [ "xml2rfc" ];
meta = with lib; {
description = "Tool generating IETF RFCs and drafts from XML sources";
- homepage = "https://tools.ietf.org/tools/xml2rfc/trac/";
+ homepage = "https://github.com/ietf-tools/xml2rfc";
# Well, parts might be considered unfree, if being strict; see:
# http://metadata.ftp-master.debian.org/changelogs/non-free/x/xml2rfc/xml2rfc_2.9.6-1_copyright
license = licenses.bsd3;
diff --git a/pkgs/development/python-modules/zodbpickle/default.nix b/pkgs/development/python-modules/zodbpickle/default.nix
index 864155c2a205..de1f8dfd3aaf 100644
--- a/pkgs/development/python-modules/zodbpickle/default.nix
+++ b/pkgs/development/python-modules/zodbpickle/default.nix
@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "zodbpickle";
- version = "2.2.0";
+ version = "2.3";
disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10
src = fetchPypi {
inherit pname version;
- sha256 = "584127173db0a2647af0fc8cb935130b1594398c611e94fb09a719e09e1ed4bd";
+ sha256 = "sha256-5MtccZcF6Lseju5Kok4gcaMJTs8ng9h0B6uCLxZto6I=";
};
# fails..
diff --git a/pkgs/development/python-modules/zwave-me-ws/default.nix b/pkgs/development/python-modules/zwave-me-ws/default.nix
new file mode 100644
index 000000000000..479b2d5193ed
--- /dev/null
+++ b/pkgs/development/python-modules/zwave-me-ws/default.nix
@@ -0,0 +1,52 @@
+{ lib
+, aiohttp
+, aresponses
+, asynctest
+, buildPythonPackage
+, fetchFromGitHub
+, poetry-core
+, pytest-aiohttp
+, pytest-asyncio
+, pytestCheckHook
+, python-engineio
+, python-socketio
+, pythonOlder
+, websocket-client
+}:
+
+buildPythonPackage rec {
+ pname = "zwave-me-ws";
+ version = "0.2.4";
+ format = "pyproject";
+
+ disabled = pythonOlder "3.8";
+
+ src = fetchFromGitHub {
+ owner = "Z-Wave-Me";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "sha256-x7P6fOYTe/u0GKUsO62cNVz2i/hVjUb8t8Bigijxgk0=";
+ };
+
+ nativeBuildInputs = [
+ poetry-core
+ ];
+
+ propagatedBuildInputs = [
+ websocket-client
+ ];
+
+ # Module has no tests
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "zwave_me_ws"
+ ];
+
+ meta = with lib; {
+ description = "Library to connect to a ZWave-Me instance";
+ homepage = "https://github.com/Z-Wave-Me/zwave-me-ws";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ fab ];
+ };
+}
diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix
index a6d0f5d22612..fca7695757cb 100644
--- a/pkgs/development/tools/analysis/checkov/default.nix
+++ b/pkgs/development/tools/analysis/checkov/default.nix
@@ -32,13 +32,13 @@ with py.pkgs;
buildPythonApplication rec {
pname = "checkov";
- version = "2.0.1076";
+ version = "2.0.1077";
src = fetchFromGitHub {
owner = "bridgecrewio";
repo = pname;
rev = version;
- hash = "sha256-LDO4f8SHyTtJp9zOF+exCrNAMhNoIERqHRk11BJgrFs=";
+ hash = "sha256-Jrwgm5diBSJGY0DFG6r6iv1VQwwawKy04K8/y8yokYI=";
};
nativeBuildInputs = with py.pkgs; [
diff --git a/pkgs/development/tools/analysis/radare2/default.nix b/pkgs/development/tools/analysis/radare2/default.nix
index d5d393ee96eb..6bb7d2545c0f 100644
--- a/pkgs/development/tools/analysis/radare2/default.nix
+++ b/pkgs/development/tools/analysis/radare2/default.nix
@@ -44,13 +44,13 @@ let
in
stdenv.mkDerivation rec {
pname = "radare2";
- version = "5.6.4";
+ version = "5.6.8";
src = fetchFromGitHub {
owner = "radare";
repo = "radare2";
rev = version;
- sha256 = "sha256-rqGlp9fHTF1z8A+DROYfzHXi5xfLMdUWzssGN5uHQmE=";
+ sha256 = "0fpz63dfac1i6wwf5wp3v1vs3r5yzh05g95m5vidx56h0g4dcp44";
};
preBuild = ''
diff --git a/pkgs/development/tools/analysis/rr/default.nix b/pkgs/development/tools/analysis/rr/default.nix
index bda6f7e4e3c5..a667de3d5cb7 100644
--- a/pkgs/development/tools/analysis/rr/default.nix
+++ b/pkgs/development/tools/analysis/rr/default.nix
@@ -1,6 +1,6 @@
-{ lib, gcc9Stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
+{ lib, stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
-gcc9Stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
version = "5.5.0";
pname = "rr";
@@ -17,9 +17,15 @@ gcc9Stdenv.mkDerivation rec {
patchShebangs .
'';
- # TODO: remove this preConfigure hook after 5.2.0 since it is fixed upstream
- # see https://github.com/mozilla/rr/issues/2269
- preConfigure = ''substituteInPlace CMakeLists.txt --replace "std=c++11" "std=c++14"'';
+ # With LTO enabled, linking fails with the following message:
+ #
+ # src/AddressSpace.cc:1666: undefined reference to `rr_syscall_addr'
+ # ld.bfd: bin/rr: hidden symbol `rr_syscall_addr' isn't defined
+ # ld.bfd: final link failed: bad value
+ # collect2: error: ld returned 1 exit status
+ #
+ # See also https://github.com/NixOS/nixpkgs/pull/110846
+ preConfigure = ''substituteInPlace CMakeLists.txt --replace "-flto" ""'';
nativeBuildInputs = [ cmake pkg-config which ];
buildInputs = [
diff --git a/pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
index 9f2fb8b40f41..91131bc02c63 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
@@ -279,12 +279,7 @@ stdenv'.mkDerivation rec {
# fixed-output hashes of the fetch phase need to be spot-checked manually
downstream = recurseIntoAttrs ({
inherit bazel-watcher;
- }
- # dm-sonnet is only packaged for linux
- // (lib.optionalAttrs stdenv.isLinux {
- # TODO(timokau) dm-sonnet is broken currently
- # dm-sonnet-linux = python3.pkgs.dm-sonnet;
- }));
+ });
};
# update the list of workspace dependencies
diff --git a/pkgs/development/tools/build-managers/bazel/bazel_1/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
index 0402fb85f26d..f9bcab19fe02 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
@@ -280,12 +280,7 @@ stdenv'.mkDerivation rec {
# fixed-output hashes of the fetch phase need to be spot-checked manually
downstream = recurseIntoAttrs ({
inherit bazel-watcher;
- }
- # dm-sonnet is only packaged for linux
- // (lib.optionalAttrs stdenv.isLinux {
- # TODO(timokau) dm-sonnet is broken currently
- # dm-sonnet-linux = python3.pkgs.dm-sonnet;
- }));
+ });
};
# update the list of workspace dependencies
diff --git a/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
index c5f61e7d25c3..69a61a718860 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
@@ -303,12 +303,7 @@ stdenv.mkDerivation rec {
# fixed-output hashes of the fetch phase need to be spot-checked manually
downstream = recurseIntoAttrs ({
inherit bazel-watcher;
- }
- # dm-sonnet is only packaged for linux
- // (lib.optionalAttrs stdenv.isLinux {
- # TODO(timokau) dm-sonnet is broken currently
- # dm-sonnet-linux = python3.pkgs.dm-sonnet;
- }));
+ });
};
# update the list of workspace dependencies
diff --git a/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
index 79bb378534bd..03006fe6fbee 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
@@ -338,12 +338,7 @@ stdenv.mkDerivation rec {
# fixed-output hashes of the fetch phase need to be spot-checked manually
downstream = recurseIntoAttrs ({
inherit bazel-watcher;
- }
- # dm-sonnet is only packaged for linux
- // (lib.optionalAttrs stdenv.isLinux {
- # TODO(timokau) dm-sonnet is broken currently
- # dm-sonnet-linux = python3.pkgs.dm-sonnet;
- }));
+ });
};
src_for_updater = stdenv.mkDerivation rec {
diff --git a/pkgs/development/tools/build-managers/bazel/bazel_5/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_5/default.nix
index 60e708bb47c8..253fe8a67dd1 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel_5/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel_5/default.nix
@@ -300,12 +300,7 @@ stdenv.mkDerivation rec {
# fixed-output hashes of the fetch phase need to be spot-checked manually
downstream = recurseIntoAttrs ({
inherit bazel-watcher;
- }
- # dm-sonnet is only packaged for linux
- // (lib.optionalAttrs stdenv.isLinux {
- # TODO(timokau) dm-sonnet is broken currently
- # dm-sonnet-linux = python3.pkgs.dm-sonnet;
- }));
+ });
};
src_for_updater = stdenv.mkDerivation rec {
diff --git a/pkgs/development/tools/build-managers/bazel/buildtools/default.nix b/pkgs/development/tools/build-managers/bazel/buildtools/default.nix
index b0375db8c65c..cd313a5bc50b 100644
--- a/pkgs/development/tools/build-managers/bazel/buildtools/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/buildtools/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "bazel-buildtools";
- version = "5.0.1";
+ version = "5.1.0";
src = fetchFromGitHub {
owner = "bazelbuild";
repo = "buildtools";
rev = version;
- sha256 = "sha256-AIOfudFxr1obuxABEN0ggainci/EjbBrdgr2cjVu2Io=";
+ sha256 = "sha256-PNIqsP5p+OdYH0JgOmjqvge9zVOrAcNg0FMflXFJHwQ=";
};
- vendorSha256 = "sha256-buMkRxVLlS2LBJGaGWeR41BsmE/0vgDS8s1VcRYN0fA=";
+ vendorSha256 = "sha256-9WUjQhXWkpSEJj9Xq+9rOe3I1VZ7nqMTnX7DPl+rxsU=";
preBuild = ''
rm -r warn/docs
diff --git a/pkgs/development/tools/build-managers/scala-cli/default.nix b/pkgs/development/tools/build-managers/scala-cli/default.nix
index 81859bcb7995..abeaf0d4cf18 100644
--- a/pkgs/development/tools/build-managers/scala-cli/default.nix
+++ b/pkgs/development/tools/build-managers/scala-cli/default.nix
@@ -1,15 +1,15 @@
{ stdenv, coreutils, lib, installShellFiles, zlib, autoPatchelfHook, fetchurl }:
let
- version = "0.1.3";
+ version = "0.1.4";
assets = {
x86_64-darwin = {
asset = "scala-cli-x86_64-apple-darwin.gz";
- sha256 = "UlDF2Eaaet62zZV0z6XOZvg/YeB//AXPDni8h3Wc6rw=";
+ sha256 = "19bsfkp398rx3f9lnjzhp8pcs77n075v17rpm4hsmrpsz1hih5xy";
};
x86_64-linux = {
asset = "scala-cli-x86_64-pc-linux.gz";
- sha256 = "086fi7ma4j9xy6gs0k7i06ql8ranjkjlrir2860q74kinfisk79a";
+ sha256 = "0rggf6v32rw3s82a1apz2b8nyiv8rd0lvw1bajl2s7jhlq8l7lc9";
};
};
in
diff --git a/pkgs/development/tools/database/sqlfluff/default.nix b/pkgs/development/tools/database/sqlfluff/default.nix
index 82a588e30206..79c31c1937fe 100644
--- a/pkgs/development/tools/database/sqlfluff/default.nix
+++ b/pkgs/development/tools/database/sqlfluff/default.nix
@@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "sqlfluff";
- version = "0.12.0";
+ version = "0.13.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
- hash = "sha256-WL9bp77Q1cQakxaptw6ZHCq2+IAscMIDKkbQAHSCo1s=";
+ hash = "sha256-UFvrtLVHGlWUlvA7KLDgaCydE/UoxtYV+8RqLblOdns=";
};
propagatedBuildInputs = with python3.pkgs; [
diff --git a/pkgs/development/tools/dprint/default.nix b/pkgs/development/tools/dprint/default.nix
index b81c3b3dd5bc..20646fa696d5 100644
--- a/pkgs/development/tools/dprint/default.nix
+++ b/pkgs/development/tools/dprint/default.nix
@@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec {
pname = "dprint";
- version = "0.24.4";
+ version = "0.26.0";
src = fetchCrate {
inherit pname version;
- sha256 = "sha256-cOjtwdkkENy9HmJ9KRiZJ+JibTmNdkr/17EDgvyNmPw=";
+ sha256 = "sha256-s8M7xQTADPVRGM3Cu2jmNrdMWBRKNLWsRlXnnB+FHH4=";
};
- cargoSha256 = "sha256-cyd9h2Yz8XU/X1w0P9qMv1GDuOL5X24CCstAv7BS7nw=";
+ cargoSha256 = "sha256-UaD85fCWWYyDNF/HiWDRVpQD0snhiQtEWfIq7GSoZts=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
diff --git a/pkgs/development/tools/electron/generic.nix b/pkgs/development/tools/electron/generic.nix
index 7fefe186c108..7b1de8045454 100644
--- a/pkgs/development/tools/electron/generic.nix
+++ b/pkgs/development/tools/electron/generic.nix
@@ -92,7 +92,8 @@ let
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${atomEnv.libPath}:${electronLibPath}:$out/lib/electron" \
- $out/lib/electron/electron
+ $out/lib/electron/electron \
+ ${lib.optionalString (! lib.versionOlder version "15.0.0") "$out/lib/electron/chrome_crashpad_handler" }
wrapProgram $out/lib/electron/electron \
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 \
diff --git a/pkgs/development/tools/pydb/default.nix b/pkgs/development/tools/pydb/default.nix
deleted file mode 100644
index 5380bb686085..000000000000
--- a/pkgs/development/tools/pydb/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ lib, stdenv, fetchurl, python2, emacs }:
-
-stdenv.mkDerivation rec {
- pname = "pydb";
- version = "1.26";
-
- src = fetchurl {
- url = "mirror://sourceforge/sourceforge/bashdb/${pname}-${version}.tar.bz2";
- sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1";
- };
-
- buildInputs = [ python2 emacs /* emacs is optional */ ];
-
- preConfigure = ''
- p="$(toPythonPath $out)"
- configureFlags="$configureFlags --with-python=${python2.interpreter} --with-site-packages=$p"
- '';
-
- meta = {
- description = "Python debugger with GDB-like commands and Emacs bindings";
- homepage = "http://bashdb.sourceforge.net/pydb/";
- license = lib.licenses.gpl3;
- platforms = lib.platforms.all;
- };
-}
diff --git a/pkgs/development/tools/sumneko-lua-language-server/default.nix b/pkgs/development/tools/sumneko-lua-language-server/default.nix
index f9f3e9eaab67..f49ee01deafa 100644
--- a/pkgs/development/tools/sumneko-lua-language-server/default.nix
+++ b/pkgs/development/tools/sumneko-lua-language-server/default.nix
@@ -24,6 +24,13 @@ stdenv.mkDerivation rec {
darwin.apple_sdk.frameworks.Foundation
];
+ # Disable cwd support on darwin, because it requires macOS>=10.15
+ preConfigure = lib.optionalString stdenv.isDarwin ''
+ for file in 3rd/bee.lua/bee/subprocess/subprocess_posix.cpp 3rd/luamake/3rd/bee.lua/bee/subprocess/subprocess_posix.cpp; do
+ substituteInPlace $file --replace '#define SUPPORT_CWD 1' ""
+ done
+ '';
+
preBuild = ''
cd 3rd/luamake
''
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix
index 317de55ada56..7f8178838677 100644
--- a/pkgs/development/web/nodejs/nodejs.nix
+++ b/pkgs/development/web/nodejs/nodejs.nix
@@ -136,7 +136,7 @@ let
${optionalString (enableNpm && stdenv.hostPlatform == stdenv.buildPlatform) ''
mkdir -p $out/share/bash-completion/completions/
- $out/bin/npm completion > $out/share/bash-completion/completions/npm
+ $out/bin/npm completion > $out/share/bash-completion/completions/npm || :
for dir in "$out/lib/node_modules/npm/man/"*; do
mkdir -p $out/share/man/$(basename "$dir")
for page in "$dir"/*; do
diff --git a/pkgs/development/web/nodejs/v18.nix b/pkgs/development/web/nodejs/v18.nix
new file mode 100644
index 000000000000..562989d2fd31
--- /dev/null
+++ b/pkgs/development/web/nodejs/v18.nix
@@ -0,0 +1,15 @@
+{ callPackage, python3, enableNpm ? true }:
+
+let
+ buildNodejs = callPackage ./nodejs.nix {
+ python = python3;
+ };
+in
+buildNodejs {
+ inherit enableNpm;
+ version = "18.0.0";
+ sha256 = "sha256-NE0OZUC1JMaal5/1w+eM2nJU/XLANpmSa+sLhVi4znU=";
+ patches = [
+ ./disable-darwin-v8-system-instrumentation.patch
+ ];
+}
diff --git a/pkgs/games/prboom-plus/default.nix b/pkgs/games/prboom-plus/default.nix
new file mode 100644
index 000000000000..a249a4585bd8
--- /dev/null
+++ b/pkgs/games/prboom-plus/default.nix
@@ -0,0 +1,62 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, SDL2
+, SDL2_mixer
+, SDL2_image
+, SDL2_net
+, fluidsynth
+, soundfont-fluid
+, portmidi
+, dumb
+, libvorbis
+, libmad
+, pcre
+}:
+
+stdenv.mkDerivation rec {
+ pname = "prboom-plus";
+ version = "2.6.2";
+
+ src = fetchFromGitHub {
+ owner = "coelckers";
+ repo = "prboom-plus";
+ rev = "v${version}";
+ sha256 = "iK70PMRLJiZHcK1jCQ2s88LgEMbcfG2pXjwCDVG7zUM=";
+ };
+
+ sourceRoot = "source/prboom2";
+
+ nativeBuildInputs = [
+ cmake
+ ];
+
+ buildInputs = [
+ SDL2
+ SDL2_mixer
+ SDL2_image
+ SDL2_net
+ fluidsynth
+ portmidi
+ dumb
+ libvorbis
+ libmad
+ pcre
+ ];
+
+ # Fixes impure path to soundfont
+ prePatch = ''
+ substituteInPlace src/m_misc.c --replace \
+ "/usr/share/sounds/sf3/default-GM.sf3" \
+ "${soundfont-fluid}/share/soundfonts/FluidR3_GM2-2.sf2"
+ '';
+
+ meta = with lib; {
+ homepage = "https://github.com/coelckers/prboom-plus";
+ description = "An advanced, Vanilla-compatible Doom engine based on PrBoom";
+ license = licenses.gpl2Plus;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.ashley ];
+ };
+}
diff --git a/pkgs/games/prboom/default.nix b/pkgs/games/prboom/default.nix
deleted file mode 100644
index 8adc9645b7ae..000000000000
--- a/pkgs/games/prboom/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_net
-, libGLU ? null
-, libGL ? null
-, useOpenGL ? stdenv.hostPlatform == stdenv.buildPlatform
-}:
-
-assert useOpenGL -> libGL != null && libGLU != null;
-
-stdenv.mkDerivation rec {
- pname = "prboom";
- version = "2.5.0";
- src = fetchurl {
- url = "mirror://sourceforge/prboom/prboom-${version}.tar.gz";
- sha256 = "1bjb04q8dk232956k30qlpq6q0hxb904yh1nflr87jcc1x3iqv12";
- };
-
- buildInputs = [ SDL SDL_mixer SDL_net ]
- ++ lib.optionals useOpenGL [ libGL libGLU ];
-
- doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
-
- configureFlags = [
- (lib.enableFeature useOpenGL "gl")
- (lib.enableFeature doCheck "sdltest")
- ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
- "--disable-cpu-opt"
- "--without-x"
- "ac_cv_type_uid_t=yes"
- "ac_cv_type_gid_t=yes"
- ];
-
- postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
- mv $out/games/ $out/bin
- '';
-}
diff --git a/pkgs/games/runescape-launcher/default.nix b/pkgs/games/runescape-launcher/default.nix
index 8b678d792fcb..3208aa3b4612 100644
--- a/pkgs/games/runescape-launcher/default.nix
+++ b/pkgs/games/runescape-launcher/default.nix
@@ -10,9 +10,11 @@ let
pname = "runescape-launcher";
version = "2.2.9";
+ # Packages: https://content.runescape.com/downloads/ubuntu/dists/trusty/non-free/binary-amd64/Packages
+ # upstream is https://content.runescape.com/downloads/ubuntu/pool/non-free/r/${pname}/${pname}_${version}_amd64.deb
src = fetchurl {
- url = "https://content.runescape.com/downloads/ubuntu/pool/non-free/r/${pname}/${pname}_${version}_amd64.deb";
- sha256 = "0r5v1pwh0aas31b1d3pkrc8lqmqz9b4fml2b4kxmg5xzp677h271";
+ url = "https://archive.org/download/${pname}_${version}_amd64/${pname}_${version}_amd64.deb";
+ sha256 = "1zilpxh8k8baylbl9nqq9kgjiv2xzw4lizbgcmzky5rhmych8n4g";
};
nativeBuildInputs = [
@@ -76,7 +78,7 @@ let
description = "Launcher for RuneScape 3, the current main RuneScape";
homepage = "https://www.runescape.com/";
license = licenses.unfree;
- maintainers = with lib.maintainers; [ grburst ];
+ maintainers = with maintainers; [ grburst ];
platforms = [ "x86_64-linux" ];
};
};
@@ -89,15 +91,23 @@ in
* FHS simulates a classic linux shell
*/
buildFHSUserEnv {
- name = "RuneScape";
- targetPkgs = pkgs: [
- runescape
- dpkg glibc gcc-unwrapped
- libSM libXxf86vm libX11 glib pango cairo gtk2-x11 zlib openssl
- libpulseaudio
- xorg.libX11
- SDL2 xorg_sys_opengl libGL
- ];
- multiPkgs = pkgs: [ libGL ];
- runScript = "runescape-launcher";
-}
+ name = "RuneScape";
+ targetPkgs = pkgs: [
+ runescape
+ dpkg glibc gcc-unwrapped
+ libSM libXxf86vm libX11 glib pango cairo gtk2-x11 zlib openssl
+ libpulseaudio
+ xorg.libX11
+ SDL2 xorg_sys_opengl libGL
+ ];
+ multiPkgs = pkgs: [ libGL ];
+ runScript = "runescape-launcher";
+
+ meta = with lib; {
+ description = "RuneScape Game Client (NXT) - Launcher for RuneScape 3";
+ homepage = "https://www.runescape.com/";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ grburst ];
+ platforms = [ "x86_64-linux" ];
+ };
+ }
diff --git a/pkgs/games/xonotic/default.nix b/pkgs/games/xonotic/default.nix
index 46b0b594d724..208608f0c15b 100644
--- a/pkgs/games/xonotic/default.nix
+++ b/pkgs/games/xonotic/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, fetchzip, makeWrapper, runCommand, makeDesktopItem
+{ lib, stdenv, fetchurl, fetchpatch, fetchzip, makeWrapper, runCommand, makeDesktopItem
, xonotic-data, copyDesktopItems
, # required for both
unzip, libjpeg, zlib, libvorbis, curl
@@ -64,6 +64,15 @@ let
sha256 = "0axxw04fyz6jlfqd0kp7hdrqa0li31sx1pbipf2j5qp9wvqicsay";
};
+ patches = [
+ # Fix to make darkplaces compile under GCC 11
+ (fetchpatch {
+ name = "fix-darkplaces-gcc11";
+ url = "https://gitlab.com/xonotic/darkplaces/-/commit/5e9e998c1759bc0085c3273fc39f9ea6f72a7dc8.patch";
+ sha256 = "sha256-s0JettSg0AYr8V2mXKJ2QU125bBcX1BAu/yDciTWC5o=";
+ })
+ ];
+
nativeBuildInputs = [ unzip ];
buildInputs = [ libjpeg zlib libvorbis curl gmp ]
++ lib.optional withGLX [ libX11.dev libGLU.dev libGL.dev libXpm.dev libXext.dev libXxf86vm.dev alsa-lib.dev ]
diff --git a/pkgs/os-specific/linux/sasutils/default.nix b/pkgs/os-specific/linux/sasutils/default.nix
new file mode 100644
index 000000000000..4298e003a00f
--- /dev/null
+++ b/pkgs/os-specific/linux/sasutils/default.nix
@@ -0,0 +1,22 @@
+{ lib, python3Packages, fetchFromGitHub, sg3_utils }:
+
+python3Packages.buildPythonApplication rec {
+ pname = "sasutils";
+ version = "0.3.12";
+
+ src = fetchFromGitHub {
+ owner = "stanford-rc";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0kh5pcc2shdmrvqqi2y1zamzsfvk56pqgwqgqhjfz4r6yfpm04wl";
+ };
+
+ propagatedBuildInputs = [ sg3_utils ];
+
+ meta = with lib; {
+ homepage = "https://github.com/stanford-rc/sasutils";
+ description = "A set of command-line tools to ease the administration of Serial Attached SCSI (SAS) fabrics";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ aij ];
+ };
+}
diff --git a/pkgs/servers/atlassian/confluence.nix b/pkgs/servers/atlassian/confluence.nix
index f580abc18781..6dfe291746b0 100644
--- a/pkgs/servers/atlassian/confluence.nix
+++ b/pkgs/servers/atlassian/confluence.nix
@@ -8,11 +8,11 @@ assert withMysql -> (mysql_jdbc != null);
stdenvNoCC.mkDerivation rec {
pname = "atlassian-confluence";
- version = "7.14.1";
+ version = "7.17.1";
src = fetchurl {
url = "https://product-downloads.atlassian.com/software/confluence/downloads/${pname}-${version}.tar.gz";
- sha256 = "1lcwdjby18xr54i408kncfhlizf18xcrnhfgsvhx5m02arid7mk7";
+ sha256 = "sha256-TFtWuJR/t3MMbs8Gd818ByOnMtiT4QxbcpgBxYXzFYY=";
};
buildPhase = ''
@@ -44,6 +44,6 @@ stdenvNoCC.mkDerivation rec {
description = "Team collaboration software written in Java and mainly used in corporate environments";
homepage = "https://www.atlassian.com/software/confluence";
license = licenses.unfree;
- maintainers = with maintainers; [ fpletz globin willibutz ciil ];
+ maintainers = with maintainers; [ fpletz globin willibutz ciil techknowlogick ];
};
}
diff --git a/pkgs/servers/atlassian/jira.nix b/pkgs/servers/atlassian/jira.nix
index e1b37cf8a06d..e9d38a41c029 100644
--- a/pkgs/servers/atlassian/jira.nix
+++ b/pkgs/servers/atlassian/jira.nix
@@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
pname = "atlassian-jira";
- version = "8.22.1";
+ version = "8.22.2";
src = fetchurl {
url = "https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-${version}.tar.gz";
- sha256 = "sha256-9cFSlvqbyLqgmNN0LbfdV2vfyIrHPBR8vLJAXe5cqV0=";
+ sha256 = "sha256-j9JUIK4GOdY9rMLPZcWbjWUh/s2ZkoVEQBNAIqHhdYI=";
};
buildPhase = ''
@@ -41,6 +41,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 ];
+ maintainers = with maintainers; [ fpletz globin ciil megheaiulian techknowlogick ];
};
}
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix
index 90a7259afe65..6d51b0a1dbc4 100644
--- a/pkgs/servers/home-assistant/component-packages.nix
+++ b/pkgs/servers/home-assistant/component-packages.nix
@@ -2,7 +2,7 @@
# Do not edit!
{
- version = "2022.4.6";
+ version = "2022.4.7";
components = {
"abode" = ps: with ps; [
abodepy
@@ -162,7 +162,8 @@
pyarlo
];
"arris_tg2492lg" = ps: with ps; [
- ]; # missing inputs: arris-tg2492lg
+ arris-tg2492lg
+ ];
"aruba" = ps: with ps; [
pexpect
];
@@ -822,7 +823,8 @@
fitbit
];
"fivem" = ps: with ps; [
- ]; # missing inputs: fivem-api
+ fivem-api
+ ];
"fixer" = ps: with ps; [
fixerio
];
@@ -1957,7 +1959,8 @@
sqlalchemy
];
"peco" = ps: with ps; [
- ]; # missing inputs: peco
+ peco
+ ];
"pencom" = ps: with ps; [
]; # missing inputs: pencompy
"persistent_notification" = ps: with ps; [
@@ -2241,7 +2244,8 @@
sqlalchemy
];
"saj" = ps: with ps; [
- ]; # missing inputs: pysaj
+ pysaj
+ ];
"samsungtv" = ps: with ps; [
aiohttp-cors
async-upnp-client
@@ -2291,7 +2295,8 @@
aiosenseme
];
"sensibo" = ps: with ps; [
- ]; # missing inputs: pysensibo
+ pysensibo
+ ];
"sensor" = ps: with ps; [
fnvhash
lru-dict
@@ -3122,7 +3127,8 @@
ifaddr
url-normalize
zeroconf
- ]; # missing inputs: zwave_me_ws
+ zwave-me-ws
+ ];
};
# components listed in tests/components for which all dependencies are packaged
supportedComponentsWithTests = [
@@ -3281,6 +3287,7 @@
"filter"
"fireservicerota"
"firmata"
+ "fivem"
"fjaraskupan"
"flic"
"flick_electric"
@@ -3505,6 +3512,7 @@
"p1_monitor"
"panel_custom"
"panel_iframe"
+ "peco"
"persistent_notification"
"person"
"philips_js"
@@ -3567,6 +3575,7 @@
"select"
"sense"
"senseme"
+ "sensibo"
"sensor"
"sentry"
"seventeentrack"
@@ -3735,5 +3744,6 @@
"zodiac"
"zone"
"zwave_js"
+ "zwave_me"
];
}
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index fbaba057ca47..b29f48310d05 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -168,7 +168,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating
- hassVersion = "2022.4.6";
+ hassVersion = "2022.4.7";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@@ -186,7 +186,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
- hash = "sha256-f2cPkORh6DoNjqZFz7XjxQdZwej3k+8NtZTstYIbrc4=";
+ hash = "sha256-1m3t+AeHyuEyu3gT8P37A+L28mBdNKGmycU6eNOyb4M=";
};
# leave this in, so users don't have to constantly update their downstream patch handling
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix
index 9d0737a8f32c..3151f3a2bf9e 100644
--- a/pkgs/servers/http/nginx/generic.nix
+++ b/pkgs/servers/http/nginx/generic.nix
@@ -107,6 +107,8 @@ stdenv.mkDerivation {
NIX_CFLAGS_COMPILE = toString ([
"-I${libxml2.dev}/include/libxml2"
"-Wno-error=implicit-fallthrough"
+ # fix build vts module on gcc11
+ "-Wno-error=stringop-overread"
] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
configurePlatforms = [];
diff --git a/pkgs/servers/mail/postfix/default.nix b/pkgs/servers/mail/postfix/default.nix
index 942023b4eaf4..65e0041a01eb 100644
--- a/pkgs/servers/mail/postfix/default.nix
+++ b/pkgs/servers/mail/postfix/default.nix
@@ -25,11 +25,11 @@ let
in stdenv.mkDerivation rec {
pname = "postfix";
- version = "3.6.5";
+ version = "3.6.6";
src = fetchurl {
url = "http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/${pname}-${version}.tar.gz";
- hash = "sha256-MA+ogRzqINAdJcYZ01m/+rgmVucE2qcZ4MmvxOz/SAg=";
+ hash = "sha256-CYpxT0EEaO/ibiGR3I8xy6RQfVv0iPVvnrVUXjaG8NY=";
};
nativeBuildInputs = [ makeWrapper m4 ];
diff --git a/pkgs/servers/monitoring/alerta/client.nix b/pkgs/servers/monitoring/alerta/client.nix
index 31f31d074057..cd969d9dbba5 100644
--- a/pkgs/servers/monitoring/alerta/client.nix
+++ b/pkgs/servers/monitoring/alerta/client.nix
@@ -4,11 +4,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "alerta";
- version = "8.4.0";
+ version = "8.5.1";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "260ff3118e73396104129928217b0f317ac5afdff8221874d8986df22ecf5f34";
+ sha256 = "sha256-O13Ic2iHjNF/llp6vdaAiiWExcTBPsz46GAWY3oGDY8=";
};
propagatedBuildInputs = with python3.pkgs; [
diff --git a/pkgs/servers/monitoring/alerta/default.nix b/pkgs/servers/monitoring/alerta/default.nix
index e69a594a728b..c3758c26b253 100644
--- a/pkgs/servers/monitoring/alerta/default.nix
+++ b/pkgs/servers/monitoring/alerta/default.nix
@@ -4,11 +4,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "alerta-server";
- version = "8.3.3";
+ version = "8.7.0";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "a2713a31c6e326c774a3ee0328f424f944b951935ff1b893a4a66598d61c5a97";
+ sha256 = "sha256-EM3owmj+6gFjU0ARaQP3FLYXliGaGCRSaLgkiPwhGdU=";
};
propagatedBuildInputs = with python3.pkgs; [
@@ -21,6 +21,7 @@ python3.pkgs.buildPythonApplication rec {
psycopg2
pyjwt
pymongo
+ pyparsing
python-dateutil
pytz
pyyaml
@@ -29,13 +30,17 @@ python3.pkgs.buildPythonApplication rec {
sentry-sdk
];
- doCheck = false; # We can't run the tests from Nix, because they rely on the presence of a working MongoDB server
+ # We can't run the tests from Nix, because they rely on the presence of a working MongoDB server
+ doCheck = false;
- disabled = python3.pythonOlder "3.6";
+ pythonImportsCheck = [
+ "alerta"
+ ];
meta = with lib; {
homepage = "https://alerta.io";
description = "Alerta Monitoring System server";
license = licenses.asl20;
+ maintainers = with maintainers; [ ];
};
}
diff --git a/pkgs/servers/sql/dolt/default.nix b/pkgs/servers/sql/dolt/default.nix
index a1db051e7b2d..072bd793346c 100644
--- a/pkgs/servers/sql/dolt/default.nix
+++ b/pkgs/servers/sql/dolt/default.nix
@@ -2,24 +2,24 @@
buildGoModule rec {
pname = "dolt";
- version = "0.37.4";
+ version = "0.39.2";
src = fetchFromGitHub {
- owner = "liquidata-inc";
+ owner = "dolthub";
repo = "dolt";
rev = "v${version}";
- sha256 = "sha256-cKX8idMmh9hQVPjO8rJWlp1nhtnzwwlLkelNw+LLBag=";
+ sha256 = "sha256-rCGjBb5aiDLPBKYX4jhHxtBDf3Xs1/p1DdsFmdfLNLM=";
};
modRoot = "./go";
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
- vendorSha256 = "sha256-vaYCo+jvw3qcLQ63oA8tq6G6Gxq50VTxK6IMBcEZXqs=";
+ vendorSha256 = "sha256-yemt7hUcLXgC42B2q4+1MalGd3jCMHcVD/Bpq8B2x7M=";
doCheck = false;
meta = with lib; {
description = "Relational database with version control and CLI a-la Git";
- homepage = "https://github.com/liquidata-inc/dolt";
+ homepage = "https://github.com/dolthub/dolt";
license = licenses.asl20;
maintainers = with maintainers; [ danbst ];
};
diff --git a/pkgs/servers/sql/postgresql/ext/jsonb_deep_sum.nix b/pkgs/servers/sql/postgresql/ext/jsonb_deep_sum.nix
new file mode 100644
index 000000000000..cf0ba46d8762
--- /dev/null
+++ b/pkgs/servers/sql/postgresql/ext/jsonb_deep_sum.nix
@@ -0,0 +1,31 @@
+{ lib, stdenv, fetchFromGitHub, postgresql }:
+
+stdenv.mkDerivation rec {
+ pname = "jsonb_deep_sum";
+ version = "unstable-2021-12-24";
+
+ src = fetchFromGitHub {
+ owner = "furstenheim";
+ repo = "jsonb_deep_sum";
+ rev = "d9c69aa6b7da860e5522a9426467e67cb787980c";
+ sha256 = "sha256-W1wNILAwTAjFPezq+grdRMA59KEnMZDz69n9xQUqdc0=";
+ };
+
+ buildInputs = [ postgresql ];
+
+ installPhase = ''
+ mkdir -p $out/{lib,share/postgresql/extension}
+
+ cp *.so $out/lib
+ cp *.sql $out/share/postgresql/extension
+ cp *.control $out/share/postgresql/extension
+ '';
+
+ meta = with lib; {
+ description = "PostgreSQL extension to easily add jsonb numeric";
+ homepage = "https://github.com/furstenheim/jsonb_deep_sum";
+ maintainers = with maintainers; [ _1000101 ];
+ platforms = postgresql.meta.platforms;
+ license = licenses.mit;
+ };
+}
diff --git a/pkgs/servers/sql/postgresql/packages.nix b/pkgs/servers/sql/postgresql/packages.nix
index fec106f32acd..c789e92c8e3c 100644
--- a/pkgs/servers/sql/postgresql/packages.nix
+++ b/pkgs/servers/sql/postgresql/packages.nix
@@ -2,6 +2,8 @@ self: super: {
age = super.callPackage ./ext/age.nix { };
+ jsonb_deep_sum = super.callPackage ./ext/jsonb_deep_sum.nix { };
+
periods = super.callPackage ./ext/periods.nix { };
postgis = super.callPackage ./ext/postgis.nix { };
diff --git a/pkgs/tools/archivers/quickbms/default.nix b/pkgs/tools/archivers/quickbms/default.nix
index 7846f18a1740..d2f39ac2cf18 100644
--- a/pkgs/tools/archivers/quickbms/default.nix
+++ b/pkgs/tools/archivers/quickbms/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
description = "Universal script based file extractor and reimporter";
homepage = "https://aluigi.altervista.org/quickbms.htm";
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ samuelgrf ];
+ maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/tools/audio/yabridge/default.nix b/pkgs/tools/audio/yabridge/default.nix
index 40c3b594dc98..eb897f839a8f 100644
--- a/pkgs/tools/audio/yabridge/default.nix
+++ b/pkgs/tools/audio/yabridge/default.nix
@@ -1,7 +1,6 @@
{ lib
, multiStdenv
, fetchFromGitHub
-, fetchpatch
, substituteAll
, pkgsi686Linux
, libnotify
@@ -49,14 +48,14 @@ let
};
in multiStdenv.mkDerivation rec {
pname = "yabridge";
- version = "3.8.0";
+ version = "3.8.1";
# NOTE: Also update yabridgectl's cargoHash when this is updated
src = fetchFromGitHub {
owner = "robbert-vdh";
repo = pname;
rev = version;
- sha256 = "sha256-XacJjHxsp60/l36pFPGonUyOsyFF2lmqplAaisHXZDY=";
+ sha256 = "sha256-5Mi/aIjOKbn7guTj+AKGQRv+k7w4gzfdA9Mw4ocUlOE=";
};
# Unpack subproject sources
@@ -78,14 +77,6 @@ in multiStdenv.mkDerivation rec {
libxcb32 = pkgsi686Linux.xorg.libxcb;
inherit libnotify wine;
})
- # Remove with next yabridge update
- (fetchpatch {
- name = "fix-for-wine-7.1.patch";
- url = "https://github.com/robbert-vdh/yabridge/commit/de470d345ab206b08f6d4a147b6af1d285a4211f.patch";
- sha256 = "sha256-xJx1zvxD+DIjbkm7Ovoy4RaAvjx936/j/7AYUPh/kOo=";
- includes = [ "src/wine-host/xdnd-proxy.cpp" ];
- })
-
];
postPatch = ''
diff --git a/pkgs/tools/audio/yabridge/hardcode-dependencies.patch b/pkgs/tools/audio/yabridge/hardcode-dependencies.patch
index 9f6bc0c9a9d5..16385db69e9a 100644
--- a/pkgs/tools/audio/yabridge/hardcode-dependencies.patch
+++ b/pkgs/tools/audio/yabridge/hardcode-dependencies.patch
@@ -1,5 +1,5 @@
diff --git a/meson.build b/meson.build
-index 95ecb728..cb30f3af 100644
+index c71d4fdb..b3f381ba 100644
--- a/meson.build
+++ b/meson.build
@@ -201,6 +201,7 @@ if with_32bit_libraries or with_bitbridge
@@ -20,7 +20,7 @@ index 95ecb728..cb30f3af 100644
# These are all headers-only libraries, and thus won't require separate 32-bit
diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
-index 1a457f03..20ca1e63 100644
+index fc2c8b25..c73249e3 100644
--- a/src/plugin/utils.cpp
+++ b/src/plugin/utils.cpp
@@ -107,7 +107,7 @@ std::string PluginInfo::wine_version() const {
diff --git a/pkgs/tools/audio/yabridgectl/default.nix b/pkgs/tools/audio/yabridgectl/default.nix
index d2e8438e0c9e..6ab94ef36302 100644
--- a/pkgs/tools/audio/yabridgectl/default.nix
+++ b/pkgs/tools/audio/yabridgectl/default.nix
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
src = yabridge.src;
sourceRoot = "source/tools/yabridgectl";
- cargoSha256 = "sha256-pwy2Q2HUCihr7W81hGvDm9EiZHk9G8knSy0yxPy6hl8=";
+ cargoSha256 = "sha256-ducF55d5OvCwlNFtt2r6pG5e9VevM2AzHSvPnWvIp1Y=";
patches = [
# By default, yabridgectl locates libyabridge.so by using
diff --git a/pkgs/tools/graphics/enblend-enfuse/default.nix b/pkgs/tools/graphics/enblend-enfuse/default.nix
index 5ca9704eee31..5b3431a919fc 100644
--- a/pkgs/tools/graphics/enblend-enfuse/default.nix
+++ b/pkgs/tools/graphics/enblend-enfuse/default.nix
@@ -1,26 +1,39 @@
-{ lib, stdenv, fetchurl
-, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, libGLU, libGL, vigra
-, help2man, pkg-config, perl, texlive }:
+{ lib, stdenv, fetchzip
+, autoreconfHook
+, boost
+, freeglut
+, glew
+, gsl
+, lcms2
+, libpng
+, libtiff
+, libGLU
+, libGL
+, vigra
+, help2man
+, pkg-config
+, perl
+, texlive
+}:
stdenv.mkDerivation rec {
pname = "enblend-enfuse";
- version = "4.2";
+ version = "unstable-2022-03-06";
- src = fetchurl {
- url = "mirror://sourceforge/enblend/${pname}-${version}.tar.gz";
- sha256 = "0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7";
+ src = fetchzip {
+ url = "https://sourceforge.net/code-snapshots/hg/e/en/enblend/code/enblend-code-0f423c72e51872698fe2985ca3bd453961ffe4e0.zip";
+ sha256 = "sha256-0gCUSdg3HR3YeIbOByEBCZh2zGlYur6DeCOzUM53fdc=";
+ stripRoot = true;
};
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
- nativeBuildInputs = [ help2man perl pkg-config texlive.combined.scheme-small ];
+ nativeBuildInputs = [ autoreconfHook help2man perl pkg-config texlive.combined.scheme-small ];
preConfigure = ''
patchShebangs src/embrace
'';
- enableParallelBuilding = true;
-
meta = with lib; {
homepage = "http://enblend.sourceforge.net/";
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
diff --git a/pkgs/tools/graphics/pngtools/default.nix b/pkgs/tools/graphics/pngtools/default.nix
new file mode 100644
index 000000000000..563c8af50ae8
--- /dev/null
+++ b/pkgs/tools/graphics/pngtools/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, libpng12, fetchFromGitHub }:
+
+stdenv.mkDerivation {
+ pname = "pngtools";
+ version = "unstable-2022-03-14";
+
+ src = fetchFromGitHub {
+ owner = "mikalstill";
+ repo = "pngtools";
+ rev = "1ccca3a0f3f6882661bbafbfb62feb774ca195d1";
+ sha256 = "sha256-W1XofOVTyfA7IbxOnTkWdOOZ00gZ4e0GOYl7nMtLIJk=";
+ };
+
+ buildInputs = [ libpng12 ];
+
+ meta = with lib; {
+ homepage = "https://github.com/mikalstill/pngtools";
+ description = "PNG manipulation tools";
+ maintainers = with maintainers; [ zendo ];
+ license = licenses.gpl2Only;
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch b/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
index 4655879149d2..f811343ee79b 100644
--- a/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
+++ b/pkgs/tools/inputmethods/libinput-gestures/0001-hardcode-name.patch
@@ -1,13 +1,13 @@
diff --git a/libinput-gestures b/libinput-gestures
-index 66479b6..aca94ac 100755
+index 78c7c28..da04007 100755
--- a/libinput-gestures
+++ b/libinput-gestures
-@@ -6,7 +6,7 @@ from collections import OrderedDict
- from pathlib import Path
- from distutils.version import LooseVersion as Version
-
--PROG = Path(sys.argv[0]).stem
-+PROG = "libinput-gestures"
-
+@@ -27,7 +27,7 @@ except ImportError:
+
+ session_locked = False
+
+-PROGPATH = Path(sys.argv[0])
++PROGPATH = Path("libinput-gestures")
+ PROGNAME = PROGPATH.stem
+
# Conf file containing gesture commands.
- # Search first for user file then system file.
diff --git a/pkgs/tools/inputmethods/libinput-gestures/0002-paths.patch b/pkgs/tools/inputmethods/libinput-gestures/0002-paths.patch
index 407450c8bccd..a507625406f2 100644
--- a/pkgs/tools/inputmethods/libinput-gestures/0002-paths.patch
+++ b/pkgs/tools/inputmethods/libinput-gestures/0002-paths.patch
@@ -1,45 +1,34 @@
diff --git a/libinput-gestures b/libinput-gestures
-index aca94ac..c2f03ca 100755
+index 78c7c28..1a2c965 100755
--- a/libinput-gestures
+++ b/libinput-gestures
-@@ -77,7 +77,7 @@ def get_libinput_vers():
+@@ -87,11 +87,11 @@ def get_libinput_vers():
'Return the libinput installed version number string'
# Try to use newer libinput interface then fall back to old
# (depreciated) interface.
- res = run(('libinput', '--version'), check=False)
+ res = run(('@libinput@', '--version'), check=False)
- return res.strip() if res else \
- run(('libinput-list-devices', '--version'), check=False)
-
-@@ -87,8 +87,8 @@ if not libvers:
- sys.exit('libinput helper tools do not seem to be installed?')
-
- if Version(libvers) >= Version('1.8'):
-- cmd_debug_events = 'libinput debug-events'
-- cmd_list_devices = 'libinput list-devices'
-+ cmd_debug_events = '@libinput@ debug-events'
-+ cmd_list_devices = '@libinput@ list-devices'
- else:
- cmd_debug_events = 'libinput-debug-events'
- cmd_list_devices = 'libinput-list-devices'
-@@ -199,7 +199,7 @@ class COMMAND_internal(COMMAND):
-
- def run(self):
- 'Get list of current workspaces and select next one'
-- stdout = run(('wmctrl', '-d'), check=False)
-+ stdout = run(('@wmctrl@', '-d'), check=False)
- if not stdout:
- # This command can fail on GNOME when you have only a single
- # dynamic workspace using Xorg (probably a GNOME bug) so let's
-@@ -233,7 +233,7 @@ class COMMAND_internal(COMMAND):
-
- # Switch to desired workspace
- if index >= minindex and index < maxindex:
-- run(('wmctrl', '-s', str(index)))
-+ run(('@wmctrl@', '-s', str(index)))
-
- # Table of gesture handlers
- handlers = OrderedDict()
---
-2.19.1
+ if res:
+ return res.strip(), True
+- res = run(('libinput-list-devices', '--version'), check=False)
++ res = run(('@libinput-list-devices@', '--version'), check=False)
+ return res and res.strip(), False
+
+ def get_devices_list(cmd_list_devices, device_list):
+@@ -694,11 +694,11 @@ def main():
+ sys.exit('libinput helper tools do not seem to be installed?')
+
+ if has_subcmd:
+- cmd_debug_events = 'libinput debug-events'
+- cmd_list_devices = 'libinput list-devices'
++ cmd_debug_events = '@libinput@ debug-events'
++ cmd_list_devices = '@libinput@ list-devices'
+ else:
+- cmd_debug_events = 'libinput-debug-events'
+- cmd_list_devices = 'libinput-list-devices'
++ cmd_debug_events = '@libinput@-debug-events'
++ cmd_list_devices = '@libinput@-list-devices'
+
+ if args.verbose:
+ # Output various info/version info
diff --git a/pkgs/tools/inputmethods/libinput-gestures/default.nix b/pkgs/tools/inputmethods/libinput-gestures/default.nix
index 1d0ea40e34f4..52ef02b24f95 100644
--- a/pkgs/tools/inputmethods/libinput-gestures/default.nix
+++ b/pkgs/tools/inputmethods/libinput-gestures/default.nix
@@ -5,13 +5,13 @@
}:
stdenv.mkDerivation rec {
pname = "libinput-gestures";
- version = "2.39";
+ version = "2.72";
src = fetchFromGitHub {
owner = "bulletmark";
repo = "libinput-gestures";
rev = version;
- sha256 = "0bzyi55yhr9wyar9mnd09cr6pi88jkkp0f9lndm0a9jwi1xr4bdf";
+ sha256 = "sha256-si94aKyiJtRwg+JS0PazqRjGrA/zUwN8CCIKI5KLJNw=";
};
patches = [
./0001-hardcode-name.patch
diff --git a/pkgs/tools/misc/github-backup/default.nix b/pkgs/tools/misc/github-backup/default.nix
index 3ab7f10909e3..801848b6ec8b 100644
--- a/pkgs/tools/misc/github-backup/default.nix
+++ b/pkgs/tools/misc/github-backup/default.nix
@@ -6,11 +6,11 @@
python3.pkgs.buildPythonApplication rec {
pname = "github-backup";
- version = "0.40.1";
+ version = "0.41.0";
src = python3.pkgs.fetchPypi {
inherit pname version;
- sha256 = "sha256-Qrj0+4WXlW0UgG2xV/P8e0QgUG3VurY4HIAiiUF3LW8=";
+ sha256 = "6e6462125b930de4d28efed7ee0d4377e77371a4918768436c3cecf79cc87078";
};
makeWrapperArgs = [
diff --git a/pkgs/tools/misc/plantuml/default.nix b/pkgs/tools/misc/plantuml/default.nix
index 3a60c3be3692..3bfaf99d74e5 100644
--- a/pkgs/tools/misc/plantuml/default.nix
+++ b/pkgs/tools/misc/plantuml/default.nix
@@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
pname = "plantuml";
src = fetchurl {
- url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar";
- sha256 = "sha256-u40P3YFiWd419Bz1NvhIsPa7nASl/I9z/L2Q5v9eOAo=";
+ url = "https://github.com/plantuml/plantuml/releases/download/v${version}/plantuml-pdf-${version}.jar";
+ sha256 = "sha256-6ad6CUz1UAvNkhdUJhOME7OsLpIXiBoERfTmowzTz64=";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/tools/networking/openssh/common.nix b/pkgs/tools/networking/openssh/common.nix
index bd127b9092cc..4245d06a1cd0 100644
--- a/pkgs/tools/networking/openssh/common.nix
+++ b/pkgs/tools/networking/openssh/common.nix
@@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
patches = [
./locale_archive.patch
+ (fetchurl {
+ url = "https://git.alpinelinux.org/aports/plain/main/openssh/gss-serv.c.patch?id=a7509603971ce2f3282486a43bb773b1b522af83";
+ sha256 = "sha256-eFFOd4B2nccRZAQWwdBPBoKWjfEdKEVGJvKZAzLu3HU=";
+ })
+
# See discussion in https://github.com/NixOS/nixpkgs/pull/16966
./dont_create_privsep_path.patch
] ++ extraPatches;
diff --git a/pkgs/tools/networking/subnetcalc/default.nix b/pkgs/tools/networking/subnetcalc/default.nix
new file mode 100644
index 000000000000..db8c983be096
--- /dev/null
+++ b/pkgs/tools/networking/subnetcalc/default.nix
@@ -0,0 +1,31 @@
+{ lib, stdenv, fetchFromGitHub, cmake, ninja }:
+
+stdenv.mkDerivation rec {
+ pname = "subnetcalc";
+ version = "2.4.19";
+
+ src = fetchFromGitHub {
+ owner = "dreibh";
+ repo = pname;
+ rev = "${pname}-${version}";
+ sha256 = "sha256-70OHHcdCsZBa95KQEEYhs6LfpjPg+ULOB+A+VrQVltU=";
+ };
+
+ nativeBuildInputs = [ cmake ninja ];
+
+ meta = with lib; {
+ description = "SubNetCalc is an IPv4/IPv6 subnet address calculator";
+ longDescription = ''
+ SubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or
+ IPv6 address and netmask or prefix length, it calculates network address,
+ broadcast address, maximum number of hosts and host address range. Also,
+ it prints the addresses in binary format for better understandability.
+ Furthermore, it prints useful information on specific address types (e.g.
+ type, scope, interface ID, etc.).
+ '';
+ homepage = "https://www.uni-due.de/~be0001/subnetcalc/";
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ atila ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/tools/package-management/nix-du/default.nix b/pkgs/tools/package-management/nix-du/default.nix
index 3f5a73821cbc..20652557ce63 100644
--- a/pkgs/tools/package-management/nix-du/default.nix
+++ b/pkgs/tools/package-management/nix-du/default.nix
@@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec {
pname = "nix-du";
- version = "0.5.0";
+ version = "0.5.1";
src = fetchFromGitHub {
owner = "symphorien";
repo = "nix-du";
rev = "v${version}";
- sha256 = "sha256-NnoCoiYTXci7f9MXsxEhoYHwPsaAAuK2wSrDye2+SYM=";
+ sha256 = "sha256-LOs+geYOiAigxwc4VD0FiZQjAnIrcV9ncyPuwGhS92E=";
};
- cargoSha256 = "sha256-X5181gZtvnUHZAqMjNARRVFq12LuLJfPP5ZOWxBRxXk=";
+ cargoSha256 = "sha256-aEm+SQgE63ZWpb2kXavyoiq2rVkaebFw8kqWPMr2aMA=";
doCheck = true;
checkInputs = [ nix graphviz ];
diff --git a/pkgs/tools/package-management/nix-eval-jobs/default.nix b/pkgs/tools/package-management/nix-eval-jobs/default.nix
index 1023d23432c2..2d50dbc571d0 100644
--- a/pkgs/tools/package-management/nix-eval-jobs/default.nix
+++ b/pkgs/tools/package-management/nix-eval-jobs/default.nix
@@ -11,12 +11,12 @@
}:
stdenv.mkDerivation rec {
pname = "nix-eval-jobs";
- version = "0.0.4";
+ version = "0.0.5";
src = fetchFromGitHub {
owner = "nix-community";
repo = pname;
rev = "v${version}";
- hash = "sha256-SCwvFlBYUlxCucjMO4GHhEQWZFZt0lRKJncm6hvDx9I=";
+ hash = "sha256-3/F9q6MRebTltJzuhIukHrxgUyd5pi34IzaklfdvKe4=";
};
buildInputs = [
boost
diff --git a/pkgs/tools/security/exploitdb/default.nix b/pkgs/tools/security/exploitdb/default.nix
index b5ad987b27be..129d335bf496 100644
--- a/pkgs/tools/security/exploitdb/default.nix
+++ b/pkgs/tools/security/exploitdb/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "exploitdb";
- version = "2022-04-20";
+ version = "2022-04-23";
src = fetchFromGitHub {
owner = "offensive-security";
repo = pname;
rev = version;
- sha256 = "sha256-8sDixCXJA1K6hnPtLzNCB9gJh1GShCC89VTCJ63ohKA=";
+ sha256 = "sha256-KAbPiZ/iOwT8plqqZ4Q3Cl8+we2Tsi2GkkmXZCcmhHs=";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/tools/security/fail2ban/default.nix b/pkgs/tools/security/fail2ban/default.nix
index 6c3fb0727091..62bc16f6a414 100644
--- a/pkgs/tools/security/fail2ban/default.nix
+++ b/pkgs/tools/security/fail2ban/default.nix
@@ -17,6 +17,7 @@ python3.pkgs.buildPythonApplication rec {
pythonPath = with python3.pkgs;
lib.optionals stdenv.isLinux [
systemd
+ pyinotify
];
patches = [
diff --git a/pkgs/tools/security/metasploit/Gemfile b/pkgs/tools/security/metasploit/Gemfile
index bb742e3832c0..9ac0d904345b 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.1.38"
+gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.39"
diff --git a/pkgs/tools/security/metasploit/Gemfile.lock b/pkgs/tools/security/metasploit/Gemfile.lock
index d6e628191152..bbadd24eb8cd 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: 295599a02453423ea06e25c7f4347d88d1f2debc
- ref: refs/tags/6.1.38
+ revision: e1016aceec3bfd4aff85d0bcdc89ee7c88cf5bd4
+ ref: refs/tags/6.1.39
specs:
- metasploit-framework (6.1.38)
+ metasploit-framework (6.1.39)
actionpack (~> 6.0)
activerecord (~> 6.0)
activesupport (~> 6.0)
@@ -76,7 +76,7 @@ GIT
rex-text
rex-zip
ruby-macho
- ruby_smb (~> 3.0)
+ ruby_smb (~> 3.1.0)
rubyntlm
rubyzip
sinatra
@@ -129,31 +129,31 @@ GEM
arel-helpers (2.14.0)
activerecord (>= 3.1.0, < 8)
aws-eventstream (1.2.0)
- aws-partitions (1.577.0)
- aws-sdk-core (3.130.1)
+ aws-partitions (1.579.0)
+ aws-sdk-core (3.130.2)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
- aws-sdk-ec2 (1.307.0)
+ aws-sdk-ec2 (1.308.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-iam (1.68.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
- aws-sdk-kms (1.55.0)
+ aws-sdk-kms (1.56.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.113.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
- aws-sigv4 (1.4.0)
+ aws-sigv4 (1.5.0)
aws-eventstream (~> 1, >= 1.0.2)
bcrypt (3.1.17)
bcrypt_pbkdf (1.1.0)
bindata (2.4.10)
- bson (4.14.1)
+ bson (4.15.0)
builder (3.2.4)
concurrent-ruby (1.0.5)
cookiejar (0.3.3)
@@ -388,7 +388,7 @@ GEM
ruby-macho (3.0.0)
ruby-rc4 (0.1.5)
ruby2_keywords (0.0.5)
- ruby_smb (3.1.0)
+ ruby_smb (3.1.1)
bindata
openssl-ccm
openssl-cmac
diff --git a/pkgs/tools/security/metasploit/default.nix b/pkgs/tools/security/metasploit/default.nix
index 9f811999b79b..435b641a0b66 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.1.38";
+ version = "6.1.39";
src = fetchFromGitHub {
owner = "rapid7";
repo = "metasploit-framework";
rev = version;
- sha256 = "sha256-3wpO2+ALt5sw6TSGCp7ARn5TEHVi+bBgP4uJPRwVIOM=";
+ sha256 = "sha256-Idhxk9wNnWZmrY33afgkIicnSO3wWnqjiXYUFbXbERE=";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/tools/security/metasploit/gemset.nix b/pkgs/tools/security/metasploit/gemset.nix
index 2d4c4808f45e..e3c486c4b9f9 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 = "0rl0wcvcl1dnyzyxs0m6iyma0ibx2f9a2d4zac6hrdfcqf4s6zx9";
+ sha256 = "1ilhspsph7icrrz94f3qngjkj585hsyv9bnxr44iabcqqwymr79w";
type = "gem";
};
- version = "1.577.0";
+ version = "1.579.0";
};
aws-sdk-core = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0lrmk788830adljzfdv9ws4q7cqfh0qyp7w908pja4rkgsd4baln";
+ sha256 = "0hajbavfngn99hcz6n20162jygvwdflldvnlrza7z32hizawaaan";
type = "gem";
};
- version = "3.130.1";
+ version = "3.130.2";
};
aws-sdk-ec2 = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "13dbg60p44llx4h99s6vdqngkwkx1521ixvzrlj630wrjp6dfkp2";
+ sha256 = "0bqrgdw8kiy1pg3v4by1siqqhmjffr2xi5s0l5wj6l7z87n9wi9g";
type = "gem";
};
- version = "1.307.0";
+ version = "1.308.0";
};
aws-sdk-iam = {
groups = ["default"];
@@ -144,10 +144,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0fmpdll52ng1kfn4r5ndcyppn5553qvvxw87w58m9n70ga3avasi";
+ sha256 = "14dcfqqdx1dy7qwrdyqdvqjs53kswm4njvg34f61jpl9xi3h2yf3";
type = "gem";
};
- version = "1.55.0";
+ version = "1.56.0";
};
aws-sdk-s3 = {
groups = ["default"];
@@ -164,10 +164,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1wh1y79v0s4zgby2m79bnifk65hwf5pvk2yyrxzn2jkjjq8f8fqa";
+ sha256 = "0xp7diwq7nv4vvxrl9x3lis2l4x6bissrfzbfyy6rv5bmj5w109z";
type = "gem";
};
- version = "1.4.0";
+ version = "1.5.0";
};
bcrypt = {
groups = ["default"];
@@ -204,10 +204,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "03n3w96vpblaxvk1qk8hq7sbsmg4nv7qdkdr8f7nfvalgpakp5i5";
+ sha256 = "19vgs9rzzyvd7jfrzynjnc6518q0ffpfciyicfywbp77zl8nc9hk";
type = "gem";
};
- version = "4.14.1";
+ version = "4.15.0";
};
builder = {
groups = ["default"];
@@ -694,12 +694,12 @@
platforms = [];
source = {
fetchSubmodules = false;
- rev = "295599a02453423ea06e25c7f4347d88d1f2debc";
- sha256 = "1qr02lf3v2cb7xhb1yb2fl856zj6q2g0m1ilx4q9pdqbw3dlw2nz";
+ rev = "e1016aceec3bfd4aff85d0bcdc89ee7c88cf5bd4";
+ sha256 = "048ivfsia53ni6iplnphxm42f9r24kw6kxwdmmk6d78dvj9p3n11";
type = "git";
url = "https://github.com/rapid7/metasploit-framework";
};
- version = "6.1.38";
+ version = "6.1.39";
};
metasploit-model = {
groups = ["default"];
@@ -1387,10 +1387,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0j378l0zh3y2hdnxx753p2ds7nssi8v08fkv1wzm3yl5ws8zkxaf";
+ sha256 = "1v0dvys954c1d5azzz05p1jg57knk3d10b61wwfx00dw8pz76amw";
type = "gem";
};
- version = "3.1.0";
+ version = "3.1.1";
};
rubyntlm = {
groups = ["default"];
diff --git a/pkgs/tools/security/signify/default.nix b/pkgs/tools/security/signify/default.nix
index 3ac6f58dce94..645cb010bdf3 100644
--- a/pkgs/tools/security/signify/default.nix
+++ b/pkgs/tools/security/signify/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "signify";
- version = "30";
+ version = "31";
src = fetchFromGitHub {
owner = "aperezdc";
repo = "signify";
rev = "v${version}";
- sha256 = "02xh6x6rszkvk3rf6zai7n3ivchmw0d8mwllpinjxc7k6sd415c3";
+ sha256 = "sha256-y9jWG1JJhYCn6e5E2qjVqK8nmZpktiB7d9e9uP+3DLo=";
};
doCheck = true;
diff --git a/pkgs/tools/system/nvtop/default.nix b/pkgs/tools/system/nvtop/default.nix
index d310c1a7e8f1..b25897b69267 100644
--- a/pkgs/tools/system/nvtop/default.nix
+++ b/pkgs/tools/system/nvtop/default.nix
@@ -1,34 +1,62 @@
-{ lib, stdenv, fetchFromGitHub, cmake, cudatoolkit, ncurses, addOpenGLRunpath }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, cudatoolkit
+, libdrm
+, ncurses
+, addOpenGLRunpath
+, amd ? true
+, nvidia ? true
+}:
+let
+ pname-suffix = if amd && nvidia then "" else if amd then "-amd" else "-nvidia";
+ nvidia-postFixup = "addOpenGLRunpath $out/bin/nvtop";
+ libPath = lib.makeLibraryPath [ libdrm ncurses ];
+ amd-postFixup = ''
+ patchelf \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ --set-rpath "${libPath}" \
+ $out/bin/nvtop
+ '';
+in
stdenv.mkDerivation rec {
- pname = "nvtop";
- version = "1.2.2";
+ pname = "nvtop" + pname-suffix;
+ version = "2.0.1";
src = fetchFromGitHub {
owner = "Syllo";
repo = "nvtop";
rev = version;
- sha256 = "sha256-B/SRTOMp3VYShjSGxnF1ll58ijddJG7w/7nPK1fMltk=";
+ sha256 = "sha256-4Alc5pBXb38PUhTRhdKZMiW+P3daDB0q3jiVL8qqEe4=";
};
- cmakeFlags = [
- "-DNVML_INCLUDE_DIRS=${cudatoolkit}/include"
- "-DNVML_LIBRARIES=${cudatoolkit}/targets/x86_64-linux/lib/stubs/libnvidia-ml.so"
+ cmakeFlags = with lib; [
"-DCMAKE_BUILD_TYPE=Release"
- ];
+ ] ++ optional nvidia "-DNVML_INCLUDE_DIRS=${cudatoolkit}/include"
+ ++ optional nvidia "-DNVML_LIBRARIES=${cudatoolkit}/targets/x86_64-linux/lib/stubs/libnvidia-ml.so"
+ ++ optional (!amd) "-DAMDGPU_SUPPORT=OFF"
+ ++ optional (!nvidia) "-DNVIDIA_SUPPORT=OFF"
+ ++ optional amd "-DLibdrm_INCLUDE_DIRS=${libdrm}/lib/stubs/libdrm.so.2"
+ ;
+ nativeBuildInputs = [ cmake] ++ lib.optional nvidia addOpenGLRunpath;
+ buildInputs = with lib; [ ncurses ]
+ ++ optional nvidia cudatoolkit
+ ++ optional amd libdrm
+ ;
- nativeBuildInputs = [ cmake addOpenGLRunpath ];
- buildInputs = [ ncurses cudatoolkit ];
-
- postFixup = ''
- addOpenGLRunpath $out/bin/nvtop
- '';
+ # ordering of fixups is important
+ postFixup = (lib.optionalString amd amd-postFixup) + (lib.optionalString nvidia nvidia-postFixup);
meta = with lib; {
- description = "A (h)top like task monitor for NVIDIA GPUs";
+ description = "A (h)top like task monitor for AMD and NVIDIA GPUs";
+ longDescription = ''
+ Nvtop stands for Neat Videocard TOP, a (h)top like task monitor for AMD and NVIDIA GPUs. It can handle multiple GPUs and print information about them in a htop familiar way.
+ '';
homepage = "https://github.com/Syllo/nvtop";
license = licenses.gpl3;
platforms = platforms.linux;
- maintainers = with maintainers; [ willibutz ];
+ maintainers = with maintainers; [ willibutz gbtb ];
};
}
diff --git a/pkgs/tools/text/igrep/default.nix b/pkgs/tools/text/igrep/default.nix
index 87f9de373e23..bb93574f1ffb 100644
--- a/pkgs/tools/text/igrep/default.nix
+++ b/pkgs/tools/text/igrep/default.nix
@@ -9,16 +9,16 @@
rustPlatform.buildRustPackage rec {
pname = "igrep";
- version = "0.2.0";
+ version = "0.5.0";
src = fetchFromGitHub {
owner = "konradsz";
repo = "igrep";
rev = "v${version}";
- sha256 = "sha256-CH0wf9EhNnfi93W/4IJf6bPqU4pgw6Q9965Wjln9pso=";
+ sha256 = "sha256-mJtxqwbqofiDuiGokn24qdnck27w7w/3A5mdqZIU88U=";
};
- cargoSha256 = "sha256-VnZuRLBt/Q+D89+jKm0rak+ID5oNbvN1k8or3pYzfIM=";
+ cargoSha256 = "sha256-ikU4SRLu7PQGbidPmf2W39e3sE8QY8YMU6Q0eWhgvLM=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
diff --git a/pkgs/tools/wayland/wl-clipboard-x11/default.nix b/pkgs/tools/wayland/wl-clipboard-x11/default.nix
index 5e87342dff89..b5d15b4a978e 100644
--- a/pkgs/tools/wayland/wl-clipboard-x11/default.nix
+++ b/pkgs/tools/wayland/wl-clipboard-x11/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
description = "A wrapper to use wl-clipboard as a drop-in replacement for X11 clipboard tools";
homepage = "https://github.com/brunelli/wl-clipboard-x11";
license = licenses.gpl3Plus;
- maintainers = with maintainers; [ samuelgrf ];
+ maintainers = with maintainers; [ artturin ];
mainProgram = "xclip";
};
}
diff --git a/pkgs/tools/wayland/wlr-randr/default.nix b/pkgs/tools/wayland/wlr-randr/default.nix
index e2c941998a99..fe140720973e 100644
--- a/pkgs/tools/wayland/wlr-randr/default.nix
+++ b/pkgs/tools/wayland/wlr-randr/default.nix
@@ -5,6 +5,7 @@
, ninja
, pkg-config
, wayland
+, wayland-scanner
}:
stdenv.mkDerivation rec {
@@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
};
- nativeBuildInputs = [ meson ninja pkg-config ];
+ nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
buildInputs = [ wayland ];
meta = with lib; {
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 6a42ebc5b5be..437fd6b8abac 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -912,6 +912,7 @@ mapAliases ({
paperless-ng = paperless-ngx; # Added 2022-04-11
parity = openethereum; # Added 2020-08-01
parity-ui = throw "parity-ui was removed because it was broken and unmaintained by upstream"; # Added 2022-01-10
+ parlatype = throw "parlatype has been removed: unmaintained"; # Added 2022-04-24
parquet-cpp = throw "'parquet-cpp' has been renamed to/replaced by 'arrow-cpp'"; # Converted to throw 2022-02-22
patchmatrix = throw "'patchmatrix' has been renamed to/replaced by 'open-music-kontrollers.patchmatrix'"; # Added 2022-03-09
pass-otp = throw "'pass-otp' has been renamed to/replaced by 'pass.withExtensions'"; # Converted to throw 2022-02-22
@@ -998,6 +999,7 @@ mapAliases ({
plexpy = throw "'plexpy' has been renamed to/replaced by 'tautulli'"; # Converted to throw 2022-02-22
pltScheme = racket; # just to be sure
pmtools = throw "'pmtools' has been renamed to/replaced by 'acpica-tools'"; # Converted to throw 2022-02-22
+ pocketsphinx = throw "pocketsphinx has been removed: unmaintained"; # Added 2022-04-24
polarssl = throw "'polarssl' has been renamed to/replaced by 'mbedtls'"; # Converted to throw 2022-02-22
polysh = throw "polysh has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01
poppler_qt5 = throw "'poppler_qt5' has been renamed to/replaced by 'libsForQt5.poppler'"; # Converted to throw 2022-02-22
@@ -1031,6 +1033,7 @@ mapAliases ({
pinentry_gtk2 = pinentry-gtk2; # Added 2019-10-14
pinentry_qt = pinentry-qt; # Added 2019-10-14
pinentry_qt5 = pinentry-qt; # Added 2020-02-11
+ prboom = throw "prboom was removed because it was abandoned by upstream, use prboom-plus instead"; # Added 2022-04-24
privateer = throw "privateer was removed because it was broken"; # Added 2021-05-18
processing3 = processing; # Added 2019-08-16
procps-ng = throw "'procps-ng' has been renamed to/replaced by 'procps'"; # Converted to throw 2022-02-22
@@ -1044,6 +1047,7 @@ mapAliases ({
pulseaudioLight = throw "'pulseaudioLight' has been renamed to/replaced by 'pulseaudio'"; # Converted to throw 2022-02-22
pulseeffects = throw "Use pulseeffects-legacy if you use PulseAudio and easyeffects if you use PipeWire"; # Added 2021-02-13
pulseeffects-pw = easyeffects; # Added 2021-07-07
+ pydb = throw "pydb has been removed: abandoned by upstream"; # Added 2022-04-22
pyIRCt = throw "pyIRCt has been removed from nixpkgs as it is unmaintained and python2-only";
pyMAILt = throw "pyMAILt has been removed from nixpkgs as it is unmaintained and python2-only";
pybind11 = throw "pybind11 was removed because pythonPackages.pybind11 for the appropriate version of Python should be used"; # Added 2021-05-14
@@ -1197,6 +1201,7 @@ mapAliases ({
spectral = neochat; # Added 2020-12-27
speech_tools = throw "'speech_tools' has been renamed to/replaced by 'speech-tools'"; # Converted to throw 2022-02-22
speedtest_cli = throw "'speedtest_cli' has been renamed to/replaced by 'speedtest-cli'"; # Converted to throw 2022-02-22
+ sphinxbase = throw "sphinxbase has been removed: unmaintained"; # Added 2022-04-24
spice_gtk = throw "'spice_gtk' has been renamed to/replaced by 'spice-gtk'"; # Converted to throw 2022-02-22
spice_protocol = throw "'spice_protocol' has been renamed to/replaced by 'spice-protocol'"; # Converted to throw 2022-02-22
spidermonkey_1_8_5 = throw "spidermonkey_1_8_5 has been removed, because it is based on Firefox 4.0 from 2011"; # added 2021-05-03
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index c7845dd0191a..42b1424f1d8b 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -839,6 +839,8 @@ with pkgs;
srcOnly = callPackage ../build-support/src-only { };
+ subnetcalc = callPackage ../tools/networking/subnetcalc { };
+
substitute = callPackage ../build-support/substitute/substitute.nix { };
substituteAll = callPackage ../build-support/substitute/substitute-all.nix { };
@@ -7757,10 +7759,13 @@ with pkgs;
nodejs-slim-17_x = callPackage ../development/web/nodejs/v17.nix {
enableNpm = false;
};
+ nodejs-18_x = callPackage ../development/web/nodejs/v18.nix { };
+ nodejs-slim-18_x = callPackage ../development/web/nodejs/v18.nix {
+ enableNpm = false;
+ };
# Update this when adding the newest nodejs major version!
- # Do not set to nodejs-17_x because it requires 10.13 SDK on Darwin
- nodejs_latest = nodejs-16_x;
- nodejs-slim_latest = nodejs-slim-16_x;
+ nodejs_latest = nodejs-18_x;
+ nodejs-slim_latest = nodejs-slim-18_x;
nodePackages_latest = dontRecurseIntoAttrs nodejs_latest.pkgs;
@@ -9338,6 +9343,8 @@ with pkgs;
libpng = libpng12;
};
+ pngtools = callPackage ../tools/graphics/pngtools { };
+
pngpp = callPackage ../development/libraries/png++ { };
pngquant = callPackage ../tools/graphics/pngquant { };
@@ -9483,8 +9490,6 @@ with pkgs;
pycflow2dot = with python3.pkgs; toPythonApplication pycflow2dot;
- pydb = callPackage ../development/tools/pydb { };
-
pydf = callPackage ../applications/misc/pydf { };
pyinfra = with python3Packages; toPythonApplication pyinfra;
@@ -14141,6 +14146,8 @@ with pkgs;
wabt = callPackage ../development/tools/wabt { };
+ zuo = callPackage ../development/interpreters/zuo { };
+
### LUA interpreters
luaInterpreters = callPackage ./../development/interpreters/lua-5 {};
inherit (luaInterpreters) lua5_1 lua5_2 lua5_2_compat lua5_3 lua5_3_compat lua5_4 lua5_4_compat luajit_2_1 luajit_2_0;
@@ -15245,7 +15252,9 @@ with pkgs;
doit = with python3Packages; toPythonApplication doit;
- dolt = callPackage ../servers/sql/dolt { };
+ dolt = callPackage ../servers/sql/dolt {
+ buildGoModule = buildGo118Module;
+ };
dot2tex = with python3.pkgs; toPythonApplication dot2tex;
@@ -17080,7 +17089,9 @@ with pkgs;
fplll = callPackage ../development/libraries/fplll {};
fplll_20160331 = callPackage ../development/libraries/fplll/20160331.nix {};
- freeimage = callPackage ../development/libraries/freeimage { };
+ freeimage = callPackage ../development/libraries/freeimage {
+ libraw = libraw_unstable;
+ };
freetts = callPackage ../development/libraries/freetts {
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
@@ -17163,7 +17174,6 @@ with pkgs;
gegl = callPackage ../development/libraries/gegl {
inherit (darwin.apple_sdk.frameworks) OpenCL;
- libraw = libraw_0_20;
};
gensio = callPackage ../development/libraries/gensio {};
@@ -18595,6 +18605,8 @@ with pkgs;
libivykis = callPackage ../development/libraries/libivykis { };
+ libkqueue = callPackage ../development/libraries/libkqueue { };
+
liblastfmSF = callPackage ../development/libraries/liblastfmSF { };
liblcf = callPackage ../development/libraries/liblcf { };
@@ -19715,6 +19727,8 @@ with pkgs;
nvidia-optical-flow-sdk = callPackage ../development/libraries/nvidia-optical-flow-sdk { };
nvtop = callPackage ../tools/system/nvtop { };
+ nvtop-nvidia = callPackage ../tools/system/nvtop { amd = false; };
+ nvtop-amd = callPackage ../tools/system/nvtop { nvidia = false; };
ocl-icd = callPackage ../development/libraries/ocl-icd { };
@@ -19931,8 +19945,6 @@ with pkgs;
plib = callPackage ../development/libraries/plib { };
- pocketsphinx = callPackage ../development/libraries/pocketsphinx { };
-
poco = callPackage ../development/libraries/poco { };
podofo = callPackage ../development/libraries/podofo { };
@@ -20560,8 +20572,6 @@ with pkgs;
sphinx-serve = with python3Packages; toPythonApplication sphinx-serve;
- sphinxbase = callPackage ../development/libraries/sphinxbase { };
-
sphinxsearch = callPackage ../servers/search/sphinxsearch { };
spice = callPackage ../development/libraries/spice { };
@@ -23149,7 +23159,7 @@ with pkgs;
};
libraw = callPackage ../development/libraries/libraw { };
- libraw_0_20 = callPackage ../development/libraries/libraw/0_20.nix { };
+ libraw_unstable = callPackage ../development/libraries/libraw/unstable.nix { };
libraw1394 = callPackage ../development/libraries/libraw1394 { };
@@ -23555,6 +23565,8 @@ with pkgs;
s3ql = callPackage ../tools/backup/s3ql { };
+ sasutils = callPackage ../os-specific/linux/sasutils { };
+
sass = callPackage ../development/tools/sass { };
sassc = callPackage ../development/tools/sassc { };
@@ -25285,6 +25297,8 @@ with pkgs;
btops = callPackage ../applications/window-managers/btops { };
+ buho = libsForQt5.callPackage ../applications/office/buho { };
+
bvi = callPackage ../applications/editors/bvi { };
bviplus = callPackage ../applications/editors/bviplus { };
@@ -28644,8 +28658,6 @@ with pkgs;
paraview = libsForQt5.callPackage ../applications/graphics/paraview { };
- parlatype = callPackage ../applications/audio/parlatype { };
-
packet = callPackage ../development/tools/packet { };
packet-sd = callPackage ../development/tools/packet-sd { };
@@ -31870,7 +31882,7 @@ with pkgs;
powermanga = callPackage ../games/powermanga { };
- prboom = callPackage ../games/prboom { };
+ prboom-plus = callPackage ../games/prboom-plus { };
pysolfc = python3Packages.callPackage ../games/pysolfc { };
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index e2a37a9419cf..5ec75b92d0d3 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -631,6 +631,8 @@ in {
arrayqueues = callPackage ../development/python-modules/arrayqueues { };
+ arris-tg2492lg = callPackage ../development/python-modules/arris-tg2492lg { };
+
arrow = callPackage ../development/python-modules/arrow { };
arviz = callPackage ../development/python-modules/arviz { };
@@ -2099,6 +2101,8 @@ in {
dbutils = callPackage ../development/python-modules/dbutils { };
+ db-dtypes = callPackage ../development/python-modules/db-dtypes { };
+
dcmstack = callPackage ../development/python-modules/dcmstack { };
ddt = callPackage ../development/python-modules/ddt { };
@@ -2408,8 +2412,6 @@ in {
dm-haiku = callPackage ../development/python-modules/dm-haiku { };
- dm-sonnet = callPackage ../development/python-modules/dm-sonnet { };
-
dm-tree = callPackage ../development/python-modules/dm-tree {
abseil-cpp = pkgs.abseil-cpp.override {
cxxStandard = "14";
@@ -2930,6 +2932,8 @@ in {
fitbit = callPackage ../development/python-modules/fitbit { };
+ fivem-api = callPackage ../development/python-modules/fivem-api { };
+
fixerio = callPackage ../development/python-modules/fixerio { };
fixtures = callPackage ../development/python-modules/fixtures { };
@@ -3443,6 +3447,8 @@ in {
google-cloud-bigquery-logging = callPackage ../development/python-modules/google-cloud-bigquery-logging { };
+ google-cloud-bigquery-storage = callPackage ../development/python-modules/google-cloud-bigquery-storage { };
+
google-cloud-bigtable = callPackage ../development/python-modules/google-cloud-bigtable { };
google-cloud-container = callPackage ../development/python-modules/google-cloud-container { };
@@ -3584,8 +3590,6 @@ in {
graphite-web = callPackage ../development/python-modules/graphite-web { };
- graph_nets = callPackage ../development/python-modules/graph_nets { };
-
graphene = callPackage ../development/python-modules/graphene { };
graphene-django = callPackage ../development/python-modules/graphene-django { };
@@ -6128,6 +6132,8 @@ in {
pecan = callPackage ../development/python-modules/pecan { };
+ peco = callPackage ../development/python-modules/peco { };
+
peewee = callPackage ../development/python-modules/peewee { };
pefile = callPackage ../development/python-modules/pefile { };
@@ -7705,6 +7711,8 @@ in {
pyruckus = callPackage ../development/python-modules/pyruckus { };
+ pysaj = callPackage ../development/python-modules/pysaj { };
+
pysam = callPackage ../development/python-modules/pysam { };
pysaml2 = callPackage ../development/python-modules/pysaml2 {
@@ -7745,6 +7753,8 @@ in {
pysendfile = callPackage ../development/python-modules/pysendfile { };
+ pysensibo = callPackage ../development/python-modules/pysensibo { };
+
pysensors = callPackage ../development/python-modules/pysensors { };
pyserial-asyncio = callPackage ../development/python-modules/pyserial-asyncio { };
@@ -11221,6 +11231,8 @@ in {
zulip = callPackage ../development/python-modules/zulip { };
+ zwave-me-ws = callPackage ../development/python-modules/zwave-me-ws { };
+
zwave-js-server-python = callPackage ../development/python-modules/zwave-js-server-python { };
zxcvbn = callPackage ../development/python-modules/zxcvbn { };