git.iko.soy/typeable/nixpkgs
on master help sign in
192 files changed+3082−1626
since splitsnapshots
unifiedsplit
maintainers/maintainer-list.nix+12 nixos/maintainers/scripts/lxd/lxd-image.nix+1−1 nixos/modules/module-list.nix+1 nixos/modules/security/pam.nix+3−3 nixos/modules/services/hardware/udev.nix+32−7 nixos/modules/services/networking/ssh/sshd.nix+1 nixos/modules/services/web-apps/keycloak.nix+2−1 nixos/modules/virtualisation/vmware-host.nix+166 nixos/tests/all-tests.nix−1 nixos/tests/common/lxd/config.yaml+24 nixos/tests/lxd-image-server.nix+15−48 nixos/tests/lxd-image.nix−89 nixos/tests/lxd.nix+40−94 nixos/tests/openssh.nix+12−6 nixos/tests/pam/pam-oath-login.nix+1−1 nixos/tests/pgadmin4.nix+37−48 pkgs/applications/misc/kiln/default.nix+3−3 pkgs/applications/misc/libosmocore/default.nix+21−6 pkgs/applications/misc/skytemple/default.nix+5−2 pkgs/applications/misc/tut/default.nix+2−2 pkgs/applications/misc/udiskie/default.nix+30−25 pkgs/applications/misc/udiskie/locale-path.patch+17 pkgs/applications/misc/upwork/default.nix+3−3 pkgs/applications/misc/xpdf/default.nix+2−2 pkgs/applications/misc/xplr/default.nix+3−3 pkgs/applications/networking/browsers/brave/default.nix+8−5 pkgs/applications/networking/browsers/chromium/upstream-info.json+5−5 pkgs/applications/networking/browsers/microsoft-edge/default.nix+6−6 pkgs/applications/networking/cloudflared/default.nix+2−2 pkgs/applications/networking/cluster/fluxcd/default.nix+5−5 pkgs/applications/networking/cluster/fluxcd/update.sh+1−1 pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix+3−3 pkgs/applications/networking/firewalld/default.nix+104 pkgs/applications/networking/firewalld/respect-xml-catalog-files-var.patch+13 pkgs/applications/networking/instant-messengers/caprine-bin/default.nix+3−3 pkgs/applications/networking/instant-messengers/psi-plus/default.nix+2−2 pkgs/applications/networking/irc/senpai/default.nix+4−4 pkgs/applications/networking/modem-manager-gui/default.nix+15 pkgs/applications/networking/newsreaders/liferea/default.nix+2−2 pkgs/applications/networking/p2p/twister/default.nix−70 pkgs/applications/networking/seafile-client/default.nix+3−1 pkgs/applications/networking/sync/onedrive/default.nix+2−2 pkgs/applications/networking/zerobin/default.nix+1−1 pkgs/applications/office/libreoffice/soffice-template.desktop+6 pkgs/applications/office/libreoffice/wrapper.nix+25−12 pkgs/applications/office/qownnotes/default.nix+2−2 pkgs/applications/science/biology/bwa/default.nix+2 pkgs/applications/science/biology/megahit/default.nix+3 pkgs/applications/science/biology/samtools/default.nix+8−1 pkgs/applications/science/logic/easycrypt/default.nix+50 pkgs/applications/science/logic/easycrypt/runtest.nix+24 pkgs/applications/video/vlc/default.nix+2−2 pkgs/applications/virtualization/vmware-workstation/default.nix+341 pkgs/applications/virtualization/vmware-workstation/vmware-bootstrap+11 pkgs/applications/virtualization/vmware-workstation/vmware-config+21 pkgs/applications/virtualization/vmware-workstation/vmware-installer-bootstrap+5 pkgs/applications/virtualization/vmware-workstation/vmware-modconfig+8 pkgs/development/compilers/hare/hare.nix+2 pkgs/development/compilers/purescript/purescript/default.nix+2−4 pkgs/development/haskell-modules/configuration-darwin.nix−7 pkgs/development/interpreters/pixie/default.nix−94 pkgs/development/interpreters/pixie/dust.nix−46 pkgs/development/interpreters/pixie/load_paths.patch−25 pkgs/development/interpreters/pixie/make-paths-configurable.patch−119 pkgs/development/libraries/docopt_cpp/default.nix+10−2 pkgs/development/libraries/goocanvas/2.x.nix+2−2 pkgs/development/libraries/libdeltachat/default.nix+3−3 pkgs/development/libraries/libinjection/default.nix+12−4 pkgs/development/libraries/science/biology/htslib/default.nix+18−2 pkgs/development/libraries/science/math/caffe2/default.nix−151 pkgs/development/libraries/science/math/caffe2/fix_compilation_on_gcc7.patch−46 pkgs/development/libraries/science/math/caffe2/update_clang_cvtsh_bugfix.patch−55 pkgs/development/libraries/vulkan-loader/default.nix+2−1 pkgs/development/libraries/wolfssl/default.nix+2−2 pkgs/development/libraries/zimg/default.nix+2−2 pkgs/development/php-packages/openswoole/default.nix+22 pkgs/development/php-packages/pdepend/default.nix+41 pkgs/development/python-modules/afsapi/default.nix+3−3 pkgs/development/python-modules/aioairzone/default.nix+2−2 pkgs/development/python-modules/aioslimproto/default.nix+7−2 pkgs/development/python-modules/androidtv/default.nix+2−2 pkgs/development/python-modules/ansible/default.nix+3−2 pkgs/development/python-modules/async-upnp-client/default.nix+2−2 pkgs/development/python-modules/bleach/default.nix+2−2 pkgs/development/python-modules/breezy/default.nix+20−5 pkgs/development/python-modules/dungeon-eos/default.nix+2−2 pkgs/development/python-modules/fastbencode/default.nix+26 pkgs/development/python-modules/fontmake/default.nix+42 pkgs/development/python-modules/fonttools/default.nix+7−3 pkgs/development/python-modules/gbulb/default.nix+43 pkgs/development/python-modules/gcal-sync/default.nix+46 pkgs/development/python-modules/glyphslib/default.nix+59 pkgs/development/python-modules/howdoi/default.nix+16−2 pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix+26 pkgs/development/python-modules/meater-python/default.nix+37 pkgs/development/python-modules/nbclient/default.nix+33−10 pkgs/development/python-modules/nbconvert/default.nix+8−7 pkgs/development/python-modules/nvchecker/default.nix+2−2 pkgs/development/python-modules/openstep-plist/default.nix+31 pkgs/development/python-modules/peaqevcore/default.nix+2−2 pkgs/development/python-modules/py-desmume/default.nix+3−14 pkgs/development/python-modules/pychromecast/default.nix+2−2 pkgs/development/python-modules/pydeconz/default.nix+6−4 pkgs/development/python-modules/pyeapi/default.nix+36−8 pkgs/development/python-modules/pyevilgenius/default.nix+2−2 pkgs/development/python-modules/pyinfra/default.nix+2−2 pkgs/development/python-modules/pyinsteon/default.nix+3−3 pkgs/development/python-modules/pykulersky/default.nix+2−2 pkgs/development/python-modules/pynws/default.nix+2−2 pkgs/development/python-modules/pytomorrowio/default.nix+4−2 pkgs/development/python-modules/simplisafe-python/default.nix+6−2 pkgs/development/python-modules/skia-pathops/default.nix+43 pkgs/development/python-modules/skytemple-files/default.nix+2−2 pkgs/development/python-modules/skytemple-rust/default.nix+15−6 pkgs/development/python-modules/skytemple-ssb-debugger/default.nix+2−2 pkgs/development/python-modules/snowflake-connector-python/default.nix+2−2 pkgs/development/python-modules/sqlmap/default.nix+2−2 pkgs/development/python-modules/textual/default.nix+16−13 pkgs/development/python-modules/total-connect-client/default.nix+2−2 pkgs/development/python-modules/ufo2ft/default.nix+2−2 pkgs/development/python-modules/ufoLib2/default.nix+3 pkgs/development/python-modules/voluptuous/default.nix+15−11 pkgs/development/python-modules/wandb/default.nix+20−12 pkgs/development/python-modules/zigpy/default.nix+4−2 pkgs/development/python-modules/zwave-js-server-python/default.nix+2−2 pkgs/development/tools/analysis/codeql/default.nix+2−2 pkgs/development/tools/build-managers/bloop/default.nix+16−46 pkgs/development/tools/build-managers/scala-cli/default.nix+3−3 pkgs/development/tools/dive/default.nix−2 pkgs/development/tools/gosec/default.nix−2 pkgs/development/tools/just/default.nix+3−3 pkgs/development/tools/misc/clojure-lsp/default.nix+3−3 pkgs/development/tools/poetry2nix/poetry2nix/default.nix+10−2 pkgs/development/tools/poetry2nix/poetry2nix/lib.nix+1−1 pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json+153−5 pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix+98−4 pkgs/development/tools/protoc-gen-entgrpc/default.nix+28 pkgs/development/tools/rust/cargo-sync-readme/default.nix+4−3 pkgs/development/tools/rust/rust-analyzer/default.nix+3−3 pkgs/development/tools/wails/default.nix+3−3 pkgs/development/web/nodejs/nodejs.nix+1−1 pkgs/development/web/nodejs/v14.nix+2−2 pkgs/development/web/nodejs/v18.nix+2−2 pkgs/misc/platformsh/default.nix+2−2 pkgs/misc/rich-cli/default.nix+18−8 pkgs/os-specific/linux/nftables/default.nix+7−9 pkgs/os-specific/linux/vmware/default.nix+47 pkgs/servers/home-assistant/component-packages.nix+35−14 pkgs/servers/home-assistant/default.nix+15−4 pkgs/servers/home-assistant/frontend.nix+2−2 pkgs/servers/irc/inspircd/default.nix+2−2 pkgs/servers/keycloak/default.nix+4−4 pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix+7−7 pkgs/servers/monitoring/prometheus/haproxy-exporter.nix+9−7 pkgs/servers/web-apps/sogo/default.nix+2−2 pkgs/tools/X11/opentabletdriver/default.nix+2−2 pkgs/tools/X11/opentabletdriver/deps.nix+1−1 pkgs/tools/admin/aws-google-auth/default.nix+3−3 pkgs/tools/admin/lxd/default.nix+1 pkgs/tools/admin/pgadmin/default.nix+87−54 pkgs/tools/admin/pgadmin/package.json+7−4 pkgs/tools/admin/pgadmin/yarn.lock+231−22 pkgs/tools/admin/pgadmin/yarn.nix+226−18 pkgs/tools/admin/syft/default.nix+3−3 pkgs/tools/admin/winbox/default.nix+1−1 pkgs/tools/filesystems/ceph/default.nix+2−2 pkgs/tools/filesystems/xfsprogs/default.nix+2−2 pkgs/tools/misc/chezmoi/default.nix+3−3 pkgs/tools/misc/cht.sh/default.nix+3−3 pkgs/tools/misc/fclones/default.nix+3−3 pkgs/tools/misc/lookatme/default.nix−67 pkgs/tools/misc/rust-motd/default.nix+5−3 pkgs/tools/networking/pssh/default.nix+7−4 pkgs/tools/security/fulcio/default.nix+3−3 pkgs/tools/security/gopass/default.nix+3−3 pkgs/tools/security/grype/default.nix+3−3 pkgs/tools/security/jadx/default.nix+3−3 pkgs/tools/security/nmap/default.nix+6−18 pkgs/tools/security/oath-toolkit/update.sh+1−1 pkgs/tools/security/pass/extensions/otp.nix+3−3 pkgs/tools/security/plasma-pass/default.nix+2−2 pkgs/tools/security/tor/default.nix+9−5 pkgs/tools/system/freeipmi/default.nix+6−1 pkgs/tools/system/runitor/default.nix+52 pkgs/tools/text/xml/xpf/default.nix−21 pkgs/tools/virtualization/lxd-image-server/default.nix+3 pkgs/top-level/aliases.nix+9−1 pkgs/top-level/all-packages.nix+22−29 pkgs/top-level/linux-kernels.nix+2 pkgs/top-level/php-packages.nix+2 pkgs/top-level/python-packages.nix+26−1 pkgs/top-level/release-lib.nix+1−1
maintainers/maintainer-list.nix+12
@@ -1409,6 +1409,12 @@
14091409 githubId = 164148;
14101410 name = "Ben Darwin";
14111411 };
1412+ bdd = {
1413+ email = "bdd@mindcast.org";
1414+ github = "bdd";
1415+ githubId = 11135;
1416+ name = "Berk D. Demir";
1417+ };
14121418 bdesham = {
14131419 email = "benjamin@esham.io";
14141420 github = "bdesham";
@@ -14205,6 +14211,12 @@
1420514211 github = "deifactor";
1420614212 githubId = 30192992;
1420714213 };
14214+ deinferno = {
14215+ name = "deinferno";
14216+ email = "14363193+deinferno@users.noreply.github.com";
14217+ github = "deinferno";
14218+ githubId = 14363193;
14219+ };
1420814220 fzakaria = {
1420914221 name = "Farid Zakaria";
1421014222 email = "farid.m.zakaria@gmail.com";
nixos/maintainers/scripts/lxd/lxd-image.nix+1−1
@@ -27,7 +27,7 @@ with lib;
2727 networking.useDHCP = false;
2828 networking.interfaces.eth0.useDHCP = true;
2929
30− # As this is intended as a stadalone image, undo some of the minimal profile stuff
30+ # As this is intended as a standalone image, undo some of the minimal profile stuff
3131 documentation.enable = true;
3232 documentation.nixos.enable = true;
3333 environment.noXlibs = false;
nixos/modules/module-list.nix+1
@@ -1256,6 +1256,7 @@
12561256 ./virtualisation/virtualbox-guest.nix
12571257 ./virtualisation/virtualbox-host.nix
12581258 ./virtualisation/vmware-guest.nix
1259+ ./virtualisation/vmware-host.nix
12591260 ./virtualisation/waydroid.nix
12601261 ./virtualisation/xen-dom0.nix
12611262 ./virtualisation/xe-guest-utilities.nix
nixos/modules/security/pam.nix+3−3
@@ -492,7 +492,7 @@ let
492492 auth ${ussh.control} ${pkgs.pam_ussh}/lib/security/pam_ussh.so ${optionalString (ussh.caFile != null) "ca_file=${ussh.caFile}"} ${optionalString (ussh.authorizedPrincipals != null) "authorized_principals=${ussh.authorizedPrincipals}"} ${optionalString (ussh.authorizedPrincipalsFile != null) "authorized_principals_file=${ussh.authorizedPrincipalsFile}"} ${optionalString (ussh.group != null) "group=${ussh.group}"}
493493 '') +
494494 (let oath = config.security.pam.oath; in optionalString cfg.oathAuth ''
495− auth requisite ${pkgs.oathToolkit}/lib/security/pam_oath.so window=${toString oath.window} usersfile=${toString oath.usersFile} digits=${toString oath.digits}
495+ auth requisite ${pkgs.oath-toolkit}/lib/security/pam_oath.so window=${toString oath.window} usersfile=${toString oath.usersFile} digits=${toString oath.digits}
496496 '') +
497497 (let yubi = config.security.pam.yubico; in optionalString cfg.yubicoAuth ''
498498 auth ${yubi.control} ${pkgs.yubico-pam}/lib/security/pam_yubico.so mode=${toString yubi.mode} ${optionalString (yubi.challengeResponsePath != null) "chalresp_path=${yubi.challengeResponsePath}"} ${optionalString (yubi.mode == "client") "id=${toString yubi.id}"} ${optionalString yubi.debug "debug"}
@@ -1131,7 +1131,7 @@ in
11311131 ++ optional config.services.sssd.enable pkgs.sssd
11321132 ++ optionals config.krb5.enable [pam_krb5 pam_ccreds]
11331133 ++ optionals config.security.pam.enableOTPW [ pkgs.otpw ]
1134− ++ optionals config.security.pam.oath.enable [ pkgs.oathToolkit ]
1134+ ++ optionals config.security.pam.oath.enable [ pkgs.oath-toolkit ]
11351135 ++ optionals config.security.pam.p11.enable [ pkgs.pam_p11 ]
11361136 ++ optionals config.security.pam.u2f.enable [ pkgs.pam_u2f ];
11371137
@@ -1221,7 +1221,7 @@ in
12211221 mr ${pkgs.pam_ussh}/lib/security/pam_ussh.so,
12221222 '' +
12231223 optionalString (isEnabled (cfg: cfg.oathAuth)) ''
1224− "mr ${pkgs.oathToolkit}/lib/security/pam_oath.so,
1224+ "mr ${pkgs.oath-toolkit}/lib/security/pam_oath.so,
12251225 '' +
12261226 optionalString (isEnabled (cfg: cfg.yubicoAuth)) ''
12271227 mr ${pkgs.yubico-pam}/lib/security/pam_yubico.so,
nixos/modules/services/hardware/udev.nix+32−7
@@ -8,6 +8,24 @@ let
88
99 cfg = config.services.udev;
1010
11+ initrdUdevRules = pkgs.runCommand "initrd-udev-rules" {} ''
12+ mkdir -p $out/etc/udev/rules.d
13+ for f in 60-cdrom_id 60-persistent-storage 75-net-description 80-drivers 80-net-setup-link; do
14+ ln -s ${config.boot.initrd.systemd.package}/lib/udev/rules.d/$f.rules $out/etc/udev/rules.d
15+ done
16+ '';
17+
18+
19+ # networkd link files are used early by udev to set up interfaces early.
20+ # This must be done in stage 1 to avoid race conditions between udev and
21+ # network daemons.
22+ # TODO move this into the initrd-network module when it exists
23+ initrdLinkUnits = pkgs.runCommand "initrd-link-units" {} ''
24+ mkdir -p $out
25+ ln -s ${udev}/lib/systemd/network/*.link $out/
26+ ${lib.concatMapStringsSep "\n" (file: "ln -s ${file} $out/") (lib.mapAttrsToList (n: v: "${v.unit}/${n}") (lib.filterAttrs (n: _: hasSuffix ".link" n) config.systemd.network.units))}
27+ '';
28+
1129 extraUdevRules = pkgs.writeTextFile {
1230 name = "extra-udev-rules";
1331 text = cfg.extraRules;
@@ -350,7 +368,10 @@ in
350368 ];
351369 boot.initrd.systemd.storePaths = [
352370 "${config.boot.initrd.systemd.package}/lib/systemd/systemd-udevd"
353− "${config.boot.initrd.systemd.package}/lib/udev"
371+ "${config.boot.initrd.systemd.package}/lib/udev/ata_id"
372+ "${config.boot.initrd.systemd.package}/lib/udev/cdrom_id"
373+ "${config.boot.initrd.systemd.package}/lib/udev/scsi_id"
374+ "${config.boot.initrd.systemd.package}/lib/udev/rules.d"
354375 ] ++ map (x: "${x}/bin") config.boot.initrd.services.udev.binPackages;
355376
356377 # Generate the udev rules for the initrd
@@ -364,13 +385,17 @@ in
364385 systemd = config.boot.initrd.systemd.package;
365386 binPackages = config.boot.initrd.services.udev.binPackages ++ [ config.boot.initrd.systemd.contents."/bin".source ];
366387 };
388+ "/etc/systemd/network".source = initrdLinkUnits;
367389 };
368− # Insert custom rules
369− boot.initrd.services.udev.packages = mkIf (config.boot.initrd.services.udev.rules != "") (pkgs.writeTextFile {
370− name = "initrd-udev-rules";
371− destination = "/etc/udev/rules.d/99-local.rules";
372− text = config.boot.initrd.services.udev.rules;
373− });
390+ # Insert initrd rules
391+ boot.initrd.services.udev.packages = [
392+ initrdUdevRules
393+ (mkIf (config.boot.initrd.services.udev.rules != "") (pkgs.writeTextFile {
394+ name = "initrd-udev-rules";
395+ destination = "/etc/udev/rules.d/99-local.rules";
396+ text = config.boot.initrd.services.udev.rules;
397+ }))
398+ ];
374399
375400 environment.etc =
376401 {
nixos/modules/services/networking/ssh/sshd.nix+1
@@ -441,6 +441,7 @@ in
441441
442442 ${flip concatMapStrings cfg.hostKeys (k: ''
443443 if ! [ -s "${k.path}" ]; then
444+ rm -f "${k.path}"
444445 ssh-keygen \
445446 -t "${k.type}" \
446447 ${if k ? bits then "-b ${toString k.bits}" else ""} \
nixos/modules/services/web-apps/keycloak.nix+2−1
@@ -540,7 +540,8 @@ in
540540 db = if cfg.database.type == "postgresql" then "postgres" else cfg.database.type;
541541 db-username = if databaseActuallyCreateLocally then "keycloak" else cfg.database.username;
542542 db-password._secret = cfg.database.passwordFile;
543− db-url-host = "${cfg.database.host}:${toString cfg.database.port}";
543+ db-url-host = cfg.database.host;
544+ db-url-port = toString cfg.database.port;
544545 db-url-database = if databaseActuallyCreateLocally then "keycloak" else cfg.database.name;
545546 db-url-properties = prefixUnlessEmpty "?" dbProps;
546547 db-url = null;
nixos/modules/virtualisation/vmware-host.nixnew file+166
@@ -0,0 +1,166 @@
1+{ config, pkgs, lib, ... }:
2+
3+let
4+ cfg = config.virtualisation.vmware.host;
5+ wrapperDir = "/run/vmware/bin"; # Perfectly fits as /usr/local/bin
6+ parentWrapperDir = dirOf wrapperDir;
7+ vmwareWrappers = # Needed as hardcoded paths workaround
8+ let mkVmwareSymlink =
9+ program:
10+ ''
11+ ln -s "${config.security.wrapperDir}/${program}" $wrapperDir/${program}
12+ '';
13+ in
14+ [
15+ (mkVmwareSymlink "pkexec")
16+ (mkVmwareSymlink "mount")
17+ (mkVmwareSymlink "umount")
18+ ];
19+in
20+{
21+ options = with lib; {
22+ virtualisation.vmware.host = {
23+ enable = mkEnableOption "VMware" // {
24+ description = ''
25+ This enables VMware host virtualisation for running VMs.
26+
27+ <important><para>
28+ <literal>vmware-vmx</literal> will cause kcompactd0 due to
29+ <literal>Transparent Hugepages</literal> feature in kernel.
30+ Apply <literal>[ "transparent_hugepage=never" ]</literal> in
31+ option <option>boot.kernelParams</option> to disable them.
32+ </para></important>
33+
34+ <note><para>
35+ If that didn't work disable <literal>TRANSPARENT_HUGEPAGE</literal>,
36+ <literal>COMPACTION</literal> configs and recompile kernel.
37+ </para></note>
38+ '';
39+ };
40+ package = mkOption {
41+ type = types.package;
42+ default = pkgs.vmware-workstation;
43+ defaultText = literalExpression "pkgs.vmware-workstation";
44+ description = "VMware host virtualisation package to use";
45+ };
46+ extraPackages = mkOption {
47+ type = with types; listOf package;
48+ default = with pkgs; [ ];
49+ description = "Extra packages to be used with VMware host.";
50+ example = "with pkgs; [ ntfs3g ]";
51+ };
52+ extraConfig = mkOption {
53+ type = types.lines;
54+ default = "";
55+ description = "Add extra config to /etc/vmware/config";
56+ example = ''
57+ # Allow unsupported device's OpenGL and Vulkan acceleration for guest vGPU
58+ mks.gl.allowUnsupportedDrivers = "TRUE"
59+ mks.vk.allowUnsupportedDevices = "TRUE"
60+ '';
61+ };
62+ };
63+ };
64+
65+ config = lib.mkIf cfg.enable {
66+ boot.extraModulePackages = [ config.boot.kernelPackages.vmware ];
67+ boot.extraModprobeConfig = "alias char-major-10-229 fuse";
68+ boot.kernelModules = [ "vmw_pvscsi" "vmw_vmci" "vmmon" "vmnet" "fuse" ];
69+
70+ environment.systemPackages = [ cfg.package ] ++ cfg.extraPackages;
71+ services.printing.drivers = [ cfg.package ];
72+
73+ environment.etc."vmware/config".text = ''
74+ ${builtins.readFile "${cfg.package}/etc/vmware/config"}
75+ ${cfg.extraConfig}
76+ '';
77+
78+ environment.etc."vmware/bootstrap".source = "${cfg.package}/etc/vmware/bootstrap";
79+ environment.etc."vmware/icu".source = "${cfg.package}/etc/vmware/icu";
80+ environment.etc."vmware-installer".source = "${cfg.package}/etc/vmware-installer";
81+
82+ # SUID wrappers
83+
84+ security.wrappers = {
85+ vmware-vmx = {
86+ setuid = true;
87+ owner = "root";
88+ group = "root";
89+ source = "${cfg.package}/lib/vmware/bin/.vmware-vmx-wrapped";
90+ };
91+ };
92+
93+ ###### wrappers activation script
94+
95+ system.activationScripts.vmwareWrappers =
96+ lib.stringAfter [ "specialfs" "users" ]
97+ ''
98+ mkdir -p "${parentWrapperDir}"
99+ chmod 755 "${parentWrapperDir}"
100+ # We want to place the tmpdirs for the wrappers to the parent dir.
101+ wrapperDir=$(mktemp --directory --tmpdir="${parentWrapperDir}" wrappers.XXXXXXXXXX)
102+ chmod a+rx "$wrapperDir"
103+ ${lib.concatStringsSep "\n" (vmwareWrappers)}
104+ if [ -L ${wrapperDir} ]; then
105+ # Atomically replace the symlink
106+ # See https://axialcorps.com/2013/07/03/atomically-replacing-files-and-directories/
107+ old=$(readlink -f ${wrapperDir})
108+ if [ -e "${wrapperDir}-tmp" ]; then
109+ rm --force --recursive "${wrapperDir}-tmp"
110+ fi
111+ ln --symbolic --force --no-dereference "$wrapperDir" "${wrapperDir}-tmp"
112+ mv --no-target-directory "${wrapperDir}-tmp" "${wrapperDir}"
113+ rm --force --recursive "$old"
114+ else
115+ # For initial setup
116+ ln --symbolic "$wrapperDir" "${wrapperDir}"
117+ fi
118+ '';
119+
120+ # Services
121+
122+ systemd.services."vmware-authdlauncher" = {
123+ description = "VMware Authentification Daemon";
124+ serviceConfig = {
125+ Type = "forking";
126+ ExecStart = [ "${cfg.package}/bin/vmware-authdlauncher" ];
127+ };
128+ wantedBy = [ "multi-user.target" ];
129+ };
130+
131+ systemd.services."vmware-networks-configuration" = {
132+ description = "VMware Networks Configuration Generation";
133+ unitConfig.ConditionPathExists = "!/etc/vmware/networking";
134+ serviceConfig = {
135+ UMask = "0077";
136+ ExecStart = [
137+ "${cfg.package}/bin/vmware-networks --postinstall vmware-player,0,1"
138+ ];
139+ Type = "oneshot";
140+ RemainAfterExit = "yes";
141+ };
142+ wantedBy = [ "multi-user.target" ];
143+ };
144+
145+ systemd.services."vmware-networks" = {
146+ description = "VMware Networks";
147+ after = [ "vmware-networks-configuration.service" ];
148+ requires = [ "vmware-networks-configuration.service" ];
149+ serviceConfig = {
150+ Type = "forking";
151+ ExecCondition = [ "${pkgs.kmod}/bin/modprobe vmnet" ];
152+ ExecStart = [ "${cfg.package}/bin/vmware-networks --start" ];
153+ ExecStop = [ "${cfg.package}/bin/vmware-networks --stop" ];
154+ };
155+ wantedBy = [ "multi-user.target" ];
156+ };
157+
158+ systemd.services."vmware-usbarbitrator" = {
159+ description = "VMware USB Arbitrator";
160+ serviceConfig = {
161+ ExecStart = [ "${cfg.package}/bin/vmware-usbarbitrator -f" ];
162+ };
163+ wantedBy = [ "multi-user.target" ];
164+ };
165+ };
166+}
nixos/tests/all-tests.nix−1
@@ -284,7 +284,6 @@ in
284284 loki = handleTest ./loki.nix {};
285285 lvm2 = handleTest ./lvm2 {};
286286 lxd = handleTest ./lxd.nix {};
287− lxd-image = handleTest ./lxd-image.nix {};
288287 lxd-nftables = handleTest ./lxd-nftables.nix {};
289288 lxd-image-server = handleTest ./lxd-image-server.nix {};
290289 #logstash = handleTest ./logstash.nix {};
nixos/tests/common/lxd/config.yamlnew file+24
@@ -0,0 +1,24 @@
1+storage_pools:
2+ - name: default
3+ driver: dir
4+ config:
5+ source: /var/lxd-pool
6+
7+networks:
8+ - name: lxdbr0
9+ type: bridge
10+ config:
11+ ipv4.address: auto
12+ ipv6.address: none
13+
14+profiles:
15+ - name: default
16+ devices:
17+ eth0:
18+ name: eth0
19+ network: lxdbr0
20+ type: nic
21+ root:
22+ path: /
23+ pool: default
24+ type: disk
nixos/tests/lxd-image-server.nix+15−48
@@ -1,54 +1,21 @@
1−import ./make-test-python.nix ({ pkgs, ...} :
1+import ./make-test-python.nix ({ pkgs, lib, ... } :
22
33let
4− # Since we don't have access to the internet during the tests, we have to
5− # pre-fetch lxd containers beforehand.
6− #
7− # I've chosen to import Alpine Linux, because its image is turbo-tiny and,
8− # generally, sufficient for our tests.
9− alpine-meta = pkgs.fetchurl {
10− url = "https://tarballs.nixos.org/alpine/3.12/lxd.tar.xz";
11− hash = "sha256-1tcKaO9lOkvqfmG/7FMbfAEToAuFy2YMewS8ysBKuLA=";
12− };
13−
14− alpine-rootfs = pkgs.fetchurl {
15− url = "https://tarballs.nixos.org/alpine/3.12/rootfs.tar.xz";
16− hash = "sha256-Tba9sSoaiMtQLY45u7p5DMqXTSDgs/763L/SQp0bkCA=";
4+ lxd-image = import ../release.nix {
5+ configuration = {
6+ # Building documentation makes the test unnecessarily take a longer time:
7+ documentation.enable = lib.mkForce false;
8+ };
179 };
1810
19− lxd-config = pkgs.writeText "config.yaml" ''
20− storage_pools:
21− - name: default
22− driver: dir
23− config:
24− source: /var/lxd-pool
25−
26− networks:
27− - name: lxdbr0
28− type: bridge
29− config:
30− ipv4.address: auto
31− ipv6.address: none
32−
33− profiles:
34− - name: default
35− devices:
36− eth0:
37− name: eth0
38− network: lxdbr0
39− type: nic
40− root:
41− path: /
42− pool: default
43− type: disk
44− '';
45−
11+ lxd-image-metadata = lxd-image.lxdMeta.${pkgs.system};
12+ lxd-image-rootfs = lxd-image.lxdImage.${pkgs.system};
4613
4714in {
4815 name = "lxd-image-server";
4916
5017 meta = with pkgs.lib.maintainers; {
51− maintainers = [ mkg20001 ];
18+ maintainers = [ mkg20001 patryk27 ];
5219 };
5320
5421 nodes.machine = { lib, ... }: {
@@ -100,20 +67,20 @@ in {
10067 # lxd expects the pool's directory to already exist
10168 machine.succeed("mkdir /var/lxd-pool")
10269
103−
10470 machine.succeed(
105− "cat ${lxd-config} | lxd init --preseed"
71+ "cat ${./common/lxd/config.yaml} | lxd init --preseed"
10672 )
10773
10874 machine.succeed(
109− "lxc image import ${alpine-meta} ${alpine-rootfs} --alias alpine"
75+ "lxc image import ${lxd-image-metadata}/*/*.tar.xz ${lxd-image-rootfs}/*/*.tar.xz --alias nixos"
11076 )
11177
112− loc = "/var/www/simplestreams/images/iats/alpine/amd64/default/v1"
78+ loc = "/var/www/simplestreams/images/iats/nixos/amd64/default/v1"
11379
11480 with subtest("push image to server"):
115− machine.succeed("lxc launch alpine test")
116− machine.succeed("lxc stop test")
81+ machine.succeed("lxc launch nixos test")
82+ machine.sleep(5)
83+ machine.succeed("lxc stop -f test")
11784 machine.succeed("lxc publish --public test --alias=testimg")
11885 machine.succeed("lxc image export testimg")
11986 machine.succeed("ls >&2")
nixos/tests/lxd-image.nixdeleted−89
@@ -1,89 +0,0 @@
1−# This test ensures that the nixOS lxd images builds and functions properly
2−# It has been extracted from `lxd.nix` to seperate failures of just the image and the lxd software
3−
4−import ./make-test-python.nix ({ pkgs, ...} : let
5− release = import ../release.nix {
6− /* configuration = {
7− environment.systemPackages = with pkgs; [ stdenv ]; # inject stdenv so rebuild test works
8− }; */
9− };
10−
11− metadata = release.lxdMeta.${pkgs.system};
12− image = release.lxdImage.${pkgs.system};
13−
14− lxd-config = pkgs.writeText "config.yaml" ''
15− storage_pools:
16− - name: default
17− driver: dir
18− config:
19− source: /var/lxd-pool
20−
21− networks:
22− - name: lxdbr0
23− type: bridge
24− config:
25− ipv4.address: auto
26− ipv6.address: none
27−
28− profiles:
29− - name: default
30− devices:
31− eth0:
32− name: eth0
33− network: lxdbr0
34− type: nic
35− root:
36− path: /
37− pool: default
38− type: disk
39− '';
40−in {
41− name = "lxd-image";
42−
43− meta = with pkgs.lib.maintainers; {
44− maintainers = [ mkg20001 ];
45− };
46−
47− nodes.machine = { lib, ... }: {
48− virtualisation = {
49− # disk full otherwise
50− diskSize = 2048;
51−
52− lxc.lxcfs.enable = true;
53− lxd.enable = true;
54− };
55− };
56−
57− testScript = ''
58− machine.wait_for_unit("sockets.target")
59− machine.wait_for_unit("lxd.service")
60− machine.wait_for_file("/var/lib/lxd/unix.socket")
61−
62− # It takes additional second for lxd to settle
63− machine.sleep(1)
64−
65− # lxd expects the pool's directory to already exist
66− machine.succeed("mkdir /var/lxd-pool")
67−
68− machine.succeed(
69− "cat ${lxd-config} | lxd init --preseed"
70− )
71−
72− # TODO: test custom built container aswell
73−
74− with subtest("importing container works"):
75− machine.succeed("lxc image import ${metadata}/*/*.tar.xz ${image}/*/*.tar.xz --alias nixos")
76−
77− with subtest("launching container works"):
78− machine.succeed("lxc launch nixos machine -c security.nesting=true")
79− # make sure machine boots up properly
80− machine.sleep(5)
81−
82− with subtest("container shell works"):
83− machine.succeed("echo true | lxc exec machine /run/current-system/sw/bin/bash -")
84− machine.succeed("lxc exec machine /run/current-system/sw/bin/true")
85−
86− # with subtest("rebuilding works"):
87− # machine.succeed("lxc exec machine /run/current-system/sw/bin/nixos-rebuild switch")
88− '';
89−})
nixos/tests/lxd.nix+40−94
@@ -1,79 +1,18 @@
1−import ./make-test-python.nix ({ pkgs, ...} :
1+import ./make-test-python.nix ({ pkgs, lib, ... } :
22
33let
4− # Since we don't have access to the internet during the tests, we have to
5− # pre-fetch lxd containers beforehand.
6− #
7− # I've chosen to import Alpine Linux, because its image is turbo-tiny and,
8− # generally, sufficient for our tests.
9− alpine-meta-x86 = pkgs.fetchurl {
10− url = "https://tarballs.nixos.org/alpine/3.12/lxd.tar.xz";
11− hash = "sha256-1tcKaO9lOkvqfmG/7FMbfAEToAuFy2YMewS8ysBKuLA=";
12− };
13− alpine-meta-for = arch: pkgs.stdenv.mkDerivation {
14− name = "alpine-meta-${arch}";
15− version = "3.12";
16− unpackPhase = "true";
17− buildPhase = ''
18− runHook preBuild
19−
20− tar xvf ${alpine-meta-x86}
21− sed -i 's/architecture: .*/architecture: ${arch}/' metadata.yaml
22−
23− runHook postBuild
24− '';
25− installPhase = ''
26− runHook preInstall
27−
28− tar czRf $out *
29−
30− runHook postInstall
31− '';
32− };
4+ lxd-image = import ../release.nix {
5+ configuration = {
6+ # Building documentation makes the test unnecessarily take a longer time:
7+ documentation.enable = lib.mkForce false;
338
34− alpine-meta = {
35− x86_64-linux = alpine-meta-x86;
36− aarch64-linux = alpine-meta-for "aarch64";
37− }.${pkgs.system} or (throw "Unsupported system: ${pkgs.system}");
38−
39− alpine-rootfs = {
40− x86_64-linux = pkgs.fetchurl {
41− url = "https://tarballs.nixos.org/alpine/3.12/rootfs.tar.xz";
42− hash = "sha256-Tba9sSoaiMtQLY45u7p5DMqXTSDgs/763L/SQp0bkCA=";
43− };
44− aarch64-linux = pkgs.fetchurl {
45− url = "https://dl-cdn.alpinelinux.org/alpine/v3.15/releases/aarch64/alpine-minirootfs-3.15.4-aarch64.tar.gz";
46− hash = "sha256-9kBz8Jwmo8XepJhTMt5zilCaHHpflnUH7y9+0To39Us=";
9+ # Our tests require `grep` & friends:
10+ environment.systemPackages = with pkgs; [ busybox ];
4711 };
48− }.${pkgs.system} or (throw "Unsupported system: ${pkgs.system}");
49−
50− lxd-config = pkgs.writeText "config.yaml" ''
51− storage_pools:
52− - name: default
53− driver: dir
54− config:
55− source: /var/lxd-pool
56−
57− networks:
58− - name: lxdbr0
59− type: bridge
60− config:
61− ipv4.address: auto
62− ipv6.address: none
63−
64− profiles:
65− - name: default
66− devices:
67− eth0:
68− name: eth0
69− network: lxdbr0
70− type: nic
71− root:
72− path: /
73− pool: default
74− type: disk
75− '';
12+ };
7613
14+ lxd-image-metadata = lxd-image.lxdMeta.${pkgs.system};
15+ lxd-image-rootfs = lxd-image.lxdImage.${pkgs.system};
7716
7817in {
7918 name = "lxd";
@@ -84,6 +23,8 @@ in {
8423
8524 nodes.machine = { lib, ... }: {
8625 virtualisation = {
26+ diskSize = 2048;
27+
8728 # Since we're testing `limits.cpu`, we've gotta have a known number of
8829 # cores to lean on
8930 cores = 2;
@@ -108,61 +49,66 @@ in {
10849 machine.succeed("mkdir /var/lxd-pool")
10950
11051 machine.succeed(
111− "cat ${lxd-config} | lxd init --preseed"
52+ "cat ${./common/lxd/config.yaml} | lxd init --preseed"
11253 )
11354
11455 machine.succeed(
115− "lxc image import ${alpine-meta} ${alpine-rootfs} --alias alpine"
56+ "lxc image import ${lxd-image-metadata}/*/*.tar.xz ${lxd-image-rootfs}/*/*.tar.xz --alias nixos"
11657 )
11758
118− with subtest("Containers can be launched and destroyed"):
119− machine.succeed("lxc launch alpine test")
120− machine.succeed("lxc exec test true")
121− machine.succeed("lxc delete -f test")
59+ with subtest("Container can be managed"):
60+ machine.succeed("lxc launch nixos container")
61+ machine.sleep(5)
62+ machine.succeed("echo true | lxc exec container /run/current-system/sw/bin/bash -")
63+ machine.succeed("lxc exec container true")
64+ machine.succeed("lxc delete -f container")
12265
123− with subtest("Containers are being mounted with lxcfs inside"):
124− machine.succeed("lxc launch alpine test")
66+ with subtest("Container is mounted with lxcfs inside"):
67+ machine.succeed("lxc launch nixos container")
68+ machine.sleep(5)
12569
12670 ## ---------- ##
12771 ## limits.cpu ##
12872
129− machine.succeed("lxc config set test limits.cpu 1")
130− machine.succeed("lxc restart test")
73+ machine.succeed("lxc config set container limits.cpu 1")
74+ machine.succeed("lxc restart container")
75+ machine.sleep(5)
13176
132− # Since Alpine doesn't have `nproc` pre-installed, we've gotta resort
133− # to the primal methods
13477 assert (
13578 "1"
136− == machine.succeed("lxc exec test grep -- -c ^processor /proc/cpuinfo").strip()
79+ == machine.succeed("lxc exec container grep -- -c ^processor /proc/cpuinfo").strip()
13780 )
13881
139− machine.succeed("lxc config set test limits.cpu 2")
140− machine.succeed("lxc restart test")
82+ machine.succeed("lxc config set container limits.cpu 2")
83+ machine.succeed("lxc restart container")
84+ machine.sleep(5)
14185
14286 assert (
14387 "2"
144− == machine.succeed("lxc exec test grep -- -c ^processor /proc/cpuinfo").strip()
88+ == machine.succeed("lxc exec container grep -- -c ^processor /proc/cpuinfo").strip()
14589 )
14690
14791 ## ------------- ##
14892 ## limits.memory ##
14993
150− machine.succeed("lxc config set test limits.memory 64MB")
151− machine.succeed("lxc restart test")
94+ machine.succeed("lxc config set container limits.memory 64MB")
95+ machine.succeed("lxc restart container")
96+ machine.sleep(5)
15297
15398 assert (
15499 "MemTotal: 62500 kB"
155− == machine.succeed("lxc exec test grep -- MemTotal /proc/meminfo").strip()
100+ == machine.succeed("lxc exec container grep -- MemTotal /proc/meminfo").strip()
156101 )
157102
158− machine.succeed("lxc config set test limits.memory 128MB")
159− machine.succeed("lxc restart test")
103+ machine.succeed("lxc config set container limits.memory 128MB")
104+ machine.succeed("lxc restart container")
105+ machine.sleep(5)
160106
161107 assert (
162108 "MemTotal: 125000 kB"
163− == machine.succeed("lxc exec test grep -- MemTotal /proc/meminfo").strip()
109+ == machine.succeed("lxc exec container grep -- MemTotal /proc/meminfo").strip()
164110 )
165111
166− machine.succeed("lxc delete -f test")
112+ machine.succeed("lxc delete -f container")
167113 '';
168114})
nixos/tests/openssh.nix+12−6
@@ -80,17 +80,21 @@ in {
8080
8181 client.wait_for_unit("network.target")
8282 client.succeed(
83− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'echo hello world' >&2"
83+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'echo hello world' >&2",
84+ timeout=30
8485 )
8586 client.succeed(
86− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'ulimit -l' | grep 1024"
87+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'ulimit -l' | grep 1024",
88+ timeout=30
8789 )
8890
8991 client.succeed(
90− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'echo hello world' >&2"
92+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'echo hello world' >&2",
93+ timeout=30
9194 )
9295 client.succeed(
93− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'ulimit -l' | grep 1024"
96+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'ulimit -l' | grep 1024",
97+ timeout=30
9498 )
9599
96100 with subtest("configured-authkey"):
@@ -99,10 +103,12 @@ in {
99103 )
100104 client.succeed("chmod 600 privkey.snakeoil")
101105 client.succeed(
102− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server true"
106+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server true",
107+ timeout=30
103108 )
104109 client.succeed(
105− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server_lazy true"
110+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server_lazy true",
111+ timeout=30
106112 )
107113
108114 with subtest("localhost-only"):
nixos/tests/pam/pam-oath-login.nix+1−1
@@ -7,7 +7,7 @@ let
77 # how many passwords have been made. In this env, we'll always be on
88 # the 0th counter, so the password is static.
99 #
10− # Generated in nix-shell -p oathToolkit
10+ # Generated in nix-shell -p oath-toolkit
1111 # via: oathtool -v -d6 -w10 cdd4083ef8ff1fa9178c6d46bfb1a3
1212 # and picking a the first 4:
1313 oathSnakeOilPassword1 = "143349";
nixos/tests/pgadmin4.nix+37−48
@@ -1,53 +1,27 @@
1−import ./make-test-python.nix ({ pkgs, lib, ... }:
1+import ./make-test-python.nix ({ pkgs, lib, buildDeps ? [ ], pythonEnv ? [ ], ... }:
2+
3+ /*
4+ This test suite replaces the typical pytestCheckHook function in python
5+ packages. Pgadmin4 test suite needs a running and configured postgresql
6+ server. This is why this test exists.
7+
8+ To not repeat all the python dependencies needed, this test is called directly
9+ from the pgadmin4 derivation, which also passes the currently
10+ used propagatedBuildInputs and any python overrides.
11+
12+ Unfortunately, there doesn't seem to be an easy way to otherwise include
13+ the needed packages here.
14+
15+ Due the the needed parameters a direct call to "nixosTests.pgadmin4" fails
16+ and needs to be called as "pgadmin4.tests"
17+
18+ */
219
320 let
421 pgadmin4SrcDir = "/pgadmin";
522 pgadmin4Dir = "/var/lib/pgadmin";
623 pgadmin4LogDir = "/var/log/pgadmin";
724
8− python-with-needed-packages = pkgs.python3.withPackages (ps: with ps; [
9− selenium
10− testtools
11− testscenarios
12− flask
13− flask-babelex
14− flask-babel
15− flask-gravatar
16− flask_login
17− flask_mail
18− flask_migrate
19− flask_sqlalchemy
20− flask_wtf
21− flask-compress
22− passlib
23− pytz
24− simplejson
25− six
26− sqlparse
27− wtforms
28− flask-paranoid
29− psutil
30− psycopg2
31− python-dateutil
32− sqlalchemy
33− itsdangerous
34− flask-security-too
35− bcrypt
36− cryptography
37− sshtunnel
38− ldap3
39− gssapi
40− flask-socketio
41− eventlet
42− httpagentparser
43− user-agents
44− wheel
45− authlib
46− qrcode
47− pillow
48− pyotp
49− boto3
50− ]);
5125 in
5226 {
5327 name = "pgadmin4";
@@ -55,12 +29,27 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
5529
5630 nodes.machine = { pkgs, ... }: {
5731 imports = [ ./common/x11.nix ];
32+ # needed because pgadmin 6.8 will fail, if those dependencies get updated
33+ nixpkgs.overlays = [
34+ (self: super: {
35+ pythonPackages = pythonEnv;
36+ })
37+ ];
38+
5839 environment.systemPackages = with pkgs; [
5940 pgadmin4
6041 postgresql
61− python-with-needed-packages
6242 chromedriver
6343 chromium
44+ # include the same packages as in pgadmin minus speaklater3
45+ (python3.withPackages
46+ (ps: buildDeps ++
47+ [
48+ # test suite package requirements
49+ pythonPackages.testscenarios
50+ pythonPackages.selenium
51+ ])
52+ )
6453 ];
6554 services.postgresql = {
6655 enable = true;
@@ -121,7 +110,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
121110 with subtest("run browser test"):
122111 machine.succeed(
123112 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
124− && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg browser --exclude \
113+ && python regression/runtests.py --pkg browser --exclude \
125114 browser.tests.test_ldap_login.LDAPLoginTestCase,browser.tests.test_ldap_login'
126115 )
127116
@@ -131,13 +120,13 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
131120 machine.succeed(
132121 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
133122 && export FONTCONFIG_FILE=${pkgs.makeFontsConf { fontDirectories = [];}} \
134− && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg feature_tests'
123+ && python regression/runtests.py --pkg feature_tests'
135124 )
136125
137126 with subtest("run resql test"):
138127 machine.succeed(
139128 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
140− && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg resql'
129+ && python regression/runtests.py --pkg resql'
141130 )
142131 '';
143132 })
pkgs/applications/misc/kiln/default.nix+3−3
@@ -2,18 +2,18 @@
22
33buildGoModule rec {
44 pname = "kiln";
5− version = "0.2.1";
5+ version = "0.3.0";
66
77 src = fetchFromSourcehut {
88 owner = "~adnano";
99 repo = pname;
1010 rev = version;
11− hash = "sha256-c6ed62Nn++qw+U/DCiYeGwF77YsBxexWKZ7UQ3LE4fI=";
11+ hash = "sha256-owON9ZNi8BufkeARjC6SwxzM81YJYu+bakhH5quzMrA=";
1212 };
1313
1414 nativeBuildInputs = [ scdoc ];
1515
16− vendorSha256 = "sha256-bMpzebwbVHAbBtw0uuGyWd4wnM9z6tlsEQN4S/iucgk=";
16+ vendorSha256 = "sha256-C1ueL/zmPzFbpNo5BF56/t74nwCUvb2Vu1exssPqOPE=";
1717
1818 installPhase = ''
1919 runHook preInstall
pkgs/applications/misc/libosmocore/default.nix+21−6
@@ -1,16 +1,25 @@
1−{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
2−, pcsclite, talloc, python2, gnutls
1+{ lib, stdenv
2+, autoreconfHook
3+, fetchFromGitHub
4+, gnutls
5+, libmnl
6+, libusb1
7+, lksctp-tools
8+, pcsclite
9+, pkg-config
10+, python3
11+, talloc
312}:
413
514stdenv.mkDerivation rec {
615 pname = "libosmocore";
7− version = "1.2.0";
16+ version = "1.6.0";
817
918 src = fetchFromGitHub {
1019 owner = "osmocom";
1120 repo = "libosmocore";
1221 rev = version;
13− sha256 = "1535y6r4csvslrxcki80ya6zhhc5jw2nvy9bymb55ln77pf853vg";
22+ hash = "sha256-AjOyZiLlXhsetbyMBuUssoNxk22LzGOkZpeLt4vKli4=";
1423 };
1524
1625 propagatedBuildInputs = [
@@ -18,11 +27,17 @@ stdenv.mkDerivation rec {
1827 ];
1928
2029 nativeBuildInputs = [
21− autoreconfHook pkg-config
30+ autoreconfHook
31+ pkg-config
32+ python3
2233 ];
2334
2435 buildInputs = [
25− pcsclite python2 gnutls
36+ gnutls
37+ libmnl
38+ libusb1
39+ lksctp-tools
40+ pcsclite
2641 ];
2742
2843 enableParallelBuilding = true;
pkgs/applications/misc/skytemple/default.nix+5−2
@@ -2,13 +2,13 @@
22
33python3Packages.buildPythonApplication rec {
44 pname = "skytemple";
5− version = "1.3.2";
5+ version = "1.3.10";
66
77 src = fetchFromGitHub {
88 owner = "SkyTemple";
99 repo = pname;
1010 rev = version;
11− sha256 = "1sx2rib0la3mifvh84ia3jnnq4qw9jxc13vxyidsdkp6x82nbvcg";
11+ sha256 = "sha256-CyYGTXdQsGpDR/gpqViEQO1xUPHaXTES592nRJixa1o=";
1212 };
1313
1414 buildInputs = [
@@ -26,7 +26,10 @@ python3Packages.buildPythonApplication rec {
2626 packaging
2727 pycairo
2828 pygal
29+ psutil
30+ gbulb
2931 pypresence
32+ sentry-sdk
3033 setuptools
3134 skytemple-dtef
3235 skytemple-eventserver
pkgs/applications/misc/tut/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "tut";
5− version = "0.0.42";
5+ version = "0.0.46";
66
77 src = fetchFromGitHub {
88 owner = "RasmusLindroth";
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-zWhG9lzerzDqqFN8IG5JSv3voLzvtp/gg6jBisbodMc=";
11+ sha256 = "sha256-C9kyA6QuL8sqzCooaPzSP7VOpu7jcSFCUx9oaZLZ7/w=";
1212 };
1313
1414 vendorSha256 = "sha256-kMGEAN/I2XsIc6zCDbhbbstYlyjDpXQsOPUzjaJqJBk=";
pkgs/applications/misc/udiskie/default.nix+30−25
@@ -1,42 +1,47 @@
11{ lib
2+, asciidoc
23, fetchFromGitHub
3−, buildPythonApplication
4−, asciidoc-full
5−, docopt
6−, gettext
74, gobject-introspection
85, gtk3
9−, keyutils
6+, installShellFiles
107, libappindicator-gtk3
118, libnotify
129, librsvg
13−, nose
14−, pygobject3
15−, pyyaml
10+, python3
1611, udisks2
1712, wrapGAppsHook
1813}:
1914
20−buildPythonApplication rec {
15+python3.pkgs.buildPythonApplication rec {
2116 pname = "udiskie";
22− version = "2.4.0";
17+ version = "2.4.2";
18+
19+ format = "setuptools";
2320
2421 src = fetchFromGitHub {
2522 owner = "coldfix";
2623 repo = "udiskie";
2724 rev = "v${version}";
28− hash = "sha256-T4kMPMXfehZT7P+TOd1llR2TbHPA/quNL545xxlmJfE=";
25+ hash = "sha256-lQMJVSY3JeZYYOFDyV29Ye2j8r+ngE/ta2wQYipy4hU=";
2926 };
3027
31− outputs = [ "out" "man" ];
28+ patches = [
29+ ./locale-path.patch
30+ ];
31+
32+ postPatch = ''
33+ substituteInPlace udiskie/locale.py --subst-var out
34+ '';
3235
3336 nativeBuildInputs = [
34− asciidoc-full # Man page
35− gettext
37+ asciidoc # Man page
3638 gobject-introspection
39+ installShellFiles
3740 wrapGAppsHook
3841 ];
3942
43+ dontWrapGApps = true;
44+
4045 buildInputs = [
4146 gobject-introspection
4247 gtk3
@@ -46,8 +51,9 @@ buildPythonApplication rec {
4651 udisks2
4752 ];
4853
49− propagatedBuildInputs = [
54+ propagatedBuildInputs = with python3.pkgs; [
5055 docopt
56+ keyutils
5157 pygobject3
5258 pyyaml
5359 ];
@@ -57,21 +63,20 @@ buildPythonApplication rec {
5763 '';
5864
5965 postInstall = ''
60− mkdir -p $man/share/man/man8
61− cp -v doc/udiskie.8 $man/share/man/man8/
66+ installManPage doc/udiskie.8
6267 '';
6368
64− checkInputs = [
65− keyutils
66− nose
67− ];
68−
69− checkPhase = ''
70− nosetests
69+ preFixup = ''
70+ makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
7171 '';
7272
73+ checkInputs = with python3.pkgs; [
74+ pytestCheckHook
75+ ];
76+
7377 meta = with lib; {
7478 homepage = "https://github.com/coldfix/udiskie";
79+ changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst";
7580 description = "Removable disk automounter for udisks";
7681 longDescription = ''
7782 udiskie is a udisks2 front-end that allows to manage removeable media such
@@ -88,6 +93,6 @@ buildPythonApplication rec {
8893 - password caching (requires python keyutils 0.3)
8994 '';
9095 license = licenses.mit;
91− maintainers = with maintainers; [ AndersonTorres ];
96+ maintainers = with maintainers; [ AndersonTorres dotlambda ];
9297 };
9398}
pkgs/applications/misc/udiskie/locale-path.patchnew file+17
@@ -0,0 +1,17 @@
1+diff --git a/udiskie/locale.py b/udiskie/locale.py
2+index f12bea9..450e38b 100644
3+--- a/udiskie/locale.py
4++++ b/udiskie/locale.py
5+@@ -10,10 +10,8 @@ from gettext import translation
6+ testdirs = [
7+ # manual override:
8+ os.environ.get('TEXTDOMAINDIR'),
9+- # editable installation:
10+- os.path.join(os.path.dirname(__file__), '../build/locale'),
11+- # user or virtualenv installation:
12+- os.path.join(sys.prefix, 'share/locale'),
13++ # Nix installation:
14++ os.path.join('@out@', 'share/locale'),
15+ ]
16+ testfile = 'en_US/LC_MESSAGES/udiskie.mo'
17+ localedir = next(
pkgs/applications/misc/upwork/default.nix+3−3
@@ -6,11 +6,11 @@
66
77stdenv.mkDerivation rec {
88 pname = "upwork";
9− version = "5.6.10.7";
9+ version = "5.6.10.13";
1010
1111 src = fetchurl {
12− url = "https://upwork-usw2-desktopapp.upwork.com/binaries/v5_6_10_7_f806fd1250954801/${pname}_${version}_amd64.deb";
13− sha256 = "6fe11cd53ffb66a02aa771153c4f58af34fea25847ee5bc13802fec9b0db0280";
12+ url = "https://upwork-usw2-desktopapp.upwork.com/binaries/v5_6_10_13_3c485d1dd2af4f61/${pname}_${version}_amd64.deb";
13+ sha256 = "c3e1ecf14c99596f434edf93a2e08f031fbaa167025d1280cf19f68b829d6b79";
1414 };
1515
1616 nativeBuildInputs = [
pkgs/applications/misc/xpdf/default.nix+2−2
@@ -12,11 +12,11 @@ assert enablePrinting -> cups != null;
1212
1313stdenv.mkDerivation rec {
1414 pname = "xpdf";
15− version = "4.03";
15+ version = "4.04";
1616
1717 src = fetchzip {
1818 url = "https://dl.xpdfreader.com/xpdf-${version}.tar.gz";
19− sha256 = "09yhvmh1vxjy763nnmawynygp5bh3j4i8ixqja64j11676yl77n6";
19+ hash = "sha256-ujH9KDwFRjPIKwdMg79Mab9BfA2HooY5+2PESUgnGDY=";
2020 };
2121
2222 # Fix "No known features for CXX compiler", see
pkgs/applications/misc/xplr/default.nix+3−3
@@ -2,18 +2,18 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "xplr";
5− version = "0.17.3";
5+ version = "0.17.6";
66
77 src = fetchFromGitHub {
88 owner = "sayanarijit";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-BbD0Z/WGNaqpPowZqc4kmFLbL9/+JotKm7dWIgS3NjM=";
11+ sha256 = "1lgfa1y5vsm3gqxizdgbn816klcamqmshw817mwan5i5yx9nk6xz";
1212 };
1313
1414 buildInputs = lib.optional stdenv.isDarwin libiconv;
1515
16− cargoSha256 = "sha256-qsicWf15U5b4xMqkXDOrhGNrQmiZkoxBQwV58asQa8k=";
16+ cargoSha256 = "sha256-va+MKnHVdkQNq1SFvvoYnb28tW61W7d97LoCMNzwZHE=";
1717
1818 meta = with lib; {
1919 description = "A hackable, minimal, fast TUI file explorer";
pkgs/applications/networking/browsers/brave/default.nix+8−5
@@ -49,6 +49,9 @@
4949, pulseSupport ? stdenv.isLinux
5050, libpulseaudio
5151
52+# For GPU acceleration support on Wayland (without the lib it doesn't seem to work)
53+, libGL
54+
5255# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder,VaapiVideoEncoder)
5356, libvaSupport ? stdenv.isLinux
5457, libva
@@ -66,7 +69,7 @@ let
6669
6770 deps = [
6871 alsa-lib at-spi2-atk at-spi2-core atk cairo cups dbus expat
69− fontconfig freetype gdk-pixbuf glib gtk3 libdrm libX11
72+ fontconfig freetype gdk-pixbuf glib gtk3 libdrm libX11 libGL
7073 libxkbcommon libXScrnSaver libXcomposite libXcursor libXdamage
7174 libXext libXfixes libXi libXrandr libXrender libxshmfence
7275 libXtst libuuid mesa nspr nss pango pipewire udev wayland
@@ -128,9 +131,9 @@ stdenv.mkDerivation rec {
128131 ln -sf $BINARYWRAPPER $out/bin/brave
129132
130133 for exe in $out/opt/brave.com/brave/{brave,chrome_crashpad_handler}; do
131− patchelf \
132− --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
133− --set-rpath "${rpath}" $exe
134+ patchelf \
135+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
136+ --set-rpath "${rpath}" $exe
134137 done
135138
136139 # Fix paths
@@ -170,10 +173,10 @@ stdenv.mkDerivation rec {
170173 ${optionalString (disableFeatures != []) ''
171174 --add-flags "--disable-features=${strings.concatStringsSep "," disableFeatures}"
172175 ''}
173− --add-flags ${escapeShellArg commandLineArgs}
174176 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
175177 ${optionalString vulkanSupport ''
176178 --prefix XDG_DATA_DIRS : "${addOpenGLRunpath.driverLink}/share"
179+ --add-flags ${escapeShellArg commandLineArgs}
177180 ''}
178181 )
179182 '';
pkgs/applications/networking/browsers/chromium/upstream-info.json+5−5
@@ -45,9 +45,9 @@
4545 }
4646 },
4747 "ungoogled-chromium": {
48− "version": "101.0.4951.41",
49− "sha256": "0dzsbr309n70jg7fpq2qfnrgcm4553akvdmnzhss1fc85s467609",
50− "sha256bin64": "12nzzsp4040mwc7jah5w0p58ckv8s16wv6ylf6vlmfby06a4xlkq",
48+ "version": "101.0.4951.54",
49+ "sha256": "1d808a7mvg0nd0mm20c1ny5kdvb2xvrs8vz4nnk456ix8pywcv62",
50+ "sha256bin64": "1m6s6xf2wvz535w6jskk3pnibvsjpzmbxvd9rlxmqr08y219gp5y",
5151 "deps": {
5252 "gn": {
5353 "version": "2022-03-14",
@@ -56,8 +56,8 @@
5656 "sha256": "0nql15ckjqkm001xajq3qyn4h4q80i7x6dm9zinxxr1a8q5lppx3"
5757 },
5858 "ungoogled-patches": {
59− "rev": "101.0.4951.41-1",
60− "sha256": "19m31bd04yvba3w5iymkxfjnmilas3cfp383m9fl6pd4wwhy9md0"
59+ "rev": "101.0.4951.54-1",
60+ "sha256": "0zhzy7llqddvym992pwhkgqh2f6ywjqqg0bhahl6c0np95gzhpbs"
6161 }
6262 }
6363 }
pkgs/applications/networking/browsers/microsoft-edge/default.nix+6−6
@@ -1,20 +1,20 @@
11{
22 beta = import ./browser.nix {
33 channel = "beta";
4− version = "99.0.1150.16";
4+ version = "101.0.1210.19";
55 revision = "1";
6− sha256 = "sha256:0qsgs889d6qwxz9qf42psmjqfhmrqgp07srq5r38npl5pncr137h";
6+ sha256 = "sha256:1kgc19ryw69xiqppz90d6sa45g99hzkh7x5yk9d3xlh1gc1xn54p";
77 };
88 dev = import ./browser.nix {
99 channel = "dev";
10− version = "100.0.1163.1";
10+ version = "102.0.1227.0";
1111 revision = "1";
12− sha256 = "sha256:153faqxyw5f5b6cqnvd71dl7941znkzci8dwbcgaxway0b6882jq";
12+ sha256 = "sha256:0dnyandri7yg7c9812pnsxqszxyqcssxf87yskjg2vw95hawf11x";
1313 };
1414 stable = import ./browser.nix {
1515 channel = "stable";
16− version = "98.0.1108.56";
16+ version = "100.0.1185.44";
1717 revision = "1";
18− sha256 = "sha256:03jbj2s2fs60fzfgsmyb284q7nckji87qgb86mvl5g0hbl19aza7";
18+ sha256 = "sha256:0zv1zyijh620xz36a6nmhv7rbv4ln5f245hyh0w1sngynsl1rz89";
1919 };
2020}
pkgs/applications/networking/cloudflared/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "cloudflared";
5− version = "2022.4.1";
5+ version = "2022.5.0";
66
77 src = fetchFromGitHub {
88 owner = "cloudflare";
99 repo = "cloudflared";
1010 rev = version;
11− hash = "sha256-dgvXbWtLP6sXBlqcx/xpw9LIbcE4VlYZQO5rrS34+9I=";
11+ hash = "sha256-vz0fxSzx0vOpZy6/MVfZ467c9qdHUWZIL5wklTnnBBA=";
1212 };
1313
1414 vendorSha256 = null;
pkgs/applications/networking/cluster/fluxcd/default.nix+5−5
@@ -1,9 +1,9 @@
11{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }:
22
33let
4− version = "0.29.5";
5− sha256 = "1nqi7yk5d66fcjf6kyjivm3cbaqkj36ajgfvjm995q7cla2xyawm";
6− manifestsSha256 = "09rq7wiv3ixdp0p8isfp26vikyx523arzdyizi6yb90q6dl6hgc0";
4+ version = "0.30.2";
5+ sha256 = "0z4f0vf2n7vfp6ff0lxcl5qyl65ihd4absad8cd16hncz15nyjgl";
6+ manifestsSha256 = "04dlxzlrhggq54nkywn9nwdagdn43f0rb7cjkqdn3hlm4hwd07pb";
77
88 manifests = fetchzip {
99 url =
@@ -23,7 +23,7 @@ in buildGoModule rec {
2323 inherit sha256;
2424 };
2525
26− vendorSha256 = "sha256-dQV/8NF+sMiEoFr2wtR/oGqqn72JwH/JGbMREHIr/Tw=";
26+ vendorSha256 = "sha256-POziJtCdD4klu23WuGmWdt72Ugr4KwCAjXRTCuzikSk=";
2727
2828 postUnpack = ''
2929 cp -r ${manifests} source/cmd/flux/manifests
@@ -65,6 +65,6 @@ in buildGoModule rec {
6565 '';
6666 homepage = "https://fluxcd.io";
6767 license = licenses.asl20;
68− maintainers = with maintainers; [ jlesquembre bryanasdev000 ];
68+ maintainers = with maintainers; [ bryanasdev000 jlesquembre superherointj ];
6969 };
7070}
pkgs/applications/networking/cluster/fluxcd/update.sh+1−1
@@ -35,7 +35,7 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
3535 fi
3636
3737 # `git` flag here is to be used by local maintainers to speed up the bump process
38− if [ "$1" = "git" ]; then
38+ if [ $# -eq 1 ] && [ "$1" = "git" ]; then
3939 git switch -c "package-fluxcd-${LATEST_VERSION}"
4040 git add "$FLUXCD_PATH"/default.nix
4141 git commit -m "fluxcd: ${OLD_VERSION} -> ${LATEST_VERSION}"
pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix+3−3
@@ -1,13 +1,13 @@
11{ stdenv, lib, fetchurl, autoPatchelfHook, dpkg, awscli, unzip }:
22let
3− ver = "1.2.54.0";
3+ ver = "1.2.312.0";
44 source =
55 if stdenv.isDarwin then {
66 url = "https://s3.amazonaws.com/session-manager-downloads/plugin/${ver}/mac/sessionmanager-bundle.zip";
7− sha256 = "kgxoQrtu2tsV5t/3oA+Z2juY24hPOznPGjlQMsqOIZg=";
7+ sha256 = "50aac34a4dedddf20c20be24989ee5d33b46a72187791715fb9b395b54db8ef9";
88 } else {
99 url = "https://s3.amazonaws.com/session-manager-downloads/plugin/${ver}/ubuntu_64bit/session-manager-plugin.deb";
10− sha256 = "uug1cT4yRxNQcf+zWz0mi72G4EGa3eZHVuG36INSqrM=";
10+ sha256 = "2e51ce5bf8f23a1e590fff866bbdadcf82aa03c5054c671d9115482a1b263cc7";
1111 };
1212 archivePath = if stdenv.isDarwin then "sessionmanager-bundle" else "usr/local/sessionmanagerplugin";
1313in
pkgs/applications/networking/firewalld/default.nixnew file+104
@@ -0,0 +1,104 @@
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, autoreconfHook
5+, bash
6+, docbook_xml_dtd_42
7+, docbook-xsl-nons
8+, glib
9+, gobject-introspection
10+, gtk3
11+, intltool
12+, libnotify
13+, libxml2
14+, libxslt
15+, networkmanagerapplet
16+, pkg-config
17+, python3
18+, wrapGAppsNoGuiHook
19+, withGui ? false
20+}:
21+
22+let
23+ pythonPath = python3.withPackages (ps: with ps; [
24+ dbus-python
25+ nftables
26+ pygobject3
27+ ] ++ lib.optionals withGui [
28+ pyqt5
29+ pyqt5_sip
30+ ]);
31+in
32+stdenv.mkDerivation rec {
33+ pname = "firewalld";
34+ version = "1.1.1";
35+
36+ src = fetchFromGitHub {
37+ owner = "firewalld";
38+ repo = "firewalld";
39+ rev = "v${version}";
40+ sha256 = "sha256-w8TbovIhOhJAUZWbKdBd/+db8Hro/ttlxWZDcrCXX4Q=";
41+ };
42+
43+ patches = [
44+ ./respect-xml-catalog-files-var.patch
45+ ];
46+
47+ postPatch = ''
48+ substituteInPlace src/firewall/config/__init__.py.in \
49+ --replace "/usr/share" "$out/share"
50+
51+ for file in config/firewall-{applet,config}.desktop.in; do
52+ substituteInPlace $file \
53+ --replace "/usr/bin/" "$out/bin/"
54+ done
55+ '' + lib.optionalString withGui ''
56+ substituteInPlace src/firewall-applet.in \
57+ --replace "/usr/bin/nm-connection-editor" "${networkmanagerapplet}/bin/nm-conenction-editor"
58+ '';
59+
60+ nativeBuildInputs = [
61+ autoreconfHook
62+ docbook_xml_dtd_42
63+ docbook-xsl-nons
64+ glib
65+ intltool
66+ libxml2
67+ libxslt
68+ pkg-config
69+ python3
70+ python3.pkgs.wrapPython
71+ ] ++ lib.optionals withGui [
72+ gobject-introspection
73+ wrapGAppsNoGuiHook
74+ ];
75+
76+ buildInputs = [
77+ bash
78+ glib
79+ ] ++ lib.optionals withGui [
80+ gtk3
81+ libnotify
82+ pythonPath
83+ ];
84+
85+ dontWrapGApps = true;
86+
87+ preFixup = lib.optionalString withGui ''
88+ makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
89+ '';
90+
91+ postFixup = ''
92+ chmod +x $out/share/firewalld/*.py $out/share/firewalld/testsuite/python/*.py $out/share/firewalld/testsuite/{,integration/}testsuite
93+ patchShebangs --host $out/share/firewalld/testsuite/{,integration/}testsuite $out/share/firewalld/*.py
94+ wrapPythonProgramsIn "$out/bin" "$out ${pythonPath}"
95+ wrapPythonProgramsIn "$out/share/firewalld/testsuite/python" "$out ${pythonPath}"
96+ '';
97+
98+ meta = with lib; {
99+ description = "Firewall daemon with D-Bus interface";
100+ homepage = "https://github.com/firewalld/firewalld";
101+ license = licenses.gpl2Plus;
102+ maintainers = with maintainers; [ SuperSandro2000 ];
103+ };
104+}
pkgs/applications/networking/firewalld/respect-xml-catalog-files-var.patchnew file+13
@@ -0,0 +1,13 @@
1+--- a/m4/jh_path_xml_catalog.m4
2++++ b/m4/jh_path_xml_catalog.m4
3+@@ -40,8 +40,8 @@ AC_DEFUN([JH_CHECK_XML_CATALOG],
4+ [
5+ AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
6+ AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
7+- if $jh_found_xmlcatalog && \
8+- AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
9++ # empty argument forces libxml to use XML_CATALOG_FILES variable
10++ if AC_RUN_LOG([$XMLCATALOG --noout "" "$1" >&2]); then
11+ AC_MSG_RESULT([found])
12+ ifelse([$3],,,[$3
13+ ])dnl
pkgs/applications/networking/instant-messengers/caprine-bin/default.nix+3−3
@@ -1,7 +1,7 @@
11{ lib, callPackage, stdenvNoCC }:
22let
33 pname = "caprine";
4− version = "2.55.2";
4+ version = "2.55.4";
55 metaCommon = with lib; {
66 description = "An elegant Facebook Messenger desktop app";
77 homepage = "https://sindresorhus.com/caprine";
@@ -10,11 +10,11 @@ let
1010 };
1111 x86_64-appimage = callPackage ./build-from-appimage.nix {
1212 inherit pname version metaCommon;
13− sha256 = "J7eHVXjWSIcTpLMM8FlGKZzVh6XgpQ0d82kxfMbPyZ4=";
13+ sha256 = "221PyDoCkWqDdewCkFycpjMTcVOcl58blCjrC7O7xyk=";
1414 };
1515 x86_64-dmg = callPackage ./build-from-dmg.nix {
1616 inherit pname version metaCommon;
17− sha256 = "du/9N1BFq1s7spPiEDgDbjjcnkA0x1ExhAEpQvmO3aA=";
17+ sha256 = "6SOqlH7Z9DuQVR4i1OltnSb4dJscFUxaXxgNkE5FVUE=";
1818 };
1919in
2020(if stdenvNoCC.isDarwin then x86_64-dmg else x86_64-appimage).overrideAttrs (oldAttrs: {
pkgs/applications/networking/instant-messengers/psi-plus/default.nix+2−2
@@ -43,13 +43,13 @@ assert enablePsiMedia -> enablePlugins;
4343
4444mkDerivation rec {
4545 pname = "psi-plus";
46− version = "1.5.1615";
46+ version = "1.5.1618";
4747
4848 src = fetchFromGitHub {
4949 owner = "psi-plus";
5050 repo = "psi-plus-snapshots";
5151 rev = version;
52− sha256 = "sha256-aD+JVGmBWHUav2bH9rXGtgqI+/5lJTMrYLRP7E65JxI=";
52+ sha256 = "sha256-ueZYFOZFCPQrg9etZCrY5ZTn7PZMkcuwbXVPPbW9S/A=";
5353 };
5454
5555 cmakeFlags = [
pkgs/applications/networking/irc/senpai/default.nix+4−4
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "senpai";
5− version = "unstable-2021-12-14";
5+ version = "unstable-2022-04-29";
66
77 src = fetchFromSourcehut {
88 owner = "~taiite";
99 repo = "senpai";
10− rev = "8091752a67781273944e7a79a803b7a671378313";
11− sha256 = "sha256-tZp0ra/Sq/5MAFlAFHPJ94jYxtHbDiG1wSD4NOH1x7I=";
10+ rev = "859b8fdb7d433a848668c6f1a00406f107fe00e5";
11+ sha256 = "sha256-grVv/bcUEU6Aaf+4MbkocY/75u7q6Q7r26xK0ybULUg=";
1212 };
1313
14− vendorSha256 = "sha256-xkJh7k8GZmoZqE0HgbFp2xMJQOVDkPEXOZEl6bJZz1A=";
14+ vendorSha256 = "sha256-hgojB1D0/SZWLEzJ48EBoT/InYYmqD/1qoTknfk/aTo=";
1515
1616 subPackages = [
1717 "cmd/senpai"
pkgs/applications/networking/modem-manager-gui/default.nix+15
@@ -2,6 +2,7 @@
22, pkg-config
33, python3
44, fetchFromGitLab
5+, fetchpatch
56, gtk3
67, glib
78, gdbm
@@ -44,6 +45,20 @@ stdenv.mkDerivation rec {
4445 libayatana-appindicator-gtk3
4546 ];
4647
48+ patches = [
49+ # Fix missing tray icon
50+ (fetchpatch {
51+ url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/fix-tray-icon.patch";
52+ sha256 = "sha256-9LjCEQl8YfraVlO1W7+Yy7egLAPu5YfnvGvCI3uGFh8=";
53+ })
54+ # Fix build with meson 0.61
55+ # appdata/meson.build:3:5: ERROR: Function does not take positional arguments.
56+ (fetchpatch {
57+ url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/meson0.61.patch";
58+ sha256 = "sha256-B+tBPIz5RxOwZWYEWttqSKGw2Wbfk0mnBY0Zy0evvAQ=";
59+ })
60+ ];
61+
4762 postPatch = ''
4863 patchShebangs man/manhelper.py
4964 '';
pkgs/applications/networking/newsreaders/liferea/default.nix+2−2
@@ -23,11 +23,11 @@
2323
2424stdenv.mkDerivation rec {
2525 pname = "liferea";
26− version = "1.12.9";
26+ version = "1.13.8";
2727
2828 src = fetchurl {
2929 url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
30− sha256 = "06ybr1wjlfir8iqjx6x0v1knd4b2hsy30qmkk4kssy6ky2ahc66q";
30+ sha256 = "0x2857nhn98hlzqxmxb2h2wcasr5jkhciih71wcnp0cja60aw20h";
3131 };
3232
3333 nativeBuildInputs = [
pkgs/applications/networking/p2p/twister/default.nixdeleted−70
@@ -1,70 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkg-config, python2
2−, boost, db, openssl, geoip, libiconv, miniupnpc, srcOnly
3−}:
4−
5−let
6− twisterHTML = srcOnly {
7− name = "twister-html";
8− src = fetchFromGitHub {
9− owner = "miguelfreitas";
10− repo = "twister-html";
11− rev = "01e7f7ca9b7e42ed90f91bc42da2c909ca5c0b9b";
12− sha256 = "sha256-Hi/VAEwujWhKAPaYIuvrxRIuPQa9AYwXiHUGbWxckmk=";
13− };
14− };
15−
16− boostPython = boost.override {
17− enablePython = true;
18− python = python2;
19− };
20−
21−in stdenv.mkDerivation rec {
22− pname = "twister";
23− version = "2019-08-19";
24−
25− src = fetchFromGitHub {
26− owner = "miguelfreitas";
27− repo = "twister-core";
28− rev = "31faf3f63e461ea0a9b23081567a4a552cf06873";
29− sha256 = "0xh1lgnl9nd86jr0mp7m8bkd7r5j4d6chd0y73h2xv4aq5sld0sp";
30− };
31−
32− configureFlags = [
33− "--with-libgeoip"
34− "--with-libiconv"
35− "--disable-deprecated-functions"
36− "--enable-tests"
37− "--enable-python-binding"
38− "--with-boost-libdir=${boostPython.out}/lib"
39− ];
40−
41− nativeBuildInputs = [ pkg-config automake autoconf ];
42− buildInputs = [
43− libtool python2
44− boostPython db openssl geoip miniupnpc libiconv
45− ];
46−
47− postPatch = ''
48− sed -i -e '/-htmldir/s|(default: [^)]*)|(default: ${twisterHTML})|' \
49− src/init.cpp
50− sed -i -e '/GetDataDir.*html/s|path *= *[^;]*|path = "${twisterHTML}"|' \
51− src/util.cpp
52− '';
53−
54− preConfigure = ''
55− sh autotool.sh
56− '';
57−
58− installPhase = ''
59− install -vD twisterd "$out/bin/twisterd"
60− '';
61−
62− enableParallelBuilding = true;
63−
64− meta = {
65− homepage = "http://www.twister.net.co/";
66− description = "Peer-to-peer microblogging";
67− license = lib.licenses.mit;
68− platforms = lib.platforms.linux;
69− };
70−}
pkgs/applications/networking/seafile-client/default.nix+3−1
@@ -9,7 +9,9 @@ mkDerivation rec {
99 src = fetchFromGitHub {
1010 owner = "haiwen";
1111 repo = "seafile-client";
12− rev = "v${version}";
12+ # Tag v8.0.7 used to point to this commit, but was re-tagged later to a state
13+ # that fails to link properly
14+ rev = "8b96abf64e6aa19e3beeff6b322bcd6d28120bdd";
1315 sha256 = "00wfr7dvbyl7pg1xgssgz8a94c7c4n5r9266lhy9qcbz456hdcgj";
1416 };
1517
pkgs/applications/networking/sync/onedrive/default.nix+2−2
@@ -14,13 +14,13 @@
1414
1515stdenv.mkDerivation rec {
1616 pname = "onedrive";
17− version = "2.4.16";
17+ version = "2.4.17";
1818
1919 src = fetchFromGitHub {
2020 owner = "abraunegg";
2121 repo = pname;
2222 rev = "v${version}";
23− sha256 = "sha256-GoufEcCu/Cg2Fu0RcjTi4te/7+gZfQRTj+AtK0YnF5I=";
23+ hash = "sha256-+ADAPxAZNDqLKLz6rAProqSDINDiTZhc2trxJFFMQeA=";
2424 };
2525
2626 nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
pkgs/applications/networking/zerobin/default.nix+1−1
@@ -40,7 +40,7 @@ python3Packages.buildPythonApplication rec {
4040 # relax version constraints of some dependencies
4141 substituteInPlace setup.cfg \
4242 --replace "clize==4.1.1" "clize" \
43− --replace "bleach==3.1.5" "bleach>=3.1.5,<5" \
43+ --replace "bleach==3.1.5" "bleach>=3.1.5,<6" \
4444 --replace "bottle==0.12.18" "bottle>=0.12.18,<1" \
4545 --replace "Paste==3.4.3" "Paste>=3.4.3,<4"
4646 '';
pkgs/applications/office/libreoffice/soffice-template.desktopnew file+6
@@ -0,0 +1,6 @@
1+[Desktop Entry]
2+Name=LibreOffice @app@...
3+Comment=Enter LibreOffice @app@ filename:
4+Type=Link
5+URL=.source/soffice.@ext@
6+Icon=libreoffice-oasis-@type@
pkgs/applications/office/libreoffice/wrapper.nix+25−12
@@ -1,19 +1,32 @@
1−{ libreoffice, runCommand, dbus, bash }:
2−let
3− jdk = libreoffice.jdk;
4−in
5−(runCommand libreoffice.name {
6− inherit dbus libreoffice jdk bash;
7−} ''
1+{ lib, runCommand
2+, libreoffice, dbus, bash, substituteAll
3+, dolphinTemplates ? true
4+}:
5+runCommand libreoffice.name {
6+ inherit (libreoffice) jdk meta;
7+ inherit dbus libreoffice bash;
8+} (''
89 mkdir -p "$out/bin"
9− ln -s "${libreoffice}/share" "$out/share"
1010 substituteAll "${./wrapper.sh}" "$out/bin/soffice"
1111 chmod a+x "$out/bin/soffice"
1212
1313 for i in $(ls "${libreoffice}/bin/"); do
1414 test "$i" = "soffice" || ln -s soffice "$out/bin/$(basename "$i")"
1515 done
16−'') // {
17− inherit libreoffice dbus;
18− meta = libreoffice.meta;
19−}
16+
17+ mkdir -p "$out/share"
18+ ln -s "${libreoffice}/share"/* $out/share
19+'' + lib.optionalString dolphinTemplates ''
20+ # Add templates to dolphin "Create new" menu - taken from debian
21+
22+ # We need to unpack the core source since the necessary files aren't available in the libreoffice output
23+ unpackFile "${libreoffice.src}"
24+
25+ install -D "${libreoffice.name}"/extras/source/shellnew/soffice.* --target-directory="$out/share/templates/.source"
26+
27+ cp ${substituteAll {src = ./soffice-template.desktop; app="Writer"; ext="odt"; type="text"; }} $out/share/templates/soffice.odt.desktop
28+ cp ${substituteAll {src = ./soffice-template.desktop; app="Calc"; ext="ods"; type="spreadsheet"; }} $out/share/templates/soffice.ods.desktop
29+ cp ${substituteAll {src = ./soffice-template.desktop; app="Impress"; ext="odp"; type="presentation";}} $out/share/templates/soffice.odp.desktop
30+ cp ${substituteAll {src = ./soffice-template.desktop; app="Draw"; ext="odg"; type="drawing"; }} $out/share/templates/soffice.odg.desktop
31+'')
32+
pkgs/applications/office/qownnotes/default.nix+2−2
@@ -5,13 +5,13 @@
55
66mkDerivation rec {
77 pname = "qownnotes";
8− version = "22.4.1";
8+ version = "22.5.0";
99
1010 src = fetchurl {
1111 url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
1212 # Fetch the checksum of current version with curl:
1313 # curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
14− sha256 = "b9ce77ecd5bb48bd6534068b0582dfaa3b828f800b19ddec80387a84e00766da";
14+ sha256 = "52a81401a4a03c77e28f37f56c3ebdc6696ff43c75cc9330d10ba7e801f48ccd";
1515 };
1616
1717 nativeBuildInputs = [ qmake qttools ];
pkgs/applications/science/biology/bwa/default.nix+2
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
1717 sed -i '/^CC/d' Makefile
1818 '';
1919
20+ makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";
21+
2022 # it's unclear which headers are intended to be part of the public interface
2123 # so we may find ourselves having to add more here over time
2224 installPhase = ''
pkgs/applications/science/biology/megahit/default.nix+3
@@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ zlib ];
1616
17+ cmakeFlags = lib.optional stdenv.hostPlatform.isStatic [
18+ "-DSTATIC_BUILD=ON"
19+ ];
1720 meta = with lib; {
1821 description = "An ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph";
1922 license = licenses.gpl3;
pkgs/applications/science/biology/samtools/default.nix+8−1
@@ -22,8 +22,15 @@ stdenv.mkDerivation rec {
2222
2323 buildInputs = [ zlib ncurses htslib ];
2424
25+ preConfigure = lib.optional stdenv.hostPlatform.isStatic ''
26+ export LIBS="-lz -lbz2 -llzma"
27+ '';
28+ makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";
29+
2530 configureFlags = [ "--with-htslib=${htslib}" ]
26− ++ lib.optional (ncurses == null) "--without-curses";
31+ ++ lib.optional (ncurses == null) "--without-curses"
32+ ++ lib.optional stdenv.hostPlatform.isStatic ["--without-curses" ]
33+ ;
2734
2835 preCheck = ''
2936 patchShebangs test/
pkgs/applications/science/logic/easycrypt/default.nixnew file+50
@@ -0,0 +1,50 @@
1+{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3 }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "easycrypt";
5+ version = "2022.04";
6+
7+ src = fetchFromGitHub {
8+ owner = pname;
9+ repo = pname;
10+ rev = "r${version}";
11+ sha256 = "sha256:09rdwcj70lkamkhd895p284rfpz4bcnsf55mcimhiqncd2a21ml7";
12+ };
13+
14+ nativeBuildInputs = with ocamlPackages; [
15+ dune_3
16+ findlib
17+ menhir
18+ ocaml
19+ ];
20+ buildInputs = with ocamlPackages; [
21+ batteries
22+ dune-build-info
23+ inifiles
24+ yojson
25+ zarith
26+ ];
27+
28+ propagatedBuildInputs = [ why3 ];
29+
30+ strictDeps = true;
31+
32+ postPatch = ''
33+ substituteInPlace dune-project --replace '(name easycrypt)' '(name easycrypt)(version ${version})'
34+ '';
35+
36+ installPhase = ''
37+ runHook preInstall
38+ dune install --prefix $out ${pname}
39+ rm $out/bin/ec-runtest
40+ runHook postInstall
41+ '';
42+
43+ meta = {
44+ license = lib.licenses.mit;
45+ maintainers = [ lib.maintainers.vbgl ];
46+ platforms = lib.platforms.all;
47+ homepage = "https://easycrypt.info/";
48+ description = "Computer-Aided Cryptographic Proofs";
49+ };
50+}
pkgs/applications/science/logic/easycrypt/runtest.nixnew file+24
@@ -0,0 +1,24 @@
1+{ python3Packages, easycrypt }:
2+
3+python3Packages.buildPythonApplication rec {
4+ inherit (easycrypt) src version;
5+
6+ pname = "easycrypt-runtest";
7+
8+ dontConfigure = true;
9+ dontBuild = true;
10+ doCheck = false;
11+
12+ pythonPath = with python3Packages; [ pyyaml ];
13+
14+ installPhase = ''
15+ runHook preInstall
16+ mkdir -p $out/bin
17+ cp scripts/testing/runtest $out/bin/ec-runtest
18+ runHook postInstall
19+ '';
20+
21+ meta = easycrypt.meta // {
22+ description = "Testing program for EasyCrypt formalizations";
23+ };
24+}
pkgs/applications/video/vlc/default.nix+2−2
@@ -82,11 +82,11 @@ let
8282in
8383stdenv.mkDerivation rec {
8484 pname = "${optionalString onlyLibVLC "lib"}vlc";
85− version = "3.0.17";
85+ version = "3.0.17.3";
8686
8787 src = fetchurl {
8888 url = "http://get.videolan.org/vlc/${version}/vlc-${version}.tar.xz";
89− sha256 = "sha256-SL2b8zeqEHoVJOulfFLcSpHin1qX+97pL2pNupA4PNA=";
89+ sha256 = "sha256-b36Q74lz0x2W3mTbgXFz40UVCClxepQISxu4MhzeIBQ=";
9090 };
9191
9292 # VLC uses a *ton* of libraries for various pieces of functionality, many of
pkgs/applications/virtualization/vmware-workstation/default.nixnew file+341
@@ -0,0 +1,341 @@
1+{ stdenv
2+, buildFHSUserEnv
3+, fetchurl
4+, lib
5+, zlib
6+, gdbm
7+, bzip2
8+, libxslt
9+, libxml2
10+, libuuid
11+, readline
12+, xz
13+, cups
14+, glibc
15+, libaio
16+, vulkan-loader
17+, alsa-lib
18+, libpulseaudio
19+, libGL
20+, numactl
21+, libX11
22+, libXi
23+, kmod
24+, python3
25+, autoPatchelfHook
26+, makeWrapper
27+, sqlite
28+, enableInstaller ? false
29+}:
30+
31+let
32+ vmware-unpack-env = buildFHSUserEnv rec {
33+ name = "vmware-unpack-env";
34+ targetPkgs = pkgs: [ zlib ];
35+ };
36+ gdbm3 = gdbm.overrideAttrs (old: rec {
37+ version = "1.8.3";
38+
39+ src = fetchurl {
40+ url = "mirror://gnu/gdbm/gdbm-${version}.tar.gz";
41+ sha256 = "sha256-zDQDOKLii0AFirnrU1SiHVP4ihWC6iG6C7GFw3ooHck=";
42+ };
43+
44+ installPhase = ''
45+ mkdir -p $out/lib
46+ cp .libs/libgdbm*.so* $out/lib/
47+ '';
48+ });
49+in
50+stdenv.mkDerivation rec {
51+ pname = "vmware-workstation";
52+ version = "16.2.3";
53+ build = "19376536";
54+
55+ buildInputs = [
56+ libxslt
57+ libxml2
58+ libuuid
59+ gdbm3
60+ readline
61+ xz
62+ cups
63+ glibc
64+ libaio
65+ vulkan-loader
66+ alsa-lib
67+ libpulseaudio
68+ libGL
69+ numactl
70+ libX11
71+ libXi
72+ kmod
73+ ];
74+
75+ nativeBuildInputs = [ python3 vmware-unpack-env autoPatchelfHook makeWrapper ]
76+ ++ lib.optionals enableInstaller [ sqlite bzip2 ];
77+
78+ src = fetchurl {
79+ url = "https://download3.vmware.com/software/WKST-1623-LX-New/VMware-Workstation-Full-${version}-${build}.x86_64.bundle";
80+ sha256 = "sha256-+JE1KnRfawcaBannIyEr1TNZTF7YXRYYaFMVq0/erbM=";
81+ };
82+
83+ unpackPhase = ''
84+ ${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${src} --extract unpacked"
85+ '';
86+
87+ installPhase = ''
88+ mkdir -p \
89+ $out/bin \
90+ $out/etc/vmware \
91+ $out/etc/init.d \
92+ $out/lib/vmware \
93+ $out/share/doc
94+
95+ #### Replicate vmware-installer's order but VMX first because of appLoader
96+ ${lib.optionalString enableInstaller ''
97+ ## VMware installer
98+ echo "Installing VMware Installer"
99+ unpacked="unpacked/vmware-installer"
100+ vmware_installer_version=$(cat "unpacked/vmware-installer/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
101+ dest="$out/lib/vmware-installer/$vmware_installer_version"
102+
103+ mkdir -p $dest
104+ cp -r $unpacked/vmis* $dest/
105+ cp -r $unpacked/sopython $dest/
106+ cp -r $unpacked/python $dest/
107+ cp -r $unpacked/cdsHelper $dest/
108+ cp -r $unpacked/vmware* $dest/
109+ cp -r $unpacked/bin $dest/
110+ cp -r $unpacked/lib $dest/
111+
112+ chmod +x $dest/vmis-launcher $dest/sopython/* $dest/python/init.sh $dest/vmware-*
113+ ln -s $dest/vmware-installer $out/bin/vmware-installer
114+
115+ mkdir -p $out/etc/vmware-installer
116+ cp ${./vmware-installer-bootstrap} $out/etc/vmware-installer/bootstrap
117+ sed -i -e "s,@@INSTALLERDIR@@,$dest," $out/etc/vmware-installer/bootstrap
118+ sed -i -e "s,@@IVERSION@@,$vmware_installer_version," $out/etc/vmware-installer/bootstrap
119+ sed -i -e "s,@@BUILD@@,${build}," $out/etc/vmware-installer/bootstrap
120+
121+ # create database of vmware guest tools (avoids vmware fetching them later)
122+ mkdir -p $out/etc/vmware-installer/components
123+ database_filename=$out/etc/vmware-installer/database
124+ touch $database_filename
125+ sqlite3 "$database_filename" "CREATE TABLE settings(key VARCHAR PRIMARY KEY, value VARCHAR NOT NULL, component_name VARCHAR NOT NULL);"
126+ sqlite3 "$database_filename" "INSERT INTO settings(key,value,component_name) VALUES('db.schemaVersion','2','vmware-installer');"
127+ sqlite3 "$database_filename" "CREATE TABLE components(id INTEGER PRIMARY KEY, name VARCHAR NOT NULL, version VARCHAR NOT NULL, buildNumber INTEGER NOT NULL, component_core_id INTEGER NOT NULL, longName VARCHAR NOT NULL, description VARCHAR, type INTEGER NOT NULL);"
128+ for folder in unpacked/**/.installer ; do
129+ component="$(basename $(dirname $folder))"
130+ component_version=$(cat unpacked/$component/manifest.xml | grep -oPm1 "(?<=<version>)[^<]+")
131+ component_core_id=$([ "$component" == "vmware-installer" ] && echo "-1" || echo "1")
132+ type=$([ "$component" == "vmware-workstation" ] && echo "0" || echo "1")
133+ sqlite3 "$database_filename" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES(\"$component\",\"$component_version\",\"${build}\",$component_core_id,\"$component\",\"$component\",$type);"
134+ mkdir -p $out/etc/vmware-installer/components/$component
135+ cp -r $folder/* $out/etc/vmware-installer/components/$component
136+ done
137+ ''}
138+
139+ ## VMware Bootstrap
140+ echo "Installing VMware Bootstrap"
141+ cp ${./vmware-bootstrap} $out/etc/vmware/bootstrap
142+ sed -i -e "s,@@PREFIXDIR@@,$out," $out/etc/vmware/bootstrap
143+
144+ ## VMware Config
145+ echo "Installing VMware Config"
146+ cp ${./vmware-config} $out/etc/vmware/config
147+ sed -i -e "s,@@VERSION@@,${version}," $out/etc/vmware/config
148+ sed -i -e "s,@@BUILD@@,${build}," $out/etc/vmware/config
149+ sed -i -e "s,@@PREFIXDIR@@,$out," $out/etc/vmware/config
150+
151+ ## VMware VMX
152+ echo "Installing VMware VMX"
153+ unpacked="unpacked/vmware-vmx"
154+ cp -r $unpacked/bin/* $out/bin/
155+ cp -r $unpacked/etc/modprobe.d $out/etc/
156+ cp -r $unpacked/etc/init.d/* $out/etc/init.d/
157+ cp -r $unpacked/roms $out/lib/vmware/
158+ cp -r $unpacked/sbin/* $out/bin/
159+
160+ cp -r $unpacked/lib/libconf $out/lib/vmware/
161+ cp -r $unpacked/lib/bin $out/lib/vmware/
162+ cp -r $unpacked/lib/lib $out/lib/vmware/
163+ cp -r $unpacked/lib/scripts $out/lib/vmware/
164+ cp -r $unpacked/lib/icu $out/lib/vmware/
165+ cp -r $unpacked/lib/share $out/lib/vmware/
166+ cp -r $unpacked/lib/modules $out/lib/vmware/
167+ cp -r $unpacked/lib/include $out/lib/vmware/
168+
169+ cp -r $unpacked/extra/checkvm $out/bin/
170+ cp -r $unpacked/extra/modules.xml $out/lib/vmware/modules/
171+
172+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/vmware-vmblock-fuse
173+ ln -s $out/lib/vmware/icu $out/etc/vmware/icu
174+
175+ # Replace vmware-modconfig with simple error dialog
176+ cp ${./vmware-modconfig} $out/bin/vmware-modconfig
177+ sed -i -e "s,ETCDIR=/etc/vmware,ETCDIR=$out/etc/vmware," $out/bin/vmware-modconfig
178+
179+ # Patch dynamic libs in
180+ for binary in "mksSandbox" "mksSandbox-debug" "mksSandbox-stats" "vmware-vmx" "vmware-vmx-debug" "vmware-vmx-stats"
181+ do
182+ patchelf \
183+ --add-needed ${libaio}/lib/libaio.so.1 \
184+ --add-needed ${vulkan-loader}/lib/libvulkan.so.1 \
185+ --add-needed ${alsa-lib}/lib/libasound.so \
186+ --add-needed ${libpulseaudio}/lib/libpulse.so.0 \
187+ --add-needed ${libGL}/lib/libEGL.so.1 \
188+ --add-needed ${numactl}/lib/libnuma.so.1 \
189+ --add-needed ${libX11}/lib/libX11.so.6 \
190+ --add-needed ${libXi}/lib/libXi.so.6 \
191+ --add-needed ${libGL}/lib/libGL.so.1 \
192+ $out/lib/vmware/bin/$binary
193+ done
194+
195+ ## VMware USB Arbitrator
196+ echo "Installing VMware USB Arbitrator"
197+ unpacked="unpacked/vmware-usbarbitrator"
198+ cp -r $unpacked/etc/init.d/* $out/etc/init.d/
199+ cp -r $unpacked/bin/* $out/bin/
200+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/vmware-usbarbitrator
201+
202+ ## VMware Player Setup
203+ echo "Installing VMware Player Setup"
204+ unpacked="unpacked/vmware-player-setup"
205+ mkdir -p $out/lib/vmware/setup
206+ cp $unpacked/vmware-config $out/lib/vmware/setup/
207+
208+ ## VMware Network Editor
209+ echo "Installing VMware Network Editor"
210+ unpacked="unpacked/vmware-network-editor"
211+ cp -r $unpacked/lib $out/lib/vmware/
212+
213+ ## VMware Tools + Virtual Printer
214+ echo "Installing VMware Tools + Virtual Printer"
215+ mkdir -p $out/lib/vmware/isoimages/
216+ cp unpacked/vmware-tools-linuxPreGlibc25/linuxPreGlibc25.iso \
217+ unpacked/vmware-tools-windows/windows.iso \
218+ unpacked/vmware-tools-winPreVista/winPreVista.iso \
219+ unpacked/vmware-virtual-printer/VirtualPrinter-Linux.iso \
220+ unpacked/vmware-virtual-printer/VirtualPrinter-Windows.iso \
221+ unpacked/vmware-tools-winPre2k/winPre2k.iso \
222+ unpacked/vmware-tools-linux/linux.iso \
223+ unpacked/vmware-tools-netware/netware.iso \
224+ unpacked/vmware-tools-solaris/solaris.iso \
225+ $out/lib/vmware/isoimages/
226+
227+ ## VMware Player Application
228+ echo "Installing VMware Player Application"
229+ unpacked="unpacked/vmware-player-app"
230+ cp -r $unpacked/lib/* $out/lib/vmware/
231+ cp -r $unpacked/etc/* $out/etc/
232+ cp -r $unpacked/share/* $out/share/
233+ cp -r $unpacked/bin/* $out/bin/
234+ cp -r $unpacked/doc/* $out/share/doc/ # Licences
235+
236+ mkdir -p $out/etc/thnuclnt
237+ cp -r $unpacked/extras/.thnumod $out/etc/thnuclnt/
238+
239+ mkdir -p $out/lib/cups/filter
240+ cp -r $unpacked/extras/thnucups $out/lib/cups/filter/
241+
242+ for target in "vmplayer" "vmware-enter-serial" "vmware-setup-helper" "licenseTool" "vmware-mount" "vmware-fuseUI" "vmware-app-control" "vmware-zenity"
243+ do
244+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/$target
245+ done
246+
247+ ln -s $out/lib/vmware/bin/vmware-mount $out/bin/vmware-mount
248+ ln -s $out/lib/vmware/bin/vmware-fuseUI $out/bin/vmware-fuseUI
249+ ln -s $out/lib/vmware/bin/vmrest $out/bin/vmrest
250+
251+ # Patch vmplayer
252+ sed -i -e "s,ETCDIR=/etc/vmware,ETCDIR=$out/etc/vmware," $out/bin/vmplayer
253+ sed -i -e "s,/sbin/modprobe,${kmod}/bin/modprobe," $out/bin/vmplayer
254+ sed -i -e "s,@@BINARY@@,$out/bin/vmplayer," $out/share/applications/vmware-player.desktop
255+
256+ ## VMware OVF Tool compoment
257+ echo "Installing VMware OVF Tool for Linux"
258+ unpacked="unpacked/vmware-ovftool"
259+ mkdir -p $out/lib/vmware-ovftool/
260+
261+ cp -r $unpacked/* $out/lib/vmware-ovftool/
262+ chmod 755 $out/lib/vmware-ovftool/ovftool*
263+ makeWrapper "$out/lib/vmware-ovftool/ovftool.bin" "$out/bin/ovftool"
264+
265+ ## VMware Network Editor User Interface
266+ echo "Installing VMware Network Editor User Interface"
267+ unpacked="unpacked/vmware-network-editor-ui"
268+ cp -r $unpacked/share/* $out/share/
269+
270+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/vmware-netcfg
271+ ln -s $out/lib/vmware/bin/vmware-netcfg $out/bin/vmware-netcfg
272+
273+ # Patch network editor ui
274+
275+ sed -i -e "s,@@BINARY@@,$out/bin/vmware-netcfg," $out/share/applications/vmware-netcfg.desktop
276+
277+ ## VMware VIX Core Library
278+ echo "Installing VMware VIX Core Library"
279+ unpacked="unpacked/vmware-vix-core"
280+ mkdir -p $out/lib/vmware-vix
281+ cp -r $unpacked/lib/* $out/lib/vmware-vix/
282+ cp -r $unpacked/bin/* $out/bin/
283+ cp $unpacked/*.txt $out/lib/vmware-vix/
284+
285+ mkdir -p $out/share/doc/vmware-vix/
286+ cp -r $unpacked/doc/* $out/share/doc/vmware-vix/
287+
288+ mkdir -p $out/include/
289+ cp -r $unpacked/include/* $out/include/
290+
291+ ## VMware VIX Workstation-16.0.0 Library
292+ echo "Installing VMware VIX Workstation-16.0.0 Library"
293+ unpacked="unpacked/vmware-vix-lib-Workstation1600"
294+ cp -r $unpacked/lib/* $out/lib/vmware-vix/
295+
296+ ## VMware VProbes component for Linux
297+ echo "Installing VMware VProbes component for Linux"
298+ unpacked="unpacked/vmware-vprobe"
299+ cp -r $unpacked/bin/* $out/bin/
300+ cp -r $unpacked/lib/* $out/lib/vmware/
301+
302+ ## VMware Workstation
303+ echo "Installing VMware Workstation"
304+ unpacked="unpacked/vmware-workstation"
305+ cp -r $unpacked/bin/* $out/bin/
306+ cp -r $unpacked/lib/* $out/lib/vmware/
307+ cp -r $unpacked/share/* $out/share/
308+ cp -r $unpacked/man $out/share/
309+ cp -r $unpacked/doc $out/share/
310+
311+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/vmware
312+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/vmware-tray
313+ ln -s $out/lib/vmware/bin/appLoader $out/lib/vmware/bin/vmware-vprobe
314+
315+ # Patch vmware
316+ sed -i -e "s,ETCDIR=/etc/vmware,ETCDIR=$out/etc/vmware,g" $out/bin/vmware
317+ sed -i -e "s,/sbin/modprobe,${kmod}/bin/modprobe,g" $out/bin/vmware
318+ sed -i -e "s,@@BINARY@@,$out/bin/vmware," $out/share/applications/vmware-workstation.desktop
319+
320+ chmod +x $out/bin/* $out/lib/vmware/bin/* $out/lib/vmware/setup/*
321+
322+ # Harcoded pkexec hack
323+ for lib in "lib/vmware/lib/libvmware-mount.so/libvmware-mount.so" "lib/vmware/lib/libvmwareui.so/libvmwareui.so" "lib/vmware/lib/libvmware-fuseUI.so/libvmware-fuseUI.so"
324+ do
325+ sed -i -e "s,/usr/local/sbin,/run/vmware/bin," "$out/$lib"
326+ done
327+
328+ # SUID hack
329+ wrapProgram $out/lib/vmware/bin/vmware-vmx
330+ rm $out/lib/vmware/bin/vmware-vmx
331+ ln -s /run/wrappers/bin/vmware-vmx $out/lib/vmware/bin/vmware-vmx
332+ '';
333+
334+ meta = with lib; {
335+ description = "Industry standard desktop hypervisor for x86-64 architecture";
336+ homepage = "https://www.vmware.com/products/workstation-pro.html";
337+ license = licenses.unfree;
338+ platforms = [ "x86_64-linux" ];
339+ maintainers = with maintainers; [ deinferno ];
340+ };
341+}
pkgs/applications/virtualization/vmware-workstation/vmware-bootstrapnew file+11
@@ -0,0 +1,11 @@
1+PREFIX="@@PREFIXDIR@@"
2+BINDIR="@@PREFIXDIR@@/bin"
3+SBINDIR="@@PREFIXDIR@@/sbin"
4+LIBDIR="@@PREFIXDIR@@/lib"
5+DATADIR="@@PREFIXDIR@@/share"
6+SYSCONFDIR="@@PREFIXDIR@@/etc"
7+DOCDIR="@@PREFIXDIR@@/share/doc"
8+MANDIR="@@PREFIXDIR@@/share/man"
9+INCLUDEDIR="@@PREFIXDIR@@/include"
10+INITDIR="@@PREFIXDIR@@/etc"
11+INITSCRIPTDIR="@@PREFIXDIR@@/etc/init.d"
pkgs/applications/virtualization/vmware-workstation/vmware-confignew file+21
@@ -0,0 +1,21 @@
1+.encoding = "UTF-8"
2+product.name = "VMware Workstation"
3+product.version = "@@VERSION@@"
4+product.buildNumber = "@@BUILD@@"
5+workstation.product.version = "@@VERSION@@"
6+player.product.version = "@@VERSION@@"
7+vix.config.version = "1"
8+bindir = "@@PREFIXDIR@@/bin"
9+libdir = "@@PREFIXDIR@@/lib/vmware"
10+vix.libdir = "@@PREFIXDIR@@/lib/vmware-vix"
11+initscriptdir = "@@PREFIXDIR@@/lib/systemd/scripts"
12+vmware.fullpath = "@@PREFIXDIR@@/bin/vmware"
13+authd.fullpath = "@@PREFIXDIR@@/bin/vmware-authd"
14+gksu.rootMethod = "su"
15+NETWORKING = "yes"
16+installerDefaults.autoSoftwareUpdateEnabled = "no"
17+installerDefaults.dataCollectionEnabled = "no"
18+installerDefaults.componentDownloadEnabled = "no"
19+installerDefaults.transferVersion = "1"
20+acceptOVFEULA = "yes"
21+acceptEULA = "yes"
pkgs/applications/virtualization/vmware-workstation/vmware-installer-bootstrapnew file+5
@@ -0,0 +1,5 @@
1+VMWARE_INSTALLER="@@INSTALLERDIR@@"
2+VERSION="@@IVERSION@@" # For backwards compability
3+VMISVERSION="@@IVERSION@@"
4+VMISBUILDNUM="@@BUILD@@"
5+VMISPYVERSION="39"
pkgs/applications/virtualization/vmware-workstation/vmware-modconfignew file+8
@@ -0,0 +1,8 @@
1+#!/bin/bash
2+
3+set -e
4+
5+ETCDIR=/etc/vmware
6+. $ETCDIR/bootstrap
7+
8+exec "$LIBDIR"/vmware/bin/vmware-zenity --error --text "Reboot is required to load VMware kernel modules (make sure that 'virtualisation.vmware.host.enable' is enabled)"
pkgs/development/compilers/hare/hare.nix+2
@@ -68,6 +68,8 @@ stdenv.mkDerivation rec {
6868 "PREFIX=${placeholder "out"}"
6969 ];
7070
71+ doCheck = true;
72+
7173 postInstall =
7274 let
7375 binPath = lib.makeBinPath [
pkgs/development/compilers/purescript/purescript/default.nix+2−4
@@ -1,4 +1,4 @@
1−{ stdenv, pkgs, fetchurl, zlib, gmp, ncurses5, lib }:
1+{ stdenv, pkgs, fetchurl, zlib, gmp, lib }:
22
33# from justinwoo/easy-purescript-nix
44# https://github.com/justinwoo/easy-purescript-nix/blob/d383972c82620a712ead4033db14110497bc2c9c/purs.nix
@@ -35,9 +35,7 @@ in stdenv.mkDerivation rec {
3535 };
3636
3737
38− buildInputs = [ zlib
39− gmp
40− ncurses5 ];
38+ buildInputs = [ zlib gmp ];
4139 libPath = lib.makeLibraryPath buildInputs;
4240 dontStrip = true;
4341
pkgs/development/haskell-modules/configuration-darwin.nix−7
@@ -251,13 +251,6 @@ self: super: ({
251251 # Otherwise impure gcc is used, which is Apple's weird wrapper
252252 c2hsc = addTestToolDepends [ pkgs.gcc ] super.c2hsc;
253253
254− # streamly depends on Cocoa starting with 0.8.0
255− streamly_0_8_1_1 = overrideCabal (drv: {
256− libraryFrameworkDepends = [
257− darwin.apple_sdk.frameworks.Cocoa
258− ] ++ (drv.libraryFrameworkDepends or []);
259− }) super.streamly_0_8_1_1;
260−
261254 http-client-tls = overrideCabal (drv: {
262255 postPatch = ''
263256 # This comment has been inserted, so the derivation hash changes, forcing
pkgs/development/interpreters/pixie/default.nixdeleted−94
@@ -1,94 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, fetchurl, python2, makeWrapper, pkg-config, gcc,
2− pypy, libffi, libedit, libuv, boost, zlib,
3− variant ? "jit", buildWithPypy ? false }:
4−
5−let
6− commit-count = "1364";
7− common-flags = "--thread --gcrootfinder=shadowstack --continuation";
8− variants = {
9− jit = { flags = "--opt=jit"; target = "target.py"; };
10− jit-preload = { flags = "--opt=jit"; target = "target_preload.py"; };
11− no-jit = { flags = ""; target = "target.py"; };
12− no-jit-preload = { flags = ""; target = "target_preload.py"; };
13− };
14− pixie-src = fetchFromGitHub {
15− owner = "pixie-lang";
16− repo = "pixie";
17− rev = "5eb0ccbe8b0087d3a5f2d0bbbc6998d624d3cd62";
18− sha256 = "sha256-dQ8ncH0IqU42WYxwBgjH6QQfvMIo7RZpv81UAUsPw10=";
19− };
20− pypy-tag = "91db1a9";
21− pypy-src = fetchurl {
22− name = "pypy-src-${pypy-tag}";
23− url = "https://bitbucket.org/pypy/pypy/get/${pypy-tag}.tar.bz2";
24− sha256 = "0ylbqvhbcp5m09l15i2q2h3a0vjd055x2r37cq71lkhgmmaxrwbq";
25− };
26− libs = [ libffi libedit libuv boost.dev boost.out zlib ];
27− include-path = lib.concatStringsSep ":"
28− (map (p: "${p}/include") libs);
29− library-path = lib.concatStringsSep ":"
30− (map (p: "${p}/lib") libs);
31− bin-path = lib.concatStringsSep ":"
32− (map (p: "${p}/bin") [ gcc ]);
33− build = {flags, target}: stdenv.mkDerivation rec {
34− pname = "pixie";
35− version = "0-r${commit-count}-${variant}";
36− nativeBuildInputs = [ makeWrapper pkg-config ];
37− buildInputs = libs;
38− PYTHON = if buildWithPypy
39− then "${pypy}/pypy-c/pypy-c"
40− else python2.interpreter;
41− unpackPhase = ''
42− cp -R ${pixie-src} pixie-src
43− mkdir pypy-src
44− (cd pypy-src
45− tar --strip-components=1 -xjf ${pypy-src})
46− chmod -R +w pypy-src pixie-src
47− '';
48− patchPhase = ''
49− (cd pixie-src
50− patch -p1 < ${./load_paths.patch}
51− libraryPaths='["${libuv}" "${libedit}" "${libffi.dev}" "${boost.dev}" "${boost.out}" "${zlib.dev}"]'
52− export libraryPaths
53− substituteAllInPlace ./pixie/ffi-infer.pxi)
54− '';
55− buildPhase = ''(
56− PYTHONPATH="`pwd`/pypy-src:$PYTHONPATH";
57− RPYTHON="`pwd`/pypy-src/rpython/bin/rpython";
58− cd pixie-src
59− $PYTHON $RPYTHON ${common-flags} ${target}
60− find pixie -name "*.pxi" -exec ./pixie-vm -c {} \;
61− )'';
62− LD_LIBRARY_PATH = library-path;
63− C_INCLUDE_PATH = include-path;
64− LIBRARY_PATH = library-path;
65− PATH = bin-path;
66− installPhase = ''
67− mkdir -p $out/share $out/bin
68− cp pixie-src/pixie-vm $out/share/pixie-vm
69− cp -R pixie-src/pixie $out/share/pixie
70− makeWrapper $out/share/pixie-vm $out/bin/pixie \
71− --prefix LD_LIBRARY_PATH : ${LD_LIBRARY_PATH} \
72− --prefix C_INCLUDE_PATH : ${C_INCLUDE_PATH} \
73− --prefix LIBRARY_PATH : ${LIBRARY_PATH} \
74− --prefix PATH : ${PATH}
75− '';
76− doCheck = true;
77− checkPhase = ''
78− RES=$(./pixie-src/pixie-vm -e "(print :ok)")
79− if [ "$RES" != ":ok" ]; then
80− echo "ERROR Unexpected output: '$RES'"
81− return 1
82− else
83− echo "$RES"
84− fi
85− '';
86− meta = {
87− description = "A clojure-like lisp, built with the pypy vm toolkit";
88− homepage = "https://github.com/pixie-lang/pixie";
89− license = lib.licenses.lgpl3;
90− platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin"];
91− maintainers = with lib.maintainers; [ bendlas ];
92− };
93− };
94−in build (builtins.getAttr variant variants)
pkgs/development/interpreters/pixie/dust.nixdeleted−46
@@ -1,46 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub
2−, pixie, rlwrap
3−}:
4−
5−stdenv.mkDerivation rec {
6− pname = "dust";
7− version = "0-91";
8−
9− src = fetchFromGitHub {
10− owner = "pixie-lang";
11− repo = "dust";
12− rev = "efe469661e749a71e86858fd006f61464810575a";
13− sha256 = "09n57b6haxwask9m8vimv42ikczf7lgfc7m9izjrcqgs0padvfzc";
14− };
15−
16− buildInputs = [ pixie ];
17−
18− patches = [ ./make-paths-configurable.patch ];
19−
20− configurePhase = ''
21− pixiePath="${pixie}/bin/pixie" \
22− basePath="$out/share/dust" \
23− rlwrapPath="${rlwrap}/bin/rlwrap" \
24− substituteAll dust.in dust
25− chmod +x dust
26− '';
27−
28− # FIXME: AOT for dust
29− # buildPhase = ''
30− # find . -name "*.pxi" -exec pixie-vm -c {} \;
31− # '';
32−
33− installPhase = ''
34− mkdir -p $out/bin $out/share/dust
35− cp -a src/ run.pxi $out/share/dust
36− mv dust $out/bin/dust
37− '';
38−
39− meta = with lib; {
40− description = "Provides tooling around pixie, e.g. a nicer repl, running tests and fetching dependencies";
41− homepage = src.meta.homepage;
42− maintainers = with maintainers; [ ];
43− license = licenses.lgpl3;
44− platforms = platforms.unix;
45− };
46−}
pkgs/development/interpreters/pixie/load_paths.patchdeleted−25
@@ -1,25 +0,0 @@
1−diff --git a/pixie/ffi-infer.pxi b/pixie/ffi-infer.pxi
2−index 9f13ac7..74301c2 100644
3−--- a/pixie/ffi-infer.pxi
4−+++ b/pixie/ffi-infer.pxi
5−@@ -1,15 +1,12 @@
6− (ns pixie.ffi-infer
7− (:require [pixie.io-blocking :as io]))
8−
9−+(defn -add-library-path [p]
10−+ (swap! load-paths conj (str p "/include"))
11−+ (swap! load-paths conj (str p "/lib")))
12−
13−-(defn -add-rel-path [rel]
14−- (swap! load-paths conj (str (first @load-paths) "/" rel)))
15−-
16−-(-add-rel-path "lib")
17−-(-add-rel-path "include")
18−-(-add-rel-path "../lib")
19−-(-add-rel-path "../include")
20−-
21−+(doseq [lp @libraryPaths@]
22−+ (-add-library-path lp))
23−
24− (def *config* nil)
25− (set-dynamic! (var *config*))
pkgs/development/interpreters/pixie/make-paths-configurable.patchdeleted−119
@@ -1,119 +0,0 @@
1−From 0cbb82e606610d36e52c70d888995fbbf9b0d7c8 Mon Sep 17 00:00:00 2001
2−From: Herwig Hochleitner <herwig@bendlas.net>
3−Date: Sun, 28 Feb 2016 16:34:14 +0100
4−Subject: [PATCH] make paths configurable
5−
6−---
7− dust | 52 ----------------------------------------------------
8− dust.in | 43 +++++++++++++++++++++++++++++++++++++++++++
9− 2 files changed, 43 insertions(+), 52 deletions(-)
10− delete mode 100755 dust
11− create mode 100755 dust.in
12−
13−diff --git a/dust b/dust
14−deleted file mode 100755
15−index ffced9b..0000000
16−--- a/dust
17−+++ /dev/null
18−@@ -1,52 +0,0 @@
19−-#!/usr/bin/env bash
20−-
21−-base_path=$0
22−-if [ -L "$base_path" ]; then
23−- base_path=`readlink $base_path`
24−-fi
25−-base_path=`dirname $base_path`
26−-
27−-pixie_path=`which pixie-vm`
28−-if [ -z "$pixie_path" ]; then
29−- echo "Error: 'pixie-vm' must be on your PATH"
30−- exit 1
31−-fi
32−-
33−-function set_load_path() {
34−- load_path=""
35−- if ([ -f "project.edn" ] || [ -f "project.pxi" ]) && [ -f ".load-path" ]; then
36−- load_path="`cat .load-path`"
37−- fi
38−-}
39−-
40−-if [ ! -f "project.edn" ] && [ -f "project.pxi" ]; then
41−- echo "Warning: 'project.pxi' is deprecated, please use 'project.edn'."
42−- echo "To start you can run the following command:"
43−- echo " pixie-vm -l $base_path/src -e '(require dust.project :as p) (p/load-project!) (prn (dissoc @p/*project* :path))'"
44−- echo
45−-fi
46−-
47−-set_load_path
48−-run_dust="$pixie_path -l $base_path/src $load_path $base_path/run.pxi"
49−-
50−-case $1 in
51−- ""|"repl")
52−- rlwrap_cmd=""
53−- if [ -n "`which rlwrap`" ]; then
54−- rlwrap_cmd="rlwrap -aignored -n"
55−- fi
56−- $rlwrap_cmd $pixie_path $load_path
57−- ;;
58−- "run")
59−- shift
60−- file=$1
61−- shift
62−- $pixie_path $load_path $file $@
63−- ;;
64−- -h|--help)
65−- $run_dust help
66−- ;;
67−- *)
68−- $run_dust $@
69−- ;;
70−-esac
71−diff --git a/dust.in b/dust.in
72−new file mode 100755
73−index 0000000..44a7fbd
74−--- /dev/null
75−+++ b/dust.in
76−@@ -0,0 +1,40 @@
77−+#!/usr/bin/env bash
78−+
79−+base_path=@basePath@
80−+pixie_path=@pixiePath@
81−+rlwrap_cmd=@rlwrapPath@
82−+
83−+function set_load_path() {
84−+ load_path=""
85−+ if ([ -f "project.edn" ] || [ -f "project.pxi" ]) && [ -f ".load-path" ]; then
86−+ load_path="`cat .load-path`"
87−+ fi
88−+}
89−+
90−+if [ ! -f "project.edn" ] && [ -f "project.pxi" ]; then
91−+ echo "Warning: 'project.pxi' is deprecated, please use 'project.edn'."
92−+ echo "To start you can run the following command:"
93−+ echo " pixie-vm -l $base_path/src -e '(require dust.project :as p) (p/load-project!) (prn (dissoc @p/*project* :path))'"
94−+ echo
95−+fi
96−+
97−+set_load_path
98−+run_dust="$pixie_path -l $base_path/src $load_path $base_path/run.pxi"
99−+
100−+case $1 in
101−+ ""|"repl")
102−+ $rlwrap_cmd -aignored -n $pixie_path $load_path
103−+ ;;
104−+ "run")
105−+ shift
106−+ file=$1
107−+ shift
108−+ $pixie_path $load_path $file $@
109−+ ;;
110−+ -h|--help)
111−+ $run_dust help
112−+ ;;
113−+ *)
114−+ $run_dust $@
115−+ ;;
116−+esac
117−--
118−2.7.1
119−
pkgs/development/libraries/docopt_cpp/default.nix+10−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, cmake, python2 }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, python3 }:
22
33stdenv.mkDerivation rec {
44 version = "0.6.3";
@@ -11,7 +11,15 @@ stdenv.mkDerivation rec {
1111 sha256 = "0cz3vv7g5snfbsqcf3q8bmd6kv5qp84gj3avwkn4vl00krw13bl7";
1212 };
1313
14− nativeBuildInputs = [ cmake python2 ];
14+ patches = [
15+ (fetchpatch {
16+ name = "python3-for-tests";
17+ url = "https://github.com/docopt/docopt.cpp/commit/b3d909dc952ab102a4ad5a1541a41736f35b92ba.patch";
18+ hash = "sha256-JJR09pbn3QhYaZAIAjs+pe28+g1VfgHUKspWorHzr8o=";
19+ })
20+ ];
21+
22+ nativeBuildInputs = [ cmake python3 ];
1523
1624 cmakeFlags = ["-DWITH_TESTS=ON"];
1725
pkgs/development/libraries/goocanvas/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python2, gtk3, cairo, glib, gnome }:
1+{ lib, stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python3, gtk3, cairo, glib, gnome }:
22
33stdenv.mkDerivation rec {
44 pname = "goocanvas";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "141fm7mbqib0011zmkv3g8vxcjwa7hypmq71ahdyhnj2sjvy4a67";
1212 };
1313
14− nativeBuildInputs = [ pkg-config gettext gtk-doc python2 ];
14+ nativeBuildInputs = [ pkg-config gettext gtk-doc python3 ];
1515 buildInputs = [ gtk3 cairo glib gobject-introspection ];
1616
1717 configureFlags = [
pkgs/development/libraries/libdeltachat/default.nix+3−3
@@ -16,13 +16,13 @@
1616
1717stdenv.mkDerivation rec {
1818 pname = "libdeltachat";
19− version = "1.78.0";
19+ version = "1.79.0";
2020
2121 src = fetchFromGitHub {
2222 owner = "deltachat";
2323 repo = "deltachat-core-rust";
2424 rev = version;
25− hash = "sha256-SMobKC34RU7/LfRtgBxa8CHsLlWOQ29zaiw/V4+wWqU=";
25+ hash = "sha256-jwAPbTwMSWDucAvip5KcA7fb4LCWo70SiIspacijMvQ=";
2626 };
2727
2828 patches = [
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 cargoDeps = rustPlatform.fetchCargoTarball {
3333 inherit src;
3434 name = "${pname}-${version}";
35− hash = "sha256-G2lUk1M3B+a3BaNPFWQgsYehUu7dyfuRc+fXSlWjSq4=";
35+ hash = "sha256-Fn4M4CQV7VTE7SubvOszhpGBbmDyqemyUeZ0qDmcGUU=";
3636 };
3737
3838 nativeBuildInputs = [
pkgs/development/libraries/libinjection/default.nix+12−4
@@ -1,5 +1,5 @@
1−{ lib, stdenv, fetchFromGitHub
2−, python2
1+{ lib, stdenv, fetchFromGitHub, fetchpatch
2+, python3
33}:
44
55stdenv.mkDerivation rec {
@@ -13,11 +13,19 @@ stdenv.mkDerivation rec {
1313 sha256 = "0chsgam5dqr9vjfhdcp8cgk7la6nf3lq44zs6z6si98cq743550g";
1414 };
1515
16− nativeBuildInputs = [ python2 ];
16+ nativeBuildInputs = [ python3 ];
1717
1818 strictDeps = true;
1919
20− patchPhase = ''
20+ patches = [
21+ (fetchpatch {
22+ name = "support-python3-for-building";
23+ url = "https://raw.githubusercontent.com/sysown/proxysql/bed58f92917eb651b80fd8ffa627a485eb320805/deps/libinjection/update-build-py3.diff";
24+ hash = "sha256-SPdf57FIDDNpatWe5pjhAiZl5yPMDEv50k0Wj+eWTEM=";
25+ })
26+ ];
27+
28+ postPatch = ''
2129 patchShebangs src
2230 substituteInPlace src/Makefile \
2331 --replace /usr/local $out
pkgs/development/libraries/science/biology/htslib/default.nix+18−2
@@ -14,9 +14,25 @@ stdenv.mkDerivation rec {
1414
1515 buildInputs = [ zlib bzip2 xz curl ];
1616
17− configureFlags = [ "--enable-libcurl" ]; # optional but strongly recommended
17+ configureFlags = if ! stdenv.hostPlatform.isStatic
18+ then [ "--enable-libcurl" ] # optional but strongly recommended
19+ else [ "--disable-libcurl" "--disable-plugins" ];
1820
19− installFlags = [ "prefix=$(out)" ];
21+
22+ # In the case of static builds, we need to replace the build and install phases
23+ buildPhase = lib.optional stdenv.hostPlatform.isStatic ''
24+ make AR=$AR lib-static
25+ make LDFLAGS=-static bgzip htsfile tabix
26+ '';
27+
28+ installPhase = lib.optional stdenv.hostPlatform.isStatic ''
29+ install -d $out/bin
30+ install -d $out/lib
31+ install -d $out/include/htslib
32+ install -D libhts.a $out/lib
33+ install -m644 htslib/*h $out/include/htslib
34+ install -D bgzip htsfile tabix $out/bin
35+ '';
2036
2137 preCheck = ''
2238 patchShebangs test/
pkgs/development/libraries/science/math/caffe2/default.nixdeleted−151
@@ -1,151 +0,0 @@
1−{ stdenv, lib, config, fetchFromGitHub
2−, cmake
3−, glog, gflags, gtest
4−, protobuf, snappy
5−, python, future, six, python-protobuf, numpy, pydot
6−, eigen
7−, doxygen
8−, useCuda ? (config.cudaSupport or false), cudaPackages ? {}
9−, useCudnn ? (config.cudnnSupport or false)
10−, useOpenmp ? false, openmp ? null
11−, useOpencv3 ? true, opencv3 ? null
12−, useLeveldb ? false, leveldb ? null
13−, useLmdb ? true, lmdb ? null
14−, useRocksdb ? false, rocksdb ? null
15−, useZeromq ? false, zeromq ? null
16−, useMpi ? false, mpi ? null
17−# TODO: distributed computations
18−#, useGloo ? false
19−#, useNccl ? false
20−#, useNnpack ? false
21−}:
22−
23−let
24− inherit (cudaPackages) cudatoolkit cudnn;
25−in
26−
27−assert useCuda -> cudatoolkit != null;
28−assert useCudnn -> (useCuda && cudnn != null);
29−assert useOpencv3 -> opencv3 != null;
30−assert useLeveldb -> leveldb != null;
31−assert useLmdb -> lmdb != null;
32−assert useRocksdb -> rocksdb != null;
33−assert useZeromq -> zeromq != null;
34−assert useMpi -> mpi != null;
35−
36−let
37− # Third party modules that caffe2 holds as git submodules.
38− # Download them and create symlinks from caffe2/third_party.
39− installExtraSrc = extra: ''
40− rmdir "third_party/${extra.dst}"
41− ln -s "${extra.src}" "third_party/${extra.dst}"
42− '';
43−
44− cub = {
45− src = fetchFromGitHub {
46− owner = "NVlabs";
47− repo = "cub";
48− rev = "v1.7.4";
49− sha256 = "0ksd5n1lxqhm5l5cd2lps4cszhjkf6gmzahaycs7nxb06qci8c66";
50− };
51− dst = "cub";
52− };
53−
54− pybind11 = {
55− src = fetchFromGitHub {
56− owner = "pybind";
57− repo = "pybind11";
58− rev = "86e2ad4f77442c3350f9a2476650da6bee253c52";
59− sha256 = "05gi58dirvc8fgm0avpydvidzsbh2zrzgfaq671ym09f6dz0bcgz";
60− };
61− dst = "pybind11";
62− };
63−
64− ccVersion = lib.getVersion stdenv.cc;
65−in
66−
67−stdenv.mkDerivation rec {
68− pname = "caffe2";
69− version = "0.8.1";
70− src = fetchFromGitHub {
71− owner = "caffe2";
72− repo = "caffe2";
73− rev = "v${version}";
74− sha256 = "18y7zjc69j6n5642l9caddl641b0djf3pjn4wacdsc1wk1jiyqk8";
75− };
76−
77− nativeBuildInputs = [ cmake doxygen gtest ];
78− outputs = [ "bin" "out" ];
79− propagatedBuildOutputs = [ ]; # otherwise propagates out -> bin cycle
80−
81− buildInputs = [ glog gflags protobuf snappy eigen ]
82− ++ lib.optional useCuda cudatoolkit
83− ++ lib.optional useCudnn cudnn
84− ++ lib.optional useOpenmp openmp
85− ++ lib.optional useOpencv3 opencv3
86− ++ lib.optional useLeveldb leveldb
87− ++ lib.optional useLmdb lmdb
88− ++ lib.optional useRocksdb rocksdb
89− ++ lib.optional useZeromq zeromq
90− ;
91− propagatedBuildInputs = [ numpy future six python-protobuf pydot ];
92−
93− patches = lib.optional (stdenv.cc.isGNU && lib.versionAtLeast ccVersion "7.0.0") [
94− ./fix_compilation_on_gcc7.patch
95− ] ++ lib.optional stdenv.cc.isClang [ ./update_clang_cvtsh_bugfix.patch ];
96−
97− cmakeFlags = [ "-DBUILD_TEST=OFF"
98− "-DBUILD_PYTHON=ON"
99− ''-DUSE_CUDA=${if useCuda then "ON"else "OFF"}''
100− ''-DUSE_OPENMP=${if useOpenmp then "ON"else "OFF"}''
101− ''-DUSE_OPENCV=${if useOpencv3 then "ON"else "OFF"}''
102− ''-DUSE_MPI=${if useMpi then "ON"else "OFF"}''
103− ''-DUSE_LEVELDB=${if useLeveldb then "ON"else "OFF"}''
104− ''-DUSE_LMDB=${if useLmdb then "ON"else "OFF"}''
105− ''-DUSE_ROCKSDB=${if useRocksdb then "ON"else "OFF"}''
106− ''-DUSE_ZMQ=${if useZeromq then "ON"else "OFF"}''
107− "-DUSE_GLOO=OFF"
108− "-DUSE_NNPACK=OFF"
109− "-DUSE_NCCL=OFF"
110− "-DUSE_REDIS=OFF"
111− "-DUSE_FFMPEG=OFF"
112− ]
113− ++ lib.optional useCuda [
114− "-DCUDA_TOOLKIT_ROOT_DIR=${cudatoolkit}"
115− "-DCUDA_FAST_MATH=ON"
116− "-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/gcc"
117− ];
118−
119− preConfigure = ''
120− ${installExtraSrc cub}
121− ${installExtraSrc pybind11}
122− # XXX hack
123− export NIX_CFLAGS_COMPILE="-I ${eigen}/include/eigen3/ $NIX_CFLAGS_COMPILE"
124− '';
125−
126− postInstall = ''
127− moveToOutput "bin" "$bin"
128− mkdir -p $out/lib/${python.libPrefix}
129− ln -s $out/ $out/${python.sitePackages}
130− '';
131−
132− doCheck = false;
133−
134− meta = {
135− homepage = "https://caffe2.ai/";
136− description = "A new lightweight, modular, and scalable deep learning framework";
137− longDescription = ''
138− Caffe2 aims to provide an easy and straightforward way for you to experiment
139− with deep learning and leverage community contributions of new models and
140− algorithms. You can bring your creations to scale using the power of GPUs in the
141− cloud or to the masses on mobile with Caffe2's cross-platform libraries.
142− '';
143− platforms = with lib.platforms; linux;
144− license = lib.licenses.asl20;
145− maintainers = with lib.maintainers; [ yuriaisaka ];
146− # fails to compile with
147− # error: invalid conversion from 'const char*' to 'char*'
148− # TODO: Remove usage of python2, protobuf overwrite
149− broken = true;
150− };
151−}
pkgs/development/libraries/science/math/caffe2/fix_compilation_on_gcc7.patchdeleted−46
@@ -1,46 +0,0 @@
1−diff --git a/caffe2/operators/recurrent_network_op.cc b/caffe2/operators/recurrent_network_op.cc
2−index dd4fded..5995e8a 100644
3−--- a/caffe2/operators/recurrent_network_op.cc
4−+++ b/caffe2/operators/recurrent_network_op.cc
5−@@ -1,4 +1,4 @@
6−-#include "recurrent_network_op.h"
7−+#include "caffe2/operators/recurrent_network_op.h"
8− #include "caffe2/core/workspace.h"
9−
10− namespace caffe2 {
11−diff --git a/caffe2/operators/recurrent_network_op.h b/caffe2/operators/recurrent_network_op.h
12−index 55328e5..ea898bc 100644
13−--- a/caffe2/operators/recurrent_network_op.h
14−+++ b/caffe2/operators/recurrent_network_op.h
15−@@ -762,8 +762,8 @@ class AccumulateInputGradientOp : public Operator<Context> {
16− USE_OPERATOR_CONTEXT_FUNCTIONS;
17−
18− bool RunOnDevice() override {
19−- const auto t =
20−- OperatorBase::Input<Tensor<CPUContext>>(0).template data<int32_t>()[0];
21−+ const auto& t0 = OperatorBase::Input<Tensor<CPUContext>>(0);
22−+ const auto t = t0.template data<int32_t>()[0];
23− auto& og = Input(1);
24− auto* g = Output(0);
25−
26−diff --git a/caffe2/queue/queue_ops.h b/caffe2/queue/queue_ops.h
27−index f2c0a33..642343f 100644
28−--- a/caffe2/queue/queue_ops.h
29−+++ b/caffe2/queue/queue_ops.h
30−@@ -17,13 +17,10 @@ class CreateBlobsQueueOp final : public Operator<Context> {
31− name(operator_def.output().Get(0)) {}
32−
33− bool RunOnDevice() override {
34−- const auto capacity =
35−- OperatorBase::template GetSingleArgument<int>("capacity", 1);
36−- const auto numBlobs =
37−- OperatorBase::template GetSingleArgument<int>("num_blobs", 1);
38−+ const auto capacity = GetSingleArgument("capacity", 1);
39−+ const auto numBlobs = GetSingleArgument("num_blobs", 1);
40− const auto enforceUniqueName =
41−- OperatorBase::template GetSingleArgument<int>(
42−- "enforce_unique_name", false);
43−+ GetSingleArgument("enforce_unique_name", false);
44− const auto fieldNames =
45− OperatorBase::template GetRepeatedArgument<std::string>("field_names");
46− CAFFE_ENFORCE_EQ(this->OutputSize(), 1);
pkgs/development/libraries/science/math/caffe2/update_clang_cvtsh_bugfix.patchdeleted−55
@@ -1,55 +0,0 @@
1−diff --git a/caffe2/perfkernels/cvtsh_ss_bugfix.h b/caffe2/perfkernels/cvtsh_ss_bugfix.h
2−index bd06681..00172b7 100644
3−--- a/caffe2/perfkernels/cvtsh_ss_bugfix.h
4−+++ b/caffe2/perfkernels/cvtsh_ss_bugfix.h
5−@@ -1,10 +1,36 @@
6−+/**
7−+ * Copyright (c) 2016-present, Facebook, Inc.
8−+ *
9−+ * Licensed under the Apache License, Version 2.0 (the "License");
10−+ * you may not use this file except in compliance with the License.
11−+ * You may obtain a copy of the License at
12−+ *
13−+ * http://www.apache.org/licenses/LICENSE-2.0
14−+ *
15−+ * Unless required by applicable law or agreed to in writing, software
16−+ * distributed under the License is distributed on an "AS IS" BASIS,
17−+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18−+ * See the License for the specific language governing permissions and
19−+ * limitations under the License.
20−+ */
21−+
22− #pragma once
23−
24−-#if defined(__APPLE__) && (__clang_major__ < 8)
25−+// Apple clang was fixed in 8.1
26−+#if defined(__apple_build_version__) && ((__clang_major__ < 8) || ((__clang_major__ == 8) && (__clang_minor__ < 1)))
27−+#define __APPLE_NEED_FIX 1
28−+#endif
29−+
30−+// Regular clang was fixed in 3.9
31−+#if defined(__clang__) && (__clang_major__ < 4) && (__clang_minor__ < 9)
32−+#define __CLANG_NEED_FIX 1
33−+#endif
34−+
35−+#if __APPLE_NEED_FIX || __CLANG_NEED_FIX
36−
37− #include <emmintrin.h>
38−
39−-// This version of apple clang has a bug that _cvtsh_ss is not defined, see
40−+// This version of clang has a bug that _cvtsh_ss is not defined, see
41− // https://reviews.llvm.org/D16177
42− static __inline float
43− __attribute__((__always_inline__, __nodebug__, __target__("f16c")))
44−@@ -15,7 +41,10 @@ _cvtsh_ss(unsigned short a)
45− return r[0];
46− }
47−
48−-#endif // defined(__APPLE__) && (__clang_major__ < 8)
49−+#endif // __APPLE_NEED_FIX || __CLANG_NEED_FIX
50−+
51−+#undef __APPLE_NEED_FIX
52−+#undef __CLANG_NEED_FIX
53−
54− #ifdef _MSC_VER
55−
pkgs/development/libraries/vulkan-loader/default.nix+2−1
@@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
2121
2222 cmakeFlags = [ "-DCMAKE_INSTALL_INCLUDEDIR=${vulkan-headers}/include" ]
2323 ++ lib.optional stdenv.isDarwin "-DSYSCONFDIR=${moltenvk}/share"
24− ++ lib.optional stdenv.isLinux "-DSYSCONFDIR=${addOpenGLRunpath.driverLink}/share";
24+ ++ lib.optional stdenv.isLinux "-DSYSCONFDIR=${addOpenGLRunpath.driverLink}/share"
25+ ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DUSE_GAS=OFF";
2526
2627 outputs = [ "out" "dev" ];
2728
pkgs/development/libraries/wolfssl/default.nix+2−2
@@ -7,13 +7,13 @@
77
88stdenv.mkDerivation rec {
99 pname = "wolfssl";
10− version = "5.2.0";
10+ version = "5.3.0";
1111
1212 src = fetchFromGitHub {
1313 owner = "wolfSSL";
1414 repo = "wolfssl";
1515 rev = "v${version}-stable";
16− sha256 = "1xdhbhn31q7waw7w158hz9n0vj76zlfn5njq7hncf73ks38drj6k";
16+ sha256 = "sha256-KteArWAgDohlqEYaNfzLPuBn6uy5ABA8vV/LRCVIPGA=";
1717 };
1818
1919 postPatch = ''
pkgs/development/libraries/zimg/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "zimg";
5− version = "3.0.4";
5+ version = "3.0.3";
66
77 src = fetchFromGitHub {
88 owner = "sekrit-twc";
99 repo = "zimg";
1010 rev = "release-${version}";
11− sha256 = "1069x49l7kh1mqcq1h3f0m5j0h832jp5x230bh4c613ymgg5kn00";
11+ sha256 = "0pwgf1mybpa3fs13p6jryzm32vfldyql9biwaypqdcimlnlmyk20";
1212 };
1313
1414 nativeBuildInputs = [ autoreconfHook ];
pkgs/development/php-packages/openswoole/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ lib, stdenv, buildPecl, php, valgrind, pcre2 }:
2+let
3+ pname = "openswoole";
4+ version = "4.11.1";
5+in
6+buildPecl {
7+ inherit pname version;
8+
9+ sha256 = "sha256-Rhoa4ny86dwB3e86/1W30AlDGRUDYjK8RusquKF5Izg=";
10+
11+ buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
12+ internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
13+
14+ meta = with lib; {
15+ changelog = "https://pecl.php.net/package/openswoole/${version}";
16+ description = "Coroutine-based concurrency library and high performance programmatic server for PHP";
17+ homepage = "https://www.openswoole.com/";
18+ license = licenses.asl20;
19+ longDescription = "Open Swoole allows you to build high-performance, async multi-tasking webservices and applications using an easy to use Coroutine API.\nOpen Swoole is a complete async solution that has built-in support for async programming via coroutines.\nIt offers a range of multi-threaded I/O modules (HTTP Server, WebSockets, TaskWorkers, Process Pools) out of the box and support for popular PHP clients like PDO for MySQL, and CURL.\nYou can use the sync or async, Coroutine API to write whole applications or create thousands of light weight Coroutines within one Linux process.";
20+ maintainers = teams.php.members;
21+ };
22+}
pkgs/development/php-packages/pdepend/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchurl, makeWrapper, lib, php }:
2+
3+let
4+ pname = "pdepend";
5+ version = "2.10.3";
6+in
7+stdenv.mkDerivation {
8+ inherit pname version;
9+
10+ src = fetchurl {
11+ url = "https://github.com/pdepend/pdepend/releases/download/${version}/pdepend.phar";
12+ sha256 = "I5+n8+a3rHRgW4OM6FbVcf3T1wu9zBrTSb5sGq7ArH4=";
13+ };
14+
15+ dontUnpack = true;
16+
17+ nativeBuildInputs = [ makeWrapper ];
18+
19+ installPhase = ''
20+ runHook preInstall
21+ mkdir -p $out/bin
22+ install -D $src $out/libexec/pdepend/pdepend.phar
23+ makeWrapper ${php}/bin/php $out/bin/pdepend \
24+ --add-flags "$out/libexec/pdepend/pdepend.phar"
25+ runHook postInstall
26+ '';
27+
28+ meta = with lib; {
29+ description = "An adaptation of JDepend for PHP";
30+ homepage = "https://github.com/pdepend/pdepend";
31+ license = licenses.bsd3;
32+ longDescription = "
33+ PHP Depend is an adaptation of the established Java
34+ development tool JDepend. This tool shows you the quality
35+ of your design in terms of extensibility, reusability and
36+ maintainability.
37+ ";
38+ maintainers = teams.php.members;
39+ platforms = platforms.all;
40+ };
41+}
pkgs/development/python-modules/afsapi/default.nix+3−3
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "afsapi";
14− version = "0.2.3";
14+ version = "0.2.4";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.8";
@@ -19,8 +19,8 @@ buildPythonPackage rec {
1919 src = fetchFromGitHub {
2020 owner = "wlcrs";
2121 repo = "python-afsapi";
22− rev = version;
23− hash = "sha256-6nmj15jCGBRkT7Ip/VGHX5IrAbhu1LUlvXuvFhvXknY=";
22+ rev = "refs/tags/${version}";
23+ hash = "sha256-pNggrg97GIBBTm4rjtpx0NOZIWCGn9boB/Wss/QwF6U=";
2424 };
2525
2626 SETUPTOOLS_SCM_PRETEND_VERSION = version;
pkgs/development/python-modules/aioairzone/default.nix+2−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "aioairzone";
10− version = "0.3.4";
10+ version = "0.4.2";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.8";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
1616 owner = "Noltari";
1717 repo = pname;
1818 rev = "refs/tags/${version}";
19− hash = "sha256-ENdgaG30Fll5HQOTcghkmqOAiMYEY1aHRIel4Bd25Pk=";
19+ hash = "sha256-SPxSIcsDjsT7dZQs1CoU7DstQTxYN1c0qAB+XQjVXlo=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/aioslimproto/default.nix+7−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "aioslimproto";
10− version = "2.0.0";
10+ version = "2.0.1";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.9";
@@ -16,13 +16,18 @@ buildPythonPackage rec {
1616 owner = "home-assistant-libs";
1717 repo = pname;
1818 rev = version;
19− hash = "sha256-7xFbxWay2aPCBkf3pBUGshROtssbi//PxxsI8ELeS+c=";
19+ hash = "sha256-xa0LZGq0di4lnJGVMbb1Un0Ebd4vXRlbkxbatJ9GwB0=";
2020 };
2121
2222 checkInputs = [
2323 pytestCheckHook
2424 ];
2525
26+ disabledTests = [
27+ # AssertionError: assert ['mixer', 'volume', '50'] == ['volume', '50']
28+ "test_msg_instantiation"
29+ ];
30+
2631 pythonImportsCheck = [
2732 "aioslimproto"
2833 ];
pkgs/development/python-modules/androidtv/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "androidtv";
14− version = "0.0.66";
14+ version = "0.0.67";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.7";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "JeffLIrion";
2121 repo = "python-androidtv";
2222 rev = "v${version}";
23− hash = "sha256-gSbckVjM49nVfzpk9sfynJDx15+zQ/KgaI7oxEkXQpo=";
23+ hash = "sha256-MAlKD2PDQJQaKPiMQDu1CMvn4xnxb8FmeYqzcW4hso0=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/ansible/default.nix+3−2
@@ -20,7 +20,7 @@
2020
2121let
2222 pname = "ansible";
23− version = "5.7.0";
23+ version = "5.7.1";
2424in
2525buildPythonPackage {
2626 inherit pname version;
@@ -30,7 +30,7 @@ buildPythonPackage {
3030
3131 src = fetchPypi {
3232 inherit pname version;
33− sha256 = "sha256-6AwOdN4XdK2ufAIzskf/crj72LXxBwd9tdC38DcNa4Y=";
33+ sha256 = "sha256-kKCaNFENGU1jVWiVoiWonkqLdIua4hW1XlF6N94GOmE=";
3434 };
3535
3636 postPatch = ''
@@ -78,6 +78,7 @@ buildPythonPackage {
7878 meta = with lib; {
7979 description = "Radically simple IT automation";
8080 homepage = "https://www.ansible.com";
81+ changelog = "https://github.com/ansible-community/ansible-build-data/blob/${version}/${lib.versions.major version}/CHANGELOG-v${lib.versions.major version}.rst";
8182 license = licenses.gpl3Plus;
8283 maintainers = with maintainers; [ hexa ];
8384 };
pkgs/development/python-modules/async-upnp-client/default.nix+2−2
@@ -14,7 +14,7 @@
1414
1515buildPythonPackage rec {
1616 pname = "async-upnp-client";
17− version = "0.28.0";
17+ version = "0.29.0";
1818 format = "setuptools";
1919
2020 disabled = pythonOlder "3.7";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
2323 owner = "StevenLooman";
2424 repo = "async_upnp_client";
2525 rev = version;
26− sha256 = "sha256-ZyYIZLIlLQV3Yj4a+M5vZVaTe9lEsrWhBe/g9wzM1TY=";
26+ sha256 = "sha256-IzT48ABfk/v8VZJRJEMU/Rsi6mJG4IvtF7HNRv6TLeA=";
2727 };
2828
2929 propagatedBuildInputs = [
pkgs/development/python-modules/bleach/default.nix+2−2
@@ -11,12 +11,12 @@
1111
1212buildPythonPackage rec {
1313 pname = "bleach";
14− version = "4.1.0";
14+ version = "5.0.0";
1515 disabled = pythonOlder "3.6";
1616
1717 src = fetchPypi {
1818 inherit pname version;
19− sha256 = "sha256-CQDYs366YagC7kCsAGH4wrXe4pwZJ90dIz4HXr9acdo=";
19+ hash = "sha256-xtbMBUvcnIO0i4CD4jbl8A8jhChmbSzi4IPqpf1WhWU=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/breezy/default.nix+20−5
@@ -3,23 +3,36 @@
33, fetchPypi
44, configobj
55, patiencediff
6−, six
6+, fastbencode
77, fastimport
88, dulwich
99, launchpadlib
1010, testtools
11+, pythonOlder
12+, installShellFiles
1113}:
1214
1315buildPythonPackage rec {
1416 pname = "breezy";
15− version = "3.2.1";
17+ version = "3.2.2";
18+
19+ disabled = pythonOlder "3.5";
1620
1721 src = fetchPypi {
1822 inherit pname version;
19− sha256 = "sha256-4LJo6xoooq8EUoDDfQIa4y1/8XX0ybmfM6rX2wsp2Fw=";
23+ sha256 = "sha256-GHpuRSCN0F2BdQc2cgyDcQz0gJT1R+xAgcVxJZVZpNU=";
2024 };
2125
22− propagatedBuildInputs = [ configobj patiencediff six fastimport dulwich launchpadlib ];
26+ nativeBuildInputs = [ installShellFiles ];
27+
28+ propagatedBuildInputs = [
29+ configobj
30+ fastbencode
31+ patiencediff
32+ fastimport
33+ dulwich
34+ launchpadlib
35+ ];
2336
2437 checkInputs = [ testtools ];
2538
@@ -29,6 +42,8 @@ buildPythonPackage rec {
2942 # symlink for bazaar compatibility
3043 postInstall = ''
3144 ln -s "$out/bin/brz" "$out/bin/bzr"
45+
46+ installShellCompletion --cmd brz --bash contrib/bash/brz
3247 '';
3348
3449 pythonImportsCheck = [ "breezy" ];
@@ -36,7 +51,7 @@ buildPythonPackage rec {
3651 meta = with lib; {
3752 description = "Friendly distributed version control system";
3853 homepage = "https://www.breezy-vcs.org/";
39− license = licenses.gpl2;
54+ license = licenses.gpl2Only;
4055 maintainers = [ maintainers.marsam ];
4156 };
4257}
pkgs/development/python-modules/dungeon-eos/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildPythonPackage rec {
44 pname = "dungeon-eos";
5− version = "0.0.4";
5+ version = "0.0.5";
66
77 src = fetchFromGitHub {
88 owner = "SkyTemple";
99 repo = pname;
1010 rev = version;
11− sha256 = "0hxygjk9i4qlwsxnxr52cxhqy3i62pc373z1x5sh2pas5ag59bvl";
11+ sha256 = "sha256-Z1fGtslXP8zcZmVeWjRrbcM2ZJsfbrWjpLWZ49uSCRY=";
1212 };
1313
1414 doCheck = false; # there are no tests
pkgs/development/python-modules/fastbencode/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib, buildPythonPackage, fetchPypi, python, cython }:
2+
3+buildPythonPackage rec {
4+ pname = "fastbencode";
5+ version = "0.0.7";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "sha256-tryavlQtBmN5NSlXb0m6iJFQhVT4XQm11tXtevfgxuQ=";
10+ };
11+
12+ nativeBuildInputs = [ cython ];
13+
14+ pythonImportsCheck = [ "fastbencode" ];
15+
16+ checkPhase = ''
17+ ${python.interpreter} -m unittest fastbencode.tests.test_suite
18+ '';
19+
20+ meta = with lib; {
21+ description = "Fast implementation of bencode";
22+ homepage = "https://github.com/breezy-team/fastbencode";
23+ license = licenses.gpl2Only;
24+ maintainers = [ maintainers.marsam ];
25+ };
26+}
pkgs/development/python-modules/fontmake/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, glyphslib
5+, setuptools-scm
6+, ufo2ft
7+, fonttools
8+, fontmath
9+, lxml
10+, setuptools
11+}:
12+
13+buildPythonPackage rec {
14+ pname = "fontmake";
15+ version = "3.3.0";
16+
17+ src = fetchPypi {
18+ inherit pname version;
19+ sha256 = "sha256-lD7MvZdr9CeWdoZtD3+8stVJTeQN5/AQ4miA/I2TFoE=";
20+ extension = "zip";
21+ };
22+
23+ nativeBuildInputs = [ setuptools-scm ];
24+
25+ propagatedBuildInputs = [
26+ glyphslib
27+ ufo2ft
28+ fonttools
29+ fontmath
30+ lxml
31+ setuptools
32+ ];
33+
34+ pythonImportsCheck = [ "fontmake" ];
35+
36+ meta = {
37+ description = "Compiles fonts from various sources (.glyphs, .ufo, designspace) into binaries formats (.otf, .ttf)";
38+ homepage = "https://github.com/googlefonts/fontmake";
39+ license = lib.licenses.asl20;
40+ maintainers = [ lib.maintainers.BarinovMaxim ];
41+ };
42+}
pkgs/development/python-modules/fonttools/default.nix+7−3
@@ -13,11 +13,12 @@
1313, sphinx
1414, pytestCheckHook
1515, glibcLocales
16+, setuptools-scm
1617}:
1718
1819buildPythonPackage rec {
1920 pname = "fonttools";
20− version = "4.30.0";
21+ version = "4.33.3";
2122
2223 disabled = pythonOlder "3.7";
2324
@@ -25,9 +26,11 @@ buildPythonPackage rec {
2526 owner = pname;
2627 repo = pname;
2728 rev = version;
28− sha256 = "1y9f071bdl66rsx42j16j5v53h85xra5qlg860rz3m054s2rmin9";
29+ sha256 = "MUIZGnYwlfTat9655AOYgK5r6AvHj/xXghUvOZR8HIM=";
2930 };
3031
32+ nativeBuildInputs = [ setuptools-scm ];
33+
3134 # all dependencies are optional, but
3235 # we run the checks with them
3336
@@ -51,6 +54,8 @@ buildPythonPackage rec {
5154 unicodedata2
5255 ];
5356
57+ pythonImportsCheck = [ "fontTools" ];
58+
5459 preCheck = ''
5560 # tests want to execute the "fonttools" executable from $PATH
5661 export PATH="$out/bin:$PATH"
@@ -72,7 +77,6 @@ buildPythonPackage rec {
7277 "Tests/ufoLib"
7378 ];
7479
75−
7680 meta = with lib; {
7781 homepage = "https://github.com/fonttools/fonttools";
7882 description = "A library to manipulate font files from Python";
pkgs/development/python-modules/gbulb/default.nixnew file+43
@@ -0,0 +1,43 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, pygobject3
5+, pytestCheckHook
6+, gtk3
7+, gobject-introspection
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "gbulb";
12+ version = "0.6.3";
13+
14+ src = fetchFromGitHub {
15+ owner = "beeware";
16+ repo = "gbulb";
17+ rev = "v${version}";
18+ sha256 = "sha256-QNpZf1zfe6r6MtmYMWSrXPsXm5iX36oMx4GnXiTYPaQ=";
19+ };
20+
21+ propagatedBuildInputs = [
22+ pygobject3
23+ ];
24+
25+ checkInputs = [
26+ pytestCheckHook
27+ gtk3
28+ gobject-introspection
29+ ];
30+
31+ disabledTests = [
32+ "test_glib_events.TestBaseGLibEventLoop" # Somtimes fail due to imprecise timing
33+ ];
34+
35+ pythonImportsCheck = [ "gbulb" ];
36+
37+ meta = with lib; {
38+ description = "GLib implementation of PEP 3156";
39+ homepage = "https://github.com/beeware/gbulb";
40+ license = licenses.asl20;
41+ maintainers = with maintainers; [ marius851000 ];
42+ };
43+}
pkgs/development/python-modules/gcal-sync/default.nixnew file+46
@@ -0,0 +1,46 @@
1+{ lib
2+, buildPythonPackage
3+, pythonOlder
4+, fetchFromGitHub
5+, aiohttp
6+, pydantic
7+, freezegun
8+, pytest-aiohttp
9+, pytest-asyncio
10+, pytestCheckHook
11+}:
12+
13+buildPythonPackage rec {
14+ pname = "gcal-sync";
15+ version = "0.7.1";
16+
17+ disabled = pythonOlder "3.9";
18+
19+ src = fetchFromGitHub {
20+ owner = "allenporter";
21+ repo = "gcal_sync";
22+ rev = version;
23+ hash = "sha256-NOB74P+5i63FEeHJsPXRdRgY6iyIUEn7BogbVKm8P5M=";
24+ };
25+
26+ propagatedBuildInputs = [
27+ aiohttp
28+ pydantic
29+ ];
30+
31+ checkInputs = [
32+ freezegun
33+ pytest-aiohttp
34+ pytest-asyncio
35+ pytestCheckHook
36+ ];
37+
38+ pythonImportsCheck = [ "gcal_sync" ];
39+
40+ meta = {
41+ description = "Python library for syncing Google Calendar to local storage";
42+ homepage = "https://github.com/allenporter/gcal_sync";
43+ license = lib.licenses.asl20;
44+ maintainers = with lib.maintainers; [ dotlambda ];
45+ };
46+}
pkgs/development/python-modules/glyphslib/default.nixnew file+59
@@ -0,0 +1,59 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, fonttools
5+, openstep-plist
6+, ufoLib2
7+, pytestCheckHook
8+, unicodedata2
9+, setuptools-scm
10+, ufonormalizer
11+, xmldiff
12+, defcon
13+, ufo2ft
14+, skia-pathops
15+}:
16+
17+buildPythonPackage rec {
18+ pname = "glyphslib";
19+ version = "6.0.4";
20+
21+ format = "pyproject";
22+
23+ src = fetchPypi {
24+ pname = "glyphsLib";
25+ inherit version;
26+ sha256 = "sha256-PT66n1WEO5FNcwov8GaXT1YNrAi22X4HN7iVNkuehKI=";
27+ };
28+
29+ nativeBuildInputs = [ setuptools-scm ];
30+
31+ checkInputs = [ pytestCheckHook ];
32+
33+ pythonImportsCheck = [ "glyphsLib" ];
34+
35+ propagatedBuildInputs = [
36+ fonttools
37+ openstep-plist
38+ ufoLib2
39+ unicodedata2
40+ ufonormalizer
41+ xmldiff
42+ defcon
43+ ufo2ft
44+ skia-pathops
45+ ];
46+
47+ disabledTestPaths = [
48+ "tests/builder/designspace_gen_test.py" # this test tries to use non-existent font "CoolFoundry Examplary Serif"
49+ "tests/builder/interpolation_test.py" # this test tries to use a font that previous test should made
50+ ];
51+
52+ meta = {
53+ description = "Bridge from Glyphs source files (.glyphs) to UFOs and Designspace files via defcon and designspaceLib";
54+ homepage = "https://github.com/googlefonts/glyphsLib";
55+ license = lib.licenses.asl20;
56+ maintainers = [ lib.maintainers.BarinovMaxim ];
57+ };
58+}
59+
pkgs/development/python-modules/howdoi/default.nix+16−2
@@ -10,17 +10,21 @@
1010, pyquery
1111, requests
1212, pytestCheckHook
13+, pythonOlder
1314}:
1415
1516buildPythonPackage rec {
1617 pname = "howdoi";
1718 version = "2.0.19";
19+ format = "setuptools";
20+
21+ disabled = pythonOlder "3.7";
1822
1923 src = fetchFromGitHub {
2024 owner = "gleitz";
2125 repo = pname;
2226 rev = "v${version}";
23− sha256 = "0hl7cpxm4llsgw6390bpjgkzrprrpb0vxx2flgly7wiy9zl1rc5q";
27+ hash = "sha256-uLAc6E8+8uPpo070vsG6Od/855N3gTQMf5pSUvtlh0I=";
2428 };
2529
2630 propagatedBuildInputs = [
@@ -46,6 +50,16 @@ buildPythonPackage rec {
4650 # AssertionError: "The...
4751 "test_get_text_with_one_link"
4852 "test_get_text_without_links"
53+ # Those tests are failing in the sandbox
54+ # OSError: [Errno 24] Too many open files
55+ "test_answers"
56+ "test_answers_bing"
57+ "test_colorize"
58+ "test_json_output"
59+ "test_missing_pre_or_code_query"
60+ "test_multiple_answers"
61+ "test_position"
62+ "test_unicode_answer"
4963 ];
5064
5165 pythonImportsCheck = [
@@ -54,7 +68,7 @@ buildPythonPackage rec {
5468
5569 meta = with lib; {
5670 description = "Instant coding answers via the command line";
57− homepage = "https://pypi.python.org/pypi/howdoi";
71+ homepage = "https://github.com/gleitz/howdoi";
5872 license = licenses.mit;
5973 maintainers = with maintainers; [ costrouc ];
6074 };
pkgs/development/python-modules/insteon-frontend-home-assistant/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+}:
5+
6+buildPythonPackage rec {
7+ pname = "insteon-frontend-home-assistant";
8+ version = "0.1.0";
9+
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "70ee413cae8717416f5add1be7647158d8ff4303942dafccac0792ef44336cdf";
13+ };
14+
15+ # upstream has no tests
16+ doCheck = false;
17+
18+ pythonImportsCheck = [ "insteon_frontend" ];
19+
20+ meta = {
21+ description = "The Insteon frontend for Home Assistant";
22+ homepage = "https://github.com/teharris1/insteon-panel";
23+ license = lib.licenses.mit;
24+ maintainers = with lib.maintainers; [ dotlambda ];
25+ };
26+}
pkgs/development/python-modules/meater-python/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ lib
2+, aiohttp
3+, buildPythonPackage
4+, fetchPypi
5+, pythonOlder
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "meater-python";
10+ version = "0.0.8";
11+ format = "setuptools";
12+
13+ disabled = pythonOlder "3.7";
14+
15+ src = fetchPypi {
16+ inherit pname version;
17+ hash = "sha256-86XJmKOc2MCyU9v0UAZsPCUL/kAXywOlQOIHaykNF1o=";
18+ };
19+
20+ propagatedBuildInputs = [
21+ aiohttp
22+ ];
23+
24+ # Module has no tests
25+ doCheck = false;
26+
27+ pythonImportsCheck = [
28+ "meater"
29+ ];
30+
31+ meta = with lib; {
32+ description = "Library for the Apption Labs Meater cooking probe";
33+ homepage = "https://github.com/Sotolotl/meater-python";
34+ license = licenses.asl20;
35+ maintainers = with maintainers; [ fab ];
36+ };
37+}
pkgs/development/python-modules/nbclient/default.nix+33−10
@@ -1,27 +1,50 @@
1−{ lib, buildPythonPackage, fetchPypi, pythonOlder,
2− async_generator, traitlets, nbformat, nest-asyncio, jupyter-client,
3− pytest, xmltodict, nbconvert, ipywidgets
4−, doCheck ? true
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pythonOlder
5+, async_generator
6+, traitlets
7+, nbformat
8+, nest-asyncio
9+, jupyter-client
10+, pytestCheckHook
11+, xmltodict
12+, nbconvert
13+, ipywidgets
514}:
615
7−buildPythonPackage rec {
16+let nbclient = buildPythonPackage rec {
817 pname = "nbclient";
9− version = "0.5.13";
18+ version = "0.6.2";
19+ format = "setuptools";
20+
1021 disabled = pythonOlder "3.7";
1122
1223 src = fetchPypi {
1324 inherit pname version;
14− sha256 = "sha256-QMUsm148MfrsruafICs/U+ONfBxWPeD63enX7aD9r+g=";
25+ hash = "sha256-i0dVPxztB3zXxFN/1dcB1G92gfJLKCdeXMHTR+fJtGs=";
1526 };
1627
17− inherit doCheck;
18− checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
1928 propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];
2029
30+ # circular dependencies if enabled by default
31+ doCheck = false;
32+
33+ checkInputs = [ pytestCheckHook xmltodict nbconvert ipywidgets ];
34+
35+ preCheck = ''
36+ export HOME=$(mktemp -d)
37+ '';
38+
39+ passthru.tests = {
40+ check = nbclient.overridePythonAttrs (_: { doCheck = true; });
41+ };
42+
2143 meta = with lib; {
2244 homepage = "https://github.com/jupyter/nbclient";
2345 description = "A client library for executing notebooks";
2446 license = licenses.bsd3;
2547 maintainers = [ maintainers.erictapen ];
2648 };
27−}
49+};
50+in nbclient
pkgs/development/python-modules/nbconvert/default.nix+8−7
@@ -5,13 +5,11 @@
55, glibcLocales
66, entrypoints
77, bleach
8−, beautifulsoup4
98, mistune
109, nbclient
1110, jinja2
1211, pygments
1312, traitlets
14−, testpath
1513, jupyter_core
1614, jupyterlab-pygments
1715, nbformat
@@ -20,15 +18,18 @@
2018, tornado
2119, jupyter-client
2220, defusedxml
21+, tinycss2
22+, beautifulsoup4
2323}:
2424
2525buildPythonPackage rec {
2626 pname = "nbconvert";
27− version = "6.4.5";
27+ version = "6.5.0";
28+ format = "setuptools";
2829
2930 src = fetchPypi {
3031 inherit pname version;
31− sha256 = "sha256-IRY6jiBzwHEJyo85iDbkXv26KqzqaNb3WopUX+8HDU4=";
32+ hash = "sha256-Ij5G4nq+hZa4rtVDAfrbukM7f/6oGWpo/Xsf9Qnu6Z0=";
3233 };
3334
3435 # Add $out/share/jupyter to the list of paths that are used to search for
@@ -44,10 +45,10 @@ buildPythonPackage rec {
4445 checkInputs = [ pytestCheckHook glibcLocales ];
4546
4647 propagatedBuildInputs = [
47− entrypoints bleach mistune jinja2 pygments traitlets testpath
48+ entrypoints bleach mistune jinja2 pygments traitlets
4849 jupyter_core nbformat ipykernel pandocfilters tornado jupyter-client
49− defusedxml beautifulsoup4
50− (nbclient.override { doCheck = false; }) # avoid infinite recursion
50+ defusedxml tinycss2 beautifulsoup4
51+ nbclient
5152 jupyterlab-pygments
5253 ];
5354
pkgs/development/python-modules/nvchecker/default.nix+2−2
@@ -20,7 +20,7 @@
2020
2121buildPythonPackage rec {
2222 pname = "nvchecker";
23− version = "2.7";
23+ version = "2.8";
2424 format = "setuptools";
2525
2626 disabled = pythonOlder "3.7";
@@ -29,7 +29,7 @@ buildPythonPackage rec {
2929 owner = "lilydjwg";
3030 repo = pname;
3131 rev = "v${version}";
32− hash = "sha256-OPUqkHLG8PUlD5NP7q/BpKUvmAA8Jk1NvsPPVbImv0A=";
32+ hash = "sha256-ikpjR1fEZBsSOE20jxTyarb9Pqn3Fz+TYOzXp0g4G9c=";
3333 };
3434
3535 nativeBuildInputs = [
pkgs/development/python-modules/openstep-plist/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, setuptools-scm
5+, pytestCheckHook
6+, cython
7+, pythonImportsCheckHook
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "openstep-plist";
12+ version = "0.3.0";
13+
14+ src = fetchPypi {
15+ pname = "openstep_plist";
16+ inherit version;
17+ sha256 = "sha256-KO4sGKjod5BwUFQ1MU2S1dG0DyiJ06mdroMbRDsugBk=";
18+ extension = "zip";
19+ };
20+
21+ nativeBuildInputs = [ setuptools-scm cython ];
22+ checkInputs = [ pytestCheckHook ];
23+ pythonImportsCheck = [ "openstep_plist" ];
24+
25+ meta = {
26+ description = "Parser for the 'old style' OpenStep property list format also known as ASCII plist";
27+ homepage = "https://github.com/fonttools/openstep-plist";
28+ license = lib.licenses.mit;
29+ maintainers = [ lib.maintainers.BarinovMaxim ];
30+ };
31+}
pkgs/development/python-modules/peaqevcore/default.nix+2−2
@@ -6,14 +6,14 @@
66
77buildPythonPackage rec {
88 pname = "peaqevcore";
9− version = "0.0.21";
9+ version = "0.0.22";
1010 format = "setuptools";
1111
1212 disabled = pythonOlder "3.7";
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− hash = "sha256-NTwLo/RtwSf3a43dAv8EK1NWuCsVjL+8+KozjvaPUm4=";
16+ hash = "sha256-ye8evqkOy08wHYohVOpXB2pfPN/vsK9GnPnL/nbVZU0=";
1717 };
1818
1919 postPatch = ''
pkgs/development/python-modules/py-desmume/default.nix+3−14
@@ -3,29 +3,18 @@
33, alsa-lib, soundtouch, openal
44}:
55
6−let
7− desmume = fetchFromGitHub {
8− owner = "SkyTemple";
9− repo = "desmume";
10− rev = "8e7af8ada883b7e91344985236f7c7c04ee795d7";
11− sha256 = "0svmv2rch9q347gbpbws4agymas8n014gh1ssaf91wx7jwn53842";
12− };
13−in
146buildPythonPackage rec {
157 pname = "py-desmume";
16− version = "0.0.3.post2";
8+ version = "0.0.4.post2";
179
1810 src = fetchFromGitHub {
1911 owner = "SkyTemple";
2012 repo = pname;
2113 rev = version;
22− sha256 = "1chsg70k8kqnlasn88b04ww3yl0lay1bjxvz6lhp6s2cvsxv03x1";
14+ sha256 = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
15+ fetchSubmodules = true;
2316 };
2417
25− postPatch = ''
26− cp -R --no-preserve=mode ${desmume} __build_desmume
27− '';
28−
2918 buildInputs = [ GitPython libpcap SDL2 alsa-lib soundtouch openal ];
3019 nativeBuildInputs = [ meson ninja pkg-config ];
3120 propagatedBuildInputs = [ pillow pygobject3 ];
pkgs/development/python-modules/pychromecast/default.nix+2−2
@@ -10,7 +10,7 @@
1010
1111buildPythonPackage rec {
1212 pname = "pychromecast";
13− version = "11.0.0";
13+ version = "12.0.0";
1414 format = "setuptools";
1515
1616 disabled = !isPy3k;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
1818 src = fetchPypi {
1919 pname = "PyChromecast";
2020 inherit version;
21− sha256 = "sha256-FRcjsXgRAFK2c7h2WhIMhdFurowi11V13O6+K+HrHvY=";
21+ sha256 = "sha256-asvEJix8/3glVhenll/rlTwSZdX0LRPMX4uCSURohJ4=";
2222 };
2323
2424 propagatedBuildInputs = [
pkgs/development/python-modules/pydeconz/default.nix+6−4
@@ -1,6 +1,7 @@
11{ lib
22, aiohttp
33, aioresponses
4+, async-timeout
45, buildPythonPackage
56, fetchFromGitHub
67, pytest-aiohttp
@@ -10,20 +11,21 @@
1011
1112buildPythonPackage rec {
1213 pname = "pydeconz";
13− version = "87";
14+ version = "91";
1415 format = "setuptools";
1516
16− disabled = pythonOlder "3.7";
17+ disabled = pythonOlder "3.9";
1718
1819 src = fetchFromGitHub {
1920 owner = "Kane610";
2021 repo = "deconz";
21− rev = "v${version}";
22− sha256 = "sha256-scNTHbUL8TOhkUJyib4cgL8A4gZ73asmFLi8aGw3sX8=";
22+ rev = "refs/tags/v${version}";
23+ hash = "sha256-JoQapWQZPjP9TD6gnIGE23hzBt22kAWDKreTzq3GBWQ=";
2324 };
2425
2526 propagatedBuildInputs = [
2627 aiohttp
28+ async-timeout
2729 ];
2830
2931 checkInputs = [
pkgs/development/python-modules/pyeapi/default.nix+36−8
@@ -1,10 +1,11 @@
11{ lib
22, buildPythonPackage
3−, pythonAtLeast
43, fetchFromGitHub
4+, fetchpatch
5+, mock
56, netaddr
67, pytestCheckHook
7−, mock
8+, pythonOlder
89}:
910
1011buildPythonPackage rec {
@@ -12,8 +13,7 @@ buildPythonPackage rec {
1213 version = "0.8.4";
1314 format = "pyproject";
1415
15− # https://github.com/arista-eosplus/pyeapi/issues/189
16− disabled = pythonAtLeast "3.10";
16+ disabled = pythonOlder "3.7";
1717
1818 src = fetchFromGitHub {
1919 owner = "arista-eosplus";
@@ -22,21 +22,49 @@ buildPythonPackage rec {
2222 sha256 = "13chya6wix5jb82k67gr44bjx35gcdwz80nsvpv0gvzs6shn4d7b";
2323 };
2424
25− propagatedBuildInputs = [ netaddr ];
25+ propagatedBuildInputs = [
26+ netaddr
27+ ];
2628
2729 checkInputs = [
2830 mock
2931 pytestCheckHook
3032 ];
3133
32− pytestFlagsArray = [ "test/unit" ];
34+ patches = [
35+ # Fix usage of collection, https://github.com/arista-eosplus/pyeapi/pull/223
36+ (fetchpatch {
37+ name = "fix-collection-usage.patch";
38+ url = "https://github.com/arista-eosplus/pyeapi/commit/81754f57eb095703cc474f527a0915360af76f68.patch";
39+ sha256 = "sha256-ZNBTPRNmXCFVJeRAJxzIHmCOXZiGwU6t4ekSupU3BX8=";
40+ })
41+ (fetchpatch {
42+ name = "fix-collection-usage-2.patch";
43+ url = "https://github.com/arista-eosplus/pyeapi/commit/cc9c584e4a3167e3c1624cccb6bc0d9c9bcdbc1c.patch";
44+ sha256 = "sha256-EY0i1Skm1llEQAAzvrb2yelhhLBkqKAFJB5ObAIxAYo=";
45+ excludes = [
46+ ".github/workflows/ci.yml"
47+ ];
48+ })
49+ (fetchpatch {
50+ name = "fix-collection-usage-3.patch";
51+ url = "https://github.com/arista-eosplus/pyeapi/commit/dc35ab076687ea71665ae9524480b05a4e893909.patch";
52+ sha256 = "sha256-xPaYULCPTxiQGB9Im/qLet+XebW9wq+TAfrxcgQxcoE=";
53+ })
54+ ];
3355
34− pythonImportsCheck = [ "pyeapi" ];
56+ pytestFlagsArray = [
57+ "test/unit"
58+ ];
59+
60+ pythonImportsCheck = [
61+ "pyeapi"
62+ ];
3563
3664 meta = with lib; {
3765 description = "Client for Arista eAPI";
3866 homepage = "https://github.com/arista-eosplus/pyeapi";
3967 license = licenses.bsd3;
40− maintainers = [ maintainers.astro ];
68+ maintainers = with maintainers; [ astro ];
4169 };
4270}
pkgs/development/python-modules/pyevilgenius/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "pyevilgenius";
11− version = "1.0.0";
11+ version = "2.0.0";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.8";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
1717 owner = "home-assistant-libs";
1818 repo = pname;
1919 rev = version;
20− sha256 = "06xnl93sqklg7gx0z50vm79xwww0yyw05c1yynajc9aijfi8cmi3";
20+ sha256 = "sha256-wjC32oq/lW3Z4XB+4SILRKIOuCgBKk1gruOo4uc/4/o=";
2121 };
2222
2323 propagatedBuildInputs = [
pkgs/development/python-modules/pyinfra/default.nix+2−2
@@ -17,14 +17,14 @@
1717
1818buildPythonPackage rec {
1919 pname = "pyinfra";
20− version = "2.0.1";
20+ version = "2.0.2";
2121 format = "setuptools";
2222
2323 disabled = pythonOlder "3.7";
2424
2525 src = fetchPypi {
2626 inherit pname version;
27− sha256 = "sha256-157NtpA85FS27Ln1Xsvq5/qumSsr0WSDOhG0UwMUnRE=";
27+ sha256 = "sha256-AW2pOyLqyugTSM7PE4oR9ZwD1liNpdD636QA3ElafG0=";
2828 };
2929
3030 propagatedBuildInputs = [
pkgs/development/python-modules/pyinsteon/default.nix+3−3
@@ -16,7 +16,7 @@
1616
1717buildPythonPackage rec {
1818 pname = "pyinsteon";
19− version = "1.0.16";
19+ version = "1.1.0";
2020 format = "setuptools";
2121
2222 disabled = pythonOlder "3.6";
@@ -24,8 +24,8 @@ buildPythonPackage rec {
2424 src = fetchFromGitHub {
2525 owner = pname;
2626 repo = pname;
27− rev = version;
28− hash = "sha256-V0niLQAplN/uZ0YeN6g8uax3U/d0LUT4aXxe3ENXIHc=";
27+ rev = "refs/tags/${version}";
28+ hash = "sha256-YoDCvYpbw06MXx371SNarrtQ0t4xlhwm1CBbl524P7c=";
2929 };
3030
3131 propagatedBuildInputs = [
pkgs/development/python-modules/pykulersky/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "pykulersky";
14− version = "0.5.3";
14+ version = "0.5.4";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.6";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "emlove";
2121 repo = pname;
2222 rev = version;
23− sha256 = "sha256-l3obfs5zo5DqArsDml8EZ+/uzab35Jjsuzw6U1XFJ3k=";
23+ sha256 = "sha256-voD4tR+k5TKGjLXFK94GJy4+wUoP2cSFc5BWkCiinOg=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pynws/default.nix+2−2
@@ -13,14 +13,14 @@
1313
1414buildPythonPackage rec {
1515 pname = "pynws";
16− version = "1.3.2";
16+ version = "1.4.1";
1717 disabled = pythonOlder "3.6";
1818
1919 src = fetchFromGitHub {
2020 owner = "MatthewFlamm";
2121 repo = pname;
2222 rev = "v${version}";
23− sha256 = "0d2x3vlm444aar4wbdg48xzpgwng5m7i2d7h1z0pb6c514747sd1";
23+ sha256 = "sha256-hAUD92wlQZ0BZ++e/KdIOgTzavmUkrH3esDhI3mbl5Y=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pytomorrowio/default.nix+4−2
@@ -3,19 +3,20 @@
33, pythonOlder
44, fetchPypi
55, aiohttp
6+, pytest-aiohttp
67, pytest-asyncio
78, pytestCheckHook
89}:
910
1011buildPythonPackage rec {
1112 pname = "pytomorrowio";
12− version = "0.2.1";
13+ version = "0.3.3";
1314
1415 disabled = pythonOlder "3.7";
1516
1617 src = fetchPypi {
1718 inherit pname version;
18− sha256 = "aabb41436fb5834b687d73b334d95be07a18d5943d27a1fd06271b749558ba0e";
19+ sha256 = "0d4f81dc90aefa26da18b927473cb7b08b093f7732301983ef5f0b1ca1181c62";
1920 };
2021
2122 propagatedBuildInputs = [
@@ -23,6 +24,7 @@ buildPythonPackage rec {
2324 ];
2425
2526 checkInputs = [
27+ pytest-aiohttp
2628 pytest-asyncio
2729 pytestCheckHook
2830 ];
pkgs/development/python-modules/simplisafe-python/default.nix+6−2
@@ -3,6 +3,7 @@
33, aresponses
44, asynctest
55, backoff
6+, beautifulsoup4
67, buildPythonPackage
78, docutils
89, fetchFromGitHub
@@ -19,7 +20,7 @@
1920
2021buildPythonPackage rec {
2122 pname = "simplisafe-python";
22− version = "2022.03.3";
23+ version = "2022.05.0";
2324 format = "pyproject";
2425
2526 disabled = pythonOlder "3.8";
@@ -28,7 +29,7 @@ buildPythonPackage rec {
2829 owner = "bachya";
2930 repo = pname;
3031 rev = version;
31− sha256 = "sha256-19+p39uZO9pSDzH6YkS9ZDVA4zyl9oJ325yTQ5+SQcw=";
32+ sha256 = "sha256-NXEhjj8L7MPAdQwjqe6u+L9vi/mIIA8TxDpM5q4uUrU=";
3233 };
3334
3435 nativeBuildInputs = [
@@ -38,6 +39,7 @@ buildPythonPackage rec {
3839 propagatedBuildInputs = [
3940 aiohttp
4041 backoff
42+ beautifulsoup4
4143 docutils
4244 pytz
4345 voluptuous
@@ -62,6 +64,8 @@ buildPythonPackage rec {
6264 # simplipy/api.py:253: InvalidCredentialsError
6365 "test_request_error_failed_retry"
6466 "test_update_error"
67+ # ClientConnectorError: Cannot connect to host auth.simplisafe.com:443 ssl:default [Temporary failure in name resolution]
68+ "test_client_async_from_refresh_token_unknown_error"
6569 ];
6670
6771 disabledTestPaths = [
pkgs/development/python-modules/skia-pathops/default.nixnew file+43
@@ -0,0 +1,43 @@
1+{ lib
2+, buildPythonPackage
3+, cython
4+, ninja
5+, setuptools-scm
6+, setuptools
7+, fetchPypi
8+, gn
9+, pytestCheckHook
10+}:
11+
12+buildPythonPackage rec {
13+ pname = "skia-pathops";
14+ version = "0.7.2";
15+
16+ src = fetchPypi {
17+ pname = "skia-pathops";
18+ inherit version;
19+ extension = "zip";
20+ sha256 = "sha256-Gdhcmv77oVr5KxPIiJlk935jgvWPQsYEC0AZ6yjLppA=";
21+ };
22+
23+ postPatch = ''
24+ substituteInPlace setup.py \
25+ --replace "build_cmd = [sys.executable, build_skia_py, build_dir]" \
26+ 'build_cmd = [sys.executable, build_skia_py, "--no-fetch-gn", "--no-virtualenv", "--gn-path", "${gn}/bin/gn", build_dir]'
27+ '';
28+
29+ nativeBuildInputs = [ cython ninja setuptools-scm ];
30+
31+ propagatedBuildInputs = [ setuptools ];
32+
33+ checkInputs = [ pytestCheckHook ];
34+
35+ pythonImportsCheck = [ "pathops" ];
36+
37+ meta = {
38+ description = "Python access to operations on paths using the Skia library";
39+ homepage = "https://skia.org/dev/present/pathops";
40+ license = lib.licenses.bsd3;
41+ maintainers = [ lib.maintainers.BarinovMaxim ];
42+ };
43+}
pkgs/development/python-modules/skytemple-files/default.nix+2−2
@@ -4,13 +4,13 @@
44
55buildPythonPackage rec {
66 pname = "skytemple-files";
7− version = "1.3.3";
7+ version = "1.3.9";
88
99 src = fetchFromGitHub {
1010 owner = "SkyTemple";
1111 repo = pname;
1212 rev = version;
13− sha256 = "01j6khn60mdmz32xkpqrzwdqibmpdpi2wvwzxgdnaim9sq0fdqws";
13+ sha256 = "sha256-Z/jbr9o0WKPjkAsfZzxuwAKKdwYV3rLGkUMlMgyC5s0=";
1414 fetchSubmodules = true;
1515 };
1616
pkgs/development/python-modules/skytemple-rust/default.nix+15−6
@@ -1,25 +1,34 @@
1−{ lib, stdenv, buildPythonPackage, fetchFromGitHub, libiconv, rustPlatform, setuptools-rust }:
1+{ lib
2+, stdenv
3+, buildPythonPackage
4+, fetchFromGitHub
5+, libiconv
6+, Foundation
7+, rustPlatform
8+, setuptools-rust }:
29
310buildPythonPackage rec {
411 pname = "skytemple-rust";
5− version = "unstable-2021-08-11";
12+ version = "1.3.7";
613
714 src = fetchFromGitHub {
815 owner = "SkyTemple";
916 repo = pname;
10− rev = "e306e5edc096cb3fef25585d9ca5a2817543f1cd";
11− sha256 = "0ja231gsy9i1z6jsaywawz93rnyjhldngi5i787nhnf88zrwx9ml";
17+ rev = version;
18+ sha256 = "sha256-rC7KA79va8gZpMKJQ7s3xYdbopNqmWdRYDCbaWaxsR0=";
1219 };
1320
1421 cargoDeps = rustPlatform.fetchCargoTarball {
1522 inherit src;
1623 name = "${pname}-${version}";
17− sha256 = "0gjvfblyv72m0nqv90m7qvbdnazsh5ind1pxwqz83vm4zjh9a873";
24+ sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E=";
1825 };
1926
20− buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
27+ buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
2128 nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
2229
30+ GETTEXT_SYSTEM = true;
31+
2332 doCheck = false; # there are no tests
2433 pythonImportsCheck = [ "skytemple_rust" ];
2534
pkgs/development/python-modules/skytemple-ssb-debugger/default.nix+2−2
@@ -5,13 +5,13 @@
55
66buildPythonPackage rec {
77 pname = "skytemple-ssb-debugger";
8− version = "1.3.0";
8+ version = "1.3.8.post2";
99
1010 src = fetchFromGitHub {
1111 owner = "SkyTemple";
1212 repo = pname;
1313 rev = version;
14− sha256 = "12v0071125m8xjcp2hxm9qvs0qw4hdhkx8r3gbl0plm22vl3fk0d";
14+ sha256 = "sha256-dd0qsSNBwxuSopjz2PLqEFddZpvMgeJIjBXY5P6OAow=";
1515 };
1616
1717 buildInputs = [ gobject-introspection gtk3 gtksourceview3 ];
pkgs/development/python-modules/snowflake-connector-python/default.nix+2−2
@@ -24,12 +24,12 @@
2424
2525buildPythonPackage rec {
2626 pname = "snowflake-connector-python";
27− version = "2.7.6";
27+ version = "2.7.7";
2828 disabled = pythonOlder "3.6";
2929
3030 src = fetchPypi {
3131 inherit pname version;
32− sha256 = "sha256-MxYo4MoCdkSSuDteR3A72FcRWuKTRrct4y1/t8nsVIs=";
32+ sha256 = "sha256-OZL/ClHY8yatR0AJVyomBq7AjBwQwm5f9UnmdlL8IFw=";
3333 };
3434
3535 postPatch = ''
pkgs/development/python-modules/sqlmap/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "sqlmap";
10− version = "1.6.4";
10+ version = "1.6.5";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "sha256-6RKJ5a8Yl+SnWgdfrTIwY0m1JyY6W9fhZk6pTZiBVx8=";
14+ sha256 = "sha256-EdiLTzjRigJLsslWSymLNajvUDimBt4d4EBugxVYueg=";
1515 };
1616
1717 postPatch = ''
pkgs/development/python-modules/textual/default.nix+16−13
@@ -1,38 +1,34 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4−, fetchpatch
54, poetry-core
65, rich
76, typing-extensions
87, pytestCheckHook
8+, pythonOlder
99}:
1010
1111buildPythonPackage rec {
1212 pname = "textual";
13− version = "0.1.15";
13+ version = "0.1.18";
1414 format = "pyproject";
1515
16+ disabled = pythonOlder "3.7";
17+
1618 src = fetchFromGitHub {
1719 owner = "Textualize";
1820 repo = pname;
1921 rev = "v${version}";
20− sha256 = "1jmjais0yq8dwi9yikgrxdw4rwp8aq1981nhfxn0v97jb07i4cj6";
22+ sha256 = "sha256-XVmbt8r5HL8r64ISdJozmM+9HuyvqbpdejWICzFnfiw=";
2123 };
2224
23− patches = [
24− (fetchpatch {
25− # v0.1.15 git tag has 0.1.14 in pyproject.toml
26− name = "version.patch";
27− url = "https://github.com/Textualize/textual/commit/1b8d7d184e10889002425641222702afba508aea.patch";
28− sha256 = "1nfqp5f8ba3fg0ar3lghrlqypbjbsaywxaz3iiff8fy8j2wgsppp";
29− })
25+ nativeBuildInputs = [
26+ poetry-core
3027 ];
3128
32− nativeBuildInputs = [ poetry-core ];
33−
3429 propagatedBuildInputs = [
3530 rich
31+ ] ++ lib.optionals (pythonOlder "3.9") [
3632 typing-extensions
3733 ];
3834
@@ -40,7 +36,14 @@ buildPythonPackage rec {
4036 pytestCheckHook
4137 ];
4238
43− pythonImportsCheck = [ "textual" ];
39+ postPatch = ''
40+ substituteInPlace pyproject.toml \
41+ --replace 'rich = "^12.3.0"' 'rich = "*"'
42+ '';
43+
44+ pythonImportsCheck = [
45+ "textual"
46+ ];
4447
4548 meta = with lib; {
4649 description = "TUI framework for Python inspired by modern web development";
pkgs/development/python-modules/total-connect-client/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "total-connect-client";
11− version = "2022.2.1";
11+ version = "2022.3";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.7";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
1717 owner = "craigjmidwinter";
1818 repo = "total-connect-client";
1919 rev = version;
20− hash = "sha256-1/uqOxaJqrT+E+0ikNZX9AfIRRbpBSjh2nINrqGWxbY=";
20+ hash = "sha256-KfJFU85yQmBZn4f0ljnaiy/DjHMOuNi+Q7nb8yCpKVk=";
2121 };
2222
2323 propagatedBuildInputs = [
pkgs/development/python-modules/ufo2ft/default.nix+2−2
@@ -12,13 +12,13 @@
1212
1313buildPythonPackage rec {
1414 pname = "ufo2ft";
15− version = "2.26.0";
15+ version = "2.27.0";
1616
1717 format = "setuptools";
1818
1919 src = fetchPypi {
2020 inherit pname version;
21− sha256 = "sha256-1WQAs1ypWtLObgBzPtqtvHjkKnDWohu3PbI3bF7B0Sg=";
21+ sha256 = "r5bE4M/blt5TKzP43MpijwYY6ll3aasszmGksY5WTTE=";
2222 };
2323
2424 patches = [
pkgs/development/python-modules/ufoLib2/default.nix+3
@@ -5,6 +5,7 @@
55, fonttools
66, pytestCheckHook
77, fs
8+, setuptools-scm
89}:
910
1011buildPythonPackage rec {
@@ -25,6 +26,8 @@ buildPythonPackage rec {
2526 fs
2627 ];
2728
29+ nativeBuildInputs = [ setuptools-scm ];
30+
2831 checkInputs = [
2932 pytestCheckHook
3033 ];
pkgs/development/python-modules/voluptuous/default.nix+15−11
@@ -1,27 +1,31 @@
11{ lib
22, buildPythonPackage
3−, fetchPypi
4−, nose
3+, fetchFromGitHub
4+, pytestCheckHook
55}:
66
77buildPythonPackage rec {
88 pname = "voluptuous";
9− version = "0.13.0";
9+ version = "0.13.1";
1010
11− src = fetchPypi {
12− inherit pname version;
13− sha256 = "sha256-yuakUmtDS2QoFrNKAOEYbVpfXgyUirlNKpGOAeWHQGY=";
11+ src = fetchFromGitHub {
12+ owner = "alecthomas";
13+ repo = pname;
14+ rev = version;
15+ hash = "sha256-cz3Bd+/yPh+VOHxzi/W+gbDh/H5Nl/n4jvxDOirmAVk=";
1416 };
1517
1618 checkInputs = [
17− nose
19+ pytestCheckHook
1820 ];
1921
20− checkPhase = ''
21− nosetests
22− '';
22+ pythonImportsCheck = [
23+ "voluptuous"
24+ ];
2325
24− pythonImportsCheck = [ "voluptuous" ];
26+ pytestFlagsArray = [
27+ "voluptuous/tests/"
28+ ];
2529
2630 meta = with lib; {
2731 description = "Python data validation library";
pkgs/development/python-modules/wandb/default.nix+20−12
@@ -12,6 +12,7 @@
1212, jsonref
1313, jsonschema
1414, matplotlib
15+, nbconvert
1516, nbformat
1617, pandas
1718, pathtools
@@ -36,7 +37,7 @@
3637
3738buildPythonPackage rec {
3839 pname = "wandb";
39− version = "0.12.15";
40+ version = "0.12.16";
4041 format = "setuptools";
4142
4243 disabled = pythonOlder "3.6";
@@ -45,7 +46,7 @@ buildPythonPackage rec {
4546 owner = pname;
4647 repo = "client";
4748 rev = "v${version}";
48− hash = "sha256-Fq+JwUEZP1QDFKYVyiR8DUU0GQV6fK50FW78qaWh+Mo=";
49+ hash = "sha256-ZY7nTj93piTEeHhW+H+nQ+ws2dDmmY6u3p7uz296PbA=";
4950 };
5051
5152 # setuptools is necessary since pkg_resources is required at runtime.
@@ -66,6 +67,20 @@ buildPythonPackage rec {
6667 shortuuid
6768 ];
6869
70+ # wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
71+ # for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128.
72+ # See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to
73+ # why we don't put it in propagatedBuildInputs. Note that this is difficult to
74+ # test offline due to https://github.com/wandb/client/issues/3519.
75+ postInstall = ''
76+ mkdir -p $out/bin
77+ ln -s ${git}/bin/git $out/bin/git
78+ '';
79+
80+ preCheck = ''
81+ export HOME=$(mktemp -d)
82+ '';
83+
6984 checkInputs = [
7085 azure-core
7186 bokeh
@@ -73,6 +88,9 @@ buildPythonPackage rec {
7388 jsonref
7489 jsonschema
7590 matplotlib
91+ # Oddly enough, nbclient does not provide the `nbclient` module. Rather it's
92+ # available in nbconvert. See https://github.com/NixOS/nixpkgs/issues/171493#issuecomment-1116960488.
93+ nbconvert
7694 nbformat
7795 pandas
7896 pydantic
@@ -83,16 +101,6 @@ buildPythonPackage rec {
83101 tqdm
84102 ];
85103
86− # wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
87− # for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128.
88− # See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to
89− # why we don't put it in propagatedBuildInputs. Note that this is difficult to
90− # test offline due to https://github.com/wandb/client/issues/3519.
91− postInstall = ''
92− mkdir -p $out/bin
93− ln -s ${git}/bin/git $out/bin/git
94− '';
95−
96104 disabledTestPaths = [
97105 # Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
98106 "tests/test_cli.py"
pkgs/development/python-modules/zigpy/default.nix+4−2
@@ -4,6 +4,7 @@
44, asynctest
55, buildPythonPackage
66, crccheck
7+, cryptography
78, fetchFromGitHub
89, pycryptodome
910, pytest-aiohttp
@@ -15,7 +16,7 @@
1516
1617buildPythonPackage rec {
1718 pname = "zigpy";
18− version = "0.44.2";
19+ version = "0.45.1";
1920 format = "setuptools";
2021
2122 disabled = pythonOlder "3.7";
@@ -24,13 +25,14 @@ buildPythonPackage rec {
2425 owner = "zigpy";
2526 repo = "zigpy";
2627 rev = version;
27− sha256 = "sha256-E6SeuVu5UdWL5Tx39UQymNhABltR+qVHANYWuCh+h6I=";
28+ sha256 = "sha256-85Bi8qjbUKLXFW7VGOxzelMa1gY9giGeQRmOeoZ1idE=";
2829 };
2930
3031 propagatedBuildInputs = [
3132 aiohttp
3233 aiosqlite
3334 crccheck
35+ cryptography
3436 pycryptodome
3537 voluptuous
3638 ];
pkgs/development/python-modules/zwave-js-server-python/default.nix+2−2
@@ -10,7 +10,7 @@
1010
1111buildPythonPackage rec {
1212 pname = "zwave-js-server-python";
13− version = "0.35.3";
13+ version = "0.36.1";
1414 format = "setuptools";
1515
1616 disabled = pythonOlder "3.8";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
1919 owner = "home-assistant-libs";
2020 repo = pname;
2121 rev = version;
22− sha256 = "sha256-vM5GEqq32VdC5UjGVlnrN8/LRcCHHkJFzEbaA2Snte8=";
22+ sha256 = "sha256-XVFOx0f5lBh5i7q8XEb4qd0Lu09jEEYKyJUJBqXwirc=";
2323 };
2424
2525 propagatedBuildInputs = [
pkgs/development/tools/analysis/codeql/default.nix+2−2
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 pname = "codeql";
5− version = "2.8.2";
5+ version = "2.8.5";
66
77 dontConfigure = true;
88 dontBuild = true;
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 src = fetchzip {
1212 url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip";
13− sha256 = "sha256-F0tr4oQPgusLVCP5jSCYxl/xHbZLrVXd2FFYSJY3PPs=";
13+ sha256 = "sha256-HZJBqm196RgWR/14mfrLYQlU+4W3t0b4TXme04XkfKw=";
1414 };
1515
1616 nativeBuildInputs = [
pkgs/development/tools/build-managers/bloop/default.nix+16−46
@@ -1,6 +1,5 @@
11{ stdenv
22, fetchurl
3−, coursier
43, autoPatchelfHook
54, installShellFiles
65, makeWrapper
@@ -11,58 +10,34 @@
1110
1211stdenv.mkDerivation rec {
1312 pname = "bloop";
14− version = "1.4.13";
13+ version = "1.5.0";
1514
16− bloop-coursier-channel = fetchurl {
17− url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bloop-coursier.json";
18− sha256 = "VbvBAz7mXhgQtbrlB6uCSmZXLcdYaROJRSREbazAReo=";
19− };
15+ platform =
16+ if stdenv.isLinux && stdenv.isx86_64 then "x86_64-pc-linux"
17+ else if stdenv.isDarwin && stdenv.isx86_64 then "x86_64-apple-darwin"
18+ else throw "unsupported platform";
2019
2120 bloop-bash = fetchurl {
2221 url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bash-completions";
23− sha256 = "2mt+zUEJvQ/5ixxFLZ3Z0m7uDSj/YE9sg/uNMjamvdE=";
22+ sha256 = "sha256-2mt+zUEJvQ/5ixxFLZ3Z0m7uDSj/YE9sg/uNMjamvdE=";
2423 };
2524
2625 bloop-fish = fetchurl {
2726 url = "https://github.com/scalacenter/bloop/releases/download/v${version}/fish-completions";
28− sha256 = "eFESR6iPHRDViGv+Fk3sCvPgVAhk2L1gCG4LnfXO/v4=";
27+ sha256 = "sha256-eFESR6iPHRDViGv+Fk3sCvPgVAhk2L1gCG4LnfXO/v4=";
2928 };
3029
3130 bloop-zsh = fetchurl {
3231 url = "https://github.com/scalacenter/bloop/releases/download/v${version}/zsh-completions";
33− sha256 = "WNMsPwBfd5EjeRbRtc06lCEVI2FVoLfrqL82OR0G7/c=";
32+ sha256 = "sha256-WNMsPwBfd5EjeRbRtc06lCEVI2FVoLfrqL82OR0G7/c=";
3433 };
3534
36− bloop-coursier = stdenv.mkDerivation rec {
37− name = "${pname}-coursier-${version}";
38−
39− platform = if stdenv.isLinux && stdenv.isx86_64 then "x86_64-pc-linux"
40− else if stdenv.isDarwin && stdenv.isx86_64 then "x86_64-apple-darwin"
41− else throw "unsupported platform";
42−
43− dontUnpack = true;
44− installPhase = ''
45− runHook preInstall
46−
47− export COURSIER_CACHE=$(pwd)
48− export COURSIER_JVM_CACHE=$(pwd)
49−
50− mkdir channel
51− ln -s ${bloop-coursier-channel} channel/bloop.json
52− ${coursier}/bin/cs install --install-dir . --install-platform ${platform} --default-channels=false --channel channel --only-prebuilt=true bloop
53−
54− # Only keeping the binary, we'll wrap it ourselves
55− # This guarantees the output of this fixed-output derivation doesn't have references to itself
56− install -D -m 0755 .bloop.aux $out
57−
58− runHook postInstall
59− '';
60−
61− outputHashMode = "recursive";
62− outputHashAlgo = "sha256";
63− outputHash = if stdenv.isLinux && stdenv.isx86_64 then "sha256-AiF/ih15Jd0WuDP/0vU0vdaSo3FGjWXos+hNVBayFz4="
64− else if stdenv.isDarwin && stdenv.isx86_64 then "sha256-LD23YpcNhWfioGDMqb1plqLy87ZHzT0zvIyc4O4WP5g="
65− else throw "unsupported platform";
35+ bloop-binary = fetchurl rec {
36+ url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bloop-${platform}";
37+ sha256 =
38+ if stdenv.isLinux && stdenv.isx86_64 then "sha256-jif9z05W17vjFgb146qWC3o44HmbnX05gWPlbXttYsE="
39+ else if stdenv.isDarwin && stdenv.isx86_64 then "sha256-YOnXgKXsGrTu9P4I0NZW6ollZVQUXnbW8WtZTJmy+w0="
40+ else throw "unsupported platform";
6641 };
6742
6843 dontUnpack = true;
@@ -74,14 +49,9 @@ stdenv.mkDerivation rec {
7449 installPhase = ''
7550 runHook preInstall
7651
77− export COURSIER_CACHE=$(pwd)
78− export COURSIER_JVM_CACHE=$(pwd)
79−
80− install -D -m 0755 ${bloop-coursier} $out/.bloop-wrapped
52+ install -D -m 0755 ${bloop-binary} $out/.bloop-wrapped
8153
82− makeWrapper $out/.bloop-wrapped $out/bin/bloop \
83− --set CS_NATIVE_LAUNCHER true \
84− --set IS_CS_INSTALLED_LAUNCHER true
54+ makeWrapper $out/.bloop-wrapped $out/bin/bloop
8555
8656 #Install completions
8757 installShellCompletion --name bloop --bash ${bloop-bash}
pkgs/development/tools/build-managers/scala-cli/default.nix+3−3
@@ -1,15 +1,15 @@
11{ stdenv, coreutils, lib, installShellFiles, zlib, autoPatchelfHook, fetchurl }:
22
33let
4− version = "0.1.4";
4+ version = "0.1.5";
55 assets = {
66 x86_64-darwin = {
77 asset = "scala-cli-x86_64-apple-darwin.gz";
8− sha256 = "19bsfkp398rx3f9lnjzhp8pcs77n075v17rpm4hsmrpsz1hih5xy";
8+ sha256 = "1sczbvvhh1ff8mdb6zj4q3fnrz1qsqmr58jlb1s3fy1wv2p5ywxl";
99 };
1010 x86_64-linux = {
1111 asset = "scala-cli-x86_64-pc-linux.gz";
12− sha256 = "0rggf6v32rw3s82a1apz2b8nyiv8rd0lvw1bajl2s7jhlq8l7lc9";
12+ sha256 = "1ahvjgcghh1pmgfsajg0b8bf5aaqxdx0f6b6qgljs0xfqm7zs05v";
1313 };
1414 };
1515in
pkgs/development/tools/dive/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-0gJ3dAPoilh3IWkuesy8geNsuI1T0DN64XvInc9LvlM=";
1515
16− doCheck = false;
17−
1816 nativeBuildInputs = [ pkg-config ];
1917
2018 buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
pkgs/development/tools/gosec/default.nix−2
@@ -20,8 +20,6 @@ buildGoModule rec {
2020 "cmd/gosec"
2121 ];
2222
23− doCheck = false;
24−
2523 ldflags = [
2624 "-s"
2725 "-w"
pkgs/development/tools/just/default.nix+3−3
@@ -10,16 +10,16 @@
1010
1111rustPlatform.buildRustPackage rec {
1212 pname = "just";
13− version = "1.1.2";
13+ version = "1.1.3";
1414
1515 src = fetchFromGitHub {
1616 owner = "casey";
1717 repo = pname;
1818 rev = version;
19− sha256 = "sha256-vUtJ9QVMmDGfkYTBoK8mVaJTEfNBQD5sTEp7kC0LNZw=";
19+ sha256 = "sha256-2tKO0NyWFtRQgGrOKB3bROpDaIbQzTT4s2hGnBdZ6Fg=";
2020 };
2121
22− cargoSha256 = "sha256-rJjLXktWnT6kRx1/18AFr6KciaFF8PaTpz27wz+vGug=";
22+ cargoSha256 = "sha256-O5ntehb9ifWpBxBoOcFyyc8Ns6+SzHVOifUOD2QyhMY=";
2323
2424 nativeBuildInputs = [ installShellFiles ];
2525 buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
pkgs/development/tools/misc/clojure-lsp/default.nix+3−3
@@ -2,18 +2,18 @@
22
33buildGraalvmNativeImage rec {
44 pname = "clojure-lsp";
5− version = "2022.04.18-00.59.32";
5+ version = "2022.05.03-12.35.40";
66
77 src = fetchFromGitHub {
88 owner = pname;
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-14EsJIKYl8TWbDqM9PyVrbs/4EssqXp0EK70RrFz+RE=";
11+ sha256 = "sha256-5jh4umT93P53ufgdKYHNtiDJ1QpoJ8QpfAti0+tmvmc=";
1212 };
1313
1414 jar = fetchurl {
1515 url = "https://github.com/clojure-lsp/clojure-lsp/releases/download/${version}/clojure-lsp-standalone.jar";
16− sha256 = "d78094b015bd9e671eea2eb89ca0bb3ec58d39802ad1bfdf875b50e1cdd4995e";
16+ sha256 = "b4984b5d8411542ec7d4732c950340d16e379ad76c40e57c3d41a8e7adda2faf";
1717 };
1818
1919 extraNativeImageBuildArgs = [
pkgs/development/tools/poetry2nix/poetry2nix/default.nix+10−2
@@ -5,7 +5,7 @@
55}:
66let
77 # Poetry2nix version
8− version = "1.27.1";
8+ version = "1.28.0";
99
1010 inherit (poetryLib) isCompatible readTOML moduleName;
1111
@@ -287,12 +287,20 @@ lib.makeScope pkgs.newScope (self: {
287287 (name: value: projectDir + "/${value.path}")
288288 (lib.filterAttrs (name: dep: dep.develop or false && hasAttr "path" dep) set);
289289
290− editablePackageSources' = (
290+ excludedEditablePackageNames = builtins.filter
291+ (pkg: editablePackageSources."${pkg}" == null)
292+ (builtins.attrNames editablePackageSources);
293+
294+ allEditablePackageSources = (
291295 (getEditableDeps (pyProject.tool.poetry."dependencies" or { }))
292296 // (getEditableDeps (pyProject.tool.poetry."dev-dependencies" or { }))
293297 // editablePackageSources
294298 );
295299
300+ editablePackageSources' = builtins.removeAttrs
301+ allEditablePackageSources
302+ excludedEditablePackageNames;
303+
296304 poetryPython = self.mkPoetryPackages {
297305 inherit pyproject poetrylock overrides python pwd preferWheels pyProject;
298306 editablePackageSources = editablePackageSources';
pkgs/development/tools/poetry2nix/poetry2nix/lib.nix+1−1
@@ -180,7 +180,7 @@ let
180180 hasGitIgnore = builtins.pathExists gitIgnore;
181181 gitIgnores = if hasGitIgnore then [ gitIgnore ] else [ ];
182182 in
183− lib.optionals (builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
183+ lib.optionals (builtins.pathExists path && builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
184184
185185 /*
186186 Provides a source filtering mechanism that:
pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json+153−5
@@ -29,6 +29,9 @@
2929 "aioflo": [
3030 "poetry-core"
3131 ],
32+ "aiogithubapi": [
33+ "poetry-core"
34+ ],
3235 "aioguardian": [
3336 "poetry-core"
3437 ],
@@ -89,9 +92,21 @@
8992 "amqtt": [
9093 "poetry-core"
9194 ],
95+ "ansible-doctor": [
96+ "poetry-core"
97+ ],
98+ "ansible-later": [
99+ "poetry-core"
100+ ],
101+ "ansible-runner": [
102+ "pbr"
103+ ],
92104 "apache-beam": [
93105 "cython"
94106 ],
107+ "aplpy": [
108+ "cython"
109+ ],
95110 "argon2_cffi": [
96111 "flitBuildHook"
97112 ],
@@ -114,15 +129,24 @@
114129 "atomman": [
115130 "cython"
116131 ],
132+ "atpublic": [
133+ "pdm-pep517"
134+ ],
117135 "autarco": [
118136 "poetry-core"
119137 ],
120138 "authcaptureproxy": [
121139 "poetry-core"
122140 ],
141+ "av": [
142+ "cython"
143+ ],
123144 "awesomeversion": [
124145 "poetry-core"
125146 ],
147+ "aws-adfs": [
148+ "poetry-core"
149+ ],
126150 "aws-error-utils": [
127151 "poetry"
128152 ],
@@ -147,6 +171,9 @@
147171 "boltztrap2": [
148172 "cython"
149173 ],
174+ "bsblan": [
175+ "poetry-core"
176+ ],
150177 "build": [
151178 "flit-core"
152179 ],
@@ -183,6 +210,9 @@
183210 "clikit": [
184211 "poetry-core"
185212 ],
213+ "cloudflare-dyndns": [
214+ "poetry"
215+ ],
186216 "collections-extended": [
187217 "poetry-core"
188218 ],
@@ -210,7 +240,8 @@
210240 "poetry-core"
211241 ],
212242 "cssselect2": [
213− "flit"
243+ "flit",
244+ "flit-core"
214245 ],
215246 "cwcwidth": [
216247 "cython"
@@ -224,9 +255,15 @@
224255 "cypari2": [
225256 "cython"
226257 ],
258+ "cypherpunkpay": [
259+ "poetry-core"
260+ ],
227261 "cysignals": [
228262 "cython"
229263 ],
264+ "datadog": [
265+ "hatchling"
266+ ],
230267 "datrie": [
231268 "cython"
232269 ],
@@ -260,6 +297,9 @@
260297 "doc8": [
261298 "pbr"
262299 ],
300+ "docstring-parser": [
301+ "poetry-core"
302+ ],
263303 "dtlssocket": [
264304 "cython"
265305 ],
@@ -301,7 +341,8 @@
301341 "poetry-core"
302342 ],
303343 "entrypoints": [
304− "flit"
344+ "flit",
345+ "flit-core"
305346 ],
306347 "enturclient": [
307348 "poetry-core"
@@ -309,6 +350,13 @@
309350 "enumatch": [
310351 "poetry"
311352 ],
353+ "exceptiongroup": [
354+ "flit-core",
355+ "flitBuildHook"
356+ ],
357+ "falcon": [
358+ "cython"
359+ ],
312360 "fastapi": [
313361 "flitBuildHook"
314362 ],
@@ -378,6 +426,9 @@
378426 "generic": [
379427 "poetry-core"
380428 ],
429+ "gensim": [
430+ "cython"
431+ ],
381432 "glances-api": [
382433 "poetry-core"
383434 ],
@@ -492,9 +543,15 @@
492543 "ipwhl": [
493544 "flitBuildHook"
494545 ],
546+ "iso8601": [
547+ "poetry-core"
548+ ],
495549 "isort": [
496550 "poetry-core"
497551 ],
552+ "jarowinkler": [
553+ "cython"
554+ ],
498555 "jedi-language-server": [
499556 "poetry"
500557 ],
@@ -519,6 +576,12 @@
519576 "jupyterlab": [
520577 "jupyter-packaging"
521578 ],
579+ "jupyterlab-code-formatter": [
580+ "jupyter-packaging"
581+ ],
582+ "jupyterlab-pygments": [
583+ "jupyter-packaging"
584+ ],
522585 "keystoneauth1": [
523586 "pbr"
524587 ],
@@ -537,6 +600,9 @@
537600 "ldappool": [
538601 "pbr"
539602 ],
603+ "levenshtein": [
604+ "cython"
605+ ],
540606 "libgpuarray": [
541607 "cython"
542608 ],
@@ -564,6 +630,9 @@
564630 "lockfile": [
565631 "pbr"
566632 ],
633+ "lsassy": [
634+ "poetry-core"
635+ ],
567636 "luftdaten": [
568637 "poetry-core"
569638 ],
@@ -585,6 +654,9 @@
585654 "marisa-trie": [
586655 "cython"
587656 ],
657+ "markdown-it-py": [
658+ "flit-core"
659+ ],
588660 "mask-rcnn": [
589661 "cython"
590662 ],
@@ -607,6 +679,9 @@
607679 "memory-allocator": [
608680 "cython"
609681 ],
682+ "meteofrance-api": [
683+ "poetry"
684+ ],
610685 "metprint": [
611686 "poetry-core"
612687 ],
@@ -618,6 +693,7 @@
618693 "poetry"
619694 ],
620695 "mkdocs-jupyter": [
696+ "ipython_genutils",
621697 "poetry-core"
622698 ],
623699 "mkdocs-literate-nav": [
@@ -674,6 +750,9 @@
674750 "netdata": [
675751 "poetry-core"
676752 ],
753+ "netutils": [
754+ "poetry-core"
755+ ],
677756 "newversion": [
678757 "poetry-core"
679758 ],
@@ -689,6 +768,9 @@
689768 "nkdfu": [
690769 "flitBuildHook"
691770 ],
771+ "notebook-shim": [
772+ "jupyter-packaging"
773+ ],
692774 "notus-scanner": [
693775 "poetry-core"
694776 ],
@@ -728,6 +810,9 @@
728810 "openvino": [
729811 "cython"
730812 ],
813+ "ordered-set": [
814+ "flit-core"
815+ ],
731816 "ormar": [
732817 "poetry-core"
733818 ],
@@ -807,6 +892,9 @@
807892 "poetry": [
808893 "poetry-core"
809894 ],
895+ "poetry-dynamic-versioning": [
896+ "poetry-core"
897+ ],
810898 "poetry2conda": [
811899 "poetry"
812900 ],
@@ -930,6 +1018,9 @@
9301018 "pymaven-patch": [
9311019 "pbr"
9321020 ],
1021+ "pymdown-extensions": [
1022+ "hatchling"
1023+ ],
9331024 "pymfy": [
9341025 "poetry-core"
9351026 ],
@@ -954,6 +1045,9 @@
9541045 "pyoverkiz": [
9551046 "poetry-core"
9561047 ],
1048+ "pyparsing": [
1049+ "flit-core"
1050+ ],
9571051 "pypass": [
9581052 "pbr"
9591053 ],
@@ -978,12 +1072,21 @@
9781072 "pyproject-flake8": [
9791073 "flit-core"
9801074 ],
1075+ "pypsrp": [
1076+ "poetry-core"
1077+ ],
9811078 "pyquil": [
9821079 "poetry-core"
9831080 ],
1081+ "pyrad": [
1082+ "poetry-core"
1083+ ],
9841084 "pyregion": [
9851085 "cython"
9861086 ],
1087+ "pyrevolve": [
1088+ "cython"
1089+ ],
9871090 "pyrmvtransport": [
9881091 "flit"
9891092 ],
@@ -999,6 +1102,9 @@
9991102 "pysigma": [
10001103 "poetry-core"
10011104 ],
1105+ "pysigma-backend-insightidr": [
1106+ "poetry-core"
1107+ ],
10021108 "pysigma-backend-splunk": [
10031109 "poetry-core"
10041110 ],
@@ -1008,14 +1114,30 @@
10081114 "pysigma-pipeline-sysmon": [
10091115 "poetry-core"
10101116 ],
1117+ "pysigma-pipeline-windows": [
1118+ "poetry-core"
1119+ ],
1120+ "pyslurm": [
1121+ "cython"
1122+ ],
10111123 "pysmf": [
10121124 "cython"
10131125 ],
10141126 "pysml": [
10151127 "poetry-core"
10161128 ],
1129+ "pysnmp-pyasn1": [
1130+ "poetry-core"
1131+ ],
1132+ "pysnmp-pysmi": [
1133+ "poetry-core"
1134+ ],
1135+ "pysnmplib": [
1136+ "poetry-core"
1137+ ],
10171138 "pysnow": [
1018− "poetry"
1139+ "poetry",
1140+ "poetry-core"
10191141 ],
10201142 "pysptk": [
10211143 "cython"
@@ -1035,6 +1157,9 @@
10351157 "pytest-httpserver": [
10361158 "poetry-core"
10371159 ],
1160+ "pytest-isort": [
1161+ "poetry-core"
1162+ ],
10381163 "pytest-mockservers": [
10391164 "poetry-core"
10401165 ],
@@ -1097,6 +1222,9 @@
10971222 "python-openstackclient": [
10981223 "pbr"
10991224 ],
1225+ "python-pae": [
1226+ "poetry-core"
1227+ ],
11001228 "python-pkcs11": [
11011229 "cython"
11021230 ],
@@ -1215,7 +1343,8 @@
12151343 "poetry-core"
12161344 ],
12171345 "rokuecp": [
1218− "poetry"
1346+ "poetry",
1347+ "poetry-core"
12191348 ],
12201349 "roombapy": [
12211350 "poetry-core"
@@ -1280,6 +1409,9 @@
12801409 "sentinel": [
12811410 "poetry-core"
12821411 ],
1412+ "seventeentrack": [
1413+ "poetry-core"
1414+ ],
12831415 "sfepy": [
12841416 "cython"
12851417 ],
@@ -1301,9 +1433,15 @@
13011433 "slowapi": [
13021434 "poetry-core"
13031435 ],
1436+ "socksio": [
1437+ "flit-core"
1438+ ],
13041439 "solo-python": [
13051440 "flitBuildHook"
13061441 ],
1442+ "soupsieve": [
1443+ "hatchling"
1444+ ],
13071445 "spacy-pkuseg": [
13081446 "cython"
13091447 ],
@@ -1425,7 +1563,8 @@
14251563 "cython"
14261564 ],
14271565 "testpath": [
1428− "flit"
1566+ "flit",
1567+ "flit-core"
14291568 ],
14301569 "testrepository": [
14311570 "pbr"
@@ -1505,6 +1644,9 @@
15051644 "typing-extensions": [
15061645 "flit-core"
15071646 ],
1647+ "uharfbuzz": [
1648+ "cython"
1649+ ],
15081650 "unpaddedbase64": [
15091651 "poetry-core"
15101652 ],
@@ -1550,8 +1692,14 @@
15501692 "yoda": [
15511693 "cython"
15521694 ],
1695+ "yte": [
1696+ "poetry-core"
1697+ ],
15531698 "zeversolarlocal": [
15541699 "flit-core",
15551700 "flitBuildHook"
1701+ ],
1702+ "zwave-me-ws": [
1703+ "poetry-core"
15561704 ]
15571705}
pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix+98−4
@@ -8,13 +8,14 @@ let
88 { self
99 , drv
1010 , attr
11+ , extraAttrs ? [ ]
1112 }:
1213 let
1314 buildSystem = if attr == "cython" then self.python.pythonForBuild.pkgs.cython else self.${attr};
1415 in
1516 (
1617 # Flit only works on Python3
17− if (attr == "flit-core" || attr == "flit") && !self.isPy3k then drv
18+ if (attr == "flit-core" || attr == "flit" || attr == "hatchling") && !self.isPy3k then drv
1819 else
1920 drv.overridePythonAttrs (
2021 old:
@@ -23,7 +24,7 @@ let
2324 { }
2425 else
2526 {
26− nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ self.${attr} ];
27+ nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ self.${attr} ] ++ map (a: self.${a}) extraAttrs;
2728 }
2829 )
2930 );
@@ -55,6 +56,16 @@ lib.composeManyExtensions [
5556 systems)
5657 buildSystems)
5758
59+ # Build systems with conditionals
60+ (self: super: {
61+
62+ platformdirs =
63+ if lib.versionAtLeast super.platformdirs.version "2.5.2"
64+ then addBuildSystem { inherit self; drv = super.platformdirs; attr = "hatchling"; extraAttrs = [ "hatch-vcs" ]; }
65+ else super.platformdirs;
66+
67+ })
68+
5869 # Build fixes
5970 (self: super:
6071 let
@@ -437,6 +448,17 @@ lib.composeManyExtensions [
437448 }
438449 );
439450
451+ # Setuptools >= 60 broke build_py_2to3
452+ docutils =
453+ if lib.versionOlder super.docutils.version "0.16" && lib.versionAtLeast super.setuptools.version "60" then
454+ (
455+ super.docutils.overridePythonAttrs (
456+ old: {
457+ SETUPTOOLS_USE_DISTUTILS = "stdlib";
458+ }
459+ )
460+ ) else super.docutils;
461+
440462 # Environment markers are not always included (depending on how a dep was defined)
441463 enum34 = if self.pythonAtLeast "3.4" then null else super.enum34;
442464
@@ -844,6 +866,17 @@ lib.composeManyExtensions [
844866 }
845867 );
846868
869+ lsassy =
870+ if super.lsassy.version == "3.1.1" then
871+ super.lsassy.overridePythonAttrs
872+ (old: {
873+ # pyproject.toml contains a constraint `rich = "^10.6.0"` which is not replicated in setup.py
874+ # hence pypi misses it and poetry pins rich to 11.0.0
875+ preConfigure = (old.preConfigure or "") + ''
876+ rm pyproject.toml
877+ '';
878+ }) else super.lsassy;
879+
847880 lxml = super.lxml.overridePythonAttrs (
848881 old: {
849882 nativeBuildInputs = with pkgs.buildPackages; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
@@ -1143,6 +1176,26 @@ lib.composeManyExtensions [
11431176 }
11441177 );
11451178
1179+ orjson =
1180+ let
1181+ getCargoHash = version: {
1182+ "3.6.7" = "sha256-sz2k9podPB6QSptkyOu7+BoVTrKhefizRtYU+MICPt4=";
1183+ "3.6.8" = "sha256-vpfceVtYkU09xszNIihY1xbqGWieqDquxwsAmDH8jd4=";
1184+ }.${version} or null;
1185+ in
1186+ super.orjson.overridePythonAttrs (old: {
1187+ cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
1188+ inherit (old) src;
1189+ name = "${old.pname}-${old.version}";
1190+ hash = getCargoHash old.version;
1191+ };
1192+ nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [
1193+ pkgs.rustPlatform.cargoSetupHook
1194+ pkgs.rustPlatform.maturinBuildHook
1195+ ];
1196+ buildInputs = (old.buildInputs or [ ]) ++ lib.optional pkgs.stdenv.isDarwin pkgs.libiconv;
1197+ });
1198+
11461199 osqp = super.osqp.overridePythonAttrs (
11471200 old: {
11481201 nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake ];
@@ -1150,6 +1203,29 @@ lib.composeManyExtensions [
11501203 }
11511204 );
11521205
1206+
1207+ pandas = super.pandas.overridePythonAttrs (old: {
1208+
1209+ buildInputs = old.buildInputs or [ ] ++ lib.optional stdenv.isDarwin pkgs.libcxx;
1210+
1211+ # Doesn't work with -Werror,-Wunused-command-line-argument
1212+ # https://github.com/NixOS/nixpkgs/issues/39687
1213+ hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
1214+
1215+ # For OSX, we need to add a dependency on libcxx, which provides
1216+ # `complex.h` and other libraries that pandas depends on to build.
1217+ postPatch = lib.optionalString stdenv.isDarwin ''
1218+ cpp_sdk="${lib.getDev pkgs.libcxx}/include/c++/v1";
1219+ echo "Adding $cpp_sdk to the setup.py common_include variable"
1220+ substituteInPlace setup.py \
1221+ --replace "['pandas/src/klib', 'pandas/src']" \
1222+ "['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
1223+ '';
1224+
1225+
1226+ enableParallelBuilding = true;
1227+ });
1228+
11531229 pantalaimon = super.pantalaimon.overridePythonAttrs (old: {
11541230 nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ pkgs.installShellFiles ];
11551231 postInstall = old.postInstall or "" + ''
@@ -1196,8 +1272,12 @@ lib.composeManyExtensions [
11961272
11971273 pillow = super.pillow.overridePythonAttrs (
11981274 old: {
1199− nativeBuildInputs = [ pkg-config self.pytest-runner ] ++ (old.nativeBuildInputs or [ ]);
1200− buildInputs = with pkgs; [ freetype libjpeg zlib libtiff libwebp tcl lcms2 ] ++ (old.buildInputs or [ ]);
1275+ nativeBuildInputs = (old.nativeBuildInputs or [ ])
1276+ ++ [ pkg-config self.pytest-runner ];
1277+ buildInputs = with pkgs; (old.buildInputs or [ ])
1278+ ++ [ freetype libjpeg zlib libtiff libwebp tcl lcms2 ]
1279+ ++ lib.optionals (lib.versionAtLeast old.version "7.1.0") [ xorg.libxcb ]
1280+ ++ lib.optionals (self.isPyPy) [ tk xorg.libX11 ];
12011281 }
12021282 );
12031283
@@ -1246,6 +1326,14 @@ lib.composeManyExtensions [
12461326 }
12471327 );
12481328
1329+ psycopg2cffi = super.psycopg2cffi.overridePythonAttrs (
1330+ old: {
1331+ buildInputs = (old.buildInputs or [ ])
1332+ ++ lib.optional stdenv.isDarwin pkgs.openssl;
1333+ nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.postgresql ];
1334+ }
1335+ );
1336+
12491337 py-solc-x = super.py-solc-x.overridePythonAttrs (
12501338 old: {
12511339 preConfigure = ''
@@ -1860,6 +1948,12 @@ lib.composeManyExtensions [
18601948
18611949 });
18621950
1951+ soundfile = super.soundfile.overridePythonAttrs (old: {
1952+ postPatch = ''
1953+ substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${pkgs.libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
1954+ '';
1955+ });
1956+
18631957 systemd-python = super.systemd-python.overridePythonAttrs (old: {
18641958 buildInputs = old.buildInputs ++ [ pkgs.systemd ];
18651959 nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.pkg-config ];
pkgs/development/tools/protoc-gen-entgrpc/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "protoc-gen-entgrpc";
5+ version = "0.2.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "ent";
9+ repo = "contrib";
10+ rev = "v${version}";
11+ sha256 = "sha256-cpk8yRDBsupI277NWYFaLCvi3ltQDLgCrcpJ/FUVi9o=";
12+ };
13+
14+ vendorSha256 = "sha256-RwwGFBiasxMmtKMLSyAqvkozqoyzzYuslMq+HnzZUhw=";
15+
16+ subPackages = [ "entproto/cmd/protoc-gen-entgrpc" ];
17+
18+ ldflags = [ "-s" "-w" ];
19+
20+ meta = with lib; {
21+ description = "Generator of an implementation of the service interface for ent protobuff";
22+ downloadPage = "https://github.com/ent/contrib/";
23+ license = licenses.asl20;
24+ homepage = "https://entgo.io/";
25+ maintainers = with maintainers; [ superherointj ];
26+ };
27+}
28+
pkgs/development/tools/rust/cargo-sync-readme/default.nix+4−3
@@ -2,20 +2,21 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "cargo-sync-readme";
5− version = "1.0";
5+ version = "1.1";
66
77 src = fetchFromGitHub {
88 owner = "phaazon";
99 repo = pname;
1010 rev = version;
11− sha256 = "1c38q87fyfmj6nlwdpavb1xxpi26ncywkgqcwbvblad15c6ydcyc";
11+ sha256 = "sha256-n9oIWblTTuXFFQFN6mpQiCH5N7yg5fAp8v9vpB5/DAo=";
1212 };
1313
14− cargoSha256 = "0vrbgs49ghhl4z4ljhghcs9fnbf7qx1an9kwbrgv9wng8m1dccah";
14+ cargoSha256 = "sha256-DsB2C2ELuvuVSvxG/xztmnY2qfX8+Y7udbXlpRQoL/c=";
1515
1616 meta = with lib; {
1717 description = "A cargo plugin that generates a Markdown section in your README based on your Rust documentation";
1818 homepage = "https://github.com/phaazon/cargo-sync-readme";
19+ changelog = "https://github.com/phaazon/cargo-sync-readme/blob/${version}/CHANGELOG.md";
1920 license = licenses.bsd3;
2021 maintainers = with maintainers; [ b4dm4n ];
2122 };
pkgs/development/tools/rust/rust-analyzer/default.nix+3−3
@@ -11,14 +11,14 @@
1111
1212rustPlatform.buildRustPackage rec {
1313 pname = "rust-analyzer-unwrapped";
14− version = "2022-04-11";
15− cargoSha256 = "sha256-pc8S+5g67vN9170ABiHGe1t4Go0F63UiOeLd71USYCI=";
14+ version = "2022-05-02";
15+ cargoSha256 = "sha256-uZCUruIBTNTKYWYb8xQgJ6FsKlRi+Sh5n7m7aVk+hHQ=";
1616
1717 src = fetchFromGitHub {
1818 owner = "rust-analyzer";
1919 repo = "rust-analyzer";
2020 rev = version;
21− sha256 = "sha256-miMIrDawSS1zXh6EuX03x5ACM2NTabksssSyutSNpjY=";
21+ sha256 = "sha256-5kAbd/tTc9vkr27ar44hnpXdS0vQg0OLJUMlp0FBjqA=";
2222 };
2323
2424 patches = [
pkgs/development/tools/wails/default.nix+3−3
@@ -15,16 +15,16 @@
1515
1616buildGoModule rec {
1717 pname = "wails";
18− version = "2.0.0-beta.34";
18+ version = "2.0.0-beta.36";
1919
2020 src = fetchFromGitHub {
2121 owner = "wailsapp";
2222 repo = pname;
2323 rev = "v${version}";
24− sha256 = "sha256-dsDruZSmr8qSNpX8L27tLpNxvdSkc2mfNQLRxN9AnCg=";
24+ sha256 = "sha256-uAbVc1UDgSNJwk8R6zXXqZImo6J9TRs3zPNlWelXS/I=";
2525 } + "/v2";
2626
27− vendorSha256 = "sha256-OaSPpCb2VxMGlkUIg3fyEJhjz256amEfXBX+5WMY3a0=";
27+ vendorSha256 = "sha256-rrwlFZQT7sHhUqtU4UzwEqZbjWd/1fudfj/xdTGFUmQ=";
2828
2929 proxyVendor = true;
3030
pkgs/development/web/nodejs/nodejs.nix+1−1
@@ -136,7 +136,7 @@ let
136136
137137 ${optionalString (enableNpm && stdenv.hostPlatform == stdenv.buildPlatform) ''
138138 mkdir -p $out/share/bash-completion/completions/
139− $out/bin/npm completion > $out/share/bash-completion/completions/npm || :
139+ HOME=$TMPDIR $out/bin/npm completion > $out/share/bash-completion/completions/npm
140140 for dir in "$out/lib/node_modules/npm/man/"*; do
141141 mkdir -p $out/share/man/$(basename "$dir")
142142 for page in "$dir"/*; do
pkgs/development/web/nodejs/v14.nix+2−2
@@ -7,7 +7,7 @@ let
77in
88 buildNodejs {
99 inherit enableNpm;
10− version = "14.19.1";
11− sha256 = "sha256-4a4J3YYas5rwRIO7XA+lTd2CtrFVQ76aJ+pnBKi6ndk=";
10+ version = "14.19.2";
11+ sha256 = "sha256-70N1qRUv9p8oI9eyCjtTdnoEYWS7rHgkQpyyFtFojPA=";
1212 patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
1313 }
pkgs/development/web/nodejs/v18.nix+2−2
@@ -7,8 +7,8 @@ let
77in
88buildNodejs {
99 inherit enableNpm;
10− version = "18.0.0";
11− sha256 = "sha256-NE0OZUC1JMaal5/1w+eM2nJU/XLANpmSa+sLhVi4znU=";
10+ version = "18.1.0";
11+ sha256 = "0zhb61ihzslmpl1g3dd6vcxjccc8gwj1v4hfphk7f3cy10hcrc78";
1212 patches = [
1313 ./disable-darwin-v8-system-instrumentation.patch
1414 ];
pkgs/misc/platformsh/default.nix+2−2
@@ -2,14 +2,14 @@
22
33let
44 pname = "platformsh";
5− version = "3.79.0";
5+ version = "3.79.2";
66in
77stdenv.mkDerivation {
88 inherit pname version;
99
1010 src = fetchurl {
1111 url = "https://github.com/platformsh/platformsh-cli/releases/download/v${version}/platform.phar";
12− sha256 = "sha256-gTh1VS/b+D8E67w6Q4u9h0EhpFZiA2gBGe4mo49+9KY=";
12+ sha256 = "sha256-STGMKWgI4C6ccg8DGUhdnEENOB2//gtpU0ljM4cQCXI=";
1313 };
1414
1515 dontUnpack = true;
pkgs/misc/rich-cli/default.nix+18−8
@@ -1,17 +1,20 @@
1−{ lib, python3 }:
1+{ lib
2+, python3
3+}:
24
35python3.pkgs.buildPythonApplication rec {
46 pname = "rich-cli";
5− version = "1.5.1";
7+ version = "1.7.0";
8+ format = "pyproject";
69
710 src = python3.pkgs.fetchPypi {
811 inherit pname version;
9− sha256 = "18qpdaw4drkwq71xikngwaarkjxhfc0nrb1zm36rw31b8dz0ij2k";
12+ sha256 = "sha256-fporylec9H+9G2v8D0O32ek7OQs3YRSma1xOpakClqk=";
1013 };
1114
12− format = "pyproject";
13−
14− nativeBuildInputs = [ python3.pkgs.poetry-core ];
15+ nativeBuildInputs = with python3.pkgs; [
16+ poetry-core
17+ ];
1518
1619 propagatedBuildInputs = with python3.pkgs; [
1720 rich
@@ -21,11 +24,18 @@ python3.pkgs.buildPythonApplication rec {
2124 rich-rst
2225 ];
2326
24− buildInputs = [ python3 ];
27+ postPatch = ''
28+ substituteInPlace pyproject.toml \
29+ --replace 'rich = "^12.3.0"' 'rich = "*"'
30+ '';
31+
32+ pythonImportsCheck = [
33+ "rich_cli"
34+ ];
2535
2636 meta = with lib; {
27− homepage = "https://github.com/Textualize/rich-cli";
2837 description = "Command Line Interface to Rich";
38+ homepage = "https://github.com/Textualize/rich-cli";
2939 license = licenses.mit;
3040 maintainers = with maintainers; [ jyooru ];
3141 };
pkgs/os-specific/linux/nftables/default.nix+7−9
@@ -8,8 +8,6 @@
88, withXtables ? true , iptables
99}:
1010
11−with lib;
12−
1311stdenv.mkDerivation rec {
1412 version = "1.0.2";
1513 pname = "nftables";
@@ -28,8 +26,8 @@ stdenv.mkDerivation rec {
2826 buildInputs = [
2927 libmnl libnftnl libpcap
3028 gmp jansson libedit
31− ] ++ optional withXtables iptables
32− ++ optional withPython python3;
29+ ] ++ lib.optional withXtables iptables
30+ ++ lib.optional withPython python3;
3331
3432 preConfigure = ''
3533 substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
@@ -46,12 +44,12 @@ stdenv.mkDerivation rec {
4644 configureFlags = [
4745 "--with-json"
4846 "--with-cli=editline"
49− ] ++ optional (!withDebugSymbols) "--disable-debug"
50− ++ optional (!withPython) "--disable-python"
51− ++ optional withPython "--enable-python"
52− ++ optional withXtables "--with-xtables";
47+ ] ++ lib.optional (!withDebugSymbols) "--disable-debug"
48+ ++ lib.optional (!withPython) "--disable-python"
49+ ++ lib.optional withPython "--enable-python"
50+ ++ lib.optional withXtables "--with-xtables";
5351
54− meta = {
52+ meta = with lib; {
5553 description = "The project that aims to replace the existing {ip,ip6,arp,eb}tables framework";
5654 homepage = "https://netfilter.org/projects/nftables/";
5755 license = licenses.gpl2Only;
pkgs/os-specific/linux/vmware/default.nixnew file+47
@@ -0,0 +1,47 @@
1+{ lib, stdenv, fetchFromGitHub, kernel, kmod, gnugrep, vmware-workstation }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "vmware-modules";
5+ version = "${vmware-workstation.version}-${kernel.version}";
6+
7+ src = fetchFromGitHub {
8+ owner = "mkubecek";
9+ repo = "vmware-host-modules";
10+ rev = "w${vmware-workstation.version}-k5.17";
11+ sha256 = "sha256-EM6YU2nOwNlAXpQ7cGrLS1N+gAS1KxleVjJTzo22De0=";
12+ };
13+
14+ hardeningDisable = [ "pic" ];
15+
16+ nativeBuildInputs = kernel.moduleBuildDependencies;
17+
18+ enableParallelBuilding = true;
19+
20+ postPatch = ''
21+ substituteInPlace Makefile \
22+ --replace '/lib/modules/$(VM_UNAME)/misc' "$out/lib/modules/${kernel.modDirVersion}/misc" \
23+ --replace '$(shell uname -r)' "${kernel.modDirVersion}" \
24+ --replace /sbin/modinfo "${kmod}/bin/modinfo" \
25+ --replace 'test -z "$(DESTDIR)"' "0"
26+
27+ for module in "vmmon-only" "vmnet-only"; do
28+ substituteInPlace "./$module/Makefile" \
29+ --replace '/lib/modules/' "${kernel.dev}/lib/modules/" \
30+ --replace '$(shell uname -r)' "${kernel.modDirVersion}" \
31+ --replace /bin/grep "${gnugrep}/bin/grep"
32+ done
33+ '';
34+
35+ preInstall = ''
36+ mkdir -p "$out/lib/modules/${kernel.modDirVersion}/misc"
37+ '';
38+
39+ meta = with lib; {
40+ description = "Kernel modules needed for VMware hypervisor";
41+ homepage = "https://github.com/mkubecek/vmware-host-modules";
42+ license = licenses.gpl2Only;
43+ platforms = [ "x86_64-linux" ];
44+ broken = kernel.kernelOlder "5.5" && kernel.isHardened;
45+ maintainers = with maintainers; [ deinferno ];
46+ };
47+}
pkgs/servers/home-assistant/component-packages.nix+35−14
@@ -2,7 +2,7 @@
22# Do not edit!
33
44{
5− version = "2022.4.7";
5+ version = "2022.5.0";
66 components = {
77 "abode" = ps: with ps; [
88 abodepy
@@ -157,10 +157,6 @@
157157 ];
158158 "arest" = ps: with ps; [
159159 ];
160− "arlo" = ps: with ps; [
161− ha-ffmpeg
162− pyarlo
163− ];
164160 "arris_tg2492lg" = ps: with ps; [
165161 arris-tg2492lg
166162 ];
@@ -554,8 +550,6 @@
554550 "digital_ocean" = ps: with ps; [
555551 digital-ocean
556552 ];
557− "digitalloggers" = ps: with ps; [
558− ]; # missing inputs: dlipower
559553 "directv" = ps: with ps; [
560554 directv
561555 ];
@@ -993,8 +987,7 @@
993987 ];
994988 "google" = ps: with ps; [
995989 aiohttp-cors
996− google-api-python-client
997− httplib2
990+ gcal-sync
998991 oauth2client
999992 ];
1000993 "google_assistant" = ps: with ps; [
@@ -1248,9 +1241,15 @@
12481241 ];
12491242 "insteon" = ps: with ps; [
12501243 aiohttp-cors
1244+ fnvhash
1245+ home-assistant-frontend
1246+ insteon-frontend-home-assistant
1247+ lru-dict
1248+ pillow
12511249 pyinsteon
12521250 pyserial
12531251 pyudev
1252+ sqlalchemy
12541253 ];
12551254 "integration" = ps: with ps; [
12561255 ];
@@ -1391,8 +1390,10 @@
13911390 life360
13921391 ];
13931392 "lifx" = ps: with ps; [
1393+ aiohttp-cors
13941394 aiolifx
13951395 aiolifx-effects
1396+ ifaddr
13961397 ];
13971398 "lifx_cloud" = ps: with ps; [
13981399 ];
@@ -1514,6 +1515,9 @@
15141515 "mazda" = ps: with ps; [
15151516 pymazda
15161517 ];
1518+ "meater" = ps: with ps; [
1519+ meater-python
1520+ ];
15171521 "media_extractor" = ps: with ps; [
15181522 aiohttp-cors
15191523 youtube-dl-light
@@ -2088,6 +2092,9 @@
20882092 ];
20892093 "qnap" = ps: with ps; [
20902094 ]; # missing inputs: qnapstats
2095+ "qnap_qsw" = ps: with ps; [
2096+ aioqsw
2097+ ];
20912098 "qrcode" = ps: with ps; [
20922099 pillow
20932100 pyzbar
@@ -2309,6 +2316,10 @@
23092316 "sentry" = ps: with ps; [
23102317 sentry-sdk
23112318 ];
2319+ "senz" = ps: with ps; [
2320+ aiohttp-cors
2321+ aiosenz
2322+ ];
23122323 "serial" = ps: with ps; [
23132324 pyserial-asyncio
23142325 ];
@@ -2382,6 +2393,10 @@
23822393 ];
23832394 "slide" = ps: with ps; [
23842395 ]; # missing inputs: goslide-api
2396+ "slimproto" = ps: with ps; [
2397+ aiohttp-cors
2398+ aioslimproto
2399+ ];
23852400 "sma" = ps: with ps; [
23862401 pysma
23872402 ];
@@ -2420,7 +2435,7 @@
24202435 paho-mqtt
24212436 ];
24222437 "snmp" = ps: with ps; [
2423− pysnmp
2438+ pysnmplib
24242439 ];
24252440 "solaredge" = ps: with ps; [
24262441 solaredge
@@ -2747,6 +2762,9 @@
27472762 pytradfri
27482763 ]
27492764 ++ pytradfri.extras-require.async;
2765+ "trafikverket_ferry" = ps: with ps; [
2766+ pytrafikverket
2767+ ];
27502768 "trafikverket_train" = ps: with ps; [
27512769 pytrafikverket
27522770 ];
@@ -2828,11 +2846,10 @@
28282846 ];
28292847 "update" = ps: with ps; [
28302848 ];
2831− "updater" = ps: with ps; [
2832− ];
28332849 "upnp" = ps: with ps; [
28342850 aiohttp-cors
28352851 async-upnp-client
2852+ getmac
28362853 ifaddr
28372854 zeroconf
28382855 ];
@@ -3168,7 +3185,6 @@
31683185 "apprise"
31693186 "aprs"
31703187 "arcam_fmj"
3171− "arlo"
31723188 "aseko_pool_live"
31733189 "asuswrt"
31743190 "atag"
@@ -3436,6 +3452,7 @@
34363452 "manual_mqtt"
34373453 "maxcube"
34383454 "mazda"
3455+ "meater"
34393456 "media_player"
34403457 "media_source"
34413458 "melcloud"
@@ -3540,6 +3557,7 @@
35403557 "pvpc_hourly_pricing"
35413558 "python_script"
35423559 "qld_bushfire"
3560+ "qnap_qsw"
35433561 "rachio"
35443562 "radarr"
35453563 "radio_browser"
@@ -3582,6 +3600,7 @@
35823600 "sensibo"
35833601 "sensor"
35843602 "sentry"
3603+ "senz"
35853604 "seventeentrack"
35863605 "shell_command"
35873606 "shelly"
@@ -3595,6 +3614,7 @@
35953614 "siren"
35963615 "slack"
35973616 "sleepiq"
3617+ "slimproto"
35983618 "sma"
35993619 "smappee"
36003620 "smart_meter_texas"
@@ -3648,6 +3668,7 @@
36483668 "tailscale"
36493669 "tankerkoenig"
36503670 "tasmota"
3671+ "tautulli"
36513672 "tcp"
36523673 "telegram"
36533674 "telegram_bot"
@@ -3671,6 +3692,7 @@
36713692 "trace"
36723693 "tractive"
36733694 "tradfri"
3695+ "trafikverket_ferry"
36743696 "trafikverket_train"
36753697 "trafikverket_weatherstation"
36763698 "transmission"
@@ -3689,7 +3711,6 @@
36893711 "upb"
36903712 "upcloud"
36913713 "update"
3692− "updater"
36933714 "upnp"
36943715 "uptime"
36953716 "uptimerobot"
pkgs/servers/home-assistant/default.nix+15−4
@@ -30,7 +30,6 @@ let
3030 defaultOverrides = [
3131 # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
3232 (mkOverride "python-slugify" "4.0.1" "sha256-aaUXdm4AwSaOW7/A0BCgqFCN4LGNMK1aH/NX+K5yQnA=")
33− (mkOverride "voluptuous" "0.12.2" "sha256-TbGsUHnbkkmCDUnIkctGYKb4yuNQSRIQq850H6v1ZRM=")
3433
3534 # pytest-aiohttp>0.3.0 breaks home-assistant tests
3635 (self: super: {
@@ -47,9 +46,21 @@ let
4746 aiohomekit = super.aiohomekit.overridePythonAttrs (oldAttrs: {
4847 doCheck = false; # requires aiohttp>=1.0.0
4948 });
49+ gcal-sync = super.gcal-sync.overridePythonAttrs (oldAttrs: {
50+ doCheck = false; # requires aiohttp>=1.0.0
51+ });
5052 hass-nabucasa = super.hass-nabucasa.overridePythonAttrs (oldAttrs: {
5153 doCheck = false; # requires aiohttp>=1.0.0
5254 });
55+ pydeconz = super.pydeconz.overridePythonAttrs (oldAttrs: {
56+ doCheck = false; # requires pytest-aiohttp>=1.0.0
57+ });
58+ pynws = super.pynws.overridePythonAttrs (oldAttrs: {
59+ doCheck = false; # requires pytest-aiohttp>=1.0.0
60+ });
61+ pytomorrowio = super.pytomorrowio.overridePythonAttrs (oldAttrs: {
62+ doCheck = false; # requires pytest-aiohttp>=1.0.0
63+ });
5364 rtsp-to-webrtc = super.rtsp-to-webrtc.overridePythonAttrs (oldAttrs: {
5465 doCheck = false; # requires pytest-aiohttp>=1.0.0
5566 });
@@ -110,7 +121,7 @@ let
110121 src = fetchFromGitHub {
111122 owner = "ManneW";
112123 repo = "vilfo-api-client-python";
113− rev = "v$version}";
124+ rev = "v${version}";
114125 sha256 = "1gy5gpsg99rcm1cc3m30232za00r9i46sp74zpd12p3vzz1wyyqf";
115126 };
116127 });
@@ -168,7 +179,7 @@ let
168179 extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
169180
170181 # Don't forget to run parse-requirements.py after updating
171− hassVersion = "2022.4.7";
182+ hassVersion = "2022.5.0";
172183
173184in python.pkgs.buildPythonApplication rec {
174185 pname = "homeassistant";
@@ -186,7 +197,7 @@ in python.pkgs.buildPythonApplication rec {
186197 owner = "home-assistant";
187198 repo = "core";
188199 rev = version;
189− hash = "sha256-1m3t+AeHyuEyu3gT8P37A+L28mBdNKGmycU6eNOyb4M=";
200+ hash = "sha256-xlotye/8oeCs/ntNV4osGjcl7fo05ke7nFLQeee/USY=";
190201 };
191202
192203 # leave this in, so users don't have to constantly update their downstream patch handling
pkgs/servers/home-assistant/frontend.nix+2−2
@@ -4,7 +4,7 @@ buildPythonPackage rec {
44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
7− version = "20220405.0";
7+ version = "20220504.0";
88 format = "wheel";
99
1010 src = fetchPypi {
@@ -12,7 +12,7 @@ buildPythonPackage rec {
1212 pname = "home_assistant_frontend";
1313 dist = "py3";
1414 python = "py3";
15− sha256 = "sha256-M024uJJVhVSoGhJTc7d8NKItw0sAOGFuCsZNUe//vBg=";
15+ sha256 = "sha256-CYhUId5SGfPX9beAZH0ZemwciVDxchbDcTvQcRhJwog=";
1616 };
1717
1818 # there is nothing to strip in this package
pkgs/servers/irc/inspircd/default.nix+2−2
@@ -142,13 +142,13 @@ in
142142
143143stdenv.mkDerivation rec {
144144 pname = "inspircd";
145− version = "3.12.0";
145+ version = "3.13.0";
146146
147147 src = fetchFromGitHub {
148148 owner = pname;
149149 repo = pname;
150150 rev = "v${version}";
151− sha256 = "sha256-3c7PFIZy/TGf68XdaSC25Amr8Zfb0O+za4ermIzQjnY=";
151+ sha256 = "1d5mnj86x4bk6iygns0cc15w315wrzmqxcq0sc4n75xsg6wwp1zl";
152152 };
153153
154154 outputs = [ "bin" "lib" "man" "doc" "out" ];
pkgs/servers/keycloak/default.nix+4−4
@@ -13,11 +13,11 @@
1313
1414stdenv.mkDerivation rec {
1515 pname = "keycloak";
16− version = "17.0.1";
16+ version = "18.0.0";
1717
1818 src = fetchzip {
1919 url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip";
20− sha256 = "sha256-z1LfTUoK+v4oQxdyIQruFhl5O333zirSrkPoTFgVfmI=";
20+ sha256 = "0fxf9m50hpjplj077z2zjp0qibixz5y4lbc8159cnxbd4gzpkaaf";
2121 };
2222
2323 nativeBuildInputs = [ makeWrapper jre ];
@@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
5757 '';
5858
5959 postFixup = ''
60− substituteInPlace $out/bin/kc.sh --replace '-Dkc.home.dir=$DIRNAME/../' '-Dkc.home.dir=$KC_HOME_DIR'
61− substituteInPlace $out/bin/kc.sh --replace '-Djboss.server.config.dir=$DIRNAME/../conf' '-Djboss.server.config.dir=$KC_CONF_DIR'
60+ substituteInPlace $out/bin/kc.sh --replace ${lib.escapeShellArg "-Dkc.home.dir='$DIRNAME'/../"} '-Dkc.home.dir=$KC_HOME_DIR'
61+ substituteInPlace $out/bin/kc.sh --replace ${lib.escapeShellArg "-Djboss.server.config.dir='$DIRNAME'/../conf"} '-Djboss.server.config.dir=$KC_CONF_DIR'
6262
6363 for script in $(find $out/bin -type f -executable); do
6464 wrapProgram "$script" --set JAVA_HOME ${jre} --prefix PATH : ${jre}/bin
pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix+7−7
@@ -1,19 +1,19 @@
1−{ lib, buildGoPackage, fetchFromGitHub }:
1+{ lib, buildGoModule, fetchFromGitHub }:
22
3−buildGoPackage rec {
3+buildGoModule rec {
44 pname = "aws-s3-exporter";
5− version = "0.4.1";
6−
7− goPackagePath = "github.com/ribbybibby/s3_exporter";
5+ version = "0.5.0";
86
97 src = fetchFromGitHub {
108 owner = "ribbybibby";
119 repo = "s3_exporter";
1210 rev = "v${version}";
13− sha256 = "01g4k5wrbc2ggxkn4yqd2v0amw8yl5dbcfwi4jm3kqkihrf0rbiq";
11+ sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE=";
1412 };
1513
16− doCheck = true;
14+ vendorSha256 = null;
15+
16+ ldflags = [ "-s" "-w" ];
1717
1818 meta = with lib; {
1919 description = "Exports Prometheus metrics about S3 buckets and objects";
pkgs/servers/monitoring/prometheus/haproxy-exporter.nix+9−7
@@ -1,18 +1,20 @@
1−{ lib, buildGoPackage, fetchFromGitHub }:
1+{ lib, buildGoModule, fetchFromGitHub }:
22
3−buildGoPackage rec {
3+buildGoModule rec {
44 pname = "haproxy_exporter";
5− version = "0.12.0";
6−
7− goPackagePath = "github.com/prometheus/haproxy_exporter";
5+ version = "0.13.0";
86
97 src = fetchFromGitHub {
10− rev = "v${version}";
118 owner = "prometheus";
129 repo = "haproxy_exporter";
13− sha256 = "09aqm2zqimn6w10p1nhnpjcigm299b31xfrq8ma0d7z4v9p2y9dn";
10+ rev = "v${version}";
11+ sha256 = "sha256-F0yYUIKTIGyhzL0QwmioQYnWBb0GeFOhBwL3IqDKoQA=";
1412 };
1513
14+ vendorSha256 = "sha256-iJ2doxsLqTitsKJg3PUFLzEtLlP5QckSdFZkXX3ALIE=";
15+
16+ ldflags = [ "-s" "-w" ];
17+
1618 meta = with lib; {
1719 description = "HAProxy Exporter for the Prometheus monitoring system";
1820 homepage = "https://github.com/prometheus/haproxy_exporter";
pkgs/servers/web-apps/sogo/default.nix+2−2
@@ -1,6 +1,6 @@
11{ gnustep, lib, fetchFromGitHub, fetchpatch, makeWrapper, python3, lndir
22, openssl, openldap, sope, libmemcached, curl, libsodium, libytnef, libzip, pkg-config, nixosTests
3−, oathToolkit }:
3+, oath-toolkit }:
44gnustep.stdenv.mkDerivation rec {
55 pname = "SOGo";
66 version = "5.5.0";
@@ -13,7 +13,7 @@ gnustep.stdenv.mkDerivation rec {
1313 };
1414
1515 nativeBuildInputs = [ gnustep.make makeWrapper python3 ];
16− buildInputs = [ gnustep.base sope openssl libmemcached curl libsodium libytnef libzip pkg-config openldap oathToolkit ];
16+ buildInputs = [ gnustep.base sope openssl libmemcached curl libsodium libytnef libzip pkg-config openldap oath-toolkit ];
1717
1818 patches = [
1919 # TODO: take a closer look at other patches in https://sources.debian.org/patches/sogo/ and https://github.com/Skrupellos/sogo-patches
pkgs/tools/X11/opentabletdriver/default.nix+2−2
@@ -19,13 +19,13 @@
1919
2020buildDotnetModule rec {
2121 pname = "OpenTabletDriver";
22− version = "0.6.0.3";
22+ version = "0.6.0.4";
2323
2424 src = fetchFromGitHub {
2525 owner = "OpenTabletDriver";
2626 repo = "OpenTabletDriver";
2727 rev = "v${version}";
28− sha256 = "sha256-/Tow25ycQEK8HN1IaB12ZXCXEsuKItD+aYLF/IX8Eos=";
28+ sha256 = "sha256-VvxW8Ck+XC4nXSUyDhcbGoeSr5uSAZ66jtZNoADuVR8=";
2929 };
3030
3131 debPkg = fetchurl {
pkgs/tools/X11/opentabletdriver/deps.nix+1−1
@@ -20,6 +20,7 @@
2020 (fetchNuGet { pname = "Microsoft.CSharp"; version = "4.4.1"; sha256 = "0z6d1i6xcf0c00z6rs75rgw4ncs9q2m8amasf6mmbf40fm02ry7g"; })
2121 (fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection"; version = "6.0.0-rc.1.21451.13"; sha256 = "0r6945jq7c2f1wjifq514zvngicndjqfnsjya6hqw0yzah0jr56c"; })
2222 (fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection.Abstractions"; version = "6.0.0-rc.1.21451.13"; sha256 = "11dg16x6g0gssb143qpghxz1s41himvhr7yhjwxs9hacx4ij2dm1"; })
23+ (fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "16.9.4"; sha256 = "1jdx05zmrqj1s7xfgn3wgy10qb5cl1n1jcj5kz43zvkw1amc7ra4"; })
2324 (fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "5.0.0"; sha256 = "1p62khf9zk23lh91lvz7plv3g1nzmm3b5szqrcm6mb8w3sjk03wi"; })
2425 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.0.1"; sha256 = "01al6cfxp68dscl15z7rxfw9zvhm64dncsw09a1vmdkacsa2v6lr"; })
2526 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.1.0"; sha256 = "08vh1r12g6ykjygq5d3vq09zylgb84l63k49jc4v8faw9g93iqqm"; })
@@ -27,7 +28,6 @@
2728 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "3.0.0"; sha256 = "1bk8r4r3ihmi6322jmcag14jmw11mjqys202azqjzglcx59pxh51"; })
2829 (fetchNuGet { pname = "Microsoft.NETCore.Targets"; version = "1.0.1"; sha256 = "0ppdkwy6s9p7x9jix3v4402wb171cdiibq7js7i13nxpdky7074p"; })
2930 (fetchNuGet { pname = "Microsoft.NETCore.Targets"; version = "1.1.0"; sha256 = "193xwf33fbm0ni3idxzbr5fdq3i2dlfgihsac9jj7whj0gd902nh"; })
30− (fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "16.9.4"; sha256 = "1jdx05zmrqj1s7xfgn3wgy10qb5cl1n1jcj5kz43zvkw1amc7ra4"; })
3131 (fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "16.9.4"; sha256 = "1jizkbrnm4pv60zch29ki7gj8m7j5whk141x9cwx4kwsd6cfzwi6"; })
3232 (fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "16.9.4"; sha256 = "14110qzmypr72ywvx3npq7mf4n0gvdr4536v91z1xbapms65am6x"; })
3333 (fetchNuGet { pname = "Microsoft.VisualStudio.Threading"; version = "16.7.56"; sha256 = "13x0xrsjxd86clf9cjjwmpzlyp8pkrf13riya7igs8zy93zw2qap"; })
pkgs/tools/admin/aws-google-auth/default.nix+3−3
@@ -20,15 +20,15 @@
2020
2121buildPythonApplication rec {
2222 pname = "aws-google-auth";
23− version = "0.0.37";
23+ version = "0.0.38";
2424
2525 # Pypi doesn't ship the tests, so we fetch directly from GitHub
2626 # https://github.com/cevoaustralia/aws-google-auth/issues/120
2727 src = fetchFromGitHub {
2828 owner = "cevoaustralia";
2929 repo = "aws-google-auth";
30− rev = version;
31− sha256 = "1bh733n4m5rsslpbjvhdigx6768nrvacybkakrm9704d2md9vkqd";
30+ rev = "refs/tags/${version}";
31+ sha256 = "sha256-/Xe4RDA9sBEsBBV1VP91VX0VfO8alK8L70m9WrB7qu4=";
3232 };
3333
3434 propagatedBuildInputs = [
pkgs/tools/admin/lxd/default.nix+1
@@ -48,6 +48,7 @@ buildGo118Package rec {
4848 '';
4949
5050 passthru.tests.lxd = nixosTests.lxd;
51+ passthru.tests.lxd-nftables = nixosTests.lxd-nftables;
5152
5253 nativeBuildInputs = [ installShellFiles pkg-config makeWrapper ];
5354 buildInputs = [ lxc acl libcap dqlite.dev raft-canonical.dev
pkgs/tools/admin/pgadmin/default.nix+87−54
@@ -1,21 +1,21 @@
1−{ stdenv
2−, lib
1+{ lib
32, python3
43, fetchurl
54, zlib
65, mkYarnModules
76, sphinx
87, nixosTests
8+, pkgs
99}:
1010
1111let
1212
1313 pname = "pgadmin";
14− version = "6.7";
14+ version = "6.8";
1515
1616 src = fetchurl {
1717 url = "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${version}/source/pgadmin4-${version}.tar.gz";
18− sha256 = "1g2yxwgj9fp1fkn8j2jrdhmr2b2s6y8sgv4jq55aaxm4hfkkqh6d";
18+ sha256 = "sha256-kS9GV/j28zkXTJZkRrG2JDgas210rQqXOJrwwxzepbw=";
1919 };
2020
2121 yarnDeps = mkYarnModules {
@@ -25,9 +25,78 @@ let
2525 yarnLock = ./yarn.lock;
2626 yarnNix = ./yarn.nix;
2727 };
28+
29+ # move buildDeps here to easily pass to test suite
30+ buildDeps = with pythonPackages; [
31+ flask
32+ flask-gravatar
33+ flask_login
34+ flask_mail
35+ flask_migrate
36+ flask_sqlalchemy
37+ flask_wtf
38+ flask-compress
39+ passlib
40+ pytz
41+ simplejson
42+ six
43+ sqlparse
44+ wtforms
45+ flask-paranoid
46+ psutil
47+ psycopg2
48+ python-dateutil
49+ sqlalchemy
50+ itsdangerous
51+ flask-security-too
52+ bcrypt
53+ cryptography
54+ sshtunnel
55+ ldap3
56+ flask-babelex
57+ flask-babel
58+ gssapi
59+ flask-socketio
60+ eventlet
61+ httpagentparser
62+ user-agents
63+ wheel
64+ authlib
65+ qrcode
66+ pillow
67+ pyotp
68+ botocore
69+ boto3
70+ ];
71+
72+ # override necessary on pgadmin4 6.8
73+ pythonPackages = python3.pkgs.overrideScope (final: prev: rec {
74+ flask = prev.flask.overridePythonAttrs (oldAttrs: rec {
75+ version = "2.0.3";
76+ src = oldAttrs.src.override {
77+ inherit version;
78+ sha256 = "sha256-4RIMIoyi9VO0cN9KX6knq2YlhGdSYGmYGz6wqRkCaH0=";
79+ };
80+ disabledTests = (oldAttrs.disabledTests or [ ]) ++ [
81+ "test_aborting"
82+ ];
83+ });
84+ flask-paranoid = prev.flask-paranoid.overridePythonAttrs (oldAttrs: rec {
85+ # tests fail due to downgrades here
86+ doCheck = false;
87+ });
88+ werkzeug = prev.werkzeug.overridePythonAttrs (oldAttrs: rec {
89+ version = "2.0.3";
90+ src = oldAttrs.src.override {
91+ inherit version;
92+ sha256 = "sha256-uGP4/wV8UiFktgZ8niiwQRYbS+W6TQ2s7qpQoWOCLTw=";
93+ };
94+ });
95+ });
96+
2897in
2998
30−python3.pkgs.buildPythonApplication rec {
99+pythonPackages.buildPythonApplication rec {
31100 inherit pname version src;
32101
33102 # from Dockerfile
@@ -43,19 +112,19 @@ python3.pkgs.buildPythonApplication rec {
43112 postPatch = ''
44113 # patching Makefile, so it doesn't try to build sphinx documentation here
45114 # (will do so later)
46− substituteInPlace Makefile --replace "LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 $(MAKE) -C docs/en_US -f Makefile.sphinx html" "true"
115+ substituteInPlace Makefile --replace 'LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 $(MAKE) -C docs/en_US -f Makefile.sphinx html' "true"
47116 # fix document which refers a non-existing document and fails
48117 substituteInPlace docs/en_US/contributions.rst --replace "code_snippets" ""
49118 patchShebangs .
50119 # relax dependencies
51120 substituteInPlace requirements.txt \
52− --replace "Pillow==8.3.*" "Pillow>=8.3.0" \
53121 --replace "psycopg2==2.9.*" "psycopg2>=2.9" \
54122 --replace "cryptography==3.*" "cryptography>=3.0" \
55123 --replace "requests==2.25.*" "requests>=2.25.0" \
56124 --replace "boto3==1.20.*" "boto3>=1.20" \
57125 --replace "botocore==1.23.*" "botocore>=1.23" \
58− --replace "pytz==2021.*" "pytz"
126+ --replace "pytz==2021.*" "pytz" \
127+ --replace "Werkzeug==2.0.3" "werkzeug>=2.*"
59128 # don't use Server Mode (can be overridden later)
60129 substituteInPlace pkg/pip/setup_pip.py \
61130 --replace "req = req.replace('psycopg2', 'psycopg2-binary')" "req = req" \
@@ -101,10 +170,10 @@ python3.pkgs.buildPythonApplication rec {
101170 cp -v ../pkg/pip/setup_pip.py setup.py
102171 '';
103172
104− nativeBuildInputs = [ python3 python3.pkgs.cython python3.pkgs.pip ];
173+ nativeBuildInputs = with pythonPackages; [ cython pip ];
105174 buildInputs = [
106175 zlib
107− python3.pkgs.wheel
176+ pythonPackages.wheel
108177 ];
109178
110179 # tests need an own data, log directory
@@ -112,57 +181,21 @@ python3.pkgs.buildPythonApplication rec {
112181 # checks will be run through nixos/tests
113182 doCheck = false;
114183
115− propagatedBuildInputs = with python3.pkgs; [
116− flask
117− flask-gravatar
118− flask_login
119− flask_mail
120− flask_migrate
121− flask_sqlalchemy
122− flask_wtf
123− flask-compress
124− passlib
125− pytz
126− simplejson
127− six
128− speaklater3
129− sqlparse
130− wtforms
131− flask-paranoid
132− psutil
133− psycopg2
134− python-dateutil
135− sqlalchemy
136− itsdangerous
137− flask-security-too
138− bcrypt
139− cryptography
140− sshtunnel
141− ldap3
142− flask-babelex
143− flask-babel
144− gssapi
145− flask-socketio
146− eventlet
147− httpagentparser
148− user-agents
149− wheel
150− authlib
151− qrcode
152− pillow
153− pyotp
154− botocore
155− boto3
156− ];
184+ # speaklater3 is seperate because when passing buildDeps
185+ # to the test, it fails there due to a collision with speaklater
186+ propagatedBuildInputs = buildDeps ++ [ pythonPackages.speaklater3 ];
157187
158− passthru = {
159− tests = { inherit (nixosTests) pgadmin4 pgadmin4-standalone; };
188+ passthru.tests = {
189+ standalone = nixosTests.pgadmin4-standalone;
190+ # regression and function tests of the package itself
191+ package = (import ../../../../nixos/tests/pgadmin4.nix ({ inherit pkgs; buildDeps = buildDeps; pythonEnv = pythonPackages; }));
160192 };
161193
162194 meta = with lib; {
163195 description = "Administration and development platform for PostgreSQL";
164196 homepage = "https://www.pgadmin.org/";
165197 license = licenses.mit;
198+ changelog = "https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_${lib.versions.major version}_${lib.versions.minor version}.html";
166199 maintainers = with maintainers; [ gador ];
167200 };
168201}
pkgs/tools/admin/pgadmin/package.json+7−4
@@ -8,8 +8,8 @@
88 "license": "PostgreSQL",
99 "devDependencies": {
1010 "@babel/core": "^7.10.2",
11− "@babel/eslint-parser": "^7.12.13",
12− "@babel/eslint-plugin": "^7.12.13",
11+ "@babel/eslint-parser": "^7.17.0",
12+ "@babel/eslint-plugin": "^7.17.7",
1313 "@babel/plugin-proposal-object-rest-spread": "^7.10.1",
1414 "@babel/plugin-syntax-jsx": "^7.16.0",
1515 "@babel/preset-env": "^7.10.2",
@@ -82,11 +82,12 @@
8282 "@date-io/core": "^1.3.6",
8383 "@date-io/date-fns": "1.x",
8484 "@emotion/sheet": "^1.0.1",
85− "@fortawesome/fontawesome-free": "^5.14.0",
8685 "@material-ui/core": "4.11.0",
8786 "@material-ui/icons": "^4.11.2",
8887 "@material-ui/lab": "4.0.0-alpha.58",
8988 "@material-ui/pickers": "^3.2.10",
89+ "@mui/icons-material": "^5.4.2",
90+ "@mui/material": "^5.4.3",
9091 "@projectstorm/react-diagrams": "^6.6.1",
9192 "@simonwep/pickr": "^1.5.1",
9293 "@szhsin/react-menu": "^2.2.0",
@@ -145,7 +146,7 @@
145146 "path-fx": "^2.0.0",
146147 "pathfinding": "^0.4.18",
147148 "paths-js": "^0.4.9",
148− "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bf7ac7be65898883e3e05c9733426152a1da6422",
149+ "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613",
149150 "postcss": "^8.2.15",
150151 "raf": "^3.4.1",
151152 "rc-dock": "^3.2.9",
@@ -154,6 +155,8 @@
154155 "react-checkbox-tree": "^1.7.2",
155156 "react-dom": "^17.0.1",
156157 "react-draggable": "^4.4.4",
158+ "react-rnd": "^10.3.5",
159+ "react-router-dom": "^6.2.2",
157160 "react-select": "^4.2.1",
158161 "react-table": "^7.6.3",
159162 "react-timer-hook": "^3.0.5",
pkgs/tools/admin/pgadmin/yarn.lock+231−22
@@ -91,19 +91,19 @@
9191 json5 "^2.1.2"
9292 semver "^6.3.0"
9393
94−"@babel/eslint-parser@^7.12.13":
95− version "7.13.8"
96− resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.13.8.tgz#6f2bde6b0690fcc0598b4869fc7c8e8b55b17687"
97− integrity sha512-XewKkiyukrGzMeqToXJQk6hjg2veI9SNQElGzAoAjKxYCLbgcVX4KA2WhoyqMon9N4RMdCZhNTJNOBcp9spsiw==
94+"@babel/eslint-parser@^7.17.0":
95+ version "7.17.0"
96+ resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz#eabb24ad9f0afa80e5849f8240d0e5facc2d90d6"
97+ integrity sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==
9898 dependencies:
99− eslint-scope "5.1.0"
100− eslint-visitor-keys "^1.3.0"
99+ eslint-scope "^5.1.1"
100+ eslint-visitor-keys "^2.1.0"
101101 semver "^6.3.0"
102102
103−"@babel/eslint-plugin@^7.12.13":
104− version "7.13.0"
105− resolved "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.13.0.tgz#e6d99efcd6b8551adf479e382a47218726179b1b"
106− integrity sha512-YGwCLc/u/uc3bU+q/fvgRQ62+TkxuyVvdmybK6ElzE49vODp+RnRe16eJzMM7EwvcRPQfQvcOSuGmzfcbZE2+w==
103+"@babel/eslint-plugin@^7.17.7":
104+ version "7.17.7"
105+ resolved "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.17.7.tgz#4ee1d5b29b79130f3bb5a933358376bcbee172b8"
106+ integrity sha512-JATUoJJXSgwI0T8juxWYtK1JSgoLpIGUsCHIv+NMXcUDA2vIe6nvAHR9vnuJgs/P1hOFw7vPwibixzfqBBLIVw==
107107 dependencies:
108108 eslint-rule-composer "^0.3.0"
109109
@@ -1741,6 +1741,13 @@
17411741 dependencies:
17421742 regenerator-runtime "^0.13.4"
17431743
1744+"@babel/runtime@^7.17.2", "@babel/runtime@^7.7.6":
1745+ version "7.17.8"
1746+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.8.tgz#3e56e4aff81befa55ac3ac6a0967349fd1c5bca2"
1747+ integrity sha512-dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA==
1748+ dependencies:
1749+ regenerator-runtime "^0.13.4"
1750+
17441751"@babel/template@^7.12.13", "@babel/template@^7.14.5":
17451752 version "7.14.5"
17461753 resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4"
@@ -1849,6 +1856,17 @@
18491856 "@emotion/weak-memoize" "^0.2.5"
18501857 stylis "^4.0.3"
18511858
1859+"@emotion/cache@^11.7.1":
1860+ version "11.7.1"
1861+ resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.7.1.tgz#08d080e396a42e0037848214e8aa7bf879065539"
1862+ integrity sha512-r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A==
1863+ dependencies:
1864+ "@emotion/memoize" "^0.7.4"
1865+ "@emotion/sheet" "^1.1.0"
1866+ "@emotion/utils" "^1.0.0"
1867+ "@emotion/weak-memoize" "^0.2.5"
1868+ stylis "4.0.13"
1869+
18521870"@emotion/core@^10.0.14":
18531871 version "10.1.1"
18541872 resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.1.1.tgz#c956c1365f2f2481960064bcb8c4732e5fb612c3"
@@ -1882,6 +1900,13 @@
18821900 dependencies:
18831901 "@emotion/memoize" "0.7.4"
18841902
1903+"@emotion/is-prop-valid@^1.1.2":
1904+ version "1.1.2"
1905+ resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.2.tgz#34ad6e98e871aa6f7a20469b602911b8b11b3a95"
1906+ integrity sha512-3QnhqeL+WW88YjYbQL5gUIkthuMw7a0NGbZ7wfFVk2kg/CK5w8w5FFa0RzWjyY1+sujN0NWbtSHH6OJmWHtJpQ==
1907+ dependencies:
1908+ "@emotion/memoize" "^0.7.4"
1909+
18851910"@emotion/memoize@0.7.4":
18861911 version "0.7.4"
18871912 resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb"
@@ -1937,6 +1962,11 @@
19371962 resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.0.1.tgz#245f54abb02dfd82326e28689f34c27aa9b2a698"
19381963 integrity sha512-GbIvVMe4U+Zc+929N1V7nW6YYJtidj31lidSmdYcWozwoBIObXBnaJkKNDjZrLm9Nc0BR+ZyHNaRZxqNZbof5g==
19391964
1965+"@emotion/sheet@^1.1.0":
1966+ version "1.1.0"
1967+ resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.0.tgz#56d99c41f0a1cda2726a05aa6a20afd4c63e58d2"
1968+ integrity sha512-u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==
1969+
19401970"@emotion/styled-base@^10.0.27":
19411971 version "10.0.31"
19421972 resolved "https://registry.yarnpkg.com/@emotion/styled-base/-/styled-base-10.0.31.tgz#940957ee0aa15c6974adc7d494ff19765a2f742a"
@@ -2117,6 +2147,93 @@
21172147 prop-types "^15.7.2"
21182148 react-is "^16.8.0 || ^17.0.0"
21192149
2150+"@mui/base@5.0.0-alpha.74":
2151+ version "5.0.0-alpha.74"
2152+ resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.74.tgz#15509242e7911446d5957375b1b18cbb72b3a750"
2153+ integrity sha512-pw3T1xNXpW8pLo9+BvtyazZb0CSjNJsjbzznlbV/aNkBfjNPXQVI3X1NDm3WSI8y6M96WDIVO7XrHAohOwALSQ==
2154+ dependencies:
2155+ "@babel/runtime" "^7.17.2"
2156+ "@emotion/is-prop-valid" "^1.1.2"
2157+ "@mui/types" "^7.1.3"
2158+ "@mui/utils" "^5.5.3"
2159+ "@popperjs/core" "^2.11.4"
2160+ clsx "^1.1.1"
2161+ prop-types "^15.7.2"
2162+ react-is "^17.0.2"
2163+
2164+"@mui/icons-material@^5.4.2":
2165+ version "5.5.1"
2166+ resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.5.1.tgz#848a57972617411370775980cbc6990588d4aafb"
2167+ integrity sha512-40f68p5+Yhq3dCn3QYHqQt5RETPyR3AkDw+fma8PtcjqvZ+d+jF84kFmT6NqwA3he7TlwluEtkyAmPzUE4uPdA==
2168+ dependencies:
2169+ "@babel/runtime" "^7.17.2"
2170+
2171+"@mui/material@^5.4.3":
2172+ version "5.5.3"
2173+ resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.5.3.tgz#411e53a69da3f9d6664e99f1bdcdaf2760540fdc"
2174+ integrity sha512-eADa3kUYbbr1jNjcufn0a7HeU8cSo0agbrkj720hodxVFNIfzq7a2e58Z+PaZqll55kMGBvlYJ7rTcXU399x5A==
2175+ dependencies:
2176+ "@babel/runtime" "^7.17.2"
2177+ "@mui/base" "5.0.0-alpha.74"
2178+ "@mui/system" "^5.5.3"
2179+ "@mui/types" "^7.1.3"
2180+ "@mui/utils" "^5.5.3"
2181+ "@types/react-transition-group" "^4.4.4"
2182+ clsx "^1.1.1"
2183+ csstype "^3.0.11"
2184+ hoist-non-react-statics "^3.3.2"
2185+ prop-types "^15.7.2"
2186+ react-is "^17.0.2"
2187+ react-transition-group "^4.4.2"
2188+
2189+"@mui/private-theming@^5.5.3":
2190+ version "5.5.3"
2191+ resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.5.3.tgz#c232a39dd3c268fdef7e92ccc40d51bda9eec3ab"
2192+ integrity sha512-Wf7NurY7lk8SBWelSBY2U02zxLt1773JpIcXTHuEC9/GZdQA4CXCJGl2cVQzheKhee5rZ+8JwGulrRiVl1m+4A==
2193+ dependencies:
2194+ "@babel/runtime" "^7.17.2"
2195+ "@mui/utils" "^5.5.3"
2196+ prop-types "^15.7.2"
2197+
2198+"@mui/styled-engine@^5.5.2":
2199+ version "5.5.2"
2200+ resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.5.2.tgz#1f92dd27d76f0b7df7aa52c7c7a710e59b2275a6"
2201+ integrity sha512-jkz5AHHbA43akBo5L3y1X1/X0f+RvXvCp3eXKt+iOf3qnKSAausbtlVz7gBbC4xIWDnP1Jb/6T+t/0/7gObRYA==
2202+ dependencies:
2203+ "@babel/runtime" "^7.17.2"
2204+ "@emotion/cache" "^11.7.1"
2205+ prop-types "^15.7.2"
2206+
2207+"@mui/system@^5.5.3":
2208+ version "5.5.3"
2209+ resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.5.3.tgz#c78d4c16009430389ffd3495d694945422d72ca5"
2210+ integrity sha512-J9JcySJuEqfEoP334K/2gEWm2vOx73Uqjii3qlFVhWRBOAJ0Pjyk0sN5W/eVRbwhUm95DNgh2V5s8dRK3vzyVw==
2211+ dependencies:
2212+ "@babel/runtime" "^7.17.2"
2213+ "@mui/private-theming" "^5.5.3"
2214+ "@mui/styled-engine" "^5.5.2"
2215+ "@mui/types" "^7.1.3"
2216+ "@mui/utils" "^5.5.3"
2217+ clsx "^1.1.1"
2218+ csstype "^3.0.11"
2219+ prop-types "^15.7.2"
2220+
2221+"@mui/types@^7.1.3":
2222+ version "7.1.3"
2223+ resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.1.3.tgz#d7636f3046110bcccc63e6acfd100e2ad9ca712a"
2224+ integrity sha512-DDF0UhMBo4Uezlk+6QxrlDbchF79XG6Zs0zIewlR4c0Dt6GKVFfUtzPtHCH1tTbcSlq/L2bGEdiaoHBJ9Y1gSA==
2225+
2226+"@mui/utils@^5.5.3":
2227+ version "5.5.3"
2228+ resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.5.3.tgz#f6e1f10c0e8f4d0bf750588c2c3a96ad819c5b65"
2229+ integrity sha512-t627eVRpl3SlxVya0cIVNs8jPl4KCEiGaTSWY9iKKTcMNaeDbuRML+zv/CFHDPr1zFv+FjJSP02ySB+tZ8xIag==
2230+ dependencies:
2231+ "@babel/runtime" "^7.17.2"
2232+ "@types/prop-types" "^15.7.4"
2233+ "@types/react-is" "^16.7.1 || ^17.0.0"
2234+ prop-types "^15.7.2"
2235+ react-is "^17.0.2"
2236+
21202237"@nodelib/fs.scandir@2.1.4":
21212238 version "2.1.4"
21222239 resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69"
@@ -2159,6 +2276,11 @@
21592276 resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.15.tgz#6a9d143f7f4f49db2d782f9e1c8839a29b43ae23"
21602277 integrity sha512-15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA==
21612278
2279+"@popperjs/core@^2.11.4":
2280+ version "2.11.4"
2281+ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.4.tgz#d8c7b8db9226d2d7664553a0741ad7d0397ee503"
2282+ integrity sha512-q/ytXxO5NKvyT37pmisQAItCFqA7FD/vNb8dgaJy3/630Fsc+Mz9/9f2SziBoIZ30TJooXyTwZmhi1zjXmObYg==
2283+
21622284"@popperjs/core@^2.8.3":
21632285 version "2.9.0"
21642286 resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.9.0.tgz#32e63212293dd3efbb521cd35a5020ab66eaa546"
@@ -2436,6 +2558,11 @@
24362558 resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
24372559 integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==
24382560
2561+"@types/prop-types@^15.7.4":
2562+ version "15.7.4"
2563+ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.4.tgz#fcf7205c25dff795ee79af1e30da2c9790808f11"
2564+ integrity sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ==
2565+
24392566"@types/q@^1.5.1":
24402567 version "1.5.4"
24412568 resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24"
@@ -2448,6 +2575,13 @@
24482575 dependencies:
24492576 "@types/react" "^16"
24502577
2578+"@types/react-is@^16.7.1 || ^17.0.0":
2579+ version "17.0.3"
2580+ resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.3.tgz#2d855ba575f2fc8d17ef9861f084acc4b90a137a"
2581+ integrity sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==
2582+ dependencies:
2583+ "@types/react" "*"
2584+
24512585"@types/react-transition-group@^4.2.0":
24522586 version "4.4.1"
24532587 resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.1.tgz#e1a3cb278df7f47f17b5082b1b3da17170bd44b1"
@@ -2455,6 +2589,13 @@
24552589 dependencies:
24562590 "@types/react" "*"
24572591
2592+"@types/react-transition-group@^4.4.4":
2593+ version "4.4.4"
2594+ resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.4.tgz#acd4cceaa2be6b757db61ed7b432e103242d163e"
2595+ integrity sha512-7gAPz7anVK5xzbeQW9wFBDg7G++aPLAFY0QaSMOou9rJZpbuI58WAuJrgu+qR92l61grlnCUe7AFX8KGahAgug==
2596+ dependencies:
2597+ "@types/react" "*"
2598+
24582599"@types/react@*", "@types/react@^16":
24592600 version "16.14.10"
24602601 resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.10.tgz#76bc1c42ed5ab0d2ab13e5c58faaccaad3449477"
@@ -4540,6 +4681,11 @@ csstype@^2.5.2, csstype@^2.5.7:
45404681 resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.16.tgz#544d69f547013b85a40d15bff75db38f34fe9c39"
45414682 integrity sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==
45424683
4684+csstype@^3.0.11:
4685+ version "3.0.11"
4686+ resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.11.tgz#d66700c5eacfac1940deb4e3ee5642792d85cd33"
4687+ integrity sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==
4688+
45434689csstype@^3.0.2:
45444690 version "3.0.8"
45454691 resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.8.tgz#d2266a792729fb227cd216fb572f43728e1ad340"
@@ -5223,14 +5369,6 @@ eslint-rule-composer@^0.3.0:
52235369 resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
52245370 integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==
52255371
5226−eslint-scope@5.1.0:
5227− version "5.1.0"
5228− resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.0.tgz#d0f971dfe59c69e0cada684b23d49dbf82600ce5"
5229− integrity sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==
5230− dependencies:
5231− esrecurse "^4.1.0"
5232− estraverse "^4.1.1"
5233−
52345372eslint-scope@^5.1.1:
52355373 version "5.1.1"
52365374 resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
@@ -5251,7 +5389,7 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0:
52515389 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
52525390 integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
52535391
5254−eslint-visitor-keys@^2.0.0:
5392+eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0:
52555393 version "2.1.0"
52565394 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
52575395 integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
@@ -5320,7 +5458,7 @@ esquery@^1.4.0:
53205458 dependencies:
53215459 estraverse "^5.1.0"
53225460
5323−esrecurse@^4.1.0, esrecurse@^4.3.0:
5461+esrecurse@^4.3.0:
53245462 version "4.3.0"
53255463 resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
53265464 integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==
@@ -5498,6 +5636,11 @@ fast-levenshtein@^2.0.6:
54985636 resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
54995637 integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
55005638
5639+fast-memoize@^2.5.1:
5640+ version "2.5.2"
5641+ resolved "https://registry.yarnpkg.com/fast-memoize/-/fast-memoize-2.5.2.tgz#79e3bb6a4ec867ea40ba0e7146816f6cdce9b57e"
5642+ integrity sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==
5643+
55015644fast-safe-stringify@^2.0.7:
55025645 version "2.0.7"
55035646 resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743"
@@ -6059,6 +6202,13 @@ hex-color-regex@^1.1.0:
60596202 resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
60606203 integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==
60616204
6205+history@^5.2.0:
6206+ version "5.3.0"
6207+ resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b"
6208+ integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==
6209+ dependencies:
6210+ "@babel/runtime" "^7.7.6"
6211+
60626212hmac-drbg@^1.0.1:
60636213 version "1.0.1"
60646214 resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
@@ -8351,9 +8501,9 @@ performance-now@^2.1.0:
83518501 resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
83528502 integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
83538503
8354−"pgadmin4-tree@git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bf7ac7be65898883e3e05c9733426152a1da6422":
8504+"pgadmin4-tree@git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613":
83558505 version "1.0.0"
8356− resolved "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bf7ac7be65898883e3e05c9733426152a1da6422"
8506+ resolved "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613"
83578507 dependencies:
83588508 "@types/classnames" "^2.2.6"
83598509 "@types/react" "^16.7.18"
@@ -9023,6 +9173,13 @@ rc-util@^5.12.0, rc-util@^5.15.0, rc-util@^5.2.1, rc-util@^5.3.0, rc-util@^5.5.0
90239173 react-is "^16.12.0"
90249174 shallowequal "^1.1.0"
90259175
9176+re-resizable@6.9.1:
9177+ version "6.9.1"
9178+ resolved "https://registry.yarnpkg.com/re-resizable/-/re-resizable-6.9.1.tgz#6be082b55d02364ca4bfee139e04feebdf52441c"
9179+ integrity sha512-KRYAgr9/j1PJ3K+t+MBhlQ+qkkoLDJ1rs0z1heIWvYbCW/9Vq4djDU+QumJ3hQbwwtzXF6OInla6rOx6hhgRhQ==
9180+ dependencies:
9181+ fast-memoize "^2.5.1"
9182+
90269183react-aspen@^1.1.0, react-aspen@^1.1.1:
90279184 version "1.1.1"
90289185 resolved "https://registry.yarnpkg.com/react-aspen/-/react-aspen-1.1.1.tgz#61a85ef43748158322c4a3b73faaa5e563edd038"
@@ -9063,6 +9220,14 @@ react-dom@^17.0.1:
90639220 object-assign "^4.1.1"
90649221 scheduler "^0.20.2"
90659222
9223+react-draggable@4.4.3:
9224+ version "4.4.3"
9225+ resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.3.tgz#0727f2cae5813e36b0e4962bf11b2f9ef2b406f3"
9226+ integrity sha512-jV4TE59MBuWm7gb6Ns3Q1mxX8Azffb7oTtDtBgFkxRvhDp38YAARmRplrj0+XGkhOJB5XziArX+4HUUABtyZ0w==
9227+ dependencies:
9228+ classnames "^2.2.5"
9229+ prop-types "^15.6.0"
9230+
90669231react-draggable@^4.4.4:
90679232 version "4.4.4"
90689233 resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.4.tgz#5b26d9996be63d32d285a426f41055de87e59b2f"
@@ -9093,6 +9258,30 @@ react-property@1.0.1:
90939258 resolved "https://registry.yarnpkg.com/react-property/-/react-property-1.0.1.tgz#4ae4211557d0a0ae050a71aa8ad288c074bea4e6"
90949259 integrity sha512-1tKOwxFn3dXVomH6pM9IkLkq2Y8oh+fh/lYW3MJ/B03URswUTqttgckOlbxY2XHF3vPG6uanSc4dVsLW/wk3wQ==
90959260
9261+react-rnd@^10.3.5:
9262+ version "10.3.5"
9263+ resolved "https://registry.yarnpkg.com/react-rnd/-/react-rnd-10.3.5.tgz#b66e5e06f1eb6823e72eb4b552081b4b9241b139"
9264+ integrity sha512-LWJP+l5bp76sDPKrKM8pwGJifI6i3B5jHK4ONACczVMbR8ycNGA75ORRqpRuXGyKawUs68s1od05q8cqWgQXgw==
9265+ dependencies:
9266+ re-resizable "6.9.1"
9267+ react-draggable "4.4.3"
9268+ tslib "2.3.0"
9269+
9270+react-router-dom@^6.2.2:
9271+ version "6.3.0"
9272+ resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.3.0.tgz#a0216da813454e521905b5fa55e0e5176123f43d"
9273+ integrity sha512-uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw==
9274+ dependencies:
9275+ history "^5.2.0"
9276+ react-router "6.3.0"
9277+
9278+react-router@6.3.0:
9279+ version "6.3.0"
9280+ resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
9281+ integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
9282+ dependencies:
9283+ history "^5.2.0"
9284+
90969285react-select@^4.2.1:
90979286 version "4.3.1"
90989287 resolved "https://registry.yarnpkg.com/react-select/-/react-select-4.3.1.tgz#389fc07c9bc7cf7d3c377b7a05ea18cd7399cb81"
@@ -9144,6 +9333,16 @@ react-transition-group@^4.0.0, react-transition-group@^4.3.0, react-transition-g
91449333 loose-envify "^1.4.0"
91459334 prop-types "^15.6.2"
91469335
9336+react-transition-group@^4.4.2:
9337+ version "4.4.2"
9338+ resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.2.tgz#8b59a56f09ced7b55cbd53c36768b922890d5470"
9339+ integrity sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg==
9340+ dependencies:
9341+ "@babel/runtime" "^7.5.5"
9342+ dom-helpers "^5.0.1"
9343+ loose-envify "^1.4.0"
9344+ prop-types "^15.6.2"
9345+
91479346react-transition-state@^1.1.3:
91489347 version "1.1.3"
91499348 resolved "https://registry.yarnpkg.com/react-transition-state/-/react-transition-state-1.1.3.tgz#6d999dc640ffd3a7442021a14a58e13347f4e95f"
@@ -10161,6 +10360,11 @@ stylehacks@^5.0.1:
1016110360 browserslist "^4.16.0"
1016210361 postcss-selector-parser "^6.0.4"
1016310362
10363+stylis@4.0.13:
10364+ version "4.0.13"
10365+ resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13.tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91"
10366+ integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==
10367+
1016410368stylis@^4.0.3, stylis@^4.0.7:
1016510369 version "4.0.10"
1016610370 resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.10.tgz#446512d1097197ab3f02fb3c258358c3f7a14240"
@@ -10511,6 +10715,11 @@ trim-right@^1.0.1:
1051110715 resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
1051210716 integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
1051310717
10718+tslib@2.3.0:
10719+ version "2.3.0"
10720+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
10721+ integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==
10722+
1051410723tslib@^2.2.0:
1051510724 version "2.2.0"
1051610725 resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c"
pkgs/tools/admin/pgadmin/yarn.nix+226−18
@@ -74,19 +74,19 @@
7474 };
7575 }
7676 {
77− name = "_babel_eslint_parser___eslint_parser_7.13.8.tgz";
77+ name = "_babel_eslint_parser___eslint_parser_7.17.0.tgz";
7878 path = fetchurl {
79− name = "_babel_eslint_parser___eslint_parser_7.13.8.tgz";
80− url = "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.13.8.tgz";
81− sha512 = "XewKkiyukrGzMeqToXJQk6hjg2veI9SNQElGzAoAjKxYCLbgcVX4KA2WhoyqMon9N4RMdCZhNTJNOBcp9spsiw==";
79+ name = "_babel_eslint_parser___eslint_parser_7.17.0.tgz";
80+ url = "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz";
81+ sha512 = "PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==";
8282 };
8383 }
8484 {
85− name = "_babel_eslint_plugin___eslint_plugin_7.13.0.tgz";
85+ name = "_babel_eslint_plugin___eslint_plugin_7.17.7.tgz";
8686 path = fetchurl {
87− name = "_babel_eslint_plugin___eslint_plugin_7.13.0.tgz";
88− url = "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.13.0.tgz";
89− sha512 = "YGwCLc/u/uc3bU+q/fvgRQ62+TkxuyVvdmybK6ElzE49vODp+RnRe16eJzMM7EwvcRPQfQvcOSuGmzfcbZE2+w==";
87+ name = "_babel_eslint_plugin___eslint_plugin_7.17.7.tgz";
88+ url = "https://registry.yarnpkg.com/@babel/eslint-plugin/-/eslint-plugin-7.17.7.tgz";
89+ sha512 = "JATUoJJXSgwI0T8juxWYtK1JSgoLpIGUsCHIv+NMXcUDA2vIe6nvAHR9vnuJgs/P1hOFw7vPwibixzfqBBLIVw==";
9090 };
9191 }
9292 {
@@ -1577,6 +1577,14 @@
15771577 sha512 = "etcO/ohMNaNA2UBdaXBBSX/3aEzFMRrVfaPv8Ptc0k+cWpWW0QFiGZ2XnVqQZI1Cf734LbPGmqBKWESfW4x/dQ==";
15781578 };
15791579 }
1580+ {
1581+ name = "_babel_runtime___runtime_7.17.8.tgz";
1582+ path = fetchurl {
1583+ name = "_babel_runtime___runtime_7.17.8.tgz";
1584+ url = "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.8.tgz";
1585+ sha512 = "dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA==";
1586+ };
1587+ }
15801588 {
15811589 name = "_babel_template___template_7.14.5.tgz";
15821590 path = fetchurl {
@@ -1673,6 +1681,14 @@
16731681 sha512 = "Zx70bjE7LErRO9OaZrhf22Qye1y4F7iDl+ITjet0J+i+B88PrAOBkKvaAWhxsZf72tDLajwCgfCjJ2dvH77C3g==";
16741682 };
16751683 }
1684+ {
1685+ name = "_emotion_cache___cache_11.7.1.tgz";
1686+ path = fetchurl {
1687+ name = "_emotion_cache___cache_11.7.1.tgz";
1688+ url = "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.7.1.tgz";
1689+ sha512 = "r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A==";
1690+ };
1691+ }
16761692 {
16771693 name = "_emotion_core___core_10.1.1.tgz";
16781694 path = fetchurl {
@@ -1705,6 +1721,14 @@
17051721 sha512 = "u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==";
17061722 };
17071723 }
1724+ {
1725+ name = "_emotion_is_prop_valid___is_prop_valid_1.1.2.tgz";
1726+ path = fetchurl {
1727+ name = "_emotion_is_prop_valid___is_prop_valid_1.1.2.tgz";
1728+ url = "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.2.tgz";
1729+ sha512 = "3QnhqeL+WW88YjYbQL5gUIkthuMw7a0NGbZ7wfFVk2kg/CK5w8w5FFa0RzWjyY1+sujN0NWbtSHH6OJmWHtJpQ==";
1730+ };
1731+ }
17081732 {
17091733 name = "_emotion_memoize___memoize_0.7.4.tgz";
17101734 path = fetchurl {
@@ -1761,6 +1785,14 @@
17611785 sha512 = "GbIvVMe4U+Zc+929N1V7nW6YYJtidj31lidSmdYcWozwoBIObXBnaJkKNDjZrLm9Nc0BR+ZyHNaRZxqNZbof5g==";
17621786 };
17631787 }
1788+ {
1789+ name = "_emotion_sheet___sheet_1.1.0.tgz";
1790+ path = fetchurl {
1791+ name = "_emotion_sheet___sheet_1.1.0.tgz";
1792+ url = "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.0.tgz";
1793+ sha512 = "u0AX4aSo25sMAygCuQTzS+HsImZFuS8llY8O7b9MDRzbJM0kVJlAz6KNDqcG7pOuQZJmj/8X/rAW+66kMnMW+g==";
1794+ };
1795+ }
17641796 {
17651797 name = "_emotion_styled_base___styled_base_10.0.31.tgz";
17661798 path = fetchurl {
@@ -1929,6 +1961,70 @@
19291961 sha512 = "Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==";
19301962 };
19311963 }
1964+ {
1965+ name = "_mui_base___base_5.0.0_alpha.74.tgz";
1966+ path = fetchurl {
1967+ name = "_mui_base___base_5.0.0_alpha.74.tgz";
1968+ url = "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.74.tgz";
1969+ sha512 = "pw3T1xNXpW8pLo9+BvtyazZb0CSjNJsjbzznlbV/aNkBfjNPXQVI3X1NDm3WSI8y6M96WDIVO7XrHAohOwALSQ==";
1970+ };
1971+ }
1972+ {
1973+ name = "_mui_icons_material___icons_material_5.5.1.tgz";
1974+ path = fetchurl {
1975+ name = "_mui_icons_material___icons_material_5.5.1.tgz";
1976+ url = "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.5.1.tgz";
1977+ sha512 = "40f68p5+Yhq3dCn3QYHqQt5RETPyR3AkDw+fma8PtcjqvZ+d+jF84kFmT6NqwA3he7TlwluEtkyAmPzUE4uPdA==";
1978+ };
1979+ }
1980+ {
1981+ name = "_mui_material___material_5.5.3.tgz";
1982+ path = fetchurl {
1983+ name = "_mui_material___material_5.5.3.tgz";
1984+ url = "https://registry.yarnpkg.com/@mui/material/-/material-5.5.3.tgz";
1985+ sha512 = "eADa3kUYbbr1jNjcufn0a7HeU8cSo0agbrkj720hodxVFNIfzq7a2e58Z+PaZqll55kMGBvlYJ7rTcXU399x5A==";
1986+ };
1987+ }
1988+ {
1989+ name = "_mui_private_theming___private_theming_5.5.3.tgz";
1990+ path = fetchurl {
1991+ name = "_mui_private_theming___private_theming_5.5.3.tgz";
1992+ url = "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.5.3.tgz";
1993+ sha512 = "Wf7NurY7lk8SBWelSBY2U02zxLt1773JpIcXTHuEC9/GZdQA4CXCJGl2cVQzheKhee5rZ+8JwGulrRiVl1m+4A==";
1994+ };
1995+ }
1996+ {
1997+ name = "_mui_styled_engine___styled_engine_5.5.2.tgz";
1998+ path = fetchurl {
1999+ name = "_mui_styled_engine___styled_engine_5.5.2.tgz";
2000+ url = "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.5.2.tgz";
2001+ sha512 = "jkz5AHHbA43akBo5L3y1X1/X0f+RvXvCp3eXKt+iOf3qnKSAausbtlVz7gBbC4xIWDnP1Jb/6T+t/0/7gObRYA==";
2002+ };
2003+ }
2004+ {
2005+ name = "_mui_system___system_5.5.3.tgz";
2006+ path = fetchurl {
2007+ name = "_mui_system___system_5.5.3.tgz";
2008+ url = "https://registry.yarnpkg.com/@mui/system/-/system-5.5.3.tgz";
2009+ sha512 = "J9JcySJuEqfEoP334K/2gEWm2vOx73Uqjii3qlFVhWRBOAJ0Pjyk0sN5W/eVRbwhUm95DNgh2V5s8dRK3vzyVw==";
2010+ };
2011+ }
2012+ {
2013+ name = "_mui_types___types_7.1.3.tgz";
2014+ path = fetchurl {
2015+ name = "_mui_types___types_7.1.3.tgz";
2016+ url = "https://registry.yarnpkg.com/@mui/types/-/types-7.1.3.tgz";
2017+ sha512 = "DDF0UhMBo4Uezlk+6QxrlDbchF79XG6Zs0zIewlR4c0Dt6GKVFfUtzPtHCH1tTbcSlq/L2bGEdiaoHBJ9Y1gSA==";
2018+ };
2019+ }
2020+ {
2021+ name = "_mui_utils___utils_5.5.3.tgz";
2022+ path = fetchurl {
2023+ name = "_mui_utils___utils_5.5.3.tgz";
2024+ url = "https://registry.yarnpkg.com/@mui/utils/-/utils-5.5.3.tgz";
2025+ sha512 = "t627eVRpl3SlxVya0cIVNs8jPl4KCEiGaTSWY9iKKTcMNaeDbuRML+zv/CFHDPr1zFv+FjJSP02ySB+tZ8xIag==";
2026+ };
2027+ }
19322028 {
19332029 name = "_nodelib_fs.scandir___fs.scandir_2.1.4.tgz";
19342030 path = fetchurl {
@@ -1977,6 +2073,14 @@
19772073 sha512 = "15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA==";
19782074 };
19792075 }
2076+ {
2077+ name = "_popperjs_core___core_2.11.4.tgz";
2078+ path = fetchurl {
2079+ name = "_popperjs_core___core_2.11.4.tgz";
2080+ url = "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.4.tgz";
2081+ sha512 = "q/ytXxO5NKvyT37pmisQAItCFqA7FD/vNb8dgaJy3/630Fsc+Mz9/9f2SziBoIZ30TJooXyTwZmhi1zjXmObYg==";
2082+ };
2083+ }
19802084 {
19812085 name = "_popperjs_core___core_2.9.0.tgz";
19822086 path = fetchurl {
@@ -2313,6 +2417,14 @@
23132417 sha512 = "KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==";
23142418 };
23152419 }
2420+ {
2421+ name = "_types_prop_types___prop_types_15.7.4.tgz";
2422+ path = fetchurl {
2423+ name = "_types_prop_types___prop_types_15.7.4.tgz";
2424+ url = "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.4.tgz";
2425+ sha512 = "rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ==";
2426+ };
2427+ }
23162428 {
23172429 name = "_types_q___q_1.5.4.tgz";
23182430 path = fetchurl {
@@ -2329,6 +2441,14 @@
23292441 sha512 = "FIX2AVmPTGP30OUJ+0vadeIFJJ07Mh1m+U0rxfgyW34p3rTlXI+nlenvAxNn4BP36YyI9IJ/+UJ7Wu22N1pI7A==";
23302442 };
23312443 }
2444+ {
2445+ name = "_types_react_is___react_is_17.0.3.tgz";
2446+ path = fetchurl {
2447+ name = "_types_react_is___react_is_17.0.3.tgz";
2448+ url = "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.3.tgz";
2449+ sha512 = "aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw==";
2450+ };
2451+ }
23322452 {
23332453 name = "_types_react_transition_group___react_transition_group_4.4.1.tgz";
23342454 path = fetchurl {
@@ -2337,6 +2457,14 @@
23372457 sha512 = "vIo69qKKcYoJ8wKCJjwSgCTM+z3chw3g18dkrDfVX665tMH7tmbDxEAnPdey4gTlwZz5QuHGzd+hul0OVZDqqQ==";
23382458 };
23392459 }
2460+ {
2461+ name = "_types_react_transition_group___react_transition_group_4.4.4.tgz";
2462+ path = fetchurl {
2463+ name = "_types_react_transition_group___react_transition_group_4.4.4.tgz";
2464+ url = "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.4.tgz";
2465+ sha512 = "7gAPz7anVK5xzbeQW9wFBDg7G++aPLAFY0QaSMOou9rJZpbuI58WAuJrgu+qR92l61grlnCUe7AFX8KGahAgug==";
2466+ };
2467+ }
23402468 {
23412469 name = "_types_react___react_16.14.10.tgz";
23422470 path = fetchurl {
@@ -4473,6 +4601,14 @@
44734601 sha512 = "61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==";
44744602 };
44754603 }
4604+ {
4605+ name = "csstype___csstype_3.0.11.tgz";
4606+ path = fetchurl {
4607+ name = "csstype___csstype_3.0.11.tgz";
4608+ url = "https://registry.yarnpkg.com/csstype/-/csstype-3.0.11.tgz";
4609+ sha512 = "sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==";
4610+ };
4611+ }
44764612 {
44774613 name = "csstype___csstype_3.0.8.tgz";
44784614 path = fetchurl {
@@ -5185,14 +5321,6 @@
51855321 sha512 = "bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==";
51865322 };
51875323 }
5188− {
5189− name = "eslint_scope___eslint_scope_5.1.0.tgz";
5190− path = fetchurl {
5191− name = "eslint_scope___eslint_scope_5.1.0.tgz";
5192− url = "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.0.tgz";
5193− sha512 = "iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==";
5194− };
5195− }
51965324 {
51975325 name = "eslint_scope___eslint_scope_5.1.1.tgz";
51985326 path = fetchurl {
@@ -5441,6 +5569,14 @@
54415569 sha1 = "PYpcZog6FqMMqGQ+hR8Zuqd5eRc=";
54425570 };
54435571 }
5572+ {
5573+ name = "fast_memoize___fast_memoize_2.5.2.tgz";
5574+ path = fetchurl {
5575+ name = "fast_memoize___fast_memoize_2.5.2.tgz";
5576+ url = "https://registry.yarnpkg.com/fast-memoize/-/fast-memoize-2.5.2.tgz";
5577+ sha512 = "Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==";
5578+ };
5579+ }
54445580 {
54455581 name = "fast_safe_stringify___fast_safe_stringify_2.0.7.tgz";
54465582 path = fetchurl {
@@ -6081,6 +6217,14 @@
60816217 sha512 = "l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==";
60826218 };
60836219 }
6220+ {
6221+ name = "history___history_5.3.0.tgz";
6222+ path = fetchurl {
6223+ name = "history___history_5.3.0.tgz";
6224+ url = "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz";
6225+ sha512 = "ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==";
6226+ };
6227+ }
60846228 {
60856229 name = "hmac_drbg___hmac_drbg_1.0.1.tgz";
60866230 path = fetchurl {
@@ -8823,8 +8967,8 @@
88238967 let
88248968 repo = fetchgit {
88258969 url = "https://github.com/EnterpriseDB/pgadmin4-treeview/";
8826− rev = "bf7ac7be65898883e3e05c9733426152a1da6422";
8827− sha256 = "0nsn7s0d1kpgpb554hkz7nsifzdyff06qc78gqmzd8j3sfcbjk63";
8970+ rev = "c966febebcdffaa46f1ccf0769fe5308f179d613";
8971+ sha256 = "0fxjalh7g8fwy3fczbj9pvf8g06chq41gw1jidz106wadjr72081";
88288972 };
88298973 in
88308974 runCommand "pgadmin4-treeview" { buildInputs = [gnutar]; } ''
@@ -9553,6 +9697,14 @@
95539697 sha512 = "HWuTIKzBeZQQ7IBqdokE0wMp/xx39/KfUJ0gcquBigoldDCrf3YBcWFHrrQlJG7sI82Wg8mwp1uAKV3zMGfAgg==";
95549698 };
95559699 }
9700+ {
9701+ name = "re_resizable___re_resizable_6.9.1.tgz";
9702+ path = fetchurl {
9703+ name = "re_resizable___re_resizable_6.9.1.tgz";
9704+ url = "https://registry.yarnpkg.com/re-resizable/-/re-resizable-6.9.1.tgz";
9705+ sha512 = "KRYAgr9/j1PJ3K+t+MBhlQ+qkkoLDJ1rs0z1heIWvYbCW/9Vq4djDU+QumJ3hQbwwtzXF6OInla6rOx6hhgRhQ==";
9706+ };
9707+ }
95569708 {
95579709 name = "react_aspen___react_aspen_1.1.1.tgz";
95589710 path = fetchurl {
@@ -9585,6 +9737,14 @@
95859737 sha512 = "s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==";
95869738 };
95879739 }
9740+ {
9741+ name = "react_draggable___react_draggable_4.4.3.tgz";
9742+ path = fetchurl {
9743+ name = "react_draggable___react_draggable_4.4.3.tgz";
9744+ url = "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.3.tgz";
9745+ sha512 = "jV4TE59MBuWm7gb6Ns3Q1mxX8Azffb7oTtDtBgFkxRvhDp38YAARmRplrj0+XGkhOJB5XziArX+4HUUABtyZ0w==";
9746+ };
9747+ }
95889748 {
95899749 name = "react_draggable___react_draggable_4.4.4.tgz";
95909750 path = fetchurl {
@@ -9625,6 +9785,30 @@
96259785 sha512 = "1tKOwxFn3dXVomH6pM9IkLkq2Y8oh+fh/lYW3MJ/B03URswUTqttgckOlbxY2XHF3vPG6uanSc4dVsLW/wk3wQ==";
96269786 };
96279787 }
9788+ {
9789+ name = "react_rnd___react_rnd_10.3.5.tgz";
9790+ path = fetchurl {
9791+ name = "react_rnd___react_rnd_10.3.5.tgz";
9792+ url = "https://registry.yarnpkg.com/react-rnd/-/react-rnd-10.3.5.tgz";
9793+ sha512 = "LWJP+l5bp76sDPKrKM8pwGJifI6i3B5jHK4ONACczVMbR8ycNGA75ORRqpRuXGyKawUs68s1od05q8cqWgQXgw==";
9794+ };
9795+ }
9796+ {
9797+ name = "react_router_dom___react_router_dom_6.3.0.tgz";
9798+ path = fetchurl {
9799+ name = "react_router_dom___react_router_dom_6.3.0.tgz";
9800+ url = "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.3.0.tgz";
9801+ sha512 = "uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw==";
9802+ };
9803+ }
9804+ {
9805+ name = "react_router___react_router_6.3.0.tgz";
9806+ path = fetchurl {
9807+ name = "react_router___react_router_6.3.0.tgz";
9808+ url = "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz";
9809+ sha512 = "7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==";
9810+ };
9811+ }
96289812 {
96299813 name = "react_select___react_select_4.3.1.tgz";
96309814 path = fetchurl {
@@ -9673,6 +9857,14 @@
96739857 sha512 = "Djqr7OQ2aPUiYurhPalTrVy9ddmFCCzwhqQmtN+J3+3DzLO209Fdr70QrN8Z3DsglWql6iY1lDWAfpFiBtuKGw==";
96749858 };
96759859 }
9860+ {
9861+ name = "react_transition_group___react_transition_group_4.4.2.tgz";
9862+ path = fetchurl {
9863+ name = "react_transition_group___react_transition_group_4.4.2.tgz";
9864+ url = "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.2.tgz";
9865+ sha512 = "/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg==";
9866+ };
9867+ }
96769868 {
96779869 name = "react_transition_state___react_transition_state_1.1.3.tgz";
96789870 path = fetchurl {
@@ -10865,6 +11057,14 @@
1086511057 sha512 = "Es0rVnHIqbWzveU1b24kbw92HsebBepxfcqe5iix7t9j0PQqhs0IxXVXv0pY2Bxa08CgMkzD6OWql7kbGOuEdA==";
1086611058 };
1086711059 }
11060+ {
11061+ name = "stylis___stylis_4.0.13.tgz";
11062+ path = fetchurl {
11063+ name = "stylis___stylis_4.0.13.tgz";
11064+ url = "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13.tgz";
11065+ sha512 = "xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==";
11066+ };
11067+ }
1086811068 {
1086911069 name = "stylis___stylis_4.0.10.tgz";
1087011070 path = fetchurl {
@@ -11233,6 +11433,14 @@
1123311433 sha1 = "yy4SAwZ+DI3h9hQJS5/kVwTqYAM=";
1123411434 };
1123511435 }
11436+ {
11437+ name = "tslib___tslib_2.3.0.tgz";
11438+ path = fetchurl {
11439+ name = "tslib___tslib_2.3.0.tgz";
11440+ url = "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz";
11441+ sha512 = "N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==";
11442+ };
11443+ }
1123611444 {
1123711445 name = "tslib___tslib_2.2.0.tgz";
1123811446 path = fetchurl {
pkgs/tools/admin/syft/default.nix+3−3
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "syft";
5− version = "0.44.1";
5+ version = "0.45.1";
66
77 src = fetchFromGitHub {
88 owner = "anchore";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-kDTTOc2sPCKWGeVuXlGhOo2dHjBZ1QEE7jAEVs4a70U=";
11+ sha256 = "sha256-oexsu52x9rAqwTVxTVHzKPuaIfvg5lvvuBmKcnb2Yew=";
1212 # populate values that require us to use git. By doing this in postFetch we
1313 # can delete .git afterwards and maintain better reproducibility of the src.
1414 leaveDotGit = true;
@@ -20,7 +20,7 @@ buildGoModule rec {
2020 find "$out" -name .git -print0 | xargs -0 rm -rf
2121 '';
2222 };
23− vendorSha256 = "sha256-ZWJzMDfCop5IT6mOvCWdtjGjVrZJxyM0z7iK3TiO+PI=";
23+ vendorSha256 = "sha256-d6ZBWX4/lgh610fBLTE1EUqZmpctLfxi2PSRifH+1jg=";
2424
2525 nativeBuildInputs = [ installShellFiles ];
2626
pkgs/tools/admin/winbox/default.nix+1−1
@@ -70,7 +70,7 @@ symlinkJoin {
7070 homepage = "https://mikrotik.com";
7171 downloadPage = "https://mikrotik.com/download";
7272 changelog = "https://wiki.mikrotik.com/wiki/Winbox_changelog";
73− license = licenses.gpl3Plus;
73+ license = licenses.unfree;
7474 maintainers = with maintainers; [ yrd ];
7575 };
7676}
pkgs/tools/filesystems/ceph/default.nix+2−2
@@ -9,7 +9,7 @@
99, gtest
1010, cunit, snappy
1111, makeWrapper
12−, leveldb, oathToolkit
12+, leveldb, oath-toolkit
1313, libnl, libcap_ng
1414, rdkafka
1515, nixosTests
@@ -161,7 +161,7 @@ in rec {
161161 buildInputs = cryptoLibsMap.${cryptoStr} ++ [
162162 boost ceph-python-env libxml2 optYasm optLibatomic_ops optLibs3
163163 malloc zlib openldap lttng-ust babeltrace gperf gtest cunit
164− snappy lz4 oathToolkit leveldb libnl libcap_ng rdkafka
164+ snappy lz4 oath-toolkit leveldb libnl libcap_ng rdkafka
165165 cryptsetup sqlite lua icu bzip2
166166 ] ++ lib.optionals stdenv.isLinux [
167167 linuxHeaders util-linux libuuid udev keyutils liburing optLibaio optLibxfs optZfs
pkgs/tools/filesystems/xfsprogs/default.nix+2−2
@@ -4,11 +4,11 @@
44
55stdenv.mkDerivation rec {
66 pname = "xfsprogs";
7− version = "5.15.0";
7+ version = "5.16.0";
88
99 src = fetchurl {
1010 url = "mirror://kernel/linux/utils/fs/xfs/xfsprogs/${pname}-${version}.tar.xz";
11− sha256 = "0mjdwxr2hhqkfa8xg0v74v3n27sjvlwm90jqnmx0587b60wbzlhk";
11+ hash = "sha256-eLjImZmb1pBEHLU9fAKrZxKUlAMZxpT/fILiPo5Gu58=";
1212 };
1313
1414 outputs = [ "bin" "dev" "out" "doc" ];
pkgs/tools/misc/chezmoi/default.nix+3−3
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "chezmoi";
5− version = "2.15.1";
5+ version = "2.15.2";
66
77 src = fetchFromGitHub {
88 owner = "twpayne";
99 repo = "chezmoi";
1010 rev = "v${version}";
11− sha256 = "sha256-spIdY28ZC/+6bwWWwKW7Iu2E2eKD7MeRuxEAMN2e3H8=";
11+ sha256 = "sha256-zvr1O/HMSoZMtA/+dRO+co8Uy70qV8RPIDK3z8dRD28=";
1212 };
1313
14− vendorSha256 = "sha256-D27a107gjHK4NYkJhZDd0SvhUmmRSl3DX519nglAoPo=";
14+ vendorSha256 = "sha256-UAjXCXypR1/SIJIZOS53LTyioKrXOECK9vh9t61W5gc=";
1515
1616 doCheck = false;
1717
pkgs/tools/misc/cht.sh/default.nix+3−3
@@ -10,15 +10,15 @@
1010
1111stdenv.mkDerivation {
1212 pname = "cht.sh";
13− version = "unstable-2022-04-17";
13+ version = "unstable-2022-04-18";
1414
1515 nativeBuildInputs = [ makeWrapper ];
1616
1717 src = fetchFromGitHub {
1818 owner = "chubin";
1919 repo = "cheat.sh";
20− rev = "7f769d6f3697541e55fd3ea9b71f190296529e48";
21− sha256 = "+V3q71neW9X0JPJHqvNGopvIJfUv0VD9GKkz7YqN6Eo=";
20+ rev = "571377f2f79422398a701cb1864487124ec3dcc6";
21+ sha256 = "0e9YhYcxU9t0SFeT1TjoRGTM3h1xRC528ae69tvz+a0=";
2222 };
2323
2424 # Fix ".cht.sh-wrapped" in the help message
pkgs/tools/misc/fclones/default.nix+3−3
@@ -8,16 +8,16 @@
88
99rustPlatform.buildRustPackage rec {
1010 pname = "fclones";
11− version = "0.22.0";
11+ version = "0.23.0";
1212
1313 src = fetchFromGitHub {
1414 owner = "pkolaczk";
1515 repo = pname;
1616 rev = "v${version}";
17− sha256 = "sha256-gzNrZJz0nC1N7LUyN5q16Vva1SD0jh7cBVV36927pmY=";
17+ sha256 = "sha256-ICuhBoiCBmoy+jW+OK5OU5oAopyyOxSB6uHpZv2dEKI=";
1818 };
1919
20− cargoSha256 = "sha256-yooY58PZbraDYc+mvmDgKZ3CdvVkbKM/f/DcU0xDiNo=";
20+ cargoSha256 = "sha256-NXkXxRDJcfB2F7hXF5nBFnQ+IFhZTSHg915NyRyuS8c=";
2121
2222 buildInputs = lib.optionals stdenv.isDarwin [
2323 AppKit
pkgs/tools/misc/lookatme/default.nixdeleted−67
@@ -1,67 +0,0 @@
1−{ lib, python3, fetchFromGitHub }:
2−
3−let
4− py = python3.override {
5− packageOverrides = self: super: {
6− self = py;
7− # use click 7
8− click = self.callPackage ../../../development/python2-modules/click/default.nix { };
9− # needs pyyaml 5
10− pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
11− name = "${oldAttrs.pname}-${version}";
12− version = "5.4.1";
13− src = fetchFromGitHub {
14− owner = "yaml";
15− repo = "pyyaml";
16− rev = version;
17− sha256 = "sha256-VUqnlOF/8zSOqh6JoEYOsfQ0P4g+eYqxyFTywgCS7gM=";
18− };
19− checkPhase = ''
20− runHook preCheck
21− PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all
22− runHook postCheck
23− '';
24− });
25− };
26− };
27−in
28−with py.pkgs;
29−
30−buildPythonApplication rec {
31− pname = "lookatme";
32− version = "2.3.2";
33− format = "setuptools";
34−
35− src = fetchPypi {
36− inherit pname version;
37− sha256 = "sha256-qIZMkgOm5jXmxTFLTqMBhpLBhfCL8xvUxxqpS6NjcVw=";
38− };
39−
40− checkInputs = [
41− pytest-mock
42− pytestCheckHook
43− six
44− ];
45−
46− disabledTests = [
47− # https://github.com/d0c-s4vage/lookatme/issues/126
48− "test_sanity_check_that_errors_are_detected"
49− "test_styles_defaults"
50− ];
51−
52− propagatedBuildInputs = [
53− click
54− pyyaml
55− pygments
56− marshmallow
57− mistune
58− urwid
59− ];
60−
61− meta = with lib; {
62− description = "An interactive, terminal-based markdown presenter";
63− homepage = "https://github.com/d0c-s4vage/lookatme";
64− license = licenses.mit;
65− maintainers = with maintainers; [ ameer ];
66− };
67−}
pkgs/tools/misc/rust-motd/default.nix+5−3
@@ -9,21 +9,23 @@
99
1010rustPlatform.buildRustPackage rec {
1111 pname = "rust-motd";
12− version = "0.1.1";
12+ version = "0.2.1";
1313
1414 src = fetchFromGitHub {
1515 owner = "rust-motd";
1616 repo = pname;
1717 rev = "v${version}";
18− sha256 = "0xhdbhl0riaq9n4g9n333pgw966bsi60zpcy7gpndzfj21bj2x1m";
18+ sha256 = "sha256-iuADR7m+wdmsQ897o4CQHqDv9PmYu/vJgO5C6Dluao4=";
1919 };
2020
21− cargoSha256 = "sha256-l9Sit+niCLOnL1mdK6i8jea8NWsJlFM6p9lMTXyWOKY=";
21+ cargoSha256 = "sha256-kdSMcADoTpMU4w2XSv0pPQZC155rrQACQ4XTVyj7eeA=";
2222
2323 nativeBuildInputs = [ pkg-config ];
2424
2525 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
2626
27+ OPENSSL_NO_VENDOR = 1;
28+
2729 meta = with lib; {
2830 description = "Beautiful, useful MOTD generation with zero runtime dependencies";
2931 homepage = "https://github.com/rust-motd/rust-motd";
pkgs/tools/networking/pssh/default.nix+7−4
@@ -1,14 +1,14 @@
1−{ lib, fetchFromGitHub, python2Packages, openssh, rsync }:
1+{ lib, fetchFromGitHub, python3Packages, openssh, rsync }:
22
3−python2Packages.buildPythonApplication rec {
3+python3Packages.buildPythonApplication rec {
44 pname = "pssh";
5− version = "2.3.1";
5+ version = "2.3.4";
66
77 src = fetchFromGitHub {
88 owner = "lilydjwg";
99 repo = "pssh";
1010 rev = "v${version}";
11− sha256 = "0nawarxczfwajclnlsimhqkpzyqb1byvz9nsl54mi1bp80z5i4jq";
11+ hash = "sha256-B1dIa6hNeq4iE8GKVhTp3Gzq7vp+v5Yyzj8uF8X71yg=";
1212 };
1313
1414 postPatch = ''
@@ -20,6 +20,9 @@ python2Packages.buildPythonApplication rec {
2020 done
2121 '';
2222
23+ # Tests do not run with python3: https://github.com/lilydjwg/pssh/issues/126
24+ doCheck = false;
25+
2326 meta = with lib; {
2427 description = "Parallel SSH Tools";
2528 longDescription = ''
pkgs/tools/security/fulcio/default.nix+3−3
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "fulcio";
5− version = "0.4.0";
5+ version = "0.4.1";
66
77 src = fetchFromGitHub {
88 owner = "sigstore";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-WxSN1pZ8E5vKMoqR5EkGgKnLuHYb5Wl2vzqPcPEkXWE=";
11+ sha256 = "sha256-b+2M28cI+4UkzrIqI+BioxJsGqT0pqJVPTPmXe+NsZo=";
1212 # populate values that require us to use git. By doing this in postFetch we
1313 # can delete .git afterwards and maintain better reproducibility of the src.
1414 leaveDotGit = true;
@@ -20,7 +20,7 @@ buildGoModule rec {
2020 find "$out" -name .git -print0 | xargs -0 rm -rf
2121 '';
2222 };
23− vendorSha256 = "sha256-v3H+uUERDHZB2ArruCOClCQFEEW8ANeReObww+1VKOI=";
23+ vendorSha256 = "sha256-INPMsSyjFs4GyapOlc/k5fcI2ePUKgp4BtASOKwQhck=";
2424
2525 nativeBuildInputs = [ installShellFiles ];
2626
pkgs/tools/security/gopass/default.nix+3−3
@@ -13,7 +13,7 @@
1313
1414buildGoModule rec {
1515 pname = "gopass";
16− version = "1.14.0";
16+ version = "1.14.1";
1717
1818 nativeBuildInputs = [ installShellFiles makeWrapper ];
1919
@@ -21,10 +21,10 @@ buildGoModule rec {
2121 owner = "gopasspw";
2222 repo = pname;
2323 rev = "v${version}";
24− sha256 = "sha256-swvZrsRuevBe8lVg67J0R9u3GB/Wc2ZR54Y6j1Bsa3E=";
24+ sha256 = "sha256-vdMOD6Zrl718jcntjEzOG+4Rr0aqhm0YidA0x3Gseqg=";
2525 };
2626
27− vendorSha256 = "sha256-Fq9jEJm65efBL5ShcB/XCM70UVDO/8STbbTOOHXrpSk=";
27+ vendorSha256 = "sha256-mdPAZrcdlq7R7DRIfuxf4PCpEJoJjzo/+TDKAVglk7A=";
2828
2929 subPackages = [ "." ];
3030
pkgs/tools/security/grype/default.nix+3−3
@@ -6,13 +6,13 @@
66
77buildGoModule rec {
88 pname = "grype";
9− version = "0.36.0";
9+ version = "0.36.1";
1010
1111 src = fetchFromGitHub {
1212 owner = "anchore";
1313 repo = pname;
1414 rev = "v${version}";
15− sha256 = "sha256-8bU7vuTbPoHGCoXiCc4p0rPzCSsYuXM3A2NAgIaHuIw=";
15+ sha256 = "sha256-BJSjJrDXZHB4MY4RZCmuC5Gn9YJiCQwyOFrXiGX1h18=";
1616 # populate values that require us to use git. By doing this in postFetch we
1717 # can delete .git afterwards and maintain better reproducibility of the src.
1818 leaveDotGit = true;
@@ -25,7 +25,7 @@ buildGoModule rec {
2525 '';
2626 };
2727
28− vendorSha256 = "sha256-Dn3lDdwUK+C7pQwN3uq7p4WkyG5tXTPd18rQGpwqcPI=";
28+ vendorSha256 = "sha256-aIFom4hGx7HTobCh9YRyqyf9gUpJIaxAstUUkHjSFnA=";
2929
3030 nativeBuildInputs = [
3131 installShellFiles
pkgs/tools/security/jadx/default.nix+3−3
@@ -2,13 +2,13 @@
22
33let
44 pname = "jadx";
5− version = "1.3.4";
5+ version = "1.3.5";
66
77 src = fetchFromGitHub {
88 owner = "skylot";
99 repo = pname;
1010 rev = "v${version}";
11− hash = "sha256-G2BgGhWk0Prbjni6HPZ/0+bWiC9uI2O13Q1SDCE5mBE=";
11+ hash = "sha256-uDNHjajGqEeXOIC5SaluhHWOkA2j3LUvB6O3MHB2+YA=";
1212 };
1313
1414 deps = stdenv.mkDerivation {
@@ -40,7 +40,7 @@ let
4040 '';
4141
4242 outputHashMode = "recursive";
43− outputHash = "sha256-QZClHuj7oCUYX3I8B3A90m4zK7+FP24C19RIzYyPC1w=";
43+ outputHash = "sha256-SFj3VPCIxEA2mj/xsibXZ1MDmV/BnmvQJUBav1gfEGM=";
4444 };
4545in stdenv.mkDerivation {
4646 inherit pname version src;
pkgs/tools/security/nmap/default.nix+6−18
@@ -1,9 +1,7 @@
11{ lib, stdenv, fetchurl, fetchpatch, libpcap, pkg-config, openssl, lua5_3
22, pcre, libssh2
3−, graphicalSupport ? false
43, libX11 ? null
54, gtk2 ? null
6−, python2 ? null
75, makeWrapper ? null
86, withLua ? true
97}:
@@ -11,7 +9,7 @@
119with lib;
1210
1311stdenv.mkDerivation rec {
14− pname = "nmap${optionalString graphicalSupport "-graphical"}";
12+ pname = "nmap";
1513 version = "7.92";
1614
1715 src = fetchurl {
@@ -41,7 +39,9 @@ stdenv.mkDerivation rec {
4139 configureFlags = [
4240 (if withLua then "--with-liblua=${lua5_3}" else "--without-liblua")
4341 "--with-liblinear=included"
44− ] ++ optionals (!graphicalSupport) [ "--without-ndiff" "--without-zenmap" ];
42+ "--without-ndiff"
43+ "--without-zenmap"
44+ ];
4545
4646 makeFlags = optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
4747 "AR=${stdenv.cc.bintools.targetPrefix}ar"
@@ -49,20 +49,8 @@ stdenv.mkDerivation rec {
4949 "CC=${stdenv.cc.targetPrefix}gcc"
5050 ];
5151
52− pythonPath = with python2.pkgs; optionals graphicalSupport [
53− pygtk pysqlite pygobject2 pycairo
54− ];
55−
56− nativeBuildInputs = [ pkg-config ] ++ optionals graphicalSupport [ python2.pkgs.wrapPython ];
57− buildInputs = [ pcre libssh2 libpcap openssl ] ++ optionals graphicalSupport (with python2.pkgs; [
58− python2 libX11 gtk2
59− ]);
60−
61− postInstall = optionalString graphicalSupport ''
62− buildPythonPath "$out $pythonPath"
63− patchPythonScript $out/bin/ndiff
64− patchPythonScript $out/bin/zenmap
65− '';
52+ nativeBuildInputs = [ pkg-config ];
53+ buildInputs = [ pcre libssh2 libpcap openssl ];
6654
6755 enableParallelBuilding = true;
6856
pkgs/tools/security/oath-toolkit/update.sh+1−1
@@ -5,7 +5,7 @@ set -euo pipefail
55
66nixfile='default.nix'
77release_url='https://download.savannah.nongnu.org/releases/oath-toolkit/'
8−attr='oathToolkit'
8+attr='oath-toolkit'
99command='oathtool --version'
1010
1111color() {
pkgs/tools/security/pass/extensions/otp.nix+3−3
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, oathToolkit }:
1+{ lib, stdenv, fetchFromGitHub, oath-toolkit }:
22
33stdenv.mkDerivation rec {
44 pname = "pass-otp";
@@ -11,12 +11,12 @@ stdenv.mkDerivation rec {
1111 sha256 = "0cpqrf3939hcvwg7sd8055ghc8x964ilimlri16czzx188a9jx9v";
1212 };
1313
14− buildInputs = [ oathToolkit ];
14+ buildInputs = [ oath-toolkit ];
1515
1616 dontBuild = true;
1717
1818 patchPhase = ''
19− sed -i -e 's|OATH=\$(which oathtool)|OATH=${oathToolkit}/bin/oathtool|' otp.bash
19+ sed -i -e 's|OATH=\$(which oathtool)|OATH=${oath-toolkit}/bin/oathtool|' otp.bash
2020 '';
2121
2222 installFlags = [ "PREFIX=$(out)"
pkgs/tools/security/plasma-pass/default.nix+2−2
@@ -1,7 +1,7 @@
11{ mkDerivation, lib, fetchFromGitLab, cmake, extra-cmake-modules
22, ki18n
33, kitemmodels
4−, oathToolkit
4+, oath-toolkit
55, qgpgme
66, plasma-framework
77, qt5 }:
@@ -21,7 +21,7 @@ mkDerivation rec {
2121 buildInputs = [
2222 ki18n
2323 kitemmodels
24− oathToolkit
24+ oath-toolkit
2525 qgpgme
2626 plasma-framework
2727 qt5.qtbase
pkgs/tools/security/tor/default.nix+9−5
@@ -30,11 +30,11 @@ let
3030in
3131stdenv.mkDerivation rec {
3232 pname = "tor";
33− version = "0.4.6.10";
33+ version = "0.4.7.7";
3434
3535 src = fetchurl {
3636 url = "https://dist.torproject.org/${pname}-${version}.tar.gz";
37− sha256 = "lMzWDgTlWPM75zAyvITqJBZg+S9Yz7iHib2miTc54xw=";
37+ sha256 = "sha256-PhMRWLUrlDXX5D0cR+8oi5bQBTQsxEuMlQu0A4UaW0Q=";
3838 };
3939
4040 outputs = [ "out" "geoip" ];
@@ -45,9 +45,13 @@ stdenv.mkDerivation rec {
4545
4646 patches = [ ./disable-monotonic-timer-tests.patch ];
4747
48− # cross compiles correctly but needs the following
49− configureFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
50− "--disable-tool-name-check";
48+ configureFlags =
49+ # cross compiles correctly but needs the following
50+ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "--disable-tool-name-check" ]
51+ ++
52+ # sandbox is broken on aarch64-linux https://gitlab.torproject.org/tpo/core/tor/-/issues/40599
53+ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ "--disable-seccomp" ]
54+ ;
5155
5256 NIX_CFLAGS_LINK = lib.optionalString stdenv.cc.isGNU "-lgcc_s";
5357
pkgs/tools/system/freeipmi/default.nix+6−1
@@ -1,4 +1,4 @@
1−{ fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }:
1+{ buildPackages, fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }:
22
33stdenv.mkDerivation rec {
44 version = "1.6.9";
@@ -9,8 +9,13 @@ stdenv.mkDerivation rec {
99 sha256 = "sha256-8l4cNfPQ8bWpnMMezCNTyoPtRqFRY4QvuocBJ9ycggY=";
1010 };
1111
12+ depsBuildBuild = [ buildPackages.stdenv.cc ];
13+
1214 buildInputs = [ libgcrypt readline libgpg-error ];
1315
16+ configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform)
17+ [ "ac_cv_file__dev_urandom=true" "ac_cv_file__dev_random=true" ];
18+
1419 doCheck = true;
1520
1621 meta = {
pkgs/tools/system/runitor/default.nixnew file+52
@@ -0,0 +1,52 @@
1+{ lib, buildGoModule, fetchFromGitHub, testers, runitor }:
2+
3+buildGoModule rec {
4+ pname = "runitor";
5+ version = "0.9.2";
6+ vendorSha256 = null;
7+
8+ src = fetchFromGitHub {
9+ owner = "bdd";
10+ repo = "runitor";
11+ rev = "v${version}";
12+ sha256 = "sha256-LuCxn4j0MlnJjSh3d18YNzNrtbqtMPxgkZttqKUGJd4";
13+ };
14+
15+ ldflags = [
16+ "-s" "-w" "-X main.Version=v${version}"
17+ ];
18+
19+ # TODO(cole-h):
20+ # End-to-end tests requiring localhost networking currently under
21+ # OfBorg's Linux builders, while passing under Darwin.
22+ #
23+ # Ref: https://github.com/NixOS/nixpkgs/pull/170566#issuecomment-1114034891
24+ #
25+ # Temporarily disable tests.
26+ doCheck = false;
27+
28+ passthru.tests.version = testers.testVersion {
29+ package = runitor;
30+ command = "runitor -version";
31+ version = "v${version}";
32+ };
33+
34+ # Unit tests require binding to local addresses for listening sockets.
35+ __darwinAllowLocalNetworking = true;
36+
37+ meta = with lib; {
38+ homepage = "https://bdd.fi/x/runitor";
39+ description = "A command runner with healthchecks.io integration";
40+ longDescription = ''
41+ Runitor runs the supplied command, captures its output, and based on its exit
42+ code reports successful or failed execution to https://healthchecks.io or your
43+ private instance.
44+
45+ Healthchecks.io is a web service for monitoring periodic tasks. It's like a
46+ dead man's switch for your cron jobs. You get alerted if they don't run on time
47+ or terminate with a failure.
48+ '';
49+ license = licenses.bsd0;
50+ maintainers = with maintainers; [ bdd ];
51+ };
52+}
pkgs/tools/text/xml/xpf/default.nixdeleted−21
@@ -1,21 +0,0 @@
1−{lib, stdenv, fetchurl, python2, libxml2}:
2−
3−assert libxml2.pythonSupport == true;
4−
5−stdenv.mkDerivation rec {
6− pname = "xpf";
7− version = "0.2";
8−
9− src = fetchurl {
10− url = "http://tarballs.nixos.org/xpf-${version}.tar.gz";
11− sha256 = "0ljx91w68rnh4871c0xlq2whlmhqz8dr39wcdczfjjpniqz1fmpz";
12− };
13−
14− buildInputs = [ python2 libxml2 ];
15−
16− meta = {
17− description = "XML Pipes and Filters - command line tools for manipulating and querying XML data";
18− homepage = "http://www.cs.uu.nl/wiki/bin/view/Martin/XmlPipesAndFilters";
19− platforms = lib.platforms.unix;
20− };
21−}
pkgs/tools/virtualization/lxd-image-server/default.nix+3
@@ -3,6 +3,7 @@
33, rsync
44, python3
55, fetchFromGitHub
6+, nixosTests
67}:
78
89python3.pkgs.buildPythonApplication rec {
@@ -37,6 +38,8 @@ python3.pkgs.buildPythonApplication rec {
3738
3839 doCheck = false;
3940
41+ passthru.tests.lxd-image-server = nixosTests.lxd-image-server;
42+
4043 meta = with lib; {
4144 description = "Creates and manages a simplestreams lxd image server on top of nginx";
4245 homepage = "https://github.com/Avature/lxd-image-server";
pkgs/top-level/aliases.nix+9−1
@@ -92,6 +92,7 @@ mapAliases ({
9292 aucdtect = throw "aucdtect: Upstream no longer provides download urls"; # Added 2020-12-26
9393 avldrums-lv2 = x42-avldrums; # Added 2020-03-29
9494 avxsynth = throw "avxsynth was removed because it was broken"; # Added 2021-05-18
95+ awesome-4-0 = awesome; # Added 2022-05-05
9596 aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
9697 azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
9798
@@ -146,6 +147,7 @@ mapAliases ({
146147
147148 c14 = throw "c14 is deprecated and archived by upstream"; # Added 2022-04-10
148149 caddy1 = throw "caddy 1.x has been removed from nixpkgs, as it's unmaintained: https://github.com/caddyserver/caddy/blob/master/.github/SECURITY.md#supported-versions"; # Added 2020-10-02
150+ caffe2 = throw "caffe2 has been removed: subsumed under the PyTorch project"; # Added 2022-04-25
149151 calibre-py2 = throw "calibre-py2 has been removed from nixpkgs, as calibre has upgraded to python 3. Please use calibre as replacement"; # Added 2021-01-13
150152 calibre-py3 = throw "calibre-py3 has been removed from nixpkgs, as calibre's default python version is now 3. Please use calibre as replacement"; # Added 2021-01-13
151153 callPackage_i686 = pkgsi686Linux.callPackage;
@@ -324,6 +326,7 @@ mapAliases ({
324326 double_conversion = throw "'double_conversion' has been renamed to/replaced by 'double-conversion'"; # Converted to throw 2022-02-22
325327 dragon-drop = throw "'dragon-drop' has been removed in favor of 'xdragon'"; # Added 2022-04-10;
326328 draftsight = throw "draftsight has been removed, no longer available as freeware"; # Added 2020-08-14
329+ dust = throw "dust has been removed: abandoned by upstream"; # Added 2022-04-21
327330 dvb_apps = throw "dvb_apps has been removed"; # Added 2020-11-03
328331 dwarf_fortress = throw "'dwarf_fortress' has been renamed to/replaced by 'dwarf-fortress'"; # Converted to throw 2022-02-22
329332 dwm-git = throw "dwm-git has been removed from nixpkgs, as it had no updates for 2 years not serving it's purpose"; # Added 2021-02-07
@@ -870,7 +873,8 @@ mapAliases ({
870873 nix_2_6 = nixVersions.nix_2_6;
871874 nixopsUnstable = nixops_unstable; # Added 2022-03-03
872875 nmap-unfree = nmap; # Added 2021-04-06
873− nmap_graphical = throw "'nmap_graphical' has been renamed to/replaced by 'nmap-graphical'"; # Converted to throw 2022-02-22
876+ nmap-graphical = throw "nmap graphical support has been removed due to its python2 dependency"; # Added 2022-04-26
877+ nmap_graphical = throw "nmap graphical support has been removed due to its python2 dependency"; # Modified 2022-04-26
874878 nologin = throw "'nologin' has been renamed to/replaced by 'shadow'"; # Converted to throw 2022-02-22
875879 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # Added 2021-05-27
876880 noto-fonts-cjk = noto-fonts-cjk-sans; # Added 2021-12-16
@@ -881,6 +885,7 @@ mapAliases ({
881885
882886 ### O ###
883887
888+ oathToolkit = oath-toolkit; # Added 2022-04-04
884889 oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained"; # Added 2020-10-09
885890 OVMF-CSM = throw "OVMF-CSM has been removed in favor of OVMFFull"; # Added 2021-10-16
886891 OVMF-secureBoot = throw "OVMF-secureBoot has been removed in favor of OVMFFull"; # Added 2021-10-16
@@ -1001,6 +1006,7 @@ mapAliases ({
10011006 pifi = throw "pifi has been removed from nixpkgs, as it is no longer developed"; # Added 2022-01-19
10021007 ping = throw "'ping' does not build with recent valac and has been removed. If you are just looking for the 'ping' command use either 'iputils' or 'inetutils'"; # Added 2022-04-18
10031008 piwik = throw "'piwik' has been renamed to/replaced by 'matomo'"; # Converted to throw 2022-02-22
1009+ pixie = throw "pixie has been removed: abandoned by upstream"; # Added 2022-04-21
10041010 pkgconfig = pkg-config; # Added 2018-02-02, moved to aliases.nix 2021-01-18
10051011 pkgconfigUpstream = throw "'pkgconfigUpstream' has been renamed to/replaced by 'pkg-configUpstream'"; # Converted to throw 2022-02-22
10061012 planner = throw "planner has been removed from nixpkgs, as it is no longer developed and still uses python2/PyGTK"; # Added 2021-02-02
@@ -1305,6 +1311,7 @@ mapAliases ({
13051311 tshark = throw "'tshark' has been renamed to/replaced by 'wireshark-cli'"; # Converted to throw 2022-02-22
13061312 tuijam = throw "tuijam has been removed because Google Play Music was discontinued"; # Added 2021-03-07
13071313 turbo-geth = throw "turbo-geth has been renamed to erigon"; # Added 2021-08-08
1314+ twister = throw "twister has been removed: abandoned by upstream and python2-only"; # Added 2022-04-26
13081315 typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11
13091316
13101317 ### U ###
@@ -1391,6 +1398,7 @@ mapAliases ({
13911398 xmonad_log_applet_gnome3 = throw "'xmonad_log_applet_gnome3' has been renamed to/replaced by 'xmonad_log_applet'"; # Converted to throw 2022-02-22
13921399 xmpppy = throw "xmpppy has been removed from nixpkgs as it is unmaintained and python2-only";
13931400 xp-pen-g430 = pentablet-driver; # Added 2020-05-03
1401+ xpf = throw "xpf has been removed: abandoned by upstream"; # Added 2022-04-26
13941402 xf86_video_nouveau = throw "'xf86_video_nouveau' has been renamed to/replaced by 'xorg.xf86videonouveau'"; # Converted to throw 2022-02-22
13951403 xf86_input_mtrack = throw ''
13961404 xf86_input_mtrack has been removed from nixpkgs as it is broken and
pkgs/top-level/all-packages.nix+22−29
@@ -406,6 +406,8 @@ with pkgs;
406406
407407 protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc { };
408408
409+ protoc-gen-entgrpc = callPackage ../development/tools/protoc-gen-entgrpc { };
410+
409411 protoc-gen-go = callPackage ../development/tools/protoc-gen-go { };
410412
411413 protoc-gen-go-grpc = callPackage ../development/tools/protoc-gen-go-grpc { };
@@ -2376,6 +2378,8 @@ with pkgs;
23762378
23772379 passExtensions = recurseIntoAttrs pass.extensions;
23782380
2381+ pdepend = callPackage ../development/php-packages/pdepend/default.nix { };
2382+
23792383 platformsh = callPackage ../misc/platformsh { };
23802384
23812385 inherd-quake = callPackage ../applications/misc/inherd-quake {
@@ -3358,6 +3362,10 @@ with pkgs;
33583362
33593363 earlyoom = callPackage ../os-specific/linux/earlyoom { };
33603364
3365+ easycrypt = callPackage ../applications/science/logic/easycrypt { };
3366+
3367+ easycrypt-runtest = callPackage ../applications/science/logic/easycrypt/runtest.nix { };
3368+
33613369 EBTKS = callPackage ../development/libraries/science/biology/EBTKS { };
33623370
33633371 ecasound = callPackage ../applications/audio/ecasound { };
@@ -8729,10 +8737,6 @@ with pkgs;
87298737
87308738 nmap = callPackage ../tools/security/nmap { };
87318739
8732− nmap-graphical = nmap.override {
8733− graphicalSupport = true;
8734− };
8735−
87368740 nmap-formatter = callPackage ../tools/security/nmap-formatter { };
87378741
87388742 nmapsi4 = libsForQt5.callPackage ../tools/security/nmap/qt.nix { };
@@ -8823,7 +8827,7 @@ with pkgs;
88238827
88248828 oapi-codegen = callPackage ../tools/networking/oapi-codegen { };
88258829
8826− oathToolkit = callPackage ../tools/security/oath-toolkit { };
8830+ oath-toolkit = callPackage ../tools/security/oath-toolkit { };
88278831
88288832 oatpp = callPackage ../development/libraries/oatpp { };
88298833
@@ -9495,7 +9499,9 @@ with pkgs;
94959499
94969500 proxify = callPackage ../tools/networking/proxify { };
94979501
9498− proxysql = callPackage ../servers/sql/proxysql { };
9502+ proxysql = callPackage ../servers/sql/proxysql {
9503+ stdenv = if stdenv.targetPlatform.isx86_64 then gcc10Stdenv else stdenv;
9504+ };
94999505
95009506 prs = callPackage ../tools/security/prs { };
95019507
@@ -11797,10 +11803,6 @@ with pkgs;
1179711803 inherit (darwin.apple_sdk.frameworks) AppKit;
1179811804 };
1179911805
11800− xpf = callPackage ../tools/text/xml/xpf {
11801− libxml2 = libxml2Python;
11802− };
11803−
1180411806 xsecurelock = callPackage ../tools/X11/xsecurelock { };
1180511807
1180611808 xsel = callPackage ../tools/misc/xsel { };
@@ -14493,9 +14495,6 @@ with pkgs;
1449314495
1449414496 inherit (ocamlPackages) reason;
1449514497
14496− pixie = callPackage ../development/interpreters/pixie { };
14497− dust = callPackage ../development/interpreters/pixie/dust.nix { };
14498−
1449914498 buildRubyGem = callPackage ../development/ruby-modules/gem { };
1450014499 defaultGemConfig = callPackage ../development/ruby-modules/gem-config {
1450114500 inherit (darwin) DarwinTools cctools;
@@ -25259,11 +25258,10 @@ with pkgs;
2525925258
2526025259 avrdudess = callPackage ../applications/misc/avrdudess { };
2526125260
25262− awesome-4-0 = callPackage ../applications/window-managers/awesome {
25261+ awesome = callPackage ../applications/window-managers/awesome {
2526325262 cairo = cairo.override { xcbSupport = true; };
2526425263 inherit (texFunctions) fontsConf;
2526525264 };
25266− awesome = awesome-4-0;
2526725265
2526825266 awesomebump = libsForQt5.callPackage ../applications/graphics/awesomebump { };
2526925267
@@ -26110,6 +26108,10 @@ with pkgs;
2611026108 inherit (darwin.apple_sdk.frameworks) Security;
2611126109 };
2611226110
26111+ firewalld = callPackage ../applications/networking/firewalld { };
26112+
26113+ firewalld-gui = firewalld.override { withGui = true; };
26114+
2611326115 flacon = libsForQt5.callPackage ../applications/audio/flacon { };
2611426116
2611526117 flexget = callPackage ../applications/networking/flexget { };
@@ -27830,8 +27832,6 @@ with pkgs;
2783027832 inherit (luajitPackages) luafilesystem;
2783127833 };
2783227834
27833− lookatme = callPackage ../tools/misc/lookatme {};
27834−
2783527835 looking-glass-client = callPackage ../applications/virtualization/looking-glass-client { };
2783627836
2783727837 ltc-tools = callPackage ../applications/audio/ltc-tools { };
@@ -29353,7 +29353,7 @@ with pkgs;
2935329353
2935429354 udevil = callPackage ../applications/misc/udevil {};
2935529355
29356− udiskie = python3.pkgs.callPackage ../applications/misc/udiskie { };
29356+ udiskie = callPackage ../applications/misc/udiskie { };
2935729357
2935829358 sacc = callPackage ../applications/networking/gopher/sacc { };
2935929359
@@ -30068,10 +30068,6 @@ with pkgs;
3006830068 swt = swt_jdk8;
3006930069 };
3007030070
30071− twister = callPackage ../applications/networking/p2p/twister {
30072− boost = boost16x;
30073− };
30074−
3007530071 twmn = libsForQt5.callPackage ../applications/misc/twmn { };
3007630072
3007730073 testssl = callPackage ../applications/networking/testssl { };
@@ -30337,6 +30333,8 @@ with pkgs;
3033730333
3033830334 vmware-horizon-client = callPackage ../applications/networking/remote/vmware-horizon-client { };
3033930335
30336+ vmware-workstation = callPackage ../applications/virtualization/vmware-workstation { };
30337+
3034030338 vocproc = callPackage ../applications/audio/vocproc { };
3034130339
3034230340 vnstat = callPackage ../applications/networking/vnstat { };
@@ -33420,13 +33418,6 @@ with pkgs;
3342033418
3342133419 caffeWithCuda = caffe.override { cudaSupport = true; };
3342233420
33423− caffe2 = callPackage ../development/libraries/science/math/caffe2 (rec {
33424− inherit (python3Packages) python future six numpy pydot;
33425− protobuf = protobuf3_1;
33426− python-protobuf = python3Packages.protobuf.override { inherit protobuf; };
33427− opencv3 = opencv3WithoutCuda; # Used only for image loading.
33428− });
33429−
3343033421 caffeine-ng = callPackage ../tools/X11/caffeine-ng {};
3343133422
3343233423 cntk = callPackage ../applications/science/math/cntk {
@@ -34466,6 +34457,8 @@ with pkgs;
3446634457
3446734458 runit = callPackage ../tools/system/runit { };
3446834459
34460+ runitor = callPackage ../tools/system/runitor { };
34461+
3446934462 refind = callPackage ../tools/bootloaders/refind { };
3447034463
3447134464 spectrojack = callPackage ../applications/audio/spectrojack { };
pkgs/top-level/linux-kernels.nix+2
@@ -464,6 +464,8 @@ in {
464464
465465 vmm_clock = callPackage ../os-specific/linux/vmm_clock { };
466466
467+ vmware = callPackage ../os-specific/linux/vmware { };
468+
467469 wireguard = if lib.versionOlder kernel.version "5.6" then callPackage ../os-specific/linux/wireguard { } else null;
468470
469471 x86_energy_perf_policy = callPackage ../os-specific/linux/x86_energy_perf_policy { };
pkgs/top-level/php-packages.nix+2
@@ -209,6 +209,8 @@ lib.makeScope pkgs.newScope (self: with self; {
209209 sha256 = "108ds92620dih5768z19hi0jxfa7wfg5hdvyyvpapir87c0ap914";
210210 });
211211
212+ openswoole = callPackage ../development/php-packages/openswoole { };
213+
212214 pdlib = callPackage ../development/php-packages/pdlib { };
213215
214216 pcov = callPackage ../development/php-packages/pcov { };
pkgs/top-level/python-packages.nix+26−1
@@ -2840,6 +2840,8 @@ in {
28402840
28412841 fastavro = callPackage ../development/python-modules/fastavro { };
28422842
2843+ fastbencode = callPackage ../development/python-modules/fastbencode { };
2844+
28432845 fastcache = callPackage ../development/python-modules/fastcache { };
28442846
28452847 fastcore = callPackage ../development/python-modules/fastcore { };
@@ -3140,6 +3142,14 @@ in {
31403142
31413143 fonttools = callPackage ../development/python-modules/fonttools { };
31423144
3145+ fontmake = callPackage ../development/python-modules/fontmake { };
3146+
3147+ skia-pathops = callPackage ../development/python-modules/skia-pathops { };
3148+
3149+ openstep-plist = callPackage ../development/python-modules/openstep-plist { };
3150+
3151+ glyphslib = callPackage ../development/python-modules/glyphslib { };
3152+
31433153 foobot-async = callPackage ../development/python-modules/foobot-async { };
31443154
31453155 foolscap = callPackage ../development/python-modules/foolscap { };
@@ -3256,6 +3266,10 @@ in {
32563266
32573267 gbinder-python = callPackage ../development/python-modules/gbinder-python { };
32583268
3269+ gbulb = callPackage ../development/python-modules/gbulb { };
3270+
3271+ gcal-sync = callPackage ../development/python-modules/gcal-sync { };
3272+
32593273 gcovr = callPackage ../development/python-modules/gcovr { };
32603274
32613275 gcsfs = callPackage ../development/python-modules/gcsfs { };
@@ -4136,6 +4150,8 @@ in {
41364150
41374151 installer = callPackage ../development/python-modules/installer { };
41384152
4153+ insteon-frontend-home-assistant = callPackage ../development/python-modules/insteon-frontend-home-assistant { };
4154+
41394155 intake = callPackage ../development/python-modules/intake { };
41404156
41414157 intake-parquet = callPackage ../development/python-modules/intake-parquet { };
@@ -5151,6 +5167,8 @@ in {
51515167
51525168 measurement = callPackage ../development/python-modules/measurement { };
51535169
5170+ meater-python = callPackage ../development/python-modules/meater-python { };
5171+
51545172 mecab-python3 = callPackage ../development/python-modules/mecab-python3 { };
51555173
51565174 mechanicalsoup = callPackage ../development/python-modules/mechanicalsoup { };
@@ -5612,6 +5630,11 @@ in {
56125630
56135631 nextcord = callPackage ../development/python-modules/nextcord { };
56145632
5633+ nftables = toPythonModule (pkgs.nftables.override {
5634+ python3 = python;
5635+ withPython = true;
5636+ });
5637+
56155638 nghttp2 = (toPythonModule (pkgs.nghttp2.override {
56165639 inherit (self) python cython setuptools;
56175640 inherit (pkgs) ncurses;
@@ -9467,7 +9490,9 @@ in {
94679490
94689491 skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
94699492
9470− skytemple-rust = callPackage ../development/python-modules/skytemple-rust { };
9493+ skytemple-rust = callPackage ../development/python-modules/skytemple-rust {
9494+ inherit (pkgs.darwin.apple_sdk.frameworks) Foundation;
9495+ };
94719496
94729497 skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { };
94739498
pkgs/top-level/release-lib.nix+1−1
@@ -103,7 +103,7 @@ rec {
103103 forAllSystems = genAttrs supportedSystems;
104104
105105
106− # Generate attributes for all sytems matching at least one of the given
106+ # Generate attributes for all systems matching at least one of the given
107107 # patterns
108108 forMatchingSystems = metaPatterns: genAttrs (supportedMatches metaPatterns);
109109