git.iko.soy/typeable/nixpkgs
on 29037ae help sign in
244 files changed+1861−3627
since splitsnapshots
unifiedsplit
doc/stdenv/meta.chapter.md−34 doc/stdenv/stdenv.chapter.md−54 doc/using/overrides.chapter.md+2−6 maintainers/maintainer-list.nix−12 nixos/doc/manual/from_md/release-notes/rl-2205.section.xml−32 nixos/doc/manual/release-notes/rl-2205.section.md−17 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+7−32 nixos/modules/services/networking/ssh/sshd.nix−1 nixos/modules/services/web-apps/keycloak.nix+1−2 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+48−15 nixos/tests/lxd-image.nix+89 nixos/tests/lxd.nix+94−40 nixos/tests/matrix-appservice-irc.nix−3 nixos/tests/openssh.nix+6−12 nixos/tests/pam/pam-oath-login.nix+1−1 nixos/tests/pgadmin4.nix+48−37 pkgs/applications/editors/android-studio/common.nix−2 pkgs/applications/editors/android-studio/default.nix+1−2 pkgs/applications/misc/hello/default.nix+5−8 pkgs/applications/misc/hello/test.nix−8 pkgs/applications/misc/kiln/default.nix+3−3 pkgs/applications/misc/libosmocore/default.nix+6−21 pkgs/applications/misc/skytemple/default.nix+2−5 pkgs/applications/misc/tut/default.nix+2−2 pkgs/applications/misc/udiskie/default.nix+25−30 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+5−8 pkgs/applications/networking/browsers/firefox/librewolf/src.json+5−5 pkgs/applications/networking/browsers/microsoft-edge/default.nix+6−6 pkgs/applications/networking/browsers/vivaldi/default.nix+2−2 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+1−3 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+12−25 pkgs/applications/office/qownnotes/default.nix+2−2 pkgs/applications/office/tusk/default.nix+2−3 pkgs/applications/science/biology/bwa/default.nix−2 pkgs/applications/science/biology/megahit/default.nix−3 pkgs/applications/science/biology/samtools/default.nix+1−8 pkgs/applications/science/logic/easycrypt/default.nix−50 pkgs/applications/science/logic/easycrypt/runtest.nix−24 pkgs/applications/science/misc/snakemake/default.nix+3−3 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/desktops/pantheon/apps/switchboard/default.nix+15−2 pkgs/development/compilers/hare/hare.nix−2 pkgs/development/compilers/purescript/purescript/default.nix+4−2 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+2−10 pkgs/development/libraries/goocanvas/2.x.nix+2−2 pkgs/development/libraries/htmlcxx/c++17.patch−24 pkgs/development/libraries/htmlcxx/default.nix+4−7 pkgs/development/libraries/libdeltachat/default.nix+3−3 pkgs/development/libraries/libinjection/default.nix+4−12 pkgs/development/libraries/openssl/default.nix+2−2 pkgs/development/libraries/science/biology/htslib/default.nix+2−18 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+1−2 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/aiooncue/default.nix+2−2 pkgs/development/python-modules/aioslimproto/default.nix+4−11 pkgs/development/python-modules/androidtv/default.nix+2−2 pkgs/development/python-modules/ansible/default.nix+2−3 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+5−20 pkgs/development/python-modules/dungeon-eos/default.nix+2−2 pkgs/development/python-modules/exceptiongroup/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+3−7 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+2−16 pkgs/development/python-modules/insteon-frontend-home-assistant/default.nix−26 pkgs/development/python-modules/lektor/default.nix+2−2 pkgs/development/python-modules/loopy/default.nix → pkgs/development/python-modules/loo-py/default.nix+24−28 pkgs/development/python-modules/luxtronik/default.nix+2−2 pkgs/development/python-modules/meater-python/default.nix−37 pkgs/development/python-modules/mypy-boto3-s3/default.nix+2−2 pkgs/development/python-modules/nbclient/default.nix+10−33 pkgs/development/python-modules/nbconvert/default.nix+7−8 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+14−3 pkgs/development/python-modules/pychromecast/default.nix+2−2 pkgs/development/python-modules/pydeconz/default.nix+4−6 pkgs/development/python-modules/pyeapi/default.nix+8−36 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/pymyq/default.nix+3−3 pkgs/development/python-modules/pynetgear/default.nix+2−2 pkgs/development/python-modules/pynws/default.nix+2−2 pkgs/development/python-modules/pyrogram/default.nix+2−2 pkgs/development/python-modules/python-sql/default.nix+8−24 pkgs/development/python-modules/pytomorrowio/default.nix+2−4 pkgs/development/python-modules/sentry-sdk/default.nix+2−2 pkgs/development/python-modules/signedjson/default.nix+18−31 pkgs/development/python-modules/simplisafe-python/default.nix+2−6 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+6−15 pkgs/development/python-modules/skytemple-ssb-debugger/default.nix+2−2 pkgs/development/python-modules/slack-sdk/default.nix+3−3 pkgs/development/python-modules/snowflake-connector-python/default.nix+2−2 pkgs/development/python-modules/sqlalchemy-mixins/default.nix+3−3 pkgs/development/python-modules/sqlmap/default.nix+2−2 pkgs/development/python-modules/stripe/default.nix+2−2 pkgs/development/python-modules/textual/default.nix+13−16 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+11−15 pkgs/development/python-modules/wandb/default.nix+12−20 pkgs/development/python-modules/webssh/default.nix+2−2 pkgs/development/python-modules/xknx/default.nix+2−2 pkgs/development/python-modules/zeroconf/default.nix−2 pkgs/development/python-modules/zigpy/default.nix+2−4 pkgs/development/python-modules/zwave-js-server-python/default.nix+2−2 pkgs/development/tools/analysis/checkov/default.nix+2−3 pkgs/development/tools/analysis/codeql/default.nix+2−2 pkgs/development/tools/build-managers/bloop/default.nix+46−16 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/kdash/default.nix−34 pkgs/development/tools/misc/clojure-lsp/default.nix+3−3 pkgs/development/tools/poetry2nix/poetry2nix/default.nix+2−10 pkgs/development/tools/poetry2nix/poetry2nix/lib.nix+1−1 pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json+5−153 pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix+4−98 pkgs/development/tools/protoc-gen-entgrpc/default.nix−28 pkgs/development/tools/rust/cargo-sync-readme/default.nix+3−4 pkgs/development/tools/rust/rust-analyzer/default.nix+3−3 pkgs/development/tools/wails/default.nix+3−3 pkgs/development/web/nodejs/nodejs.nix+2−2 pkgs/development/web/nodejs/v14.nix+2−2 pkgs/development/web/nodejs/v18.nix+2−2 pkgs/games/7kaa/default.nix+10−7 pkgs/misc/platformsh/default.nix+2−2 pkgs/misc/rich-cli/default.nix+8−18 pkgs/os-specific/linux/nftables/default.nix+9−7 pkgs/os-specific/linux/vmware/default.nix−47 pkgs/servers/home-assistant/component-packages.nix+14−35 pkgs/servers/home-assistant/default.nix+4−15 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/mastodon/default.nix+1−1 pkgs/servers/mastodon/gemset.nix+72−72 pkgs/servers/mastodon/source.nix+2−2 pkgs/servers/mastodon/version.nix+1−1 pkgs/servers/matrix-synapse/default.nix+2−2 pkgs/servers/matrix-synapse/matrix-appservice-irc/node-composition.nix+1−1 pkgs/servers/matrix-synapse/matrix-appservice-irc/node-packages.nix+7−7 pkgs/servers/matrix-synapse/matrix-appservice-irc/package.json+2−2 pkgs/servers/matrix-synapse/matrix-appservice-irc/src.json+4−4 pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix+7−7 pkgs/servers/monitoring/prometheus/haproxy-exporter.nix+7−9 pkgs/servers/web-apps/sogo/default.nix+2−2 pkgs/stdenv/generic/make-derivation.nix+3−68 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+54−87 pkgs/tools/admin/pgadmin/package.json+4−7 pkgs/tools/admin/pgadmin/yarn.lock+22−231 pkgs/tools/admin/pgadmin/yarn.nix+18−226 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/pferd/default.nix+2−2 pkgs/tools/misc/rust-motd/default.nix+3−5 pkgs/tools/networking/pssh/default.nix+4−7 pkgs/tools/networking/urlwatch/default.nix+2−2 pkgs/tools/security/cryptomator/default.nix+3−3 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+18−6 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+5−9 pkgs/tools/system/freeipmi/default.nix+1−6 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+1−9 pkgs/top-level/all-packages.nix+29−24 pkgs/top-level/linux-kernels.nix−2 pkgs/top-level/php-packages.nix−2 pkgs/top-level/python-aliases.nix−1 pkgs/top-level/python-packages.nix+2−27 pkgs/top-level/release-lib.nix+1−1
doc/stdenv/meta.chapter.md−34
@@ -175,40 +175,6 @@ The NixOS tests are available as `nixosTests` in parameters of derivations. For
175175
176176NixOS tests run in a VM, so they are slower than regular package tests. For more information see [NixOS module tests](https://nixos.org/manual/nixos/stable/#sec-nixos-tests).
177177
178−Alternatively, you can specify other derivations as tests. You can make use of
179−the optional parameter to inject the correct package without
180−relying on non-local definitions, even in the presence of `overrideAttrs`.
181−Here that's `finalAttrs.finalPackage`, but you could choose a different name if
182−`finalAttrs` already exists in your scope.
183−
184−`(mypkg.overrideAttrs f).passthru.tests` will be as expected, as long as the
185−definition of `tests` does not rely on the original `mypkg` or overrides it in
186−all places.
187−
188−```nix
189−# my-package/default.nix
190−{ stdenv, callPackage }:
191−stdenv.mkDerivation (finalAttrs: {
192− # ...
193− passthru.tests.example = callPackage ./example.nix { my-package = finalAttrs.finalPackage; };
194−})
195−```
196−
197−```nix
198−# my-package/example.nix
199−{ runCommand, lib, my-package, ... }:
200−runCommand "my-package-test" {
201− nativeBuildInputs = [ my-package ];
202− src = lib.sources.sourcesByRegex ./. [ ".*.in" ".*.expected" ];
203−} ''
204− my-package --help
205− my-package <example.in >example.actual
206− diff -U3 --color=auto example.expected example.actual
207− mkdir $out
208−''
209−```
210−
211−
212178### `timeout` {#var-meta-timeout}
213179
214180A timeout (in seconds) for building the derivation. If the derivation takes longer than this time to build, it can fail due to breaking the timeout. However, all computers do not have the same computing power, hence some builders may decide to apply a multiplicative factor to this value. When filling this value in, try to keep it approximately consistent with other values already present in `nixpkgs`.
doc/stdenv/stdenv.chapter.md−54
@@ -317,60 +317,6 @@ The script will be usually run from the root of the Nixpkgs repository but you s
317317
318318For information about how to run the updates, execute `nix-shell maintainers/scripts/update.nix`.
319319
320−### Recursive attributes in `mkDerivation`
321−
322−If you pass a function to `mkDerivation`, it will receive as its argument the final arguments, including the overrides when reinvoked via `overrideAttrs`. For example:
323−
324−```nix
325−mkDerivation (finalAttrs: {
326− pname = "hello";
327− withFeature = true;
328− configureFlags =
329− lib.optionals finalAttrs.withFeature ["--with-feature"];
330−})
331−```
332−
333−Note that this does not use the `rec` keyword to reuse `withFeature` in `configureFlags`.
334−The `rec` keyword works at the syntax level and is unaware of overriding.
335−
336−Instead, the definition references `finalAttrs`, allowing users to change `withFeature`
337−consistently with `overrideAttrs`.
338−
339−`finalAttrs` also contains the attribute `finalPackage`, which includes the output paths, etc.
340−
341−Let's look at a more elaborate example to understand the differences between
342−various bindings:
343−
344−```nix
345−# `pkg` is the _original_ definition (for illustration purposes)
346−let pkg =
347− mkDerivation (finalAttrs: {
348− # ...
349−
350− # An example attribute
351− packages = [];
352−
353− # `passthru.tests` is a commonly defined attribute.
354− passthru.tests.simple = f finalAttrs.finalPackage;
355−
356− # An example of an attribute containing a function
357− passthru.appendPackages = packages':
358− finalAttrs.finalPackage.overrideAttrs (newSelf: super: {
359− packages = super.packages ++ packages';
360− });
361−
362− # For illustration purposes; referenced as
363− # `(pkg.overrideAttrs(x)).finalAttrs` etc in the text below.
364− passthru.finalAttrs = finalAttrs;
365− passthru.original = pkg;
366− });
367−in pkg
368−```
369−
370−Unlike the `pkg` binding in the above example, the `finalAttrs` parameter always references the final attributes. For instance `(pkg.overrideAttrs(x)).finalAttrs.finalPackage` is identical to `pkg.overrideAttrs(x)`, whereas `(pkg.overrideAttrs(x)).original` is the same as the original `pkg`.
371−
372−See also the section about [`passthru.tests`](#var-meta-tests).
373−
374320## Phases {#sec-stdenv-phases}
375321
376322`stdenv.mkDerivation` sets the Nix [derivation](https://nixos.org/manual/nix/stable/expressions/derivations.html#derivations)'s builder to a script that loads the stdenv `setup.sh` bash library and calls `genericBuild`. Most packaging functions rely on this default builder.
doc/using/overrides.chapter.md+2−6
@@ -39,18 +39,14 @@ The function `overrideAttrs` allows overriding the attribute set passed to a `st
3939Example usage:
4040
4141```nix
42−helloWithDebug = pkgs.hello.overrideAttrs (finalAttrs: previousAttrs: {
42+helloWithDebug = pkgs.hello.overrideAttrs (oldAttrs: rec {
4343 separateDebugInfo = true;
4444});
4545```
4646
4747In the above example, the `separateDebugInfo` attribute is overridden to be true, thus building debug info for `helloWithDebug`, while all other attributes will be retained from the original `hello` package.
4848
49−The argument `previousAttrs` is conventionally used to refer to the attr set originally passed to `stdenv.mkDerivation`.
50−
51−The argument `finalAttrs` refers to the final attributes passed to `mkDerivation`, plus the `finalPackage` attribute which is equal to the result of `mkDerivation` or subsequent `overrideAttrs` calls.
52−
53−If only a one-argument function is written, the argument has the meaning of `previousAttrs`.
49+The argument `oldAttrs` is conventionally used to refer to the attr set originally passed to `stdenv.mkDerivation`.
5450
5551::: {.note}
5652Note that `separateDebugInfo` is processed only by the `stdenv.mkDerivation` function, not the generated, raw Nix derivation. Thus, using `overrideDerivation` will not work in this case, as it overrides only the attributes of the final derivation. It is for this reason that `overrideAttrs` should be preferred in (almost) all cases to `overrideDerivation`, i.e. to allow using `stdenv.mkDerivation` to process input arguments, as well as the fact that it is easier to use (you can use the same attribute names you see in your Nix code, instead of the ones generated (e.g. `buildInputs` vs `nativeBuildInputs`), and it involves less typing).
maintainers/maintainer-list.nix−12
@@ -1409,12 +1409,6 @@
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− };
14181412 bdesham = {
14191413 email = "benjamin@esham.io";
14201414 github = "bdesham";
@@ -14211,12 +14205,6 @@
1421114205 github = "deifactor";
1421214206 githubId = 30192992;
1421314207 };
14214− deinferno = {
14215− name = "deinferno";
14216− email = "14363193+deinferno@users.noreply.github.com";
14217− github = "deinferno";
14218− githubId = 14363193;
14219− };
1422014208 fzakaria = {
1422114209 name = "Farid Zakaria";
1422214210 email = "farid.m.zakaria@gmail.com";
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml−32
@@ -43,33 +43,6 @@
4343 Shell.
4444 </para>
4545 </listitem>
46− <listitem>
47− <para>
48− <literal>stdenv.mkDerivation</literal> now supports a
49− self-referencing <literal>finalAttrs:</literal> parameter
50− containing the final <literal>mkDerivation</literal> arguments
51− including overrides. <literal>drv.overrideAttrs</literal> now
52− supports two parameters
53− <literal>finalAttrs: previousAttrs:</literal>. This allows
54− packaging configuration to be overridden in a consistent
55− manner by providing an alternative to
56− <literal>rec {}</literal> syntax.
57− </para>
58− <para>
59− Additionally, <literal>passthru</literal> can now reference
60− <literal>finalAttrs.finalPackage</literal> containing the
61− final package, including attributes such as the output paths
62− and <literal>overrideAttrs</literal>.
63− </para>
64− <para>
65− New language integrations can be simplified by overriding a
66− <quote>prototype</quote> package containing the
67− language-specific logic. This removes the need for a extra
68− layer of overriding for the <quote>generic builder</quote>
69− arguments, thus removing a usability problem and source of
70− error.
71− </para>
72− </listitem>
7346 <listitem>
7447 <para>
7548 PHP 8.1 is now available
@@ -877,11 +850,6 @@
877850 to the new location if the <literal>stateVersion</literal> is
878851 updated.
879852 </para>
880− <para>
881− As of Synapse 1.58.0, the old groups/communities feature has
882− been disabled by default. It will be completely removed with
883− Synapse 1.61.0.
884− </para>
885853 </listitem>
886854 <listitem>
887855 <para>
nixos/doc/manual/release-notes/rl-2205.section.md−17
@@ -17,21 +17,6 @@ In addition to numerous new and upgraded packages, this release has the followin
1717
1818- GNOME has been upgraded to 42. Please take a look at their [Release Notes](https://release.gnome.org/42/) for details. Notably, it replaces gedit with GNOME Text Editor, GNOME Terminal with GNOME Console (formerly King’s Cross), and GNOME Screenshot with a tool built into the Shell.
1919
20−- `stdenv.mkDerivation` now supports a self-referencing `finalAttrs:` parameter
21− containing the final `mkDerivation` arguments including overrides.
22− `drv.overrideAttrs` now supports two parameters `finalAttrs: previousAttrs:`.
23− This allows packaging configuration to be overridden in a consistent manner by
24− providing an alternative to `rec {}` syntax.
25−
26− Additionally, `passthru` can now reference `finalAttrs.finalPackage` containing
27− the final package, including attributes such as the output paths and
28− `overrideAttrs`.
29−
30− New language integrations can be simplified by overriding a "prototype"
31− package containing the language-specific logic. This removes the need for a
32− extra layer of overriding for the "generic builder" arguments, thus removing a
33− usability problem and source of error.
34−
3520- PHP 8.1 is now available
3621
3722- Mattermost has been updated to extended support release 6.3, as the previously packaged extended support release 5.37 is [reaching its end of life](https://docs.mattermost.com/upgrade/extended-support-release.html).
@@ -362,8 +347,6 @@ In addition to numerous new and upgraded packages, this release has the followin
362347 `media_store_path` was changed from `${dataDir}/media` to `${dataDir}/media_store` if `system.stateVersion` is at least `22.05`. Files will need to be manually moved to the new
363348 location if the `stateVersion` is updated.
364349
365− As of Synapse 1.58.0, the old groups/communities feature has been disabled by default. It will be completely removed with Synapse 1.61.0.
366−
367350- The Keycloak package (`pkgs.keycloak`) has been switched from the
368351 Wildfly version, which will soon be deprecated, to the Quarkus based
369352 version. The Keycloak service (`services.keycloak`) has been updated
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 standalone image, undo some of the minimal profile stuff
30+ # As this is intended as a stadalone 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,7 +1256,6 @@
12561256 ./virtualisation/virtualbox-guest.nix
12571257 ./virtualisation/virtualbox-host.nix
12581258 ./virtualisation/vmware-guest.nix
1259− ./virtualisation/vmware-host.nix
12601259 ./virtualisation/waydroid.nix
12611260 ./virtualisation/xen-dom0.nix
12621261 ./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.oath-toolkit}/lib/security/pam_oath.so window=${toString oath.window} usersfile=${toString oath.usersFile} digits=${toString oath.digits}
495+ auth requisite ${pkgs.oathToolkit}/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.oath-toolkit ]
1134+ ++ optionals config.security.pam.oath.enable [ pkgs.oathToolkit ]
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.oath-toolkit}/lib/security/pam_oath.so,
1224+ "mr ${pkgs.oathToolkit}/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+7−32
@@ -8,24 +8,6 @@ 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−
2911 extraUdevRules = pkgs.writeTextFile {
3012 name = "extra-udev-rules";
3113 text = cfg.extraRules;
@@ -368,10 +350,7 @@ in
368350 ];
369351 boot.initrd.systemd.storePaths = [
370352 "${config.boot.initrd.systemd.package}/lib/systemd/systemd-udevd"
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"
353+ "${config.boot.initrd.systemd.package}/lib/udev"
375354 ] ++ map (x: "${x}/bin") config.boot.initrd.services.udev.binPackages;
376355
377356 # Generate the udev rules for the initrd
@@ -385,17 +364,13 @@ in
385364 systemd = config.boot.initrd.systemd.package;
386365 binPackages = config.boot.initrd.services.udev.binPackages ++ [ config.boot.initrd.systemd.contents."/bin".source ];
387366 };
388− "/etc/systemd/network".source = initrdLinkUnits;
389367 };
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− ];
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+ });
399374
400375 environment.etc =
401376 {
nixos/modules/services/networking/ssh/sshd.nix−1
@@ -441,7 +441,6 @@ in
441441
442442 ${flip concatMapStrings cfg.hostKeys (k: ''
443443 if ! [ -s "${k.path}" ]; then
444− rm -f "${k.path}"
445444 ssh-keygen \
446445 -t "${k.type}" \
447446 ${if k ? bits then "-b ${toString k.bits}" else ""} \
nixos/modules/services/web-apps/keycloak.nix+1−2
@@ -540,8 +540,7 @@ 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;
544− db-url-port = toString cfg.database.port;
543+ db-url-host = "${cfg.database.host}:${toString cfg.database.port}";
545544 db-url-database = if databaseActuallyCreateLocally then "keycloak" else cfg.database.name;
546545 db-url-properties = prefixUnlessEmpty "?" dbProps;
547546 db-url = null;
nixos/modules/virtualisation/vmware-host.nixdeleted−166
@@ -1,166 +0,0 @@
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,6 +284,7 @@ in
284284 loki = handleTest ./loki.nix {};
285285 lvm2 = handleTest ./lvm2 {};
286286 lxd = handleTest ./lxd.nix {};
287+ lxd-image = handleTest ./lxd-image.nix {};
287288 lxd-nftables = handleTest ./lxd-nftables.nix {};
288289 lxd-image-server = handleTest ./lxd-image-server.nix {};
289290 #logstash = handleTest ./logstash.nix {};
nixos/tests/common/lxd/config.yamldeleted−24
@@ -1,24 +0,0 @@
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+48−15
@@ -1,21 +1,54 @@
1−import ./make-test-python.nix ({ pkgs, lib, ... } :
1+import ./make-test-python.nix ({ pkgs, ...} :
22
33let
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− };
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=";
917 };
1018
11− lxd-image-metadata = lxd-image.lxdMeta.${pkgs.system};
12− lxd-image-rootfs = lxd-image.lxdImage.${pkgs.system};
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+
1346
1447in {
1548 name = "lxd-image-server";
1649
1750 meta = with pkgs.lib.maintainers; {
18− maintainers = [ mkg20001 patryk27 ];
51+ maintainers = [ mkg20001 ];
1952 };
2053
2154 nodes.machine = { lib, ... }: {
@@ -67,20 +100,20 @@ in {
67100 # lxd expects the pool's directory to already exist
68101 machine.succeed("mkdir /var/lxd-pool")
69102
103+
70104 machine.succeed(
71− "cat ${./common/lxd/config.yaml} | lxd init --preseed"
105+ "cat ${lxd-config} | lxd init --preseed"
72106 )
73107
74108 machine.succeed(
75− "lxc image import ${lxd-image-metadata}/*/*.tar.xz ${lxd-image-rootfs}/*/*.tar.xz --alias nixos"
109+ "lxc image import ${alpine-meta} ${alpine-rootfs} --alias alpine"
76110 )
77111
78− loc = "/var/www/simplestreams/images/iats/nixos/amd64/default/v1"
112+ loc = "/var/www/simplestreams/images/iats/alpine/amd64/default/v1"
79113
80114 with subtest("push image to server"):
81− machine.succeed("lxc launch nixos test")
82− machine.sleep(5)
83− machine.succeed("lxc stop -f test")
115+ machine.succeed("lxc launch alpine test")
116+ machine.succeed("lxc stop test")
84117 machine.succeed("lxc publish --public test --alias=testimg")
85118 machine.succeed("lxc image export testimg")
86119 machine.succeed("ls >&2")
nixos/tests/lxd-image.nixnew file+89
@@ -0,0 +1,89 @@
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+94−40
@@ -1,18 +1,79 @@
1−import ./make-test-python.nix ({ pkgs, lib, ... } :
1+import ./make-test-python.nix ({ pkgs, ...} :
22
33let
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;
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
819
9− # Our tests require `grep` & friends:
10− environment.systemPackages = with pkgs; [ busybox ];
11− };
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+ '';
1232 };
1333
14− lxd-image-metadata = lxd-image.lxdMeta.${pkgs.system};
15− lxd-image-rootfs = lxd-image.lxdImage.${pkgs.system};
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=";
47+ };
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+ '';
76+
1677
1778in {
1879 name = "lxd";
@@ -23,8 +84,6 @@ in {
2384
2485 nodes.machine = { lib, ... }: {
2586 virtualisation = {
26− diskSize = 2048;
27−
2887 # Since we're testing `limits.cpu`, we've gotta have a known number of
2988 # cores to lean on
3089 cores = 2;
@@ -49,66 +108,61 @@ in {
49108 machine.succeed("mkdir /var/lxd-pool")
50109
51110 machine.succeed(
52− "cat ${./common/lxd/config.yaml} | lxd init --preseed"
111+ "cat ${lxd-config} | lxd init --preseed"
53112 )
54113
55114 machine.succeed(
56− "lxc image import ${lxd-image-metadata}/*/*.tar.xz ${lxd-image-rootfs}/*/*.tar.xz --alias nixos"
115+ "lxc image import ${alpine-meta} ${alpine-rootfs} --alias alpine"
57116 )
58117
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")
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")
65122
66− with subtest("Container is mounted with lxcfs inside"):
67− machine.succeed("lxc launch nixos container")
68− machine.sleep(5)
123+ with subtest("Containers are being mounted with lxcfs inside"):
124+ machine.succeed("lxc launch alpine test")
69125
70126 ## ---------- ##
71127 ## limits.cpu ##
72128
73− machine.succeed("lxc config set container limits.cpu 1")
74− machine.succeed("lxc restart container")
75− machine.sleep(5)
129+ machine.succeed("lxc config set test limits.cpu 1")
130+ machine.succeed("lxc restart test")
76131
132+ # Since Alpine doesn't have `nproc` pre-installed, we've gotta resort
133+ # to the primal methods
77134 assert (
78135 "1"
79− == machine.succeed("lxc exec container grep -- -c ^processor /proc/cpuinfo").strip()
136+ == machine.succeed("lxc exec test grep -- -c ^processor /proc/cpuinfo").strip()
80137 )
81138
82− machine.succeed("lxc config set container limits.cpu 2")
83− machine.succeed("lxc restart container")
84− machine.sleep(5)
139+ machine.succeed("lxc config set test limits.cpu 2")
140+ machine.succeed("lxc restart test")
85141
86142 assert (
87143 "2"
88− == machine.succeed("lxc exec container grep -- -c ^processor /proc/cpuinfo").strip()
144+ == machine.succeed("lxc exec test grep -- -c ^processor /proc/cpuinfo").strip()
89145 )
90146
91147 ## ------------- ##
92148 ## limits.memory ##
93149
94− machine.succeed("lxc config set container limits.memory 64MB")
95− machine.succeed("lxc restart container")
96− machine.sleep(5)
150+ machine.succeed("lxc config set test limits.memory 64MB")
151+ machine.succeed("lxc restart test")
97152
98153 assert (
99154 "MemTotal: 62500 kB"
100− == machine.succeed("lxc exec container grep -- MemTotal /proc/meminfo").strip()
155+ == machine.succeed("lxc exec test grep -- MemTotal /proc/meminfo").strip()
101156 )
102157
103− machine.succeed("lxc config set container limits.memory 128MB")
104− machine.succeed("lxc restart container")
105− machine.sleep(5)
158+ machine.succeed("lxc config set test limits.memory 128MB")
159+ machine.succeed("lxc restart test")
106160
107161 assert (
108162 "MemTotal: 125000 kB"
109− == machine.succeed("lxc exec container grep -- MemTotal /proc/meminfo").strip()
163+ == machine.succeed("lxc exec test grep -- MemTotal /proc/meminfo").strip()
110164 )
111165
112− machine.succeed("lxc delete -f container")
166+ machine.succeed("lxc delete -f test")
113167 '';
114168})
nixos/tests/matrix-appservice-irc.nix−3
@@ -20,9 +20,6 @@ import ./make-test-python.nix ({ pkgs, ... }:
2020
2121 enable_registration = true;
2222
23− # don't use this in production, always use some form of verification
24− enable_registration_without_verification = true;
25−
2623 listeners = [ {
2724 # The default but tls=false
2825 bind_addresses = [
nixos/tests/openssh.nix+6−12
@@ -80,21 +80,17 @@ 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",
84− timeout=30
83+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'echo hello world' >&2"
8584 )
8685 client.succeed(
87− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'ulimit -l' | grep 1024",
88− timeout=30
86+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server 'ulimit -l' | grep 1024"
8987 )
9088
9189 client.succeed(
92− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'echo hello world' >&2",
93− timeout=30
90+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'echo hello world' >&2"
9491 )
9592 client.succeed(
96− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'ulimit -l' | grep 1024",
97− timeout=30
93+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no server_lazy 'ulimit -l' | grep 1024"
9894 )
9995
10096 with subtest("configured-authkey"):
@@ -103,12 +99,10 @@ in {
10399 )
104100 client.succeed("chmod 600 privkey.snakeoil")
105101 client.succeed(
106− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server true",
107− timeout=30
102+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server true"
108103 )
109104 client.succeed(
110− "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server_lazy true",
111− timeout=30
105+ "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i privkey.snakeoil server_lazy true"
112106 )
113107
114108 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 oath-toolkit
10+ # Generated in nix-shell -p oathToolkit
1111 # via: oathtool -v -d6 -w10 cdd4083ef8ff1fa9178c6d46bfb1a3
1212 # and picking a the first 4:
1313 oathSnakeOilPassword1 = "143349";
nixos/tests/pgadmin4.nix+48−37
@@ -1,27 +1,53 @@
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− */
1+import ./make-test-python.nix ({ pkgs, lib, ... }:
192
203 let
214 pgadmin4SrcDir = "/pgadmin";
225 pgadmin4Dir = "/var/lib/pgadmin";
236 pgadmin4LogDir = "/var/log/pgadmin";
247
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+ ]);
2551 in
2652 {
2753 name = "pgadmin4";
@@ -29,27 +55,12 @@ import ./make-test-python.nix ({ pkgs, lib, buildDeps ? [ ], pythonEnv ? [ ], ..
2955
3056 nodes.machine = { pkgs, ... }: {
3157 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−
3958 environment.systemPackages = with pkgs; [
4059 pgadmin4
4160 postgresql
61+ python-with-needed-packages
4262 chromedriver
4363 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− )
5364 ];
5465 services.postgresql = {
5566 enable = true;
@@ -110,7 +121,7 @@ import ./make-test-python.nix ({ pkgs, lib, buildDeps ? [ ], pythonEnv ? [ ], ..
110121 with subtest("run browser test"):
111122 machine.succeed(
112123 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
113− && python regression/runtests.py --pkg browser --exclude \
124+ && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg browser --exclude \
114125 browser.tests.test_ldap_login.LDAPLoginTestCase,browser.tests.test_ldap_login'
115126 )
116127
@@ -120,13 +131,13 @@ import ./make-test-python.nix ({ pkgs, lib, buildDeps ? [ ], pythonEnv ? [ ], ..
120131 machine.succeed(
121132 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
122133 && export FONTCONFIG_FILE=${pkgs.makeFontsConf { fontDirectories = [];}} \
123− && python regression/runtests.py --pkg feature_tests'
134+ && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg feature_tests'
124135 )
125136
126137 with subtest("run resql test"):
127138 machine.succeed(
128139 'cd ${pgadmin4SrcDir}/pgadmin4-${pkgs.pgadmin4.version}/web \
129− && python regression/runtests.py --pkg resql'
140+ && ${python-with-needed-packages.interpreter} regression/runtests.py --pkg resql'
130141 )
131142 '';
132143 })
pkgs/applications/editors/android-studio/common.nix−2
@@ -52,7 +52,6 @@
5252, xkeyboard_config
5353, zlib
5454, makeDesktopItem
55−, tiling_wm # if we are using a tiling wm, need to set _JAVA_AWT_WM_NONREPARENTING in wrapper
5655}:
5756
5857let
@@ -81,7 +80,6 @@ let
8180 --set-default JAVA_HOME "$out/jre" \
8281 --set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \
8382 --set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
84− ${lib.optionalString tiling_wm "--set _JAVA_AWT_WM_NONREPARENTING 1"} \
8583 --set FONTCONFIG_FILE ${fontsConf} \
8684 --prefix PATH : "${lib.makeBinPath [
8785
pkgs/applications/editors/android-studio/default.nix+1−2
@@ -1,4 +1,4 @@
1−{ callPackage, makeFontsConf, gnome2, buildFHSUserEnv, tiling_wm ? false }:
1+{ callPackage, makeFontsConf, gnome2, buildFHSUserEnv }:
22
33let
44 mkStudio = opts: callPackage (import ./common.nix opts) {
@@ -7,7 +7,6 @@ let
77 };
88 inherit (gnome2) GConf gnome_vfs;
99 inherit buildFHSUserEnv;
10− inherit tiling_wm;
1110 };
1211 stableVersion = {
1312 version = "2021.1.1.23"; # "Android Studio Bumblebee (2021.1.1 Patch 3)"
pkgs/applications/misc/hello/default.nix+5−8
@@ -1,5 +1,4 @@
1−{ callPackage
2−, lib
1+{ lib
32, stdenv
43, fetchurl
54, nixos
@@ -7,12 +6,12 @@
76, hello
87}:
98
10−stdenv.mkDerivation (finalAttrs: {
9+stdenv.mkDerivation rec {
1110 pname = "hello";
1211 version = "2.12";
1312
1413 src = fetchurl {
15− url = "mirror://gnu/hello/hello-${finalAttrs.version}.tar.gz";
14+ url = "mirror://gnu/hello/${pname}-${version}.tar.gz";
1615 sha256 = "1ayhp9v4m4rdhjmnl2bq3cibrbqqkgjbl3s7yk2nhlh8vj3ay16g";
1716 };
1817
@@ -28,8 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
2827 (nixos { environment.noXlibs = true; }).pkgs.hello;
2928 };
3029
31− passthru.tests.run = callPackage ./test.nix { hello = finalAttrs.finalPackage; };
32−
3330 meta = with lib; {
3431 description = "A program that produces a familiar, friendly greeting";
3532 longDescription = ''
@@ -37,9 +34,9 @@ stdenv.mkDerivation (finalAttrs: {
3734 It is fully customizable.
3835 '';
3936 homepage = "https://www.gnu.org/software/hello/manual/";
40− changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${finalAttrs.version}";
37+ changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${version}";
4138 license = licenses.gpl3Plus;
4239 maintainers = [ maintainers.eelco ];
4340 platforms = platforms.all;
4441 };
45−})
42+}
pkgs/applications/misc/hello/test.nixdeleted−8
@@ -1,8 +0,0 @@
1−{ runCommand, hello }:
2−
3−runCommand "hello-test-run" {
4− nativeBuildInputs = [ hello ];
5−} ''
6− diff -U3 --color=auto <(hello) <(echo 'Hello, world!')
7− touch $out
8−''
pkgs/applications/misc/kiln/default.nix+3−3
@@ -2,18 +2,18 @@
22
33buildGoModule rec {
44 pname = "kiln";
5− version = "0.3.0";
5+ version = "0.2.1";
66
77 src = fetchFromSourcehut {
88 owner = "~adnano";
99 repo = pname;
1010 rev = version;
11− hash = "sha256-owON9ZNi8BufkeARjC6SwxzM81YJYu+bakhH5quzMrA=";
11+ hash = "sha256-c6ed62Nn++qw+U/DCiYeGwF77YsBxexWKZ7UQ3LE4fI=";
1212 };
1313
1414 nativeBuildInputs = [ scdoc ];
1515
16− vendorSha256 = "sha256-C1ueL/zmPzFbpNo5BF56/t74nwCUvb2Vu1exssPqOPE=";
16+ vendorSha256 = "sha256-bMpzebwbVHAbBtw0uuGyWd4wnM9z6tlsEQN4S/iucgk=";
1717
1818 installPhase = ''
1919 runHook preInstall
pkgs/applications/misc/libosmocore/default.nix+6−21
@@ -1,25 +1,16 @@
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
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
2+, pcsclite, talloc, python2, gnutls
123}:
134
145stdenv.mkDerivation rec {
156 pname = "libosmocore";
16− version = "1.6.0";
7+ version = "1.2.0";
178
189 src = fetchFromGitHub {
1910 owner = "osmocom";
2011 repo = "libosmocore";
2112 rev = version;
22− hash = "sha256-AjOyZiLlXhsetbyMBuUssoNxk22LzGOkZpeLt4vKli4=";
13+ sha256 = "1535y6r4csvslrxcki80ya6zhhc5jw2nvy9bymb55ln77pf853vg";
2314 };
2415
2516 propagatedBuildInputs = [
@@ -27,17 +18,11 @@ stdenv.mkDerivation rec {
2718 ];
2819
2920 nativeBuildInputs = [
30− autoreconfHook
31− pkg-config
32− python3
21+ autoreconfHook pkg-config
3322 ];
3423
3524 buildInputs = [
36− gnutls
37− libmnl
38− libusb1
39− lksctp-tools
40− pcsclite
25+ pcsclite python2 gnutls
4126 ];
4227
4328 enableParallelBuilding = true;
pkgs/applications/misc/skytemple/default.nix+2−5
@@ -2,13 +2,13 @@
22
33python3Packages.buildPythonApplication rec {
44 pname = "skytemple";
5− version = "1.3.10";
5+ version = "1.3.2";
66
77 src = fetchFromGitHub {
88 owner = "SkyTemple";
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-CyYGTXdQsGpDR/gpqViEQO1xUPHaXTES592nRJixa1o=";
11+ sha256 = "1sx2rib0la3mifvh84ia3jnnq4qw9jxc13vxyidsdkp6x82nbvcg";
1212 };
1313
1414 buildInputs = [
@@ -26,10 +26,7 @@ python3Packages.buildPythonApplication rec {
2626 packaging
2727 pycairo
2828 pygal
29− psutil
30− gbulb
3129 pypresence
32− sentry-sdk
3330 setuptools
3431 skytemple-dtef
3532 skytemple-eventserver
pkgs/applications/misc/tut/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "tut";
5− version = "0.0.46";
5+ version = "0.0.42";
66
77 src = fetchFromGitHub {
88 owner = "RasmusLindroth";
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-C9kyA6QuL8sqzCooaPzSP7VOpu7jcSFCUx9oaZLZ7/w=";
11+ sha256 = "sha256-zWhG9lzerzDqqFN8IG5JSv3voLzvtp/gg6jBisbodMc=";
1212 };
1313
1414 vendorSha256 = "sha256-kMGEAN/I2XsIc6zCDbhbbstYlyjDpXQsOPUzjaJqJBk=";
pkgs/applications/misc/udiskie/default.nix+25−30
@@ -1,47 +1,42 @@
11{ lib
2−, asciidoc
32, fetchFromGitHub
3+, buildPythonApplication
4+, asciidoc-full
5+, docopt
6+, gettext
47, gobject-introspection
58, gtk3
6−, installShellFiles
9+, keyutils
710, libappindicator-gtk3
811, libnotify
912, librsvg
10−, python3
13+, nose
14+, pygobject3
15+, pyyaml
1116, udisks2
1217, wrapGAppsHook
1318}:
1419
15−python3.pkgs.buildPythonApplication rec {
20+buildPythonApplication rec {
1621 pname = "udiskie";
17− version = "2.4.2";
18−
19− format = "setuptools";
22+ version = "2.4.0";
2023
2124 src = fetchFromGitHub {
2225 owner = "coldfix";
2326 repo = "udiskie";
2427 rev = "v${version}";
25− hash = "sha256-lQMJVSY3JeZYYOFDyV29Ye2j8r+ngE/ta2wQYipy4hU=";
28+ hash = "sha256-T4kMPMXfehZT7P+TOd1llR2TbHPA/quNL545xxlmJfE=";
2629 };
2730
28− patches = [
29− ./locale-path.patch
30− ];
31−
32− postPatch = ''
33− substituteInPlace udiskie/locale.py --subst-var out
34− '';
31+ outputs = [ "out" "man" ];
3532
3633 nativeBuildInputs = [
37− asciidoc # Man page
34+ asciidoc-full # Man page
35+ gettext
3836 gobject-introspection
39− installShellFiles
4037 wrapGAppsHook
4138 ];
4239
43− dontWrapGApps = true;
44−
4540 buildInputs = [
4641 gobject-introspection
4742 gtk3
@@ -51,9 +46,8 @@ python3.pkgs.buildPythonApplication rec {
5146 udisks2
5247 ];
5348
54− propagatedBuildInputs = with python3.pkgs; [
49+ propagatedBuildInputs = [
5550 docopt
56− keyutils
5751 pygobject3
5852 pyyaml
5953 ];
@@ -63,20 +57,21 @@ python3.pkgs.buildPythonApplication rec {
6357 '';
6458
6559 postInstall = ''
66− installManPage doc/udiskie.8
60+ mkdir -p $man/share/man/man8
61+ cp -v doc/udiskie.8 $man/share/man/man8/
6762 '';
6863
69− preFixup = ''
70− makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
71− '';
72−
73− checkInputs = with python3.pkgs; [
74− pytestCheckHook
64+ checkInputs = [
65+ keyutils
66+ nose
7567 ];
7668
69+ checkPhase = ''
70+ nosetests
71+ '';
72+
7773 meta = with lib; {
7874 homepage = "https://github.com/coldfix/udiskie";
79− changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst";
8075 description = "Removable disk automounter for udisks";
8176 longDescription = ''
8277 udiskie is a udisks2 front-end that allows to manage removeable media such
@@ -93,6 +88,6 @@ python3.pkgs.buildPythonApplication rec {
9388 - password caching (requires python keyutils 0.3)
9489 '';
9590 license = licenses.mit;
96− maintainers = with maintainers; [ AndersonTorres dotlambda ];
91+ maintainers = with maintainers; [ AndersonTorres ];
9792 };
9893}
pkgs/applications/misc/udiskie/locale-path.patchdeleted−17
@@ -1,17 +0,0 @@
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.13";
9+ version = "5.6.10.7";
1010
1111 src = fetchurl {
12− url = "https://upwork-usw2-desktopapp.upwork.com/binaries/v5_6_10_13_3c485d1dd2af4f61/${pname}_${version}_amd64.deb";
13− sha256 = "c3e1ecf14c99596f434edf93a2e08f031fbaa167025d1280cf19f68b829d6b79";
12+ url = "https://upwork-usw2-desktopapp.upwork.com/binaries/v5_6_10_7_f806fd1250954801/${pname}_${version}_amd64.deb";
13+ sha256 = "6fe11cd53ffb66a02aa771153c4f58af34fea25847ee5bc13802fec9b0db0280";
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.04";
15+ version = "4.03";
1616
1717 src = fetchzip {
1818 url = "https://dl.xpdfreader.com/xpdf-${version}.tar.gz";
19− hash = "sha256-ujH9KDwFRjPIKwdMg79Mab9BfA2HooY5+2PESUgnGDY=";
19+ sha256 = "09yhvmh1vxjy763nnmawynygp5bh3j4i8ixqja64j11676yl77n6";
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.6";
5+ version = "0.17.3";
66
77 src = fetchFromGitHub {
88 owner = "sayanarijit";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "1lgfa1y5vsm3gqxizdgbn816klcamqmshw817mwan5i5yx9nk6xz";
11+ sha256 = "sha256-BbD0Z/WGNaqpPowZqc4kmFLbL9/+JotKm7dWIgS3NjM=";
1212 };
1313
1414 buildInputs = lib.optional stdenv.isDarwin libiconv;
1515
16− cargoSha256 = "sha256-va+MKnHVdkQNq1SFvvoYnb28tW61W7d97LoCMNzwZHE=";
16+ cargoSha256 = "sha256-qsicWf15U5b4xMqkXDOrhGNrQmiZkoxBQwV58asQa8k=";
1717
1818 meta = with lib; {
1919 description = "A hackable, minimal, fast TUI file explorer";
pkgs/applications/networking/browsers/brave/default.nix+5−8
@@ -49,9 +49,6 @@
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−
5552# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder,VaapiVideoEncoder)
5653, libvaSupport ? stdenv.isLinux
5754, libva
@@ -69,7 +66,7 @@ let
6966
7067 deps = [
7168 alsa-lib at-spi2-atk at-spi2-core atk cairo cups dbus expat
72− fontconfig freetype gdk-pixbuf glib gtk3 libdrm libX11 libGL
69+ fontconfig freetype gdk-pixbuf glib gtk3 libdrm libX11
7370 libxkbcommon libXScrnSaver libXcomposite libXcursor libXdamage
7471 libXext libXfixes libXi libXrandr libXrender libxshmfence
7572 libXtst libuuid mesa nspr nss pango pipewire udev wayland
@@ -131,9 +128,9 @@ stdenv.mkDerivation rec {
131128 ln -sf $BINARYWRAPPER $out/bin/brave
132129
133130 for exe in $out/opt/brave.com/brave/{brave,chrome_crashpad_handler}; do
134− patchelf \
135− --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
136− --set-rpath "${rpath}" $exe
131+ patchelf \
132+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
133+ --set-rpath "${rpath}" $exe
137134 done
138135
139136 # Fix paths
@@ -173,10 +170,10 @@ stdenv.mkDerivation rec {
173170 ${optionalString (disableFeatures != []) ''
174171 --add-flags "--disable-features=${strings.concatStringsSep "," disableFeatures}"
175172 ''}
173+ --add-flags ${escapeShellArg commandLineArgs}
176174 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
177175 ${optionalString vulkanSupport ''
178176 --prefix XDG_DATA_DIRS : "${addOpenGLRunpath.driverLink}/share"
179− --add-flags ${escapeShellArg commandLineArgs}
180177 ''}
181178 )
182179 '';
pkgs/applications/networking/browsers/firefox/librewolf/src.json+5−5
@@ -1,11 +1,11 @@
11{
2− "packageVersion": "100.0-1",
2+ "packageVersion": "99.0.1-4",
33 "source": {
4− "rev": "100.0-1",
5− "sha256": "1xczvsd39g821bh5n12vnn7sgi0x5dqj6vfizkavxj0a05jb4fla"
4+ "rev": "99.0.1-4",
5+ "sha256": "0s0r9smyfr8yhbgp67569ki3lkc2dyv1dw9735njja2gy0nahgni"
66 },
77 "firefox": {
8− "version": "100.0",
9− "sha512": "29c56391c980209ff94c02a9aba18fe27bea188bdcbcf7fe0c0f27f61e823f4507a3ec343b27cb5285cf3901843e9cc4aca8e568beb623c4b69b7282e662b2aa"
8+ "version": "99.0.1",
9+ "sha512": "0006b773ef1057a6e0b959d4f39849ad4a79272b38d565da98062b9aaf0effd2b729349c1f9fa10fccf7d2462d2c536b02c167ae6ad4556d6e519c6d22c25a7f"
1010 }
1111}
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 = "101.0.1210.19";
4+ version = "99.0.1150.16";
55 revision = "1";
6− sha256 = "sha256:1kgc19ryw69xiqppz90d6sa45g99hzkh7x5yk9d3xlh1gc1xn54p";
6+ sha256 = "sha256:0qsgs889d6qwxz9qf42psmjqfhmrqgp07srq5r38npl5pncr137h";
77 };
88 dev = import ./browser.nix {
99 channel = "dev";
10− version = "102.0.1227.0";
10+ version = "100.0.1163.1";
1111 revision = "1";
12− sha256 = "sha256:0dnyandri7yg7c9812pnsxqszxyqcssxf87yskjg2vw95hawf11x";
12+ sha256 = "sha256:153faqxyw5f5b6cqnvd71dl7941znkzci8dwbcgaxway0b6882jq";
1313 };
1414 stable = import ./browser.nix {
1515 channel = "stable";
16− version = "100.0.1185.44";
16+ version = "98.0.1108.56";
1717 revision = "1";
18− sha256 = "sha256:0zv1zyijh620xz36a6nmhv7rbv4ln5f245hyh0w1sngynsl1rz89";
18+ sha256 = "sha256:03jbj2s2fs60fzfgsmyb284q7nckji87qgb86mvl5g0hbl19aza7";
1919 };
2020}
pkgs/applications/networking/browsers/vivaldi/default.nix+2−2
@@ -20,11 +20,11 @@ let
2020 vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
2121in stdenv.mkDerivation rec {
2222 pname = "vivaldi";
23− version = "5.2.2623.41-1";
23+ version = "5.2.2623.39-1";
2424
2525 src = fetchurl {
2626 url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb";
27− sha256 = "1kyjplymibvs82bqyjmm0vyv08yg4acl2jghh24rm9x53si6qf2d";
27+ sha256 = "1dd44b109gdbjqcbf5rhvgyiqb6qi8vpimsh5fb359dmnqfan1hk";
2828 };
2929
3030 unpackPhase = ''
pkgs/applications/networking/cloudflared/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "cloudflared";
5− version = "2022.5.0";
5+ version = "2022.4.1";
66
77 src = fetchFromGitHub {
88 owner = "cloudflare";
99 repo = "cloudflared";
1010 rev = version;
11− hash = "sha256-vz0fxSzx0vOpZy6/MVfZ467c9qdHUWZIL5wklTnnBBA=";
11+ hash = "sha256-dgvXbWtLP6sXBlqcx/xpw9LIbcE4VlYZQO5rrS34+9I=";
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.30.2";
5− sha256 = "0z4f0vf2n7vfp6ff0lxcl5qyl65ihd4absad8cd16hncz15nyjgl";
6− manifestsSha256 = "04dlxzlrhggq54nkywn9nwdagdn43f0rb7cjkqdn3hlm4hwd07pb";
4+ version = "0.29.5";
5+ sha256 = "1nqi7yk5d66fcjf6kyjivm3cbaqkj36ajgfvjm995q7cla2xyawm";
6+ manifestsSha256 = "09rq7wiv3ixdp0p8isfp26vikyx523arzdyizi6yb90q6dl6hgc0";
77
88 manifests = fetchzip {
99 url =
@@ -23,7 +23,7 @@ in buildGoModule rec {
2323 inherit sha256;
2424 };
2525
26− vendorSha256 = "sha256-POziJtCdD4klu23WuGmWdt72Ugr4KwCAjXRTCuzikSk=";
26+ vendorSha256 = "sha256-dQV/8NF+sMiEoFr2wtR/oGqqn72JwH/JGbMREHIr/Tw=";
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; [ bryanasdev000 jlesquembre superherointj ];
68+ maintainers = with maintainers; [ jlesquembre bryanasdev000 ];
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 [ $# -eq 1 ] && [ "$1" = "git" ]; then
38+ if [ "$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.312.0";
3+ ver = "1.2.54.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 = "50aac34a4dedddf20c20be24989ee5d33b46a72187791715fb9b395b54db8ef9";
7+ sha256 = "kgxoQrtu2tsV5t/3oA+Z2juY24hPOznPGjlQMsqOIZg=";
88 } else {
99 url = "https://s3.amazonaws.com/session-manager-downloads/plugin/${ver}/ubuntu_64bit/session-manager-plugin.deb";
10− sha256 = "2e51ce5bf8f23a1e590fff866bbdadcf82aa03c5054c671d9115482a1b263cc7";
10+ sha256 = "uug1cT4yRxNQcf+zWz0mi72G4EGa3eZHVuG36INSqrM=";
1111 };
1212 archivePath = if stdenv.isDarwin then "sessionmanager-bundle" else "usr/local/sessionmanagerplugin";
1313in
pkgs/applications/networking/firewalld/default.nixdeleted−104
@@ -1,104 +0,0 @@
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.patchdeleted−13
@@ -1,13 +0,0 @@
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.4";
4+ version = "2.55.2";
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 = "221PyDoCkWqDdewCkFycpjMTcVOcl58blCjrC7O7xyk=";
13+ sha256 = "J7eHVXjWSIcTpLMM8FlGKZzVh6XgpQ0d82kxfMbPyZ4=";
1414 };
1515 x86_64-dmg = callPackage ./build-from-dmg.nix {
1616 inherit pname version metaCommon;
17− sha256 = "6SOqlH7Z9DuQVR4i1OltnSb4dJscFUxaXxgNkE5FVUE=";
17+ sha256 = "du/9N1BFq1s7spPiEDgDbjjcnkA0x1ExhAEpQvmO3aA=";
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.1618";
46+ version = "1.5.1615";
4747
4848 src = fetchFromGitHub {
4949 owner = "psi-plus";
5050 repo = "psi-plus-snapshots";
5151 rev = version;
52− sha256 = "sha256-ueZYFOZFCPQrg9etZCrY5ZTn7PZMkcuwbXVPPbW9S/A=";
52+ sha256 = "sha256-aD+JVGmBWHUav2bH9rXGtgqI+/5lJTMrYLRP7E65JxI=";
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-2022-04-29";
5+ version = "unstable-2021-12-14";
66
77 src = fetchFromSourcehut {
88 owner = "~taiite";
99 repo = "senpai";
10− rev = "859b8fdb7d433a848668c6f1a00406f107fe00e5";
11− sha256 = "sha256-grVv/bcUEU6Aaf+4MbkocY/75u7q6Q7r26xK0ybULUg=";
10+ rev = "8091752a67781273944e7a79a803b7a671378313";
11+ sha256 = "sha256-tZp0ra/Sq/5MAFlAFHPJ94jYxtHbDiG1wSD4NOH1x7I=";
1212 };
1313
14− vendorSha256 = "sha256-hgojB1D0/SZWLEzJ48EBoT/InYYmqD/1qoTknfk/aTo=";
14+ vendorSha256 = "sha256-xkJh7k8GZmoZqE0HgbFp2xMJQOVDkPEXOZEl6bJZz1A=";
1515
1616 subPackages = [
1717 "cmd/senpai"
pkgs/applications/networking/modem-manager-gui/default.nix−15
@@ -2,7 +2,6 @@
22, pkg-config
33, python3
44, fetchFromGitLab
5−, fetchpatch
65, gtk3
76, glib
87, gdbm
@@ -45,20 +44,6 @@ stdenv.mkDerivation rec {
4544 libayatana-appindicator-gtk3
4645 ];
4746
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−
6247 postPatch = ''
6348 patchShebangs man/manhelper.py
6449 '';
pkgs/applications/networking/newsreaders/liferea/default.nix+2−2
@@ -23,11 +23,11 @@
2323
2424stdenv.mkDerivation rec {
2525 pname = "liferea";
26− version = "1.13.8";
26+ version = "1.12.9";
2727
2828 src = fetchurl {
2929 url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
30− sha256 = "0x2857nhn98hlzqxmxb2h2wcasr5jkhciih71wcnp0cja60aw20h";
30+ sha256 = "06ybr1wjlfir8iqjx6x0v1knd4b2hsy30qmkk4kssy6ky2ahc66q";
3131 };
3232
3333 nativeBuildInputs = [
pkgs/applications/networking/p2p/twister/default.nixnew file+70
@@ -0,0 +1,70 @@
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+1−3
@@ -9,9 +9,7 @@ mkDerivation rec {
99 src = fetchFromGitHub {
1010 owner = "haiwen";
1111 repo = "seafile-client";
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";
12+ rev = "v${version}";
1513 sha256 = "00wfr7dvbyl7pg1xgssgz8a94c7c4n5r9266lhy9qcbz456hdcgj";
1614 };
1715
pkgs/applications/networking/sync/onedrive/default.nix+2−2
@@ -14,13 +14,13 @@
1414
1515stdenv.mkDerivation rec {
1616 pname = "onedrive";
17− version = "2.4.17";
17+ version = "2.4.16";
1818
1919 src = fetchFromGitHub {
2020 owner = "abraunegg";
2121 repo = pname;
2222 rev = "v${version}";
23− hash = "sha256-+ADAPxAZNDqLKLz6rAProqSDINDiTZhc2trxJFFMQeA=";
23+ sha256 = "sha256-GoufEcCu/Cg2Fu0RcjTi4te/7+gZfQRTj+AtK0YnF5I=";
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,<6" \
43+ --replace "bleach==3.1.5" "bleach>=3.1.5,<5" \
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.desktopdeleted−6
@@ -1,6 +0,0 @@
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+12−25
@@ -1,32 +1,19 @@
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−} (''
1+{ libreoffice, runCommand, dbus, bash }:
2+let
3+ jdk = libreoffice.jdk;
4+in
5+(runCommand libreoffice.name {
6+ inherit dbus libreoffice jdk bash;
7+} ''
98 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− 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−
16+'') // {
17+ inherit libreoffice dbus;
18+ meta = libreoffice.meta;
19+}
pkgs/applications/office/qownnotes/default.nix+2−2
@@ -5,13 +5,13 @@
55
66mkDerivation rec {
77 pname = "qownnotes";
8− version = "22.5.0";
8+ version = "22.4.1";
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 = "52a81401a4a03c77e28f37f56c3ebdc6696ff43c75cc9330d10ba7e801f48ccd";
14+ sha256 = "b9ce77ecd5bb48bd6534068b0582dfaa3b828f800b19ddec80387a84e00766da";
1515 };
1616
1717 nativeBuildInputs = [ qmake qttools ];
pkgs/applications/office/tusk/default.nix+2−3
@@ -21,8 +21,7 @@ let
2121 };
2222
2323in appimageTools.wrapType2 rec {
24− inherit pname version;
25−
24+ name = "${pname}-v${version}";
2625 src = fetchurl {
2726 url = "https://github.com/klaussinani/tusk/releases/download/v${version}/${pname}-${version}-x86_64.AppImage";
2827 sha256 = "02q7wsnhlyq8z74avflrm7805ny8fzlmsmz4bmafp4b4pghjh5ky";
@@ -37,7 +36,7 @@ in appimageTools.wrapType2 rec {
3736 multiPkgs = null; # no 32bit needed
3837 extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
3938 extraInstallCommands = ''
40− mv $out/bin/{${pname}-${version},${pname}}
39+ mv $out/bin/{${name},${pname}}
4140 mkdir "$out/share"
4241 ln -s "${desktopItem}/share/applications" "$out/share/"
4342 '';
pkgs/applications/science/biology/bwa/default.nix−2
@@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
1717 sed -i '/^CC/d' Makefile
1818 '';
1919
20− makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";
21−
2220 # it's unclear which headers are intended to be part of the public interface
2321 # so we may find ourselves having to add more here over time
2422 installPhase = ''
pkgs/applications/science/biology/megahit/default.nix−3
@@ -14,9 +14,6 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ zlib ];
1616
17− cmakeFlags = lib.optional stdenv.hostPlatform.isStatic [
18− "-DSTATIC_BUILD=ON"
19− ];
2017 meta = with lib; {
2118 description = "An ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph";
2219 license = licenses.gpl3;
pkgs/applications/science/biology/samtools/default.nix+1−8
@@ -22,15 +22,8 @@ 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−
3025 configureFlags = [ "--with-htslib=${htslib}" ]
31− ++ lib.optional (ncurses == null) "--without-curses"
32− ++ lib.optional stdenv.hostPlatform.isStatic ["--without-curses" ]
33− ;
26+ ++ lib.optional (ncurses == null) "--without-curses";
3427
3528 preCheck = ''
3629 patchShebangs test/
pkgs/applications/science/logic/easycrypt/default.nixdeleted−50
@@ -1,50 +0,0 @@
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.nixdeleted−24
@@ -1,24 +0,0 @@
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/science/misc/snakemake/default.nix+3−3
@@ -5,14 +5,14 @@
55
66python3.pkgs.buildPythonApplication rec {
77 pname = "snakemake";
8− version = "7.6.1";
8+ version = "7.5.0";
99 format = "setuptools";
1010
1111 src = fetchFromGitHub {
1212 owner = "snakemake";
1313 repo = pname;
14− rev = "refs/tags/v${version}";
15− hash = "sha256-McknAQDzpTE1WdIBr8HsFpGzXuJT2kDNvLzK2gn75GM=";
14+ rev = "v${version}";
15+ hash = "sha256-KIKuV6DVHn3dDY/rJG1zNWM79tdDB6GGVH9/kYn6XaE=";
1616 };
1717
1818 propagatedBuildInputs = with python3.pkgs; [
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.3";
85+ version = "3.0.17";
8686
8787 src = fetchurl {
8888 url = "http://get.videolan.org/vlc/${version}/vlc-${version}.tar.xz";
89− sha256 = "sha256-b36Q74lz0x2W3mTbgXFz40UVCClxepQISxu4MhzeIBQ=";
89+ sha256 = "sha256-SL2b8zeqEHoVJOulfFLcSpHin1qX+97pL2pNupA4PNA=";
9090 };
9191
9292 # VLC uses a *ton* of libraries for various pieces of functionality, many of
pkgs/applications/virtualization/vmware-workstation/default.nixdeleted−341
@@ -1,341 +0,0 @@
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-bootstrapdeleted−11
@@ -1,11 +0,0 @@
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-configdeleted−21
@@ -1,21 +0,0 @@
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-bootstrapdeleted−5
@@ -1,5 +0,0 @@
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-modconfigdeleted−8
@@ -1,8 +0,0 @@
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/desktops/pantheon/apps/switchboard/default.nix+15−2
@@ -1,6 +1,7 @@
11{ lib
22, stdenv
33, fetchFromGitHub
4+, fetchpatch
45, nix-update-script
56, pkg-config
67, meson
@@ -17,13 +18,13 @@
1718
1819stdenv.mkDerivation rec {
1920 pname = "switchboard";
20− version = "6.0.1";
21+ version = "6.0.0";
2122
2223 src = fetchFromGitHub {
2324 owner = "elementary";
2425 repo = pname;
2526 rev = version;
26− sha256 = "sha256-QMh9m6Xc0BeprZHrOgcmSireWb8Ja7Td0COYMgYw+5M=";
27+ sha256 = "02dfsrfmr297cxpyd5m3746ihcgjyfnb3d42ng9m4ljdvh0dxgim";
2728 };
2829
2930 nativeBuildInputs = [
@@ -45,6 +46,18 @@ stdenv.mkDerivation rec {
4546
4647 patches = [
4748 ./plugs-path-env.patch
49+ # Upstream code not respecting our localedir
50+ # https://github.com/elementary/switchboard/pull/214
51+ (fetchpatch {
52+ url = "https://github.com/elementary/switchboard/commit/8d6b5f4cbbaf134880252afbf1e25d70033e6402.patch";
53+ sha256 = "0gwq3wwj45jrnlhsmxfclbjw6xjr8kf6pp3a84vbnrazw76lg5nc";
54+ })
55+ # Fix build with meson 0.61
56+ # https://github.com/elementary/switchboard/pull/226
57+ (fetchpatch {
58+ url = "https://github.com/elementary/switchboard/commit/ecf2a6c42122946cc84150f6927ef69c1f67c909.patch";
59+ sha256 = "sha256-J62tMeDfOpliBLHMSa3uBGTc0RBNzC6eDjDBDYySL+0=";
60+ })
4861 ];
4962
5063 postPatch = ''
pkgs/development/compilers/hare/hare.nix−2
@@ -68,8 +68,6 @@ stdenv.mkDerivation rec {
6868 "PREFIX=${placeholder "out"}"
6969 ];
7070
71− doCheck = true;
72−
7371 postInstall =
7472 let
7573 binPath = lib.makeBinPath [
pkgs/development/compilers/purescript/purescript/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, pkgs, fetchurl, zlib, gmp, lib }:
1+{ stdenv, pkgs, fetchurl, zlib, gmp, ncurses5, lib }:
22
33# from justinwoo/easy-purescript-nix
44# https://github.com/justinwoo/easy-purescript-nix/blob/d383972c82620a712ead4033db14110497bc2c9c/purs.nix
@@ -35,7 +35,9 @@ in stdenv.mkDerivation rec {
3535 };
3636
3737
38− buildInputs = [ zlib gmp ];
38+ buildInputs = [ zlib
39+ gmp
40+ ncurses5 ];
3941 libPath = lib.makeLibraryPath buildInputs;
4042 dontStrip = true;
4143
pkgs/development/haskell-modules/configuration-darwin.nix+7
@@ -251,6 +251,13 @@ 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+
254261 http-client-tls = overrideCabal (drv: {
255262 postPatch = ''
256263 # This comment has been inserted, so the derivation hash changes, forcing
pkgs/development/interpreters/pixie/default.nixnew file+94
@@ -0,0 +1,94 @@
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.nixnew file+46
@@ -0,0 +1,46 @@
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.patchnew file+25
@@ -0,0 +1,25 @@
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.patchnew file+119
@@ -0,0 +1,119 @@
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+2−10
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, python3 }:
1+{ lib, stdenv, fetchFromGitHub, cmake, python2 }:
22
33stdenv.mkDerivation rec {
44 version = "0.6.3";
@@ -11,15 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "0cz3vv7g5snfbsqcf3q8bmd6kv5qp84gj3avwkn4vl00krw13bl7";
1212 };
1313
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 ];
14+ nativeBuildInputs = [ cmake python2 ];
2315
2416 cmakeFlags = ["-DWITH_TESTS=ON"];
2517
pkgs/development/libraries/goocanvas/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python3, gtk3, cairo, glib, gnome }:
1+{ lib, stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python2, 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 python3 ];
14+ nativeBuildInputs = [ pkg-config gettext gtk-doc python2 ];
1515 buildInputs = [ gtk3 cairo glib gobject-introspection ];
1616
1717 configureFlags = [
pkgs/development/libraries/htmlcxx/c++17.patchdeleted−24
@@ -1,24 +0,0 @@
1−diff --color -Naur a/html/CharsetConverter.cc b/html/CharsetConverter.cc
2−--- a/html/CharsetConverter.cc 2018-12-29 03:13:56.000000000 +0000
3−+++ b/html/CharsetConverter.cc 2021-05-31 23:03:10.705334580 +0100
4−@@ -7,7 +7,7 @@
5− using namespace std;
6− using namespace htmlcxx;
7−
8−-CharsetConverter::CharsetConverter(const string &from, const string &to) throw (Exception)
9−+CharsetConverter::CharsetConverter(const string &from, const string &to)
10− {
11− mIconvDescriptor = iconv_open(to.c_str(), from.c_str());
12− if (mIconvDescriptor == (iconv_t)(-1))
13−diff --color -Naur a/html/CharsetConverter.h b/html/CharsetConverter.h
14−--- a/html/CharsetConverter.h 2018-12-29 03:13:56.000000000 +0000
15−+++ b/html/CharsetConverter.h 2021-05-31 23:03:19.042574598 +0100
16−@@ -17,7 +17,7 @@
17− : std::runtime_error(arg) {}
18− };
19−
20−- CharsetConverter(const std::string &from, const std::string &to) throw (Exception);
21−+ CharsetConverter(const std::string &from, const std::string &to);
22− ~CharsetConverter();
23−
24− std::string convert(const std::string &input);
pkgs/development/libraries/htmlcxx/default.nix+4−7
@@ -2,18 +2,15 @@
22
33stdenv.mkDerivation rec {
44 pname = "htmlcxx";
5− version = "0.87";
5+ version = "0.86";
66
77 src = fetchurl {
8− url = "mirror://sourceforge/htmlcxx/v${version}/${pname}-${version}.tar.gz";
9− sha256 = "sha256-XTj5OM9N+aKYpTRq8nGV//q/759GD8KgIjPLz6j8dcg=";
8+ url = "mirror://sourceforge/htmlcxx/htmlcxx/${version}/${pname}-${version}.tar.gz";
9+ sha256 = "1hgmyiad3qgbpf2dvv2jygzj6jpz4dl3n8ds4nql68a4l9g2nm07";
1010 };
1111
1212 buildInputs = [ libiconv ];
13− patches = [
14− ./ptrdiff.patch
15− ./c++17.patch
16− ];
13+ patches = [ ./ptrdiff.patch ];
1714
1815 meta = with lib; {
1916 homepage = "http://htmlcxx.sourceforge.net/";
pkgs/development/libraries/libdeltachat/default.nix+3−3
@@ -16,13 +16,13 @@
1616
1717stdenv.mkDerivation rec {
1818 pname = "libdeltachat";
19− version = "1.79.0";
19+ version = "1.78.0";
2020
2121 src = fetchFromGitHub {
2222 owner = "deltachat";
2323 repo = "deltachat-core-rust";
2424 rev = version;
25− hash = "sha256-jwAPbTwMSWDucAvip5KcA7fb4LCWo70SiIspacijMvQ=";
25+ hash = "sha256-SMobKC34RU7/LfRtgBxa8CHsLlWOQ29zaiw/V4+wWqU=";
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-Fn4M4CQV7VTE7SubvOszhpGBbmDyqemyUeZ0qDmcGUU=";
35+ hash = "sha256-G2lUk1M3B+a3BaNPFWQgsYehUu7dyfuRc+fXSlWjSq4=";
3636 };
3737
3838 nativeBuildInputs = [
pkgs/development/libraries/libinjection/default.nix+4−12
@@ -1,5 +1,5 @@
1−{ lib, stdenv, fetchFromGitHub, fetchpatch
2−, python3
1+{ lib, stdenv, fetchFromGitHub
2+, python2
33}:
44
55stdenv.mkDerivation rec {
@@ -13,19 +13,11 @@ stdenv.mkDerivation rec {
1313 sha256 = "0chsgam5dqr9vjfhdcp8cgk7la6nf3lq44zs6z6si98cq743550g";
1414 };
1515
16− nativeBuildInputs = [ python3 ];
16+ nativeBuildInputs = [ python2 ];
1717
1818 strictDeps = true;
1919
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 = ''
20+ patchPhase = ''
2921 patchShebangs src
3022 substituteInPlace src/Makefile \
3123 --replace /usr/local $out
pkgs/development/libraries/openssl/default.nix+2−2
@@ -193,8 +193,8 @@ in {
193193 };
194194
195195 openssl_3_0 = common {
196− version = "3.0.3";
197− sha256 = "sha256-7gB4rc7x3l8APGLIDMllJ3IWCcbzu0K3eV3zH4tVjAs=";
196+ version = "3.0.2";
197+ sha256 = "sha256-mOkczq1NR1auPJzeXgkZGo5YbZ9NUIOOfsCdZBHf22M=";
198198 patches = [
199199 ./3.0/nix-ssl-cert-file.patch
200200
pkgs/development/libraries/science/biology/htslib/default.nix+2−18
@@ -14,25 +14,9 @@ stdenv.mkDerivation rec {
1414
1515 buildInputs = [ zlib bzip2 xz curl ];
1616
17− configureFlags = if ! stdenv.hostPlatform.isStatic
18− then [ "--enable-libcurl" ] # optional but strongly recommended
19− else [ "--disable-libcurl" "--disable-plugins" ];
17+ configureFlags = [ "--enable-libcurl" ]; # optional but strongly recommended
2018
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− '';
19+ installFlags = [ "prefix=$(out)" ];
3620
3721 preCheck = ''
3822 patchShebangs test/
pkgs/development/libraries/science/math/caffe2/default.nixnew file+151
@@ -0,0 +1,151 @@
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.patchnew file+46
@@ -0,0 +1,46 @@
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.patchnew file+55
@@ -0,0 +1,55 @@
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+1−2
@@ -21,8 +21,7 @@ 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"
25− ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DUSE_GAS=OFF";
24+ ++ lib.optional stdenv.isLinux "-DSYSCONFDIR=${addOpenGLRunpath.driverLink}/share";
2625
2726 outputs = [ "out" "dev" ];
2827
pkgs/development/libraries/wolfssl/default.nix+2−2
@@ -7,13 +7,13 @@
77
88stdenv.mkDerivation rec {
99 pname = "wolfssl";
10− version = "5.3.0";
10+ version = "5.2.0";
1111
1212 src = fetchFromGitHub {
1313 owner = "wolfSSL";
1414 repo = "wolfssl";
1515 rev = "v${version}-stable";
16− sha256 = "sha256-KteArWAgDohlqEYaNfzLPuBn6uy5ABA8vV/LRCVIPGA=";
16+ sha256 = "1xdhbhn31q7waw7w158hz9n0vj76zlfn5njq7hncf73ks38drj6k";
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.3";
5+ version = "3.0.4";
66
77 src = fetchFromGitHub {
88 owner = "sekrit-twc";
99 repo = "zimg";
1010 rev = "release-${version}";
11− sha256 = "0pwgf1mybpa3fs13p6jryzm32vfldyql9biwaypqdcimlnlmyk20";
11+ sha256 = "1069x49l7kh1mqcq1h3f0m5j0h832jp5x230bh4c613ymgg5kn00";
1212 };
1313
1414 nativeBuildInputs = [ autoreconfHook ];
pkgs/development/php-packages/openswoole/default.nixdeleted−22
@@ -1,22 +0,0 @@
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.nixdeleted−41
@@ -1,41 +0,0 @@
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.4";
14+ version = "0.2.3";
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 = "refs/tags/${version}";
23− hash = "sha256-pNggrg97GIBBTm4rjtpx0NOZIWCGn9boB/Wss/QwF6U=";
22+ rev = version;
23+ hash = "sha256-6nmj15jCGBRkT7Ip/VGHX5IrAbhu1LUlvXuvFhvXknY=";
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.4.2";
10+ version = "0.3.4";
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-SPxSIcsDjsT7dZQs1CoU7DstQTxYN1c0qAB+XQjVXlo=";
19+ hash = "sha256-ENdgaG30Fll5HQOTcghkmqOAiMYEY1aHRIel4Bd25Pk=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/aiooncue/default.nix+2−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "aiooncue";
10− version = "0.3.4";
10+ version = "0.3.3";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.7";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
1616 owner = "bdraco";
1717 repo = pname;
1818 rev = version;
19− hash = "sha256-/Db32OomEkrBtq5lfT8zBGgvaUWnWE/sTqwNVNB9XAg=";
19+ hash = "sha256-rzgSvgVfpz2AVwqnat+TO+QhA3KcXV/a1HDNAP1fNPM=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/aioslimproto/default.nix+4−11
@@ -1,13 +1,12 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4−, pytestCheckHook
54, pythonOlder
65}:
76
87buildPythonPackage rec {
98 pname = "aioslimproto";
10− version = "2.0.1";
9+ version = "1.0.1";
1110 format = "setuptools";
1211
1312 disabled = pythonOlder "3.9";
@@ -16,17 +15,11 @@ buildPythonPackage rec {
1615 owner = "home-assistant-libs";
1716 repo = pname;
1817 rev = version;
19− hash = "sha256-xa0LZGq0di4lnJGVMbb1Un0Ebd4vXRlbkxbatJ9GwB0=";
18+ hash = "sha256-kR2PG2eivBfqu67hXr8/RRvo5EzI75e8NmG15NPGo1E=";
2019 };
2120
22− checkInputs = [
23− pytestCheckHook
24− ];
25−
26− disabledTests = [
27− # AssertionError: assert ['mixer', 'volume', '50'] == ['volume', '50']
28− "test_msg_instantiation"
29− ];
21+ # Module has no tests
22+ doCheck = false;
3023
3124 pythonImportsCheck = [
3225 "aioslimproto"
pkgs/development/python-modules/androidtv/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "androidtv";
14− version = "0.0.67";
14+ version = "0.0.66";
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-MAlKD2PDQJQaKPiMQDu1CMvn4xnxb8FmeYqzcW4hso0=";
23+ hash = "sha256-gSbckVjM49nVfzpk9sfynJDx15+zQ/KgaI7oxEkXQpo=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/ansible/default.nix+2−3
@@ -20,7 +20,7 @@
2020
2121let
2222 pname = "ansible";
23− version = "5.7.1";
23+ version = "5.7.0";
2424in
2525buildPythonPackage {
2626 inherit pname version;
@@ -30,7 +30,7 @@ buildPythonPackage {
3030
3131 src = fetchPypi {
3232 inherit pname version;
33− sha256 = "sha256-kKCaNFENGU1jVWiVoiWonkqLdIua4hW1XlF6N94GOmE=";
33+ sha256 = "sha256-6AwOdN4XdK2ufAIzskf/crj72LXxBwd9tdC38DcNa4Y=";
3434 };
3535
3636 postPatch = ''
@@ -78,7 +78,6 @@ 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";
8281 license = licenses.gpl3Plus;
8382 maintainers = with maintainers; [ hexa ];
8483 };
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.29.0";
17+ version = "0.28.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-IzT48ABfk/v8VZJRJEMU/Rsi6mJG4IvtF7HNRv6TLeA=";
26+ sha256 = "sha256-ZyYIZLIlLQV3Yj4a+M5vZVaTe9lEsrWhBe/g9wzM1TY=";
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 = "5.0.0";
14+ version = "4.1.0";
1515 disabled = pythonOlder "3.6";
1616
1717 src = fetchPypi {
1818 inherit pname version;
19− hash = "sha256-xtbMBUvcnIO0i4CD4jbl8A8jhChmbSzi4IPqpf1WhWU=";
19+ sha256 = "sha256-CQDYs366YagC7kCsAGH4wrXe4pwZJ90dIz4HXr9acdo=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/breezy/default.nix+5−20
@@ -3,36 +3,23 @@
33, fetchPypi
44, configobj
55, patiencediff
6−, fastbencode
6+, six
77, fastimport
88, dulwich
99, launchpadlib
1010, testtools
11−, pythonOlder
12−, installShellFiles
1311}:
1412
1513buildPythonPackage rec {
1614 pname = "breezy";
17− version = "3.2.2";
18−
19− disabled = pythonOlder "3.5";
15+ version = "3.2.1";
2016
2117 src = fetchPypi {
2218 inherit pname version;
23− sha256 = "sha256-GHpuRSCN0F2BdQc2cgyDcQz0gJT1R+xAgcVxJZVZpNU=";
19+ sha256 = "sha256-4LJo6xoooq8EUoDDfQIa4y1/8XX0ybmfM6rX2wsp2Fw=";
2420 };
2521
26− nativeBuildInputs = [ installShellFiles ];
27−
28− propagatedBuildInputs = [
29− configobj
30− fastbencode
31− patiencediff
32− fastimport
33− dulwich
34− launchpadlib
35− ];
22+ propagatedBuildInputs = [ configobj patiencediff six fastimport dulwich launchpadlib ];
3623
3724 checkInputs = [ testtools ];
3825
@@ -42,8 +29,6 @@ buildPythonPackage rec {
4229 # symlink for bazaar compatibility
4330 postInstall = ''
4431 ln -s "$out/bin/brz" "$out/bin/bzr"
45−
46− installShellCompletion --cmd brz --bash contrib/bash/brz
4732 '';
4833
4934 pythonImportsCheck = [ "breezy" ];
@@ -51,7 +36,7 @@ buildPythonPackage rec {
5136 meta = with lib; {
5237 description = "Friendly distributed version control system";
5338 homepage = "https://www.breezy-vcs.org/";
54− license = licenses.gpl2Only;
39+ license = licenses.gpl2;
5540 maintainers = [ maintainers.marsam ];
5641 };
5742}
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.5";
5+ version = "0.0.4";
66
77 src = fetchFromGitHub {
88 owner = "SkyTemple";
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-Z1fGtslXP8zcZmVeWjRrbcM2ZJsfbrWjpLWZ49uSCRY=";
11+ sha256 = "0hxygjk9i4qlwsxnxr52cxhqy3i62pc373z1x5sh2pas5ag59bvl";
1212 };
1313
1414 doCheck = false; # there are no tests
pkgs/development/python-modules/exceptiongroup/default.nix+2−2
@@ -8,14 +8,14 @@
88
99buildPythonPackage rec {
1010 pname = "exceptiongroup";
11− version = "1.0.0rc5";
11+ version = "1.0.0rc2";
1212 format = "flit";
1313
1414 disabled = pythonOlder "3.7";
1515
1616 src = fetchPypi {
1717 inherit pname version;
18− hash = "sha256-ZlQiVQuWU6zUbpzTXZM/KMUVjKTAWMU2Gc+hEpFc1p4=";
18+ hash = "sha256-TSVLBSMb7R1DB5vc/g8dZsCrR4Pmd3oyk1X5t43jrYM=";
1919 };
2020
2121 nativeBuildInputs = [
pkgs/development/python-modules/fastbencode/default.nixdeleted−26
@@ -1,26 +0,0 @@
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.nixdeleted−42
@@ -1,42 +0,0 @@
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+3−7
@@ -13,12 +13,11 @@
1313, sphinx
1414, pytestCheckHook
1515, glibcLocales
16−, setuptools-scm
1716}:
1817
1918buildPythonPackage rec {
2019 pname = "fonttools";
21− version = "4.33.3";
20+ version = "4.30.0";
2221
2322 disabled = pythonOlder "3.7";
2423
@@ -26,11 +25,9 @@ buildPythonPackage rec {
2625 owner = pname;
2726 repo = pname;
2827 rev = version;
29− sha256 = "MUIZGnYwlfTat9655AOYgK5r6AvHj/xXghUvOZR8HIM=";
28+ sha256 = "1y9f071bdl66rsx42j16j5v53h85xra5qlg860rz3m054s2rmin9";
3029 };
3130
32− nativeBuildInputs = [ setuptools-scm ];
33−
3431 # all dependencies are optional, but
3532 # we run the checks with them
3633
@@ -54,8 +51,6 @@ buildPythonPackage rec {
5451 unicodedata2
5552 ];
5653
57− pythonImportsCheck = [ "fontTools" ];
58−
5954 preCheck = ''
6055 # tests want to execute the "fonttools" executable from $PATH
6156 export PATH="$out/bin:$PATH"
@@ -77,6 +72,7 @@ buildPythonPackage rec {
7772 "Tests/ufoLib"
7873 ];
7974
75+
8076 meta = with lib; {
8177 homepage = "https://github.com/fonttools/fonttools";
8278 description = "A library to manipulate font files from Python";
pkgs/development/python-modules/gbulb/default.nixdeleted−43
@@ -1,43 +0,0 @@
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.nixdeleted−46
@@ -1,46 +0,0 @@
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.nixdeleted−59
@@ -1,59 +0,0 @@
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+2−16
@@ -10,21 +10,17 @@
1010, pyquery
1111, requests
1212, pytestCheckHook
13−, pythonOlder
1413}:
1514
1615buildPythonPackage rec {
1716 pname = "howdoi";
1817 version = "2.0.19";
19− format = "setuptools";
20−
21− disabled = pythonOlder "3.7";
2218
2319 src = fetchFromGitHub {
2420 owner = "gleitz";
2521 repo = pname;
2622 rev = "v${version}";
27− hash = "sha256-uLAc6E8+8uPpo070vsG6Od/855N3gTQMf5pSUvtlh0I=";
23+ sha256 = "0hl7cpxm4llsgw6390bpjgkzrprrpb0vxx2flgly7wiy9zl1rc5q";
2824 };
2925
3026 propagatedBuildInputs = [
@@ -50,16 +46,6 @@ buildPythonPackage rec {
5046 # AssertionError: "The...
5147 "test_get_text_with_one_link"
5248 "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"
6349 ];
6450
6551 pythonImportsCheck = [
@@ -68,7 +54,7 @@ buildPythonPackage rec {
6854
6955 meta = with lib; {
7056 description = "Instant coding answers via the command line";
71− homepage = "https://github.com/gleitz/howdoi";
57+ homepage = "https://pypi.python.org/pypi/howdoi";
7258 license = licenses.mit;
7359 maintainers = with maintainers; [ costrouc ];
7460 };
pkgs/development/python-modules/insteon-frontend-home-assistant/default.nixdeleted−26
@@ -1,26 +0,0 @@
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/lektor/default.nix+2−2
@@ -27,7 +27,7 @@
2727
2828buildPythonPackage rec {
2929 pname = "lektor";
30− version = "3.3.4";
30+ version = "3.3.3";
3131 format = "pyproject";
3232
3333 disabled = pythonOlder "3.7";
@@ -36,7 +36,7 @@ buildPythonPackage rec {
3636 owner = "lektor";
3737 repo = pname;
3838 rev = "refs/tags/v${version}";
39− hash = "sha256-9Zd+N6FkvRuW7rptWAr3JLIARXwJDcocxAp/ZCTQ3Hw=";
39+ hash = "sha256-3jPN4VQdIUVjSSGJxPek2RrnXzCwkDxoEBqk4vuL+nc=";
4040 };
4141
4242 propagatedBuildInputs = [
pkgs/development/python-modules/loopy/default.nix → pkgs/development/python-modules/loo-py/default.nixrenamed+24−28
@@ -1,55 +1,51 @@
11{ lib
22, buildPythonPackage
3−, codepy
4−, cgen
5−, colorama
6−, fetchFromGitHub
3+, fetchPypi
4+, pytools
5+, pymbolic
76, genpy
7+, cgen
88, islpy
9+, six
10+, colorama
911, mako
10−, numpy
11−, pymbolic
1212, pyopencl
13−, pyrsistent
14−, pythonOlder
15−, pytools
13+, pytest
1614}:
1715
1816buildPythonPackage rec {
19− pname = "loopy";
20− version = "2020.2.1";
21− format = "setuptools";
22−
23− disabled = pythonOlder "3.7";
17+ pname = "loo-py";
18+ version = "2020.2";
2419
25− src = fetchFromGitHub {
26− owner = "inducer";
27− repo = pname;
28− rev = "v${version}";
29− hash = "sha256-GL2GY3fbP9yMEQYyuh4CRHpeN9DGnZxbMt6jC+O/C0g=";
20+ src = fetchPypi {
21+ pname = "loo.py";
22+ inherit version;
23+ sha256 = "c0aba31f8b61f6487e84120a154fab862d19c3b374ad4285b987c4f2d746d51f";
3024 };
3125
26+ checkInputs = [ pytest ];
3227 propagatedBuildInputs = [
33− codepy
34− cgen
35− colorama
28+ pytools
29+ pymbolic
3630 genpy
31+ cgen
3732 islpy
33+ six
34+ colorama
3835 mako
39− numpy
40− pymbolic
4136 pyopencl
42− pyrsistent
43− pytools
4437 ];
4538
4639 # pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
4740 doCheck = false;
41+ checkPhase = ''
42+ HOME=$(mktemp -d) pytest test
43+ '';
4844
4945 meta = with lib; {
5046 description = "A code generator for array-based code on CPUs and GPUs";
51− homepage = "https://github.com/inducer/loopy";
47+ homepage = "https://mathema.tician.de/software/loopy";
5248 license = licenses.mit;
53− maintainers = with maintainers; [ costrouc ];
49+ maintainers = [ maintainers.costrouc ];
5450 };
5551}
pkgs/development/python-modules/luxtronik/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "luxtronik";
11− version = "0.3.13";
11+ version = "0.3.12";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.7";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
1717 owner = "Bouni";
1818 repo = "python-luxtronik";
1919 rev = version;
20− sha256 = "sha256-ULpi3oNJJe8H9z1C1nCNsR5eMmXQnXtbonrV9Ec2NyY=";
20+ sha256 = "sha256-qQwMahZ3EzXzI7FyTL71WzDpLqmIgVYxiJ0IGvlw8dY=";
2121 };
2222
2323 # Project has no tests
pkgs/development/python-modules/meater-python/default.nixdeleted−37
@@ -1,37 +0,0 @@
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/mypy-boto3-s3/default.nix+2−2
@@ -8,14 +8,14 @@
88
99buildPythonPackage rec {
1010 pname = "mypy-boto3-s3";
11− version = "1.22.6";
11+ version = "1.22.0.post1";
1212 format = "setuptools";
1313
1414 disabled = pythonOlder "3.6";
1515
1616 src = fetchPypi {
1717 inherit pname version;
18− hash = "sha256-b+Rf7mYifN5KXAECg7goCDlD/S1W7sTh06In1mp4NR4=";
18+ hash = "sha256-lOpsygYi1iCZ9DgqOjfJ4HL9PvRmLqMpEWqgeOyFCI4=";
1919 };
2020
2121 propagatedBuildInputs = [
pkgs/development/python-modules/nbclient/default.nix+10−33
@@ -1,50 +1,27 @@
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
1+{ lib, buildPythonPackage, fetchPypi, pythonOlder,
2+ async_generator, traitlets, nbformat, nest-asyncio, jupyter-client,
3+ pytest, xmltodict, nbconvert, ipywidgets
4+, doCheck ? true
145}:
156
16−let nbclient = buildPythonPackage rec {
7+buildPythonPackage rec {
178 pname = "nbclient";
18− version = "0.6.2";
19− format = "setuptools";
20−
9+ version = "0.5.13";
2110 disabled = pythonOlder "3.7";
2211
2312 src = fetchPypi {
2413 inherit pname version;
25− hash = "sha256-i0dVPxztB3zXxFN/1dcB1G92gfJLKCdeXMHTR+fJtGs=";
14+ sha256 = "sha256-QMUsm148MfrsruafICs/U+ONfBxWPeD63enX7aD9r+g=";
2615 };
2716
17+ inherit doCheck;
18+ checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
2819 propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ];
2920
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−
4321 meta = with lib; {
4422 homepage = "https://github.com/jupyter/nbclient";
4523 description = "A client library for executing notebooks";
4624 license = licenses.bsd3;
4725 maintainers = [ maintainers.erictapen ];
4826 };
49−};
50−in nbclient
27+}
pkgs/development/python-modules/nbconvert/default.nix+7−8
@@ -5,11 +5,13 @@
55, glibcLocales
66, entrypoints
77, bleach
8+, beautifulsoup4
89, mistune
910, nbclient
1011, jinja2
1112, pygments
1213, traitlets
14+, testpath
1315, jupyter_core
1416, jupyterlab-pygments
1517, nbformat
@@ -18,18 +20,15 @@
1820, tornado
1921, jupyter-client
2022, defusedxml
21−, tinycss2
22−, beautifulsoup4
2323}:
2424
2525buildPythonPackage rec {
2626 pname = "nbconvert";
27− version = "6.5.0";
28− format = "setuptools";
27+ version = "6.4.5";
2928
3029 src = fetchPypi {
3130 inherit pname version;
32− hash = "sha256-Ij5G4nq+hZa4rtVDAfrbukM7f/6oGWpo/Xsf9Qnu6Z0=";
31+ sha256 = "sha256-IRY6jiBzwHEJyo85iDbkXv26KqzqaNb3WopUX+8HDU4=";
3332 };
3433
3534 # Add $out/share/jupyter to the list of paths that are used to search for
@@ -45,10 +44,10 @@ buildPythonPackage rec {
4544 checkInputs = [ pytestCheckHook glibcLocales ];
4645
4746 propagatedBuildInputs = [
48− entrypoints bleach mistune jinja2 pygments traitlets
47+ entrypoints bleach mistune jinja2 pygments traitlets testpath
4948 jupyter_core nbformat ipykernel pandocfilters tornado jupyter-client
50− defusedxml tinycss2 beautifulsoup4
51− nbclient
49+ defusedxml beautifulsoup4
50+ (nbclient.override { doCheck = false; }) # avoid infinite recursion
5251 jupyterlab-pygments
5352 ];
5453
pkgs/development/python-modules/nvchecker/default.nix+2−2
@@ -20,7 +20,7 @@
2020
2121buildPythonPackage rec {
2222 pname = "nvchecker";
23− version = "2.8";
23+ version = "2.7";
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-ikpjR1fEZBsSOE20jxTyarb9Pqn3Fz+TYOzXp0g4G9c=";
32+ hash = "sha256-OPUqkHLG8PUlD5NP7q/BpKUvmAA8Jk1NvsPPVbImv0A=";
3333 };
3434
3535 nativeBuildInputs = [
pkgs/development/python-modules/openstep-plist/default.nixdeleted−31
@@ -1,31 +0,0 @@
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.22";
9+ version = "0.0.21";
1010 format = "setuptools";
1111
1212 disabled = pythonOlder "3.7";
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− hash = "sha256-ye8evqkOy08wHYohVOpXB2pfPN/vsK9GnPnL/nbVZU0=";
16+ hash = "sha256-NTwLo/RtwSf3a43dAv8EK1NWuCsVjL+8+KozjvaPUm4=";
1717 };
1818
1919 postPatch = ''
pkgs/development/python-modules/py-desmume/default.nix+14−3
@@ -3,18 +3,29 @@
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
614buildPythonPackage rec {
715 pname = "py-desmume";
8− version = "0.0.4.post2";
16+ version = "0.0.3.post2";
917
1018 src = fetchFromGitHub {
1119 owner = "SkyTemple";
1220 repo = pname;
1321 rev = version;
14− sha256 = "sha256-a819+K/Ovnz53ViDKpUGGjeblWvrAO5ozt/tizdLKCY=";
15− fetchSubmodules = true;
22+ sha256 = "1chsg70k8kqnlasn88b04ww3yl0lay1bjxvz6lhp6s2cvsxv03x1";
1623 };
1724
25+ postPatch = ''
26+ cp -R --no-preserve=mode ${desmume} __build_desmume
27+ '';
28+
1829 buildInputs = [ GitPython libpcap SDL2 alsa-lib soundtouch openal ];
1930 nativeBuildInputs = [ meson ninja pkg-config ];
2031 propagatedBuildInputs = [ pillow pygobject3 ];
pkgs/development/python-modules/pychromecast/default.nix+2−2
@@ -10,7 +10,7 @@
1010
1111buildPythonPackage rec {
1212 pname = "pychromecast";
13− version = "12.0.0";
13+ version = "11.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-asvEJix8/3glVhenll/rlTwSZdX0LRPMX4uCSURohJ4=";
21+ sha256 = "sha256-FRcjsXgRAFK2c7h2WhIMhdFurowi11V13O6+K+HrHvY=";
2222 };
2323
2424 propagatedBuildInputs = [
pkgs/development/python-modules/pydeconz/default.nix+4−6
@@ -1,7 +1,6 @@
11{ lib
22, aiohttp
33, aioresponses
4−, async-timeout
54, buildPythonPackage
65, fetchFromGitHub
76, pytest-aiohttp
@@ -11,21 +10,20 @@
1110
1211buildPythonPackage rec {
1312 pname = "pydeconz";
14− version = "91";
13+ version = "87";
1514 format = "setuptools";
1615
17− disabled = pythonOlder "3.9";
16+ disabled = pythonOlder "3.7";
1817
1918 src = fetchFromGitHub {
2019 owner = "Kane610";
2120 repo = "deconz";
22− rev = "refs/tags/v${version}";
23− hash = "sha256-JoQapWQZPjP9TD6gnIGE23hzBt22kAWDKreTzq3GBWQ=";
21+ rev = "v${version}";
22+ sha256 = "sha256-scNTHbUL8TOhkUJyib4cgL8A4gZ73asmFLi8aGw3sX8=";
2423 };
2524
2625 propagatedBuildInputs = [
2726 aiohttp
28− async-timeout
2927 ];
3028
3129 checkInputs = [
pkgs/development/python-modules/pyeapi/default.nix+8−36
@@ -1,11 +1,10 @@
11{ lib
22, buildPythonPackage
3+, pythonAtLeast
34, fetchFromGitHub
4−, fetchpatch
5−, mock
65, netaddr
76, pytestCheckHook
8−, pythonOlder
7+, mock
98}:
109
1110buildPythonPackage rec {
@@ -13,7 +12,8 @@ buildPythonPackage rec {
1312 version = "0.8.4";
1413 format = "pyproject";
1514
16− disabled = pythonOlder "3.7";
15+ # https://github.com/arista-eosplus/pyeapi/issues/189
16+ disabled = pythonAtLeast "3.10";
1717
1818 src = fetchFromGitHub {
1919 owner = "arista-eosplus";
@@ -22,49 +22,21 @@ buildPythonPackage rec {
2222 sha256 = "13chya6wix5jb82k67gr44bjx35gcdwz80nsvpv0gvzs6shn4d7b";
2323 };
2424
25− propagatedBuildInputs = [
26− netaddr
27− ];
25+ propagatedBuildInputs = [ netaddr ];
2826
2927 checkInputs = [
3028 mock
3129 pytestCheckHook
3230 ];
3331
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− ];
32+ pytestFlagsArray = [ "test/unit" ];
5533
56− pytestFlagsArray = [
57− "test/unit"
58− ];
59−
60− pythonImportsCheck = [
61− "pyeapi"
62− ];
34+ pythonImportsCheck = [ "pyeapi" ];
6335
6436 meta = with lib; {
6537 description = "Client for Arista eAPI";
6638 homepage = "https://github.com/arista-eosplus/pyeapi";
6739 license = licenses.bsd3;
68− maintainers = with maintainers; [ astro ];
40+ maintainers = [ maintainers.astro ];
6941 };
7042}
pkgs/development/python-modules/pyevilgenius/default.nix+2−2
@@ -8,7 +8,7 @@
88
99buildPythonPackage rec {
1010 pname = "pyevilgenius";
11− version = "2.0.0";
11+ version = "1.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 = "sha256-wjC32oq/lW3Z4XB+4SILRKIOuCgBKk1gruOo4uc/4/o=";
20+ sha256 = "06xnl93sqklg7gx0z50vm79xwww0yyw05c1yynajc9aijfi8cmi3";
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.2";
20+ version = "2.0.1";
2121 format = "setuptools";
2222
2323 disabled = pythonOlder "3.7";
2424
2525 src = fetchPypi {
2626 inherit pname version;
27− sha256 = "sha256-AW2pOyLqyugTSM7PE4oR9ZwD1liNpdD636QA3ElafG0=";
27+ sha256 = "sha256-157NtpA85FS27Ln1Xsvq5/qumSsr0WSDOhG0UwMUnRE=";
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.1.0";
19+ version = "1.0.16";
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 = "refs/tags/${version}";
28− hash = "sha256-YoDCvYpbw06MXx371SNarrtQ0t4xlhwm1CBbl524P7c=";
27+ rev = version;
28+ hash = "sha256-V0niLQAplN/uZ0YeN6g8uax3U/d0LUT4aXxe3ENXIHc=";
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.4";
14+ version = "0.5.3";
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-voD4tR+k5TKGjLXFK94GJy4+wUoP2cSFc5BWkCiinOg=";
23+ sha256 = "sha256-l3obfs5zo5DqArsDml8EZ+/uzab35Jjsuzw6U1XFJ3k=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pymyq/default.nix+3−3
@@ -9,14 +9,14 @@
99
1010buildPythonPackage rec {
1111 pname = "pymyq";
12− version = "3.1.5";
12+ version = "3.1.4";
1313 disabled = pythonOlder "3.8";
1414
1515 src = fetchFromGitHub {
1616 owner = "arraylabs";
1717 repo = pname;
18− rev = "refs/tags/v${version}";
19− sha256 = "sha256-/2eWB4rtHPptfc8Tm0CGk0UB+Hq1EmNhWmdrpPiUJcw=";
18+ rev = "v${version}";
19+ sha256 = "sha256-B8CnyM0nQr8HWnD5toMd8A57j/UtnQ2aWys0netOAtA=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/pynetgear/default.nix+2−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "pynetgear";
10− version = "0.10.0";
10+ version = "0.9.4";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.7";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
1616 owner = "MatMaul";
1717 repo = pname;
1818 rev = "refs/tags/${version}";
19− sha256 = "sha256-l+hfE1YdSoMWLonSWKX0809M0OCYxpcvPd4gV9mS4DI=";
19+ sha256 = "sha256-/oxwUukYq/a0WeO/XhkMW3Jj7I1icZZUDwh1mdbGi08=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/pynws/default.nix+2−2
@@ -13,14 +13,14 @@
1313
1414buildPythonPackage rec {
1515 pname = "pynws";
16− version = "1.4.1";
16+ version = "1.3.2";
1717 disabled = pythonOlder "3.6";
1818
1919 src = fetchFromGitHub {
2020 owner = "MatthewFlamm";
2121 repo = pname;
2222 rev = "v${version}";
23− sha256 = "sha256-hAUD92wlQZ0BZ++e/KdIOgTzavmUkrH3esDhI3mbl5Y=";
23+ sha256 = "0d2x3vlm444aar4wbdg48xzpgwng5m7i2d7h1z0pb6c514747sd1";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pyrogram/default.nix+2−2
@@ -12,7 +12,7 @@
1212
1313buildPythonPackage rec {
1414 pname = "pyrogram";
15− version = "2.0.16";
15+ version = "2.0.14";
1616
1717 disabled = pythonOlder "3.7";
1818
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "pyrogram";
2121 repo = "pyrogram";
2222 rev = "v${version}";
23− hash = "sha256-uRGLk8XTHimKtkVjPPe2ohTPv3UiaxmkRywQY4iPHyg=";
23+ hash = "sha256-uPScRNbN0XjdfokTNgzCdiVNRucDzNPR/60/IHEDUrg=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/python-sql/default.nix+8−24
@@ -1,34 +1,18 @@
1−{ lib
2−, fetchPypi
3−, buildPythonPackage
4−, pytestCheckHook
5−, pythonOlder
6−}:
1+{ lib, fetchPypi, buildPythonPackage }:
72
83buildPythonPackage rec {
94 pname = "python-sql";
10− version = "1.4.0";
11− format = "setuptools";
12−
13− disabled = pythonOlder "3.7";
5+ version = "1.3.0";
146
157 src = fetchPypi {
168 inherit pname version;
17− hash = "sha256-b+dkCC9IiR2Ffqfm+kJfpU8TUx3fa4nyTAmOZGrRtLY=";
9+ sha256 = "9d603a6273f2f5966bab7ce77e1f50e88818d5237ac85e566e2dc84ebfabd176";
1810 };
1911
20− checkInputs = [
21− pytestCheckHook
22− ];
23−
24− pythonImportsCheck = [
25− "sql"
26− ];
27−
28− meta = with lib; {
29− description = "Library to write SQL queries in a pythonic way";
30− homepage = "https://pypi.org/project/python-sql/";
31− license = licenses.bsd3;
32− maintainers = with maintainers; [ johbo ];
12+ meta = {
13+ homepage = "https://python-sql.tryton.org/";
14+ description = "A library to write SQL queries in a pythonic way";
15+ maintainers = with lib.maintainers; [ johbo ];
16+ license = lib.licenses.bsd3;
3317 };
3418}
pkgs/development/python-modules/pytomorrowio/default.nix+2−4
@@ -3,20 +3,19 @@
33, pythonOlder
44, fetchPypi
55, aiohttp
6−, pytest-aiohttp
76, pytest-asyncio
87, pytestCheckHook
98}:
109
1110buildPythonPackage rec {
1211 pname = "pytomorrowio";
13− version = "0.3.3";
12+ version = "0.2.1";
1413
1514 disabled = pythonOlder "3.7";
1615
1716 src = fetchPypi {
1817 inherit pname version;
19− sha256 = "0d4f81dc90aefa26da18b927473cb7b08b093f7732301983ef5f0b1ca1181c62";
18+ sha256 = "aabb41436fb5834b687d73b334d95be07a18d5943d27a1fd06271b749558ba0e";
2019 };
2120
2221 propagatedBuildInputs = [
@@ -24,7 +23,6 @@ buildPythonPackage rec {
2423 ];
2524
2625 checkInputs = [
27− pytest-aiohttp
2826 pytest-asyncio
2927 pytestCheckHook
3028 ];
pkgs/development/python-modules/sentry-sdk/default.nix+2−2
@@ -41,7 +41,7 @@
4141
4242buildPythonPackage rec {
4343 pname = "sentry-sdk";
44− version = "1.5.11";
44+ version = "1.5.10";
4545 format = "setuptools";
4646
4747 disabled = pythonOlder "3.7";
@@ -50,7 +50,7 @@ buildPythonPackage rec {
5050 owner = "getsentry";
5151 repo = "sentry-python";
5252 rev = version;
53− hash = "sha256-2WN18hzOn/gomNvQNbm9R8CcxN6G1XxoodBHqsG6es0=";
53+ hash = "sha256-f5V2fMvPpyz+pU08Owzxq9xI48ZeZpH5SmUXtshqMm0=";
5454 };
5555
5656 propagatedBuildInputs = [
pkgs/development/python-modules/signedjson/default.nix+18−31
@@ -1,53 +1,40 @@
11{ lib
22, buildPythonPackage
3−, canonicaljson
43, fetchPypi
5−, importlib-metadata
4+, fetchpatch
5+, canonicaljson
6+, unpaddedbase64
67, pynacl
7−, pytestCheckHook
8−, pythonOlder
9−, setuptools-scm
108, typing-extensions
11−, unpaddedbase64
9+, setuptools-scm
10+, importlib-metadata
11+, pythonOlder
1212}:
1313
1414buildPythonPackage rec {
1515 pname = "signedjson";
16− version = "1.1.4";
17− format = "setuptools";
18−
19− disabled = pythonOlder "3.7";
16+ version = "1.1.1";
2017
2118 src = fetchPypi {
2219 inherit pname version;
23− hash = "sha256-zZHFavU/Fp7wMsYunEoyktwViGaTMxjQWS40Yts9ZJI=";
20+ sha256 = "0280f8zyycsmd7iy65bs438flm7m8ffs1kcxfbvhi8hbazkqc19m";
2421 };
2522
26− nativeBuildInputs = [
27− setuptools-scm
28− ];
29−
30− propagatedBuildInputs = [
31− canonicaljson
32− unpaddedbase64
33− pynacl
34− ] ++ lib.optionals (pythonOlder "3.8") [
35− importlib-metadata
36− typing-extensions
37− ];
38−
39− checkInputs = [
40− pytestCheckHook
23+ patches = [
24+ # Do not require importlib_metadata on python 3.8
25+ (fetchpatch {
26+ url = "https://github.com/matrix-org/python-signedjson/commit/c40c83f844fee3c1c7b0c5d1508f87052334b4e5.patch";
27+ sha256 = "109f135zn9azg5h1ljw3v94kpvnzmlqz1aiknpl5hsqfa3imjca1";
28+ })
4129 ];
4230
43− pythonImportsCheck = [
44− "signedjson"
45− ];
31+ nativeBuildInputs = [ setuptools-scm ];
32+ propagatedBuildInputs = [ canonicaljson unpaddedbase64 pynacl typing-extensions ]
33+ ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
4634
4735 meta = with lib; {
36+ homepage = "https://pypi.org/project/signedjson/";
4837 description = "Sign JSON with Ed25519 signatures";
49− homepage = "https://github.com/matrix-org/python-signedjson";
5038 license = licenses.asl20;
51− maintainers = with maintainers; [ ];
5239 };
5340}
pkgs/development/python-modules/simplisafe-python/default.nix+2−6
@@ -3,7 +3,6 @@
33, aresponses
44, asynctest
55, backoff
6−, beautifulsoup4
76, buildPythonPackage
87, docutils
98, fetchFromGitHub
@@ -20,7 +19,7 @@
2019
2120buildPythonPackage rec {
2221 pname = "simplisafe-python";
23− version = "2022.05.0";
22+ version = "2022.03.3";
2423 format = "pyproject";
2524
2625 disabled = pythonOlder "3.8";
@@ -29,7 +28,7 @@ buildPythonPackage rec {
2928 owner = "bachya";
3029 repo = pname;
3130 rev = version;
32− sha256 = "sha256-NXEhjj8L7MPAdQwjqe6u+L9vi/mIIA8TxDpM5q4uUrU=";
31+ sha256 = "sha256-19+p39uZO9pSDzH6YkS9ZDVA4zyl9oJ325yTQ5+SQcw=";
3332 };
3433
3534 nativeBuildInputs = [
@@ -39,7 +38,6 @@ buildPythonPackage rec {
3938 propagatedBuildInputs = [
4039 aiohttp
4140 backoff
42− beautifulsoup4
4341 docutils
4442 pytz
4543 voluptuous
@@ -64,8 +62,6 @@ buildPythonPackage rec {
6462 # simplipy/api.py:253: InvalidCredentialsError
6563 "test_request_error_failed_retry"
6664 "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"
6965 ];
7066
7167 disabledTestPaths = [
pkgs/development/python-modules/skia-pathops/default.nixdeleted−43
@@ -1,43 +0,0 @@
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.9";
7+ version = "1.3.3";
88
99 src = fetchFromGitHub {
1010 owner = "SkyTemple";
1111 repo = pname;
1212 rev = version;
13− sha256 = "sha256-Z/jbr9o0WKPjkAsfZzxuwAKKdwYV3rLGkUMlMgyC5s0=";
13+ sha256 = "01j6khn60mdmz32xkpqrzwdqibmpdpi2wvwzxgdnaim9sq0fdqws";
1414 fetchSubmodules = true;
1515 };
1616
pkgs/development/python-modules/skytemple-rust/default.nix+6−15
@@ -1,34 +1,25 @@
1−{ lib
2−, stdenv
3−, buildPythonPackage
4−, fetchFromGitHub
5−, libiconv
6−, Foundation
7−, rustPlatform
8−, setuptools-rust }:
1+{ lib, stdenv, buildPythonPackage, fetchFromGitHub, libiconv, rustPlatform, setuptools-rust }:
92
103buildPythonPackage rec {
114 pname = "skytemple-rust";
12− version = "1.3.7";
5+ version = "unstable-2021-08-11";
136
147 src = fetchFromGitHub {
158 owner = "SkyTemple";
169 repo = pname;
17− rev = version;
18− sha256 = "sha256-rC7KA79va8gZpMKJQ7s3xYdbopNqmWdRYDCbaWaxsR0=";
10+ rev = "e306e5edc096cb3fef25585d9ca5a2817543f1cd";
11+ sha256 = "0ja231gsy9i1z6jsaywawz93rnyjhldngi5i787nhnf88zrwx9ml";
1912 };
2013
2114 cargoDeps = rustPlatform.fetchCargoTarball {
2215 inherit src;
2316 name = "${pname}-${version}";
24− sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E=";
17+ sha256 = "0gjvfblyv72m0nqv90m7qvbdnazsh5ind1pxwqz83vm4zjh9a873";
2518 };
2619
27− buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
20+ buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
2821 nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
2922
30− GETTEXT_SYSTEM = true;
31−
3223 doCheck = false; # there are no tests
3324 pythonImportsCheck = [ "skytemple_rust" ];
3425
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.8.post2";
8+ version = "1.3.0";
99
1010 src = fetchFromGitHub {
1111 owner = "SkyTemple";
1212 repo = pname;
1313 rev = version;
14− sha256 = "sha256-dd0qsSNBwxuSopjz2PLqEFddZpvMgeJIjBXY5P6OAow=";
14+ sha256 = "12v0071125m8xjcp2hxm9qvs0qw4hdhkx8r3gbl0plm22vl3fk0d";
1515 };
1616
1717 buildInputs = [ gobject-introspection gtk3 gtksourceview3 ];
pkgs/development/python-modules/slack-sdk/default.nix+3−3
@@ -20,7 +20,7 @@
2020
2121buildPythonPackage rec {
2222 pname = "slack-sdk";
23− version = "3.16.0";
23+ version = "3.15.2";
2424 format = "setuptools";
2525
2626 disabled = pythonOlder "3.6";
@@ -28,8 +28,8 @@ buildPythonPackage rec {
2828 src = fetchFromGitHub {
2929 owner = "slackapi";
3030 repo = "python-slack-sdk";
31− rev = "refs/tags/v${version}";
32− sha256 = "sha256-odu8/xT2TuOLT2jRztPDUHcGMfmHvWrsnDRkp4yGaY0=";
31+ rev = "v${version}";
32+ sha256 = "sha256-lhdh4Eo7yIsukXoKI6Ss793fYmAu91O1UElmxV9xAc4=";
3333 };
3434
3535 propagatedBuildInputs = [
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.7";
27+ version = "2.7.6";
2828 disabled = pythonOlder "3.6";
2929
3030 src = fetchPypi {
3131 inherit pname version;
32− sha256 = "sha256-OZL/ClHY8yatR0AJVyomBq7AjBwQwm5f9UnmdlL8IFw=";
32+ sha256 = "sha256-MxYo4MoCdkSSuDteR3A72FcRWuKTRrct4y1/t8nsVIs=";
3333 };
3434
3535 postPatch = ''
pkgs/development/python-modules/sqlalchemy-mixins/default.nix+3−3
@@ -10,7 +10,7 @@
1010
1111buildPythonPackage rec {
1212 pname = "sqlalchemy-mixins";
13− version = "1.5.3";
13+ version = "1.5.1";
1414 format = "setuptools";
1515
1616 disabled = pythonOlder "3.8";
@@ -18,8 +18,8 @@ buildPythonPackage rec {
1818 src = fetchFromGitHub {
1919 owner = "absent1706";
2020 repo = pname;
21− rev = "refs/tags/v${version}";
22− sha256 = "sha256-GmMxya6aJ7MMqQ3KSqO3f/cbwgWvQYhEVXtGi6fhP1M=";
21+ rev = "v${version}";
22+ sha256 = "sha256-HZiv7F0/UatgY3KlILgzywrK5NJE/tDe6B8/smeYwlM=";
2323 };
2424
2525 propagatedBuildInputs = [
pkgs/development/python-modules/sqlmap/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "sqlmap";
10− version = "1.6.5";
10+ version = "1.6.4";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "sha256-EdiLTzjRigJLsslWSymLNajvUDimBt4d4EBugxVYueg=";
14+ sha256 = "sha256-6RKJ5a8Yl+SnWgdfrTIwY0m1JyY6W9fhZk6pTZiBVx8=";
1515 };
1616
1717 postPatch = ''
pkgs/development/python-modules/stripe/default.nix+2−2
@@ -7,14 +7,14 @@
77
88buildPythonPackage rec {
99 pname = "stripe";
10− version = "2.75.0";
10+ version = "2.74.0";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.7";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− hash = "sha256-iAjXsbeX+vZW8FtaJRIB5lR3EEkDUU/dPpLpdHSxLME=";
17+ hash = "sha256-+o7StcJBv9peiYTWBnIfnDUqodiG3sVQJBbKBOALktA=";
1818 };
1919
2020 propagatedBuildInputs = [
pkgs/development/python-modules/textual/default.nix+13−16
@@ -1,34 +1,38 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4+, fetchpatch
45, poetry-core
56, rich
67, typing-extensions
78, pytestCheckHook
8−, pythonOlder
99}:
1010
1111buildPythonPackage rec {
1212 pname = "textual";
13− version = "0.1.18";
13+ version = "0.1.15";
1414 format = "pyproject";
1515
16− disabled = pythonOlder "3.7";
17−
1816 src = fetchFromGitHub {
1917 owner = "Textualize";
2018 repo = pname;
2119 rev = "v${version}";
22− sha256 = "sha256-XVmbt8r5HL8r64ISdJozmM+9HuyvqbpdejWICzFnfiw=";
20+ sha256 = "1jmjais0yq8dwi9yikgrxdw4rwp8aq1981nhfxn0v97jb07i4cj6";
2321 };
2422
25− nativeBuildInputs = [
26− poetry-core
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+ })
2730 ];
2831
32+ nativeBuildInputs = [ poetry-core ];
33+
2934 propagatedBuildInputs = [
3035 rich
31− ] ++ lib.optionals (pythonOlder "3.9") [
3236 typing-extensions
3337 ];
3438
@@ -36,14 +40,7 @@ buildPythonPackage rec {
3640 pytestCheckHook
3741 ];
3842
39− postPatch = ''
40− substituteInPlace pyproject.toml \
41− --replace 'rich = "^12.3.0"' 'rich = "*"'
42− '';
43−
44− pythonImportsCheck = [
45− "textual"
46− ];
43+ pythonImportsCheck = [ "textual" ];
4744
4845 meta = with lib; {
4946 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.3";
11+ version = "2022.2.1";
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-KfJFU85yQmBZn4f0ljnaiy/DjHMOuNi+Q7nb8yCpKVk=";
20+ hash = "sha256-1/uqOxaJqrT+E+0ikNZX9AfIRRbpBSjh2nINrqGWxbY=";
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.27.0";
15+ version = "2.26.0";
1616
1717 format = "setuptools";
1818
1919 src = fetchPypi {
2020 inherit pname version;
21− sha256 = "r5bE4M/blt5TKzP43MpijwYY6ll3aasszmGksY5WTTE=";
21+ sha256 = "sha256-1WQAs1ypWtLObgBzPtqtvHjkKnDWohu3PbI3bF7B0Sg=";
2222 };
2323
2424 patches = [
pkgs/development/python-modules/ufoLib2/default.nix−3
@@ -5,7 +5,6 @@
55, fonttools
66, pytestCheckHook
77, fs
8−, setuptools-scm
98}:
109
1110buildPythonPackage rec {
@@ -26,8 +25,6 @@ buildPythonPackage rec {
2625 fs
2726 ];
2827
29− nativeBuildInputs = [ setuptools-scm ];
30−
3128 checkInputs = [
3229 pytestCheckHook
3330 ];
pkgs/development/python-modules/voluptuous/default.nix+11−15
@@ -1,31 +1,27 @@
11{ lib
22, buildPythonPackage
3−, fetchFromGitHub
4−, pytestCheckHook
3+, fetchPypi
4+, nose
55}:
66
77buildPythonPackage rec {
88 pname = "voluptuous";
9− version = "0.13.1";
9+ version = "0.13.0";
1010
11− src = fetchFromGitHub {
12− owner = "alecthomas";
13− repo = pname;
14− rev = version;
15− hash = "sha256-cz3Bd+/yPh+VOHxzi/W+gbDh/H5Nl/n4jvxDOirmAVk=";
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "sha256-yuakUmtDS2QoFrNKAOEYbVpfXgyUirlNKpGOAeWHQGY=";
1614 };
1715
1816 checkInputs = [
19− pytestCheckHook
17+ nose
2018 ];
2119
22− pythonImportsCheck = [
23− "voluptuous"
24− ];
20+ checkPhase = ''
21+ nosetests
22+ '';
2523
26− pytestFlagsArray = [
27− "voluptuous/tests/"
28− ];
24+ pythonImportsCheck = [ "voluptuous" ];
2925
3026 meta = with lib; {
3127 description = "Python data validation library";
pkgs/development/python-modules/wandb/default.nix+12−20
@@ -12,7 +12,6 @@
1212, jsonref
1313, jsonschema
1414, matplotlib
15−, nbconvert
1615, nbformat
1716, pandas
1817, pathtools
@@ -37,7 +36,7 @@
3736
3837buildPythonPackage rec {
3938 pname = "wandb";
40− version = "0.12.16";
39+ version = "0.12.15";
4140 format = "setuptools";
4241
4342 disabled = pythonOlder "3.6";
@@ -46,7 +45,7 @@ buildPythonPackage rec {
4645 owner = pname;
4746 repo = "client";
4847 rev = "v${version}";
49− hash = "sha256-ZY7nTj93piTEeHhW+H+nQ+ws2dDmmY6u3p7uz296PbA=";
48+ hash = "sha256-Fq+JwUEZP1QDFKYVyiR8DUU0GQV6fK50FW78qaWh+Mo=";
5049 };
5150
5251 # setuptools is necessary since pkg_resources is required at runtime.
@@ -67,20 +66,6 @@ buildPythonPackage rec {
6766 shortuuid
6867 ];
6968
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−
8469 checkInputs = [
8570 azure-core
8671 bokeh
@@ -88,9 +73,6 @@ buildPythonPackage rec {
8873 jsonref
8974 jsonschema
9075 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
9476 nbformat
9577 pandas
9678 pydantic
@@ -101,6 +83,16 @@ buildPythonPackage rec {
10183 tqdm
10284 ];
10385
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+
10496 disabledTestPaths = [
10597 # Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
10698 "tests/test_cli.py"
pkgs/development/python-modules/webssh/default.nix+2−2
@@ -8,12 +8,12 @@
88
99buildPythonPackage rec {
1010 pname = "webssh";
11− version = "1.6.0";
11+ version = "1.5.3";
1212 format = "setuptools";
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− hash = "sha256-yqjwahh2METXD83geTGt5sUL+vmxbrYxj4KtwTxbD94=";
16+ hash = "sha256-Au6PE8jYm8LkEp0B1ymW//ZkrkcV0BauwufQmrHLEU4=";
1717 };
1818
1919 propagatedBuildInputs = [
pkgs/development/python-modules/xknx/default.nix+2−2
@@ -12,7 +12,7 @@
1212
1313buildPythonPackage rec {
1414 pname = "xknx";
15− version = "0.21.2";
15+ version = "0.21.1";
1616 format = "setuptools";
1717
1818 disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
2121 owner = "XKNX";
2222 repo = pname;
2323 rev = "refs/tags/${version}";
24− sha256 = "sha256-GEjrqqmlGA6wG5x89AZXd8FLvrKEzCLmVhhZ7FxDB+w=";
24+ sha256 = "sha256-QNy/jUh/kIj6sabWnmC5L00ikBTrVmOEp6mFBya29WM=";
2525 };
2626
2727 propagatedBuildInputs = [
pkgs/development/python-modules/zeroconf/default.nix−2
@@ -39,8 +39,6 @@ buildPythonPackage rec {
3939 "test_launch_and_close_v4_v6"
4040 "test_launch_and_close_v6_only"
4141 "test_integration_with_listener_ipv6"
42− # Starting with 0.38.5: AssertionError: assert [('add', '_ht..._tcp.local.')]
43− "test_service_browser_expire_callbacks"
4442 ] ++ lib.optionals stdenv.isDarwin [
4543 "test_lots_of_names"
4644 ];
pkgs/development/python-modules/zigpy/default.nix+2−4
@@ -4,7 +4,6 @@
44, asynctest
55, buildPythonPackage
66, crccheck
7−, cryptography
87, fetchFromGitHub
98, pycryptodome
109, pytest-aiohttp
@@ -16,7 +15,7 @@
1615
1716buildPythonPackage rec {
1817 pname = "zigpy";
19− version = "0.45.1";
18+ version = "0.44.2";
2019 format = "setuptools";
2120
2221 disabled = pythonOlder "3.7";
@@ -25,14 +24,13 @@ buildPythonPackage rec {
2524 owner = "zigpy";
2625 repo = "zigpy";
2726 rev = version;
28− sha256 = "sha256-85Bi8qjbUKLXFW7VGOxzelMa1gY9giGeQRmOeoZ1idE=";
27+ sha256 = "sha256-E6SeuVu5UdWL5Tx39UQymNhABltR+qVHANYWuCh+h6I=";
2928 };
3029
3130 propagatedBuildInputs = [
3231 aiohttp
3332 aiosqlite
3433 crccheck
35− cryptography
3634 pycryptodome
3735 voluptuous
3836 ];
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.36.1";
13+ version = "0.35.3";
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-XVFOx0f5lBh5i7q8XEb4qd0Lu09jEEYKyJUJBqXwirc=";
22+ sha256 = "sha256-vM5GEqq32VdC5UjGVlnrN8/LRcCHHkJFzEbaA2Snte8=";
2323 };
2424
2525 propagatedBuildInputs = [
pkgs/development/tools/analysis/checkov/default.nix+2−3
@@ -32,13 +32,13 @@ with py.pkgs;
3232
3333buildPythonApplication rec {
3434 pname = "checkov";
35− version = "2.0.1110";
35+ version = "2.0.1102";
3636
3737 src = fetchFromGitHub {
3838 owner = "bridgecrewio";
3939 repo = pname;
4040 rev = version;
41− hash = "sha256-HtXJGi20SbbOofL8TAZDZ9L3aFVx33Xz+QS/f7NxYFI=";
41+ hash = "sha256-OPYlgj8jdgCQJddy9UUXMjHJtQcoMrZbghgPUdyUV5Y=";
4242 };
4343
4444 nativeBuildInputs = with py.pkgs; [
@@ -89,7 +89,6 @@ buildPythonApplication rec {
8989 pytest-mock
9090 pytest-xdist
9191 pytestCheckHook
92− responses
9392 ];
9493
9594 postPatch = ''
pkgs/development/tools/analysis/codeql/default.nix+2−2
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 pname = "codeql";
5− version = "2.8.5";
5+ version = "2.8.2";
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-HZJBqm196RgWR/14mfrLYQlU+4W3t0b4TXme04XkfKw=";
13+ sha256 = "sha256-F0tr4oQPgusLVCP5jSCYxl/xHbZLrVXd2FFYSJY3PPs=";
1414 };
1515
1616 nativeBuildInputs = [
pkgs/development/tools/build-managers/bloop/default.nix+46−16
@@ -1,5 +1,6 @@
11{ stdenv
22, fetchurl
3+, coursier
34, autoPatchelfHook
45, installShellFiles
56, makeWrapper
@@ -10,34 +11,58 @@
1011
1112stdenv.mkDerivation rec {
1213 pname = "bloop";
13− version = "1.5.0";
14+ version = "1.4.13";
1415
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";
16+ bloop-coursier-channel = fetchurl {
17+ url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bloop-coursier.json";
18+ sha256 = "VbvBAz7mXhgQtbrlB6uCSmZXLcdYaROJRSREbazAReo=";
19+ };
1920
2021 bloop-bash = fetchurl {
2122 url = "https://github.com/scalacenter/bloop/releases/download/v${version}/bash-completions";
22− sha256 = "sha256-2mt+zUEJvQ/5ixxFLZ3Z0m7uDSj/YE9sg/uNMjamvdE=";
23+ sha256 = "2mt+zUEJvQ/5ixxFLZ3Z0m7uDSj/YE9sg/uNMjamvdE=";
2324 };
2425
2526 bloop-fish = fetchurl {
2627 url = "https://github.com/scalacenter/bloop/releases/download/v${version}/fish-completions";
27− sha256 = "sha256-eFESR6iPHRDViGv+Fk3sCvPgVAhk2L1gCG4LnfXO/v4=";
28+ sha256 = "eFESR6iPHRDViGv+Fk3sCvPgVAhk2L1gCG4LnfXO/v4=";
2829 };
2930
3031 bloop-zsh = fetchurl {
3132 url = "https://github.com/scalacenter/bloop/releases/download/v${version}/zsh-completions";
32− sha256 = "sha256-WNMsPwBfd5EjeRbRtc06lCEVI2FVoLfrqL82OR0G7/c=";
33+ sha256 = "WNMsPwBfd5EjeRbRtc06lCEVI2FVoLfrqL82OR0G7/c=";
3334 };
3435
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";
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";
4166 };
4267
4368 dontUnpack = true;
@@ -49,9 +74,14 @@ stdenv.mkDerivation rec {
4974 installPhase = ''
5075 runHook preInstall
5176
52− install -D -m 0755 ${bloop-binary} $out/.bloop-wrapped
77+ export COURSIER_CACHE=$(pwd)
78+ export COURSIER_JVM_CACHE=$(pwd)
79+
80+ install -D -m 0755 ${bloop-coursier} $out/.bloop-wrapped
5381
54− makeWrapper $out/.bloop-wrapped $out/bin/bloop
82+ makeWrapper $out/.bloop-wrapped $out/bin/bloop \
83+ --set CS_NATIVE_LAUNCHER true \
84+ --set IS_CS_INSTALLED_LAUNCHER true
5585
5686 #Install completions
5787 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.5";
4+ version = "0.1.4";
55 assets = {
66 x86_64-darwin = {
77 asset = "scala-cli-x86_64-apple-darwin.gz";
8− sha256 = "1sczbvvhh1ff8mdb6zj4q3fnrz1qsqmr58jlb1s3fy1wv2p5ywxl";
8+ sha256 = "19bsfkp398rx3f9lnjzhp8pcs77n075v17rpm4hsmrpsz1hih5xy";
99 };
1010 x86_64-linux = {
1111 asset = "scala-cli-x86_64-pc-linux.gz";
12− sha256 = "1ahvjgcghh1pmgfsajg0b8bf5aaqxdx0f6b6qgljs0xfqm7zs05v";
12+ sha256 = "0rggf6v32rw3s82a1apz2b8nyiv8rd0lvw1bajl2s7jhlq8l7lc9";
1313 };
1414 };
1515in
pkgs/development/tools/dive/default.nix+2
@@ -13,6 +13,8 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-0gJ3dAPoilh3IWkuesy8geNsuI1T0DN64XvInc9LvlM=";
1515
16+ doCheck = false;
17+
1618 nativeBuildInputs = [ pkg-config ];
1719
1820 buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ];
pkgs/development/tools/gosec/default.nix+2
@@ -20,6 +20,8 @@ buildGoModule rec {
2020 "cmd/gosec"
2121 ];
2222
23+ doCheck = false;
24+
2325 ldflags = [
2426 "-s"
2527 "-w"
pkgs/development/tools/just/default.nix+3−3
@@ -10,16 +10,16 @@
1010
1111rustPlatform.buildRustPackage rec {
1212 pname = "just";
13− version = "1.1.3";
13+ version = "1.1.2";
1414
1515 src = fetchFromGitHub {
1616 owner = "casey";
1717 repo = pname;
1818 rev = version;
19− sha256 = "sha256-2tKO0NyWFtRQgGrOKB3bROpDaIbQzTT4s2hGnBdZ6Fg=";
19+ sha256 = "sha256-vUtJ9QVMmDGfkYTBoK8mVaJTEfNBQD5sTEp7kC0LNZw=";
2020 };
2121
22− cargoSha256 = "sha256-O5ntehb9ifWpBxBoOcFyyc8Ns6+SzHVOifUOD2QyhMY=";
22+ cargoSha256 = "sha256-rJjLXktWnT6kRx1/18AFr6KciaFF8PaTpz27wz+vGug=";
2323
2424 nativeBuildInputs = [ installShellFiles ];
2525 buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
pkgs/development/tools/kdash/default.nixdeleted−34
@@ -1,34 +0,0 @@
1−{ lib, stdenv
2−, fetchFromGitHub
3−, rustPlatform
4−, pkg-config
5−, perl
6−, python3
7−, openssl
8−, xorg
9−}:
10−
11−rustPlatform.buildRustPackage rec {
12− pname = "kdash";
13− version = "0.3.1";
14−
15− src = fetchFromGitHub {
16− owner = "kdash-rs";
17− repo = pname;
18− rev = "v${version}";
19− sha256 = "08ca638kvs98xhbc9g1szw0730cjk9g01qqaja8j413n2h1pr8yq";
20− };
21−
22− nativeBuildInputs = [ perl python3 pkg-config ];
23−
24− buildInputs = [ openssl xorg.xcbutil ];
25−
26− cargoSha256 = "0nb554y8r7gvw7ls6gnrg98xxbws0mc6zdsc6ss3p2x9z8xwx204";
27−
28− meta = with lib; {
29− description = "A simple and fast dashboard for Kubernetes";
30− homepage = "https://github.com/kdash-rs/kdash";
31− license = with licenses; [ mit ];
32− maintainers = with maintainers; [ matthiasbeyer ];
33− };
34−}
pkgs/development/tools/misc/clojure-lsp/default.nix+3−3
@@ -2,18 +2,18 @@
22
33buildGraalvmNativeImage rec {
44 pname = "clojure-lsp";
5− version = "2022.05.03-12.35.40";
5+ version = "2022.04.18-00.59.32";
66
77 src = fetchFromGitHub {
88 owner = pname;
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-5jh4umT93P53ufgdKYHNtiDJ1QpoJ8QpfAti0+tmvmc=";
11+ sha256 = "sha256-14EsJIKYl8TWbDqM9PyVrbs/4EssqXp0EK70RrFz+RE=";
1212 };
1313
1414 jar = fetchurl {
1515 url = "https://github.com/clojure-lsp/clojure-lsp/releases/download/${version}/clojure-lsp-standalone.jar";
16− sha256 = "b4984b5d8411542ec7d4732c950340d16e379ad76c40e57c3d41a8e7adda2faf";
16+ sha256 = "d78094b015bd9e671eea2eb89ca0bb3ec58d39802ad1bfdf875b50e1cdd4995e";
1717 };
1818
1919 extraNativeImageBuildArgs = [
pkgs/development/tools/poetry2nix/poetry2nix/default.nix+2−10
@@ -5,7 +5,7 @@
55}:
66let
77 # Poetry2nix version
8− version = "1.28.0";
8+ version = "1.27.1";
99
1010 inherit (poetryLib) isCompatible readTOML moduleName;
1111
@@ -287,20 +287,12 @@ 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− excludedEditablePackageNames = builtins.filter
291− (pkg: editablePackageSources."${pkg}" == null)
292− (builtins.attrNames editablePackageSources);
293−
294− allEditablePackageSources = (
290+ editablePackageSources' = (
295291 (getEditableDeps (pyProject.tool.poetry."dependencies" or { }))
296292 // (getEditableDeps (pyProject.tool.poetry."dev-dependencies" or { }))
297293 // editablePackageSources
298294 );
299295
300− editablePackageSources' = builtins.removeAttrs
301− allEditablePackageSources
302− excludedEditablePackageNames;
303−
304296 poetryPython = self.mkPoetryPackages {
305297 inherit pyproject poetrylock overrides python pwd preferWheels pyProject;
306298 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.pathExists path && builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
183+ lib.optionals (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+5−153
@@ -29,9 +29,6 @@
2929 "aioflo": [
3030 "poetry-core"
3131 ],
32− "aiogithubapi": [
33− "poetry-core"
34− ],
3532 "aioguardian": [
3633 "poetry-core"
3734 ],
@@ -92,21 +89,9 @@
9289 "amqtt": [
9390 "poetry-core"
9491 ],
95− "ansible-doctor": [
96− "poetry-core"
97− ],
98− "ansible-later": [
99− "poetry-core"
100− ],
101− "ansible-runner": [
102− "pbr"
103− ],
10492 "apache-beam": [
10593 "cython"
10694 ],
107− "aplpy": [
108− "cython"
109− ],
11095 "argon2_cffi": [
11196 "flitBuildHook"
11297 ],
@@ -129,24 +114,15 @@
129114 "atomman": [
130115 "cython"
131116 ],
132− "atpublic": [
133− "pdm-pep517"
134− ],
135117 "autarco": [
136118 "poetry-core"
137119 ],
138120 "authcaptureproxy": [
139121 "poetry-core"
140122 ],
141− "av": [
142− "cython"
143− ],
144123 "awesomeversion": [
145124 "poetry-core"
146125 ],
147− "aws-adfs": [
148− "poetry-core"
149− ],
150126 "aws-error-utils": [
151127 "poetry"
152128 ],
@@ -171,9 +147,6 @@
171147 "boltztrap2": [
172148 "cython"
173149 ],
174− "bsblan": [
175− "poetry-core"
176− ],
177150 "build": [
178151 "flit-core"
179152 ],
@@ -210,9 +183,6 @@
210183 "clikit": [
211184 "poetry-core"
212185 ],
213− "cloudflare-dyndns": [
214− "poetry"
215− ],
216186 "collections-extended": [
217187 "poetry-core"
218188 ],
@@ -240,8 +210,7 @@
240210 "poetry-core"
241211 ],
242212 "cssselect2": [
243− "flit",
244− "flit-core"
213+ "flit"
245214 ],
246215 "cwcwidth": [
247216 "cython"
@@ -255,15 +224,9 @@
255224 "cypari2": [
256225 "cython"
257226 ],
258− "cypherpunkpay": [
259− "poetry-core"
260− ],
261227 "cysignals": [
262228 "cython"
263229 ],
264− "datadog": [
265− "hatchling"
266− ],
267230 "datrie": [
268231 "cython"
269232 ],
@@ -297,9 +260,6 @@
297260 "doc8": [
298261 "pbr"
299262 ],
300− "docstring-parser": [
301− "poetry-core"
302− ],
303263 "dtlssocket": [
304264 "cython"
305265 ],
@@ -341,8 +301,7 @@
341301 "poetry-core"
342302 ],
343303 "entrypoints": [
344− "flit",
345− "flit-core"
304+ "flit"
346305 ],
347306 "enturclient": [
348307 "poetry-core"
@@ -350,13 +309,6 @@
350309 "enumatch": [
351310 "poetry"
352311 ],
353− "exceptiongroup": [
354− "flit-core",
355− "flitBuildHook"
356− ],
357− "falcon": [
358− "cython"
359− ],
360312 "fastapi": [
361313 "flitBuildHook"
362314 ],
@@ -426,9 +378,6 @@
426378 "generic": [
427379 "poetry-core"
428380 ],
429− "gensim": [
430− "cython"
431− ],
432381 "glances-api": [
433382 "poetry-core"
434383 ],
@@ -543,15 +492,9 @@
543492 "ipwhl": [
544493 "flitBuildHook"
545494 ],
546− "iso8601": [
547− "poetry-core"
548− ],
549495 "isort": [
550496 "poetry-core"
551497 ],
552− "jarowinkler": [
553− "cython"
554− ],
555498 "jedi-language-server": [
556499 "poetry"
557500 ],
@@ -576,12 +519,6 @@
576519 "jupyterlab": [
577520 "jupyter-packaging"
578521 ],
579− "jupyterlab-code-formatter": [
580− "jupyter-packaging"
581− ],
582− "jupyterlab-pygments": [
583− "jupyter-packaging"
584− ],
585522 "keystoneauth1": [
586523 "pbr"
587524 ],
@@ -600,9 +537,6 @@
600537 "ldappool": [
601538 "pbr"
602539 ],
603− "levenshtein": [
604− "cython"
605− ],
606540 "libgpuarray": [
607541 "cython"
608542 ],
@@ -630,9 +564,6 @@
630564 "lockfile": [
631565 "pbr"
632566 ],
633− "lsassy": [
634− "poetry-core"
635− ],
636567 "luftdaten": [
637568 "poetry-core"
638569 ],
@@ -654,9 +585,6 @@
654585 "marisa-trie": [
655586 "cython"
656587 ],
657− "markdown-it-py": [
658− "flit-core"
659− ],
660588 "mask-rcnn": [
661589 "cython"
662590 ],
@@ -679,9 +607,6 @@
679607 "memory-allocator": [
680608 "cython"
681609 ],
682− "meteofrance-api": [
683− "poetry"
684− ],
685610 "metprint": [
686611 "poetry-core"
687612 ],
@@ -693,7 +618,6 @@
693618 "poetry"
694619 ],
695620 "mkdocs-jupyter": [
696− "ipython_genutils",
697621 "poetry-core"
698622 ],
699623 "mkdocs-literate-nav": [
@@ -750,9 +674,6 @@
750674 "netdata": [
751675 "poetry-core"
752676 ],
753− "netutils": [
754− "poetry-core"
755− ],
756677 "newversion": [
757678 "poetry-core"
758679 ],
@@ -768,9 +689,6 @@
768689 "nkdfu": [
769690 "flitBuildHook"
770691 ],
771− "notebook-shim": [
772− "jupyter-packaging"
773− ],
774692 "notus-scanner": [
775693 "poetry-core"
776694 ],
@@ -810,9 +728,6 @@
810728 "openvino": [
811729 "cython"
812730 ],
813− "ordered-set": [
814− "flit-core"
815− ],
816731 "ormar": [
817732 "poetry-core"
818733 ],
@@ -892,9 +807,6 @@
892807 "poetry": [
893808 "poetry-core"
894809 ],
895− "poetry-dynamic-versioning": [
896− "poetry-core"
897− ],
898810 "poetry2conda": [
899811 "poetry"
900812 ],
@@ -1018,9 +930,6 @@
1018930 "pymaven-patch": [
1019931 "pbr"
1020932 ],
1021− "pymdown-extensions": [
1022− "hatchling"
1023− ],
1024933 "pymfy": [
1025934 "poetry-core"
1026935 ],
@@ -1045,9 +954,6 @@
1045954 "pyoverkiz": [
1046955 "poetry-core"
1047956 ],
1048− "pyparsing": [
1049− "flit-core"
1050− ],
1051957 "pypass": [
1052958 "pbr"
1053959 ],
@@ -1072,21 +978,12 @@
1072978 "pyproject-flake8": [
1073979 "flit-core"
1074980 ],
1075− "pypsrp": [
1076− "poetry-core"
1077− ],
1078981 "pyquil": [
1079982 "poetry-core"
1080983 ],
1081− "pyrad": [
1082− "poetry-core"
1083− ],
1084984 "pyregion": [
1085985 "cython"
1086986 ],
1087− "pyrevolve": [
1088− "cython"
1089− ],
1090987 "pyrmvtransport": [
1091988 "flit"
1092989 ],
@@ -1102,9 +999,6 @@
1102999 "pysigma": [
11031000 "poetry-core"
11041001 ],
1105− "pysigma-backend-insightidr": [
1106− "poetry-core"
1107− ],
11081002 "pysigma-backend-splunk": [
11091003 "poetry-core"
11101004 ],
@@ -1114,30 +1008,14 @@
11141008 "pysigma-pipeline-sysmon": [
11151009 "poetry-core"
11161010 ],
1117− "pysigma-pipeline-windows": [
1118− "poetry-core"
1119− ],
1120− "pyslurm": [
1121− "cython"
1122− ],
11231011 "pysmf": [
11241012 "cython"
11251013 ],
11261014 "pysml": [
11271015 "poetry-core"
11281016 ],
1129− "pysnmp-pyasn1": [
1130− "poetry-core"
1131− ],
1132− "pysnmp-pysmi": [
1133− "poetry-core"
1134− ],
1135− "pysnmplib": [
1136− "poetry-core"
1137− ],
11381017 "pysnow": [
1139− "poetry",
1140− "poetry-core"
1018+ "poetry"
11411019 ],
11421020 "pysptk": [
11431021 "cython"
@@ -1157,9 +1035,6 @@
11571035 "pytest-httpserver": [
11581036 "poetry-core"
11591037 ],
1160− "pytest-isort": [
1161− "poetry-core"
1162− ],
11631038 "pytest-mockservers": [
11641039 "poetry-core"
11651040 ],
@@ -1222,9 +1097,6 @@
12221097 "python-openstackclient": [
12231098 "pbr"
12241099 ],
1225− "python-pae": [
1226− "poetry-core"
1227− ],
12281100 "python-pkcs11": [
12291101 "cython"
12301102 ],
@@ -1343,8 +1215,7 @@
13431215 "poetry-core"
13441216 ],
13451217 "rokuecp": [
1346− "poetry",
1347− "poetry-core"
1218+ "poetry"
13481219 ],
13491220 "roombapy": [
13501221 "poetry-core"
@@ -1409,9 +1280,6 @@
14091280 "sentinel": [
14101281 "poetry-core"
14111282 ],
1412− "seventeentrack": [
1413− "poetry-core"
1414− ],
14151283 "sfepy": [
14161284 "cython"
14171285 ],
@@ -1433,15 +1301,9 @@
14331301 "slowapi": [
14341302 "poetry-core"
14351303 ],
1436− "socksio": [
1437− "flit-core"
1438− ],
14391304 "solo-python": [
14401305 "flitBuildHook"
14411306 ],
1442− "soupsieve": [
1443− "hatchling"
1444− ],
14451307 "spacy-pkuseg": [
14461308 "cython"
14471309 ],
@@ -1563,8 +1425,7 @@
15631425 "cython"
15641426 ],
15651427 "testpath": [
1566− "flit",
1567− "flit-core"
1428+ "flit"
15681429 ],
15691430 "testrepository": [
15701431 "pbr"
@@ -1644,9 +1505,6 @@
16441505 "typing-extensions": [
16451506 "flit-core"
16461507 ],
1647− "uharfbuzz": [
1648− "cython"
1649− ],
16501508 "unpaddedbase64": [
16511509 "poetry-core"
16521510 ],
@@ -1692,14 +1550,8 @@
16921550 "yoda": [
16931551 "cython"
16941552 ],
1695− "yte": [
1696− "poetry-core"
1697− ],
16981553 "zeversolarlocal": [
16991554 "flit-core",
17001555 "flitBuildHook"
1701− ],
1702− "zwave-me-ws": [
1703− "poetry-core"
17041556 ]
17051557}
pkgs/development/tools/poetry2nix/poetry2nix/overrides/default.nix+4−98
@@ -8,14 +8,13 @@ let
88 { self
99 , drv
1010 , attr
11− , extraAttrs ? [ ]
1211 }:
1312 let
1413 buildSystem = if attr == "cython" then self.python.pythonForBuild.pkgs.cython else self.${attr};
1514 in
1615 (
1716 # Flit only works on Python3
18− if (attr == "flit-core" || attr == "flit" || attr == "hatchling") && !self.isPy3k then drv
17+ if (attr == "flit-core" || attr == "flit") && !self.isPy3k then drv
1918 else
2019 drv.overridePythonAttrs (
2120 old:
@@ -24,7 +23,7 @@ let
2423 { }
2524 else
2625 {
27− nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ self.${attr} ] ++ map (a: self.${a}) extraAttrs;
26+ nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ self.${attr} ];
2827 }
2928 )
3029 );
@@ -56,16 +55,6 @@ lib.composeManyExtensions [
5655 systems)
5756 buildSystems)
5857
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−
6958 # Build fixes
7059 (self: super:
7160 let
@@ -448,17 +437,6 @@ lib.composeManyExtensions [
448437 }
449438 );
450439
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−
462440 # Environment markers are not always included (depending on how a dep was defined)
463441 enum34 = if self.pythonAtLeast "3.4" then null else super.enum34;
464442
@@ -866,17 +844,6 @@ lib.composeManyExtensions [
866844 }
867845 );
868846
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−
880847 lxml = super.lxml.overridePythonAttrs (
881848 old: {
882849 nativeBuildInputs = with pkgs.buildPackages; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
@@ -1176,26 +1143,6 @@ lib.composeManyExtensions [
11761143 }
11771144 );
11781145
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−
11991146 osqp = super.osqp.overridePythonAttrs (
12001147 old: {
12011148 nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake ];
@@ -1203,29 +1150,6 @@ lib.composeManyExtensions [
12031150 }
12041151 );
12051152
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−
12291153 pantalaimon = super.pantalaimon.overridePythonAttrs (old: {
12301154 nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ pkgs.installShellFiles ];
12311155 postInstall = old.postInstall or "" + ''
@@ -1272,12 +1196,8 @@ lib.composeManyExtensions [
12721196
12731197 pillow = super.pillow.overridePythonAttrs (
12741198 old: {
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 ];
1199+ nativeBuildInputs = [ pkg-config self.pytest-runner ] ++ (old.nativeBuildInputs or [ ]);
1200+ buildInputs = with pkgs; [ freetype libjpeg zlib libtiff libwebp tcl lcms2 ] ++ (old.buildInputs or [ ]);
12811201 }
12821202 );
12831203
@@ -1326,14 +1246,6 @@ lib.composeManyExtensions [
13261246 }
13271247 );
13281248
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−
13371249 py-solc-x = super.py-solc-x.overridePythonAttrs (
13381250 old: {
13391251 preConfigure = ''
@@ -1948,12 +1860,6 @@ lib.composeManyExtensions [
19481860
19491861 });
19501862
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−
19571863 systemd-python = super.systemd-python.overridePythonAttrs (old: {
19581864 buildInputs = old.buildInputs ++ [ pkgs.systemd ];
19591865 nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.pkg-config ];
pkgs/development/tools/protoc-gen-entgrpc/default.nixdeleted−28
@@ -1,28 +0,0 @@
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+3−4
@@ -2,21 +2,20 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "cargo-sync-readme";
5− version = "1.1";
5+ version = "1.0";
66
77 src = fetchFromGitHub {
88 owner = "phaazon";
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-n9oIWblTTuXFFQFN6mpQiCH5N7yg5fAp8v9vpB5/DAo=";
11+ sha256 = "1c38q87fyfmj6nlwdpavb1xxpi26ncywkgqcwbvblad15c6ydcyc";
1212 };
1313
14− cargoSha256 = "sha256-DsB2C2ELuvuVSvxG/xztmnY2qfX8+Y7udbXlpRQoL/c=";
14+ cargoSha256 = "0vrbgs49ghhl4z4ljhghcs9fnbf7qx1an9kwbrgv9wng8m1dccah";
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";
2019 license = licenses.bsd3;
2120 maintainers = with maintainers; [ b4dm4n ];
2221 };
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-05-02";
15− cargoSha256 = "sha256-uZCUruIBTNTKYWYb8xQgJ6FsKlRi+Sh5n7m7aVk+hHQ=";
14+ version = "2022-04-11";
15+ cargoSha256 = "sha256-pc8S+5g67vN9170ABiHGe1t4Go0F63UiOeLd71USYCI=";
1616
1717 src = fetchFromGitHub {
1818 owner = "rust-analyzer";
1919 repo = "rust-analyzer";
2020 rev = version;
21− sha256 = "sha256-5kAbd/tTc9vkr27ar44hnpXdS0vQg0OLJUMlp0FBjqA=";
21+ sha256 = "sha256-miMIrDawSS1zXh6EuX03x5ACM2NTabksssSyutSNpjY=";
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.36";
18+ version = "2.0.0-beta.34";
1919
2020 src = fetchFromGitHub {
2121 owner = "wailsapp";
2222 repo = pname;
2323 rev = "v${version}";
24− sha256 = "sha256-uAbVc1UDgSNJwk8R6zXXqZImo6J9TRs3zPNlWelXS/I=";
24+ sha256 = "sha256-dsDruZSmr8qSNpX8L27tLpNxvdSkc2mfNQLRxN9AnCg=";
2525 } + "/v2";
2626
27− vendorSha256 = "sha256-rrwlFZQT7sHhUqtU4UzwEqZbjWd/1fudfj/xdTGFUmQ=";
27+ vendorSha256 = "sha256-OaSPpCb2VxMGlkUIg3fyEJhjz256amEfXBX+5WMY3a0=";
2828
2929 proxyVendor = true;
3030
pkgs/development/web/nodejs/nodejs.nix+2−2
@@ -136,7 +136,7 @@ let
136136
137137 ${optionalString (enableNpm && stdenv.hostPlatform == stdenv.buildPlatform) ''
138138 mkdir -p $out/share/bash-completion/completions/
139− HOME=$TMPDIR $out/bin/npm completion > $out/share/bash-completion/completions/npm
139+ $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
@@ -194,7 +194,7 @@ let
194194 maintainers = with maintainers; [ goibhniu gilligan cko marsam ];
195195 platforms = platforms.linux ++ platforms.darwin;
196196 mainProgram = "node";
197− knownVulnerabilities = optional (versionOlder version "14") "This NodeJS release has reached its end of life. See https://nodejs.org/en/about/releases/.";
197+ knownVulnerabilities = optional (versionOlder version "12") "This NodeJS release has reached its end of life. See https://nodejs.org/en/about/releases/.";
198198 };
199199
200200 passthru.python = python; # to ensure nodeEnv uses the same version
pkgs/development/web/nodejs/v14.nix+2−2
@@ -7,7 +7,7 @@ let
77in
88 buildNodejs {
99 inherit enableNpm;
10− version = "14.19.2";
11− sha256 = "sha256-70N1qRUv9p8oI9eyCjtTdnoEYWS7rHgkQpyyFtFojPA=";
10+ version = "14.19.1";
11+ sha256 = "sha256-4a4J3YYas5rwRIO7XA+lTd2CtrFVQ76aJ+pnBKi6ndk=";
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.1.0";
11− sha256 = "0zhb61ihzslmpl1g3dd6vcxjccc8gwj1v4hfphk7f3cy10hcrc78";
10+ version = "18.0.0";
11+ sha256 = "sha256-NE0OZUC1JMaal5/1w+eM2nJU/XLANpmSa+sLhVi4znU=";
1212 patches = [
1313 ./disable-darwin-v8-system-instrumentation.patch
1414 ];
pkgs/games/7kaa/default.nix+10−7
@@ -15,15 +15,17 @@
1515}:
1616
1717let
18− pname = "7kaa";
19− version = "2.15.4p1";
2018
21− music = stdenv.mkDerivation {
22− pname = "7kaa-music";
23− version = lib.versions.majorMinor version;
19+ name = "7kaa";
20+ versionMajor = "2.15";
21+ versionMinor = "4p1";
22+
23+ music = stdenv.mkDerivation rec {
24+ pname = "${name}-music";
25+ version = "${versionMajor}";
2426
2527 src = fetchurl {
26− url = "https://www.7kfans.com/downloads/7kaa-music-${lib.versions.majorMinor version}.tar.bz2";
28+ url = "https://www.7kfans.com/downloads/${name}-music-${versionMajor}.tar.bz2";
2729 sha256 = "sha256-sNdntuJXGaFPXzSpN0SoAi17wkr2YnW+5U38eIaVwcM=";
2830 };
2931
@@ -39,7 +41,8 @@ let
3941in
4042
4143gccStdenv.mkDerivation rec {
42− inherit pname version;
44+ pname = "${name}";
45+ version = "v${versionMajor}.${versionMinor}";
4346
4447 src = fetchFromGitHub {
4548 owner = "the3dfxdude";
pkgs/misc/platformsh/default.nix+2−2
@@ -2,14 +2,14 @@
22
33let
44 pname = "platformsh";
5− version = "3.79.2";
5+ version = "3.79.0";
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-STGMKWgI4C6ccg8DGUhdnEENOB2//gtpU0ljM4cQCXI=";
12+ sha256 = "sha256-gTh1VS/b+D8E67w6Q4u9h0EhpFZiA2gBGe4mo49+9KY=";
1313 };
1414
1515 dontUnpack = true;
pkgs/misc/rich-cli/default.nix+8−18
@@ -1,20 +1,17 @@
1−{ lib
2−, python3
3−}:
1+{ lib, python3 }:
42
53python3.pkgs.buildPythonApplication rec {
64 pname = "rich-cli";
7− version = "1.7.0";
8− format = "pyproject";
5+ version = "1.5.1";
96
107 src = python3.pkgs.fetchPypi {
118 inherit pname version;
12− sha256 = "sha256-fporylec9H+9G2v8D0O32ek7OQs3YRSma1xOpakClqk=";
9+ sha256 = "18qpdaw4drkwq71xikngwaarkjxhfc0nrb1zm36rw31b8dz0ij2k";
1310 };
1411
15− nativeBuildInputs = with python3.pkgs; [
16− poetry-core
17− ];
12+ format = "pyproject";
13+
14+ nativeBuildInputs = [ python3.pkgs.poetry-core ];
1815
1916 propagatedBuildInputs = with python3.pkgs; [
2017 rich
@@ -24,18 +21,11 @@ python3.pkgs.buildPythonApplication rec {
2421 rich-rst
2522 ];
2623
27− postPatch = ''
28− substituteInPlace pyproject.toml \
29− --replace 'rich = "^12.3.0"' 'rich = "*"'
30− '';
31−
32− pythonImportsCheck = [
33− "rich_cli"
34− ];
24+ buildInputs = [ python3 ];
3525
3626 meta = with lib; {
37− description = "Command Line Interface to Rich";
3827 homepage = "https://github.com/Textualize/rich-cli";
28+ description = "Command Line Interface to Rich";
3929 license = licenses.mit;
4030 maintainers = with maintainers; [ jyooru ];
4131 };
pkgs/os-specific/linux/nftables/default.nix+9−7
@@ -8,6 +8,8 @@
88, withXtables ? true , iptables
99}:
1010
11+with lib;
12+
1113stdenv.mkDerivation rec {
1214 version = "1.0.2";
1315 pname = "nftables";
@@ -26,8 +28,8 @@ stdenv.mkDerivation rec {
2628 buildInputs = [
2729 libmnl libnftnl libpcap
2830 gmp jansson libedit
29− ] ++ lib.optional withXtables iptables
30− ++ lib.optional withPython python3;
31+ ] ++ optional withXtables iptables
32+ ++ optional withPython python3;
3133
3234 preConfigure = ''
3335 substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
@@ -44,12 +46,12 @@ stdenv.mkDerivation rec {
4446 configureFlags = [
4547 "--with-json"
4648 "--with-cli=editline"
47− ] ++ lib.optional (!withDebugSymbols) "--disable-debug"
48− ++ lib.optional (!withPython) "--disable-python"
49− ++ lib.optional withPython "--enable-python"
50− ++ lib.optional withXtables "--with-xtables";
49+ ] ++ optional (!withDebugSymbols) "--disable-debug"
50+ ++ optional (!withPython) "--disable-python"
51+ ++ optional withPython "--enable-python"
52+ ++ optional withXtables "--with-xtables";
5153
52− meta = with lib; {
54+ meta = {
5355 description = "The project that aims to replace the existing {ip,ip6,arp,eb}tables framework";
5456 homepage = "https://netfilter.org/projects/nftables/";
5557 license = licenses.gpl2Only;
pkgs/os-specific/linux/vmware/default.nixdeleted−47
@@ -1,47 +0,0 @@
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+14−35
@@ -2,7 +2,7 @@
22# Do not edit!
33
44{
5− version = "2022.5.0";
5+ version = "2022.4.7";
66 components = {
77 "abode" = ps: with ps; [
88 abodepy
@@ -157,6 +157,10 @@
157157 ];
158158 "arest" = ps: with ps; [
159159 ];
160+ "arlo" = ps: with ps; [
161+ ha-ffmpeg
162+ pyarlo
163+ ];
160164 "arris_tg2492lg" = ps: with ps; [
161165 arris-tg2492lg
162166 ];
@@ -550,6 +554,8 @@
550554 "digital_ocean" = ps: with ps; [
551555 digital-ocean
552556 ];
557+ "digitalloggers" = ps: with ps; [
558+ ]; # missing inputs: dlipower
553559 "directv" = ps: with ps; [
554560 directv
555561 ];
@@ -987,7 +993,8 @@
987993 ];
988994 "google" = ps: with ps; [
989995 aiohttp-cors
990− gcal-sync
996+ google-api-python-client
997+ httplib2
991998 oauth2client
992999 ];
9931000 "google_assistant" = ps: with ps; [
@@ -1241,15 +1248,9 @@
12411248 ];
12421249 "insteon" = ps: with ps; [
12431250 aiohttp-cors
1244− fnvhash
1245− home-assistant-frontend
1246− insteon-frontend-home-assistant
1247− lru-dict
1248− pillow
12491251 pyinsteon
12501252 pyserial
12511253 pyudev
1252− sqlalchemy
12531254 ];
12541255 "integration" = ps: with ps; [
12551256 ];
@@ -1390,10 +1391,8 @@
13901391 life360
13911392 ];
13921393 "lifx" = ps: with ps; [
1393− aiohttp-cors
13941394 aiolifx
13951395 aiolifx-effects
1396− ifaddr
13971396 ];
13981397 "lifx_cloud" = ps: with ps; [
13991398 ];
@@ -1515,9 +1514,6 @@
15151514 "mazda" = ps: with ps; [
15161515 pymazda
15171516 ];
1518− "meater" = ps: with ps; [
1519− meater-python
1520− ];
15211517 "media_extractor" = ps: with ps; [
15221518 aiohttp-cors
15231519 youtube-dl-light
@@ -2092,9 +2088,6 @@
20922088 ];
20932089 "qnap" = ps: with ps; [
20942090 ]; # missing inputs: qnapstats
2095− "qnap_qsw" = ps: with ps; [
2096− aioqsw
2097− ];
20982091 "qrcode" = ps: with ps; [
20992092 pillow
21002093 pyzbar
@@ -2316,10 +2309,6 @@
23162309 "sentry" = ps: with ps; [
23172310 sentry-sdk
23182311 ];
2319− "senz" = ps: with ps; [
2320− aiohttp-cors
2321− aiosenz
2322− ];
23232312 "serial" = ps: with ps; [
23242313 pyserial-asyncio
23252314 ];
@@ -2393,10 +2382,6 @@
23932382 ];
23942383 "slide" = ps: with ps; [
23952384 ]; # missing inputs: goslide-api
2396− "slimproto" = ps: with ps; [
2397− aiohttp-cors
2398− aioslimproto
2399− ];
24002385 "sma" = ps: with ps; [
24012386 pysma
24022387 ];
@@ -2435,7 +2420,7 @@
24352420 paho-mqtt
24362421 ];
24372422 "snmp" = ps: with ps; [
2438− pysnmplib
2423+ pysnmp
24392424 ];
24402425 "solaredge" = ps: with ps; [
24412426 solaredge
@@ -2762,9 +2747,6 @@
27622747 pytradfri
27632748 ]
27642749 ++ pytradfri.extras-require.async;
2765− "trafikverket_ferry" = ps: with ps; [
2766− pytrafikverket
2767− ];
27682750 "trafikverket_train" = ps: with ps; [
27692751 pytrafikverket
27702752 ];
@@ -2846,10 +2828,11 @@
28462828 ];
28472829 "update" = ps: with ps; [
28482830 ];
2831+ "updater" = ps: with ps; [
2832+ ];
28492833 "upnp" = ps: with ps; [
28502834 aiohttp-cors
28512835 async-upnp-client
2852− getmac
28532836 ifaddr
28542837 zeroconf
28552838 ];
@@ -3185,6 +3168,7 @@
31853168 "apprise"
31863169 "aprs"
31873170 "arcam_fmj"
3171+ "arlo"
31883172 "aseko_pool_live"
31893173 "asuswrt"
31903174 "atag"
@@ -3452,7 +3436,6 @@
34523436 "manual_mqtt"
34533437 "maxcube"
34543438 "mazda"
3455− "meater"
34563439 "media_player"
34573440 "media_source"
34583441 "melcloud"
@@ -3557,7 +3540,6 @@
35573540 "pvpc_hourly_pricing"
35583541 "python_script"
35593542 "qld_bushfire"
3560− "qnap_qsw"
35613543 "rachio"
35623544 "radarr"
35633545 "radio_browser"
@@ -3600,7 +3582,6 @@
36003582 "sensibo"
36013583 "sensor"
36023584 "sentry"
3603− "senz"
36043585 "seventeentrack"
36053586 "shell_command"
36063587 "shelly"
@@ -3614,7 +3595,6 @@
36143595 "siren"
36153596 "slack"
36163597 "sleepiq"
3617− "slimproto"
36183598 "sma"
36193599 "smappee"
36203600 "smart_meter_texas"
@@ -3668,7 +3648,6 @@
36683648 "tailscale"
36693649 "tankerkoenig"
36703650 "tasmota"
3671− "tautulli"
36723651 "tcp"
36733652 "telegram"
36743653 "telegram_bot"
@@ -3692,7 +3671,6 @@
36923671 "trace"
36933672 "tractive"
36943673 "tradfri"
3695− "trafikverket_ferry"
36963674 "trafikverket_train"
36973675 "trafikverket_weatherstation"
36983676 "transmission"
@@ -3711,6 +3689,7 @@
37113689 "upb"
37123690 "upcloud"
37133691 "update"
3692+ "updater"
37143693 "upnp"
37153694 "uptime"
37163695 "uptimerobot"
pkgs/servers/home-assistant/default.nix+4−15
@@ -30,6 +30,7 @@ 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=")
3334
3435 # pytest-aiohttp>0.3.0 breaks home-assistant tests
3536 (self: super: {
@@ -46,21 +47,9 @@ let
4647 aiohomekit = super.aiohomekit.overridePythonAttrs (oldAttrs: {
4748 doCheck = false; # requires aiohttp>=1.0.0
4849 });
49− gcal-sync = super.gcal-sync.overridePythonAttrs (oldAttrs: {
50− doCheck = false; # requires aiohttp>=1.0.0
51− });
5250 hass-nabucasa = super.hass-nabucasa.overridePythonAttrs (oldAttrs: {
5351 doCheck = false; # requires aiohttp>=1.0.0
5452 });
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− });
6453 rtsp-to-webrtc = super.rtsp-to-webrtc.overridePythonAttrs (oldAttrs: {
6554 doCheck = false; # requires pytest-aiohttp>=1.0.0
6655 });
@@ -121,7 +110,7 @@ let
121110 src = fetchFromGitHub {
122111 owner = "ManneW";
123112 repo = "vilfo-api-client-python";
124− rev = "v${version}";
113+ rev = "v$version}";
125114 sha256 = "1gy5gpsg99rcm1cc3m30232za00r9i46sp74zpd12p3vzz1wyyqf";
126115 };
127116 });
@@ -179,7 +168,7 @@ let
179168 extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
180169
181170 # Don't forget to run parse-requirements.py after updating
182− hassVersion = "2022.5.0";
171+ hassVersion = "2022.4.7";
183172
184173in python.pkgs.buildPythonApplication rec {
185174 pname = "homeassistant";
@@ -197,7 +186,7 @@ in python.pkgs.buildPythonApplication rec {
197186 owner = "home-assistant";
198187 repo = "core";
199188 rev = version;
200− hash = "sha256-xlotye/8oeCs/ntNV4osGjcl7fo05ke7nFLQeee/USY=";
189+ hash = "sha256-1m3t+AeHyuEyu3gT8P37A+L28mBdNKGmycU6eNOyb4M=";
201190 };
202191
203192 # 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 = "20220504.0";
7+ version = "20220405.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-CYhUId5SGfPX9beAZH0ZemwciVDxchbDcTvQcRhJwog=";
15+ sha256 = "sha256-M024uJJVhVSoGhJTc7d8NKItw0sAOGFuCsZNUe//vBg=";
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.13.0";
145+ version = "3.12.0";
146146
147147 src = fetchFromGitHub {
148148 owner = pname;
149149 repo = pname;
150150 rev = "v${version}";
151− sha256 = "1d5mnj86x4bk6iygns0cc15w315wrzmqxcq0sc4n75xsg6wwp1zl";
151+ sha256 = "sha256-3c7PFIZy/TGf68XdaSC25Amr8Zfb0O+za4ermIzQjnY=";
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 = "18.0.0";
16+ version = "17.0.1";
1717
1818 src = fetchzip {
1919 url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip";
20− sha256 = "0fxf9m50hpjplj077z2zjp0qibixz5y4lbc8159cnxbd4gzpkaaf";
20+ sha256 = "sha256-z1LfTUoK+v4oQxdyIQruFhl5O333zirSrkPoTFgVfmI=";
2121 };
2222
2323 nativeBuildInputs = [ makeWrapper jre ];
@@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
5757 '';
5858
5959 postFixup = ''
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'
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'
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/mastodon/default.nix+1−1
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 yarnOfflineCache = fetchYarnDeps {
2020 yarnLock = "${src}/yarn.lock";
21− sha256 = "sha256-FCwyJJwZ3/CVPT8LUid+KJcWCmFQet8Cftl7DVYhZ6I=";
21+ sha256 = "sha256-Swe7AH/j1+N1T20xaQ+U0Ajtoe9BGzsghAjN1QakOp8=";
2222 };
2323
2424 mastodon-gems = bundlerEnv {
pkgs/servers/mastodon/gemset.nix+72−72
@@ -5,10 +5,10 @@
55 platforms = [];
66 source = {
77 remotes = ["https://rubygems.org"];
8− sha256 = "0znrdixzpbr7spr4iwp19z3r2f2klggh9pmnsiix8qrvccc5lsdl";
8+ sha256 = "1zsb2x1j044rcx9b2ijgnp1ir7vsccxfrar59pvra83j5pjmsyiz";
99 type = "gem";
1010 };
11− version = "6.1.5.1";
11+ version = "6.1.5";
1212 };
1313 actionmailbox = {
1414 dependencies = ["actionpack" "activejob" "activerecord" "activestorage" "activesupport" "mail"];
@@ -16,10 +16,10 @@
1616 platforms = [];
1717 source = {
1818 remotes = ["https://rubygems.org"];
19− sha256 = "17mcv2qfjkix1q18nj6kidrhdwxd0rdzssdkdanrpp905z0sx0mw";
19+ sha256 = "1pzpf5vivh864an88gb7fab1gh137prfjpbf92mx5qnln1wjhlgh";
2020 type = "gem";
2121 };
22− version = "6.1.5.1";
22+ version = "6.1.5";
2323 };
2424 actionmailer = {
2525 dependencies = ["actionpack" "actionview" "activejob" "activesupport" "mail" "rails-dom-testing"];
@@ -27,10 +27,10 @@
2727 platforms = [];
2828 source = {
2929 remotes = ["https://rubygems.org"];
30− sha256 = "1084nk3fzq76gzl6kc9dwb586g3kcj1kmp8w1nsrhpl523ljgl1s";
30+ sha256 = "0sm5rp2jxlikhvv7085r7zrazy42dw74k9rlniaka8m6wfas01nf";
3131 type = "gem";
3232 };
33− version = "6.1.5.1";
33+ version = "6.1.5";
3434 };
3535 actionpack = {
3636 dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
@@ -38,10 +38,10 @@
3838 platforms = [];
3939 source = {
4040 remotes = ["https://rubygems.org"];
41− sha256 = "1b2vxprwfkza3h6z3pq508hsjh1hz9f8d7739j469mqlxsq5jh1l";
41+ sha256 = "0kk8c6n94lg5gyarsy33wakw04zbmdwgfr7zxv4zzmbnp1yach0w";
4242 type = "gem";
4343 };
44− version = "6.1.5.1";
44+ version = "6.1.5";
4545 };
4646 actiontext = {
4747 dependencies = ["actionpack" "activerecord" "activestorage" "activesupport" "nokogiri"];
@@ -49,10 +49,10 @@
4949 platforms = [];
5050 source = {
5151 remotes = ["https://rubygems.org"];
52− sha256 = "0ld6x9x05b1n40rjp83hsi4byp15zvb3lmvfk2h8jgxfrpb47c6j";
52+ sha256 = "1hkqhliw766vcd4c83af2dd1hcnbsh5zkcx8bdqmjcq7zqfn7xib";
5353 type = "gem";
5454 };
55− version = "6.1.5.1";
55+ version = "6.1.5";
5656 };
5757 actionview = {
5858 dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
@@ -60,10 +60,10 @@
6060 platforms = [];
6161 source = {
6262 remotes = ["https://rubygems.org"];
63− sha256 = "0y54nw3x38lj0qh36hlzjw82px328k01fyrk21d6xlpn1w0j98gv";
63+ sha256 = "16w7pl8ir253g1dzlzx4mwrjsx3v7fl7zn941xz53zb4ld286mhi";
6464 type = "gem";
6565 };
66− version = "6.1.5.1";
66+ version = "6.1.5";
6767 };
6868 active_model_serializers = {
6969 dependencies = ["actionpack" "activemodel" "case_transform" "jsonapi-renderer"];
@@ -92,10 +92,10 @@
9292 platforms = [];
9393 source = {
9494 remotes = ["https://rubygems.org"];
95− sha256 = "1i6s8ppwnf0zcz466i5qi2gd7fdgxkl22db50mxkyfnbwnzbfw49";
95+ sha256 = "0arf4vxcahb9f9y5fa1ap7dwnknfjb0d5g9zsh0dnqfga9vp1hws";
9696 type = "gem";
9797 };
98− version = "6.1.5.1";
98+ version = "6.1.5";
9999 };
100100 activemodel = {
101101 dependencies = ["activesupport"];
@@ -103,10 +103,10 @@
103103 platforms = [];
104104 source = {
105105 remotes = ["https://rubygems.org"];
106− sha256 = "01bbxwbih29qcmqrrvqymlc6hjf0r38rpwdfgaimisp5vms3xxsn";
106+ sha256 = "16anyz7wqwmphzb6w1sgmvdvj50g3zp70s94s5v8hwxj680f6195";
107107 type = "gem";
108108 };
109− version = "6.1.5.1";
109+ version = "6.1.5";
110110 };
111111 activerecord = {
112112 dependencies = ["activemodel" "activesupport"];
@@ -114,10 +114,10 @@
114114 platforms = [];
115115 source = {
116116 remotes = ["https://rubygems.org"];
117− sha256 = "1yscjy5766g67ip3g7614b0hhrpgz5qk22nj8ghzcjqh3fj2k2n0";
117+ sha256 = "0jl6jc9g9jxsljfnnmbkxrgwrz86icw6g745cv6iavryizrmw939";
118118 type = "gem";
119119 };
120− version = "6.1.5.1";
120+ version = "6.1.5";
121121 };
122122 activestorage = {
123123 dependencies = ["actionpack" "activejob" "activerecord" "activesupport" "marcel" "mini_mime"];
@@ -125,10 +125,10 @@
125125 platforms = [];
126126 source = {
127127 remotes = ["https://rubygems.org"];
128− sha256 = "1m0m7k0p5b7dfpmh9aqfs5fapaymkml3gspirpaq6w9w55ahf6pv";
128+ sha256 = "0gpxx9wyavp1mhy6fmyj4b20c4x0dcdj94y0ag61fgnyishd19ph";
129129 type = "gem";
130130 };
131− version = "6.1.5.1";
131+ version = "6.1.5";
132132 };
133133 activesupport = {
134134 dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"];
@@ -136,10 +136,10 @@
136136 platforms = [];
137137 source = {
138138 remotes = ["https://rubygems.org"];
139− sha256 = "1ylj0nwk9y5hbgv93wk8kkbg9z9bv1052ic37n9ib34w0bkgrzw4";
139+ sha256 = "0jmqndx3a46hpwz33ximqch27018n3mk9z19azgpylm33w7xpkx4";
140140 type = "gem";
141141 };
142− version = "6.1.5.1";
142+ version = "6.1.5";
143143 };
144144 addressable = {
145145 dependencies = ["public_suffix"];
@@ -250,10 +250,10 @@
250250 platforms = [];
251251 source = {
252252 remotes = ["https://rubygems.org"];
253− sha256 = "1afpq7sczg91xx5xi4xlgcwrrhmy3k6mrk60ph8avbfiyxgw27pc";
253+ sha256 = "0q5c8jjnlz6dlkxwsm6cj9n1z08pylvibsx8r42z50ws0jw2f7jm";
254254 type = "gem";
255255 };
256− version = "1.582.0";
256+ version = "1.558.0";
257257 };
258258 aws-sdk-core = {
259259 dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"];
@@ -261,10 +261,10 @@
261261 platforms = [];
262262 source = {
263263 remotes = ["https://rubygems.org"];
264− sha256 = "0hajbavfngn99hcz6n20162jygvwdflldvnlrza7z32hizawaaan";
264+ sha256 = "0cmrz2ddv8235z2dx1hyw85mh3lxaipk9dyy10zk2fvmv1nkfkiq";
265265 type = "gem";
266266 };
267− version = "3.130.2";
267+ version = "3.127.0";
268268 };
269269 aws-sdk-kms = {
270270 dependencies = ["aws-sdk-core" "aws-sigv4"];
@@ -272,10 +272,10 @@
272272 platforms = [];
273273 source = {
274274 remotes = ["https://rubygems.org"];
275− sha256 = "14dcfqqdx1dy7qwrdyqdvqjs53kswm4njvg34f61jpl9xi3h2yf3";
275+ sha256 = "0fmpdll52ng1kfn4r5ndcyppn5553qvvxw87w58m9n70ga3avasi";
276276 type = "gem";
277277 };
278− version = "1.56.0";
278+ version = "1.55.0";
279279 };
280280 aws-sdk-s3 = {
281281 dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"];
@@ -283,10 +283,10 @@
283283 platforms = [];
284284 source = {
285285 remotes = ["https://rubygems.org"];
286− sha256 = "17pc197a6axmnj6rbhgsvks2w0mv2mmr2bwh1k4mazbfp72ss87i";
286+ sha256 = "0iafjly868kdzmpxkv1ndmqm524ik36ibs15mqh145vw32gz7bax";
287287 type = "gem";
288288 };
289− version = "1.113.2";
289+ version = "1.113.0";
290290 };
291291 aws-sigv4 = {
292292 dependencies = ["aws-eventstream"];
@@ -294,10 +294,10 @@
294294 platforms = [];
295295 source = {
296296 remotes = ["https://rubygems.org"];
297− sha256 = "0xp7diwq7nv4vvxrl9x3lis2l4x6bissrfzbfyy6rv5bmj5w109z";
297+ sha256 = "1wh1y79v0s4zgby2m79bnifk65hwf5pvk2yyrxzn2jkjjq8f8fqa";
298298 type = "gem";
299299 };
300− version = "1.5.0";
300+ version = "1.4.0";
301301 };
302302 bcrypt = {
303303 groups = ["default" "pam_authentication"];
@@ -369,20 +369,20 @@
369369 platforms = [];
370370 source = {
371371 remotes = ["https://rubygems.org"];
372− sha256 = "0bjhh8pngmvnrsri2h6a753pgv0xdkbbgi1bmv6c7q137sp37jbg";
372+ sha256 = "053hx5hz1zdcqwywlnabzf0gkrrchhzh66p1bfzvrryb075lsqm1";
373373 type = "gem";
374374 };
375− version = "1.11.1";
375+ version = "1.10.3";
376376 };
377377 brakeman = {
378378 groups = ["development"];
379379 platforms = [];
380380 source = {
381381 remotes = ["https://rubygems.org"];
382− sha256 = "1bk1xz5w29cq84svnrlgcrwvy1lpkwqrv6cmkkivs3yrym09av14";
382+ sha256 = "197bvfm4rpczyrpbjzn7zh4q6rxigwnxnnmvvgfg9451k3jjygyy";
383383 type = "gem";
384384 };
385− version = "5.2.2";
385+ version = "5.2.1";
386386 };
387387 browser = {
388388 groups = ["default"];
@@ -864,10 +864,10 @@
864864 platforms = [];
865865 source = {
866866 remotes = ["https://rubygems.org"];
867− sha256 = "1d2z4ky2v15dpcz672i2p7lb2nc793dasq3yq3660h2az53kss9v";
867+ sha256 = "0xsfa02hin2ymfcf0bdvsw6wk8w706rrfdqpy6b4f439zbqmn05m";
868868 type = "gem";
869869 };
870− version = "1.2.7";
870+ version = "1.2.6";
871871 };
872872 excon = {
873873 groups = ["default"];
@@ -1102,10 +1102,10 @@
11021102 platforms = [];
11031103 source = {
11041104 remotes = ["https://rubygems.org"];
1105− sha256 = "16xki30md6bygc62yi2s1y002vq6dm3bhjcjb9pl5dpr3al3fa1j";
1105+ sha256 = "0l8878iqg85zmpifjfnidpp17swgh103a0br68nqakflnn0zwcka";
11061106 type = "gem";
11071107 };
1108− version = "1.5.3";
1108+ version = "1.5.2";
11091109 };
11101110 fuubar = {
11111111 dependencies = ["rspec-core" "ruby-progressbar"];
@@ -1312,10 +1312,10 @@
13121312 platforms = [];
13131313 source = {
13141314 remotes = ["https://rubygems.org"];
1315− sha256 = "1hiblss98hmybs82xsaavhz1cwlhhx92jzlx8ypkriylxhhwmigk";
1315+ sha256 = "1f3pgfjk4xmyjhqqq8dpx3vbxbq1d9bwlh3d7957vnkpdwk432n0";
13161316 type = "gem";
13171317 };
1318− version = "1.0.9";
1318+ version = "1.0.8";
13191319 };
13201320 idn-ruby = {
13211321 groups = ["default"];
@@ -1342,10 +1342,10 @@
13421342 platforms = [];
13431343 source = {
13441344 remotes = ["https://rubygems.org"];
1345− sha256 = "1mnvb80cdg7fzdcs3xscv21p28w4igk5sj5m7m81xp8v2ks87jj0";
1345+ sha256 = "1gjrr5pdcl3l3skhp9d0jzs4yhmknpv3ldcz59b339b9lqbqasnr";
13461346 type = "gem";
13471347 };
1348− version = "1.6.1";
1348+ version = "1.6.0";
13491349 };
13501350 json = {
13511351 groups = ["default" "test"];
@@ -1545,10 +1545,10 @@
15451545 platforms = [];
15461546 source = {
15471547 remotes = ["https://rubygems.org"];
1548− sha256 = "0fpx5p8n0jq4bdazb2vn19sqkmh398rk9b2pa3gdi43snfn485cr";
1548+ sha256 = "15s6z5bvhdhnqv4wg8zcz3mhbc7i4dbqskv5jvhprz33ak7682km";
15491549 type = "gem";
15501550 };
1551− version = "2.17.0";
1551+ version = "2.16.0";
15521552 };
15531553 mail = {
15541554 dependencies = ["mini_mime"];
@@ -1690,10 +1690,10 @@
16901690 platforms = [];
16911691 source = {
16921692 remotes = ["https://rubygems.org"];
1693− sha256 = "1i0gbypr1yxwfkaxzrk0i1wz4n6v3mw7z24k65jy3q1h5lda5xbw";
1693+ sha256 = "0b98w2j7g89ihnc753hh3if68r5qrmdp9n2j6mvqy2yl73sbv739";
16941694 type = "gem";
16951695 };
1696− version = "1.5.1";
1696+ version = "1.4.4";
16971697 };
16981698 multi_json = {
16991699 groups = ["default"];
@@ -1762,10 +1762,10 @@
17621762 platforms = [];
17631763 source = {
17641764 remotes = ["https://rubygems.org"];
1765− sha256 = "1g43ii497cwdqhfnaxfl500bq5yfc5hfv5df1lvf6wcjnd708ihd";
1765+ sha256 = "1p6b3q411h2mw4dsvhjrp1hh66hha5cm69fqg85vn2lizz71n6xz";
17661766 type = "gem";
17671767 };
1768− version = "1.13.4";
1768+ version = "1.13.3";
17691769 };
17701770 nsa = {
17711771 dependencies = ["activesupport" "concurrent-ruby" "sidekiq" "statsd-ruby"];
@@ -1941,10 +1941,10 @@
19411941 platforms = [];
19421942 source = {
19431943 remotes = ["https://rubygems.org"];
1944− sha256 = "1v0cszy9lgjqn3ax8pbj5fg01pg83wyl41wzid3g35h4xdxz1d4a";
1944+ sha256 = "00rqwbbxiq7rsmfisfnqbgdswbwdm937f2wmj840j8wahsqmj2r8";
19451945 type = "gem";
19461946 };
1947− version = "2.8.3";
1947+ version = "2.8.2";
19481948 };
19491949 pkg-config = {
19501950 groups = ["default"];
@@ -2099,10 +2099,10 @@
20992099 platforms = [];
21002100 source = {
21012101 remotes = ["https://rubygems.org"];
2102− sha256 = "049s3y3dpl6dn478g912y6f9nzclnnkl30psrbc2w5kaihj5szhq";
2102+ sha256 = "1rc6simyql7ax5zzp667x6krl0xxxh3asc1av6gcn8j6cyl86wsx";
21032103 type = "gem";
21042104 };
2105− version = "6.6.1";
2105+ version = "6.6.0";
21062106 };
21072107 rack-cors = {
21082108 dependencies = ["rack"];
@@ -2154,10 +2154,10 @@
21542154 platforms = [];
21552155 source = {
21562156 remotes = ["https://rubygems.org"];
2157− sha256 = "08a9wl2g4q403jc9iziqh37c64yccp6rzxz6avy0l7ydslpxggv8";
2157+ sha256 = "1yr66s65nfw5yclf1x0ziy80gzhp9vqvyy0yzl0npmx25h4aizdv";
21582158 type = "gem";
21592159 };
2160− version = "6.1.5.1";
2160+ version = "6.1.5";
21612161 };
21622162 rails-controller-testing = {
21632163 dependencies = ["actionpack" "actionview" "activesupport"];
@@ -2220,10 +2220,10 @@
22202220 platforms = [];
22212221 source = {
22222222 remotes = ["https://rubygems.org"];
2223− sha256 = "0lirp0g1n114gwkqbqki2fjqwnbyzhn30z97jhikqldd0r54f4b9";
2223+ sha256 = "1fdqhv8qhk2dspkrr9f5dj3806g52cb0l1chh2hx8v81y218cl93";
22242224 type = "gem";
22252225 };
2226− version = "6.1.5.1";
2226+ version = "6.1.5";
22272227 };
22282228 rainbow = {
22292229 groups = ["default" "development" "test"];
@@ -2293,10 +2293,10 @@
22932293 platforms = [];
22942294 source = {
22952295 remotes = ["https://rubygems.org"];
2296− sha256 = "0a6nxfq3ln1i109jx172n33s73a90l8g04h8p56bmw9phj467h9k";
2296+ sha256 = "155f6cr4rrfw5bs5xd3m5kfw32qhc5fsi4nk82rhif56rc6cs0wm";
22972297 type = "gem";
22982298 };
2299− version = "2.3.0";
2299+ version = "2.2.1";
23002300 };
23012301 request_store = {
23022302 dependencies = ["rack"];
@@ -2399,10 +2399,10 @@
23992399 platforms = [];
24002400 source = {
24012401 remotes = ["https://rubygems.org"];
2402− sha256 = "07vagjxdm5a6s103y8zkcnja6avpl8r196hrpiffmg7sk83dqdsm";
2402+ sha256 = "0y38dc66yhnfcf4ky3k47c20xak1rax940s4a96qkjxqrniy5ys3";
24032403 type = "gem";
24042404 };
2405− version = "3.11.1";
2405+ version = "3.11.0";
24062406 };
24072407 rspec-rails = {
24082408 dependencies = ["actionpack" "activesupport" "railties" "rspec-core" "rspec-expectations" "rspec-mocks" "rspec-support"];
@@ -2410,10 +2410,10 @@
24102410 platforms = [];
24112411 source = {
24122412 remotes = ["https://rubygems.org"];
2413− sha256 = "1cqw7bhj4a4rhh1x9i5gjm9r91ckhjyngw0zcr7jw2jnfis10d7l";
2413+ sha256 = "0jj5zs9h2ll8iz699ac4bysih7y4csnf8h5h80bm6ppbf02ly8fa";
24142414 type = "gem";
24152415 };
2416− version = "5.1.2";
2416+ version = "5.1.1";
24172417 };
24182418 rspec-sidekiq = {
24192419 dependencies = ["rspec-core" "sidekiq"];
@@ -2453,10 +2453,10 @@
24532453 platforms = [];
24542454 source = {
24552455 remotes = ["https://rubygems.org"];
2456− sha256 = "00d9nzlnbxr3jqkya2b2rcahs9l22qpdk5qf3y7pws8m555l8slk";
2456+ sha256 = "06105yrqajpm5l07fng1nbk55y9490hny542zclnan8hg841pjgl";
24572457 type = "gem";
24582458 };
2459− version = "1.27.0";
2459+ version = "1.26.1";
24602460 };
24612461 rubocop-ast = {
24622462 dependencies = ["parser"];
@@ -2464,10 +2464,10 @@
24642464 platforms = [];
24652465 source = {
24662466 remotes = ["https://rubygems.org"];
2467− sha256 = "1k9izkr5rhw3zc309yjp17z7496l74j4li3zrcgpgqfnqwz695qx";
2467+ sha256 = "1bd2z82ly7fix8415gvfiwzb6bjialz5rs3sr72kv1lk68rd23wv";
24682468 type = "gem";
24692469 };
2470− version = "1.17.0";
2470+ version = "1.16.0";
24712471 };
24722472 rubocop-rails = {
24732473 dependencies = ["activesupport" "rack" "rubocop"];
@@ -2603,10 +2603,10 @@
26032603 platforms = [];
26042604 source = {
26052605 remotes = ["https://rubygems.org"];
2606− sha256 = "0ncly0glyvcx8cm976c811iw70y5wyix6iwfsmmgfvi0jmy1h4v3";
2606+ sha256 = "13pc206l9w1wklrgkcafbp332cf8ikl4wfks6ikhk9lvd6hi22sx";
26072607 type = "gem";
26082608 };
2609− version = "3.2.0";
2609+ version = "3.1.1";
26102610 };
26112611 sidekiq-unique-jobs = {
26122612 dependencies = ["brpoplpush-redis_script" "concurrent-ruby" "sidekiq" "thor"];
@@ -2614,10 +2614,10 @@
26142614 platforms = [];
26152615 source = {
26162616 remotes = ["https://rubygems.org"];
2617− sha256 = "0ibrdlpvlra8wxkhapiipwrx8v9y6wpmxlfn5r53swvhmlkrjqgq";
2617+ sha256 = "1b2dcw604mmjh4ncfwsidzbzqaa3fbngqidhvhsjv6ladpzsrb8y";
26182618 type = "gem";
26192619 };
2620− version = "7.1.21";
2620+ version = "7.1.16";
26212621 };
26222622 simple-navigation = {
26232623 dependencies = ["activesupport"];
pkgs/servers/mastodon/source.nix+2−2
@@ -2,8 +2,8 @@
22{ fetchgit, applyPatches }: let
33 src = fetchgit {
44 url = "https://github.com/mastodon/mastodon.git";
5− rev = "v3.5.2";
6− sha256 = "03sk0rzf7zy0vpq6f5f909hx5gbnan5b5h068grgzv2v7lj11was";
5+ rev = "v3.5.1";
6+ sha256 = "0n6ml245jdc2inzw7jwhxbqlfkp5bs61kslyy71ww6a29ndd6hv0";
77 };
88in applyPatches {
99 inherit src;
pkgs/servers/mastodon/version.nix+1−1
@@ -1 +1 @@
1−"3.5.2"
1+"3.5.1"
pkgs/servers/matrix-synapse/default.nix+2−2
@@ -11,11 +11,11 @@ in
1111with python3.pkgs;
1212buildPythonApplication rec {
1313 pname = "matrix-synapse";
14− version = "1.58.0";
14+ version = "1.57.0";
1515
1616 src = fetchPypi {
1717 inherit pname version;
18− sha256 = "sha256-cY3rtmaaAimEQPU4wcMEy/QysPNCdk7yptrkctnLfDA=";
18+ sha256 = "sha256-pZhm3jfpqOcLT+M4eeD8FyHtwj5EOAFESFu+4ZMoz0s=";
1919 };
2020
2121 buildInputs = [ openssl ];
pkgs/servers/matrix-synapse/matrix-appservice-irc/node-composition.nix+1−1
@@ -1,4 +1,4 @@
1−# This file has been generated by node2nix 1.11.1. Do not edit!
1+# This file has been generated by node2nix 1.9.0. Do not edit!
22
33{pkgs ? import <nixpkgs> {
44 inherit system;
pkgs/servers/matrix-synapse/matrix-appservice-irc/node-packages.nix+7−7
@@ -1,4 +1,4 @@
1−# This file has been generated by node2nix 1.11.1. Do not edit!
1+# This file has been generated by node2nix 1.9.0. Do not edit!
22
33{nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? []}:
44
@@ -3128,13 +3128,13 @@ let
31283128 sha512 = "HnEXoEhqpNp9/W9Ep7ZNZAubFlUssFyVpjgKfMOxxg+dYbBk5NWToHmAPQxlRUgrZ/rIMLVyMJROSCIthDbo2A==";
31293129 };
31303130 };
3131− "matrix-org-irc-1.2.1" = {
3131+ "matrix-org-irc-1.2.0" = {
31323132 name = "matrix-org-irc";
31333133 packageName = "matrix-org-irc";
3134− version = "1.2.1";
3134+ version = "1.2.0";
31353135 src = fetchurl {
3136− url = "https://registry.npmjs.org/matrix-org-irc/-/matrix-org-irc-1.2.1.tgz";
3137− sha512 = "x7SoeIOP+Z6R2s8PJqhM89OZNsS2RO4srx7c3JGa/VN6rtJ1AMLEyW4EPCVh09tGiTvmbit9KJysjLvFQPx9KA==";
3136+ url = "https://registry.npmjs.org/matrix-org-irc/-/matrix-org-irc-1.2.0.tgz";
3137+ sha512 = "RnfeR9FimJJD/iOWw0GiV7NIPRmBJobvFasUgjVmGre9A4qJ9klHIDOlQ5vXIoPPMjzG8XXuAf4WHgMCNBfZkQ==";
31383138 };
31393139 };
31403140 "media-typer-0.3.0" = {
@@ -5031,7 +5031,7 @@ let
50315031 args = {
50325032 name = "matrix-appservice-irc";
50335033 packageName = "matrix-appservice-irc";
5034− version = "0.34.0";
5034+ version = "0.33.1";
50355035 src = ./.;
50365036 dependencies = [
50375037 sources."@alloc/quick-lru-5.2.0"
@@ -5475,7 +5475,7 @@ let
54755475 sources."qs-6.10.3"
54765476 ];
54775477 })
5478− sources."matrix-org-irc-1.2.1"
5478+ sources."matrix-org-irc-1.2.0"
54795479 sources."media-typer-0.3.0"
54805480 sources."merge-descriptors-1.0.1"
54815481 sources."merge2-1.4.1"
pkgs/servers/matrix-synapse/matrix-appservice-irc/package.json+2−2
@@ -1,6 +1,6 @@
11{
22 "name": "matrix-appservice-irc",
3− "version": "0.34.0",
3+ "version": "0.33.1",
44 "description": "An IRC Bridge for Matrix",
55 "main": "app.js",
66 "bin": "./bin/matrix-appservice-irc",
@@ -34,7 +34,7 @@
3434 "he": "^1.2.0",
3535 "logform": "^2.4.0",
3636 "matrix-appservice-bridge": "^3.2.0",
37− "matrix-org-irc": "^1.2.1",
37+ "matrix-org-irc": "^1.2.0",
3838 "matrix-bot-sdk": "0.5.19",
3939 "nopt": "^3.0.1",
4040 "p-queue": "^6.6.2",
pkgs/servers/matrix-synapse/matrix-appservice-irc/src.json+4−4
@@ -1,9 +1,9 @@
11{
22 "url": "https://github.com/matrix-org/matrix-appservice-irc",
3− "rev": "8faf9614e80073e3cf07c96dbd295379d80f4161",
4− "date": "2022-05-04T09:06:31+02:00",
5− "path": "/nix/store/sy3v3h9xf4zc9cggavfk720c1pv3hiz2-matrix-appservice-irc",
6− "sha256": "1ihhd1y6jsz98iwrza3fnfinpkpzkn0776wiz6jzdzz71hnb444l",
3+ "rev": "00c8e7afb057021126c5e8ea9a46f2f8a55ea0bc",
4+ "date": "2022-03-30T14:29:04+01:00",
5+ "path": "/nix/store/9cm14kvicwc83irmbb8zsr8rc4893l22-matrix-appservice-irc",
6+ "sha256": "1zhcihji9cwrdajx5dfnd4w38xsnqnqmwccngfiwrh8mwra7phfi",
77 "fetchLFS": false,
88 "fetchSubmodules": false,
99 "deepClone": false,
pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix+7−7
@@ -1,19 +1,19 @@
1−{ lib, buildGoModule, fetchFromGitHub }:
1+{ lib, buildGoPackage, fetchFromGitHub }:
22
3−buildGoModule rec {
3+buildGoPackage rec {
44 pname = "aws-s3-exporter";
5− version = "0.5.0";
5+ version = "0.4.1";
6+
7+ goPackagePath = "github.com/ribbybibby/s3_exporter";
68
79 src = fetchFromGitHub {
810 owner = "ribbybibby";
911 repo = "s3_exporter";
1012 rev = "v${version}";
11− sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE=";
13+ sha256 = "01g4k5wrbc2ggxkn4yqd2v0amw8yl5dbcfwi4jm3kqkihrf0rbiq";
1214 };
1315
14− vendorSha256 = null;
15−
16− ldflags = [ "-s" "-w" ];
16+ doCheck = true;
1717
1818 meta = with lib; {
1919 description = "Exports Prometheus metrics about S3 buckets and objects";
pkgs/servers/monitoring/prometheus/haproxy-exporter.nix+7−9
@@ -1,20 +1,18 @@
1−{ lib, buildGoModule, fetchFromGitHub }:
1+{ lib, buildGoPackage, fetchFromGitHub }:
22
3−buildGoModule rec {
3+buildGoPackage rec {
44 pname = "haproxy_exporter";
5− version = "0.13.0";
5+ version = "0.12.0";
6+
7+ goPackagePath = "github.com/prometheus/haproxy_exporter";
68
79 src = fetchFromGitHub {
10+ rev = "v${version}";
811 owner = "prometheus";
912 repo = "haproxy_exporter";
10− rev = "v${version}";
11− sha256 = "sha256-F0yYUIKTIGyhzL0QwmioQYnWBb0GeFOhBwL3IqDKoQA=";
13+ sha256 = "09aqm2zqimn6w10p1nhnpjcigm299b31xfrq8ma0d7z4v9p2y9dn";
1214 };
1315
14− vendorSha256 = "sha256-iJ2doxsLqTitsKJg3PUFLzEtLlP5QckSdFZkXX3ALIE=";
15−
16− ldflags = [ "-s" "-w" ];
17−
1816 meta = with lib; {
1917 description = "HAProxy Exporter for the Prometheus monitoring system";
2018 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−, oath-toolkit }:
3+, oathToolkit }:
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 oath-toolkit ];
16+ buildInputs = [ gnustep.base sope openssl libmemcached curl libsodium libytnef libzip pkg-config openldap oathToolkit ];
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/stdenv/generic/make-derivation.nix+3−68
@@ -9,72 +9,8 @@ let
99 # to build it. This is a bit confusing for cross compilation.
1010 inherit (stdenv) hostPlatform;
1111 };
12−
13− makeOverlayable = mkDerivationSimple:
14− fnOrAttrs:
15− if builtins.isFunction fnOrAttrs
16− then makeDerivationExtensible mkDerivationSimple fnOrAttrs
17− else makeDerivationExtensibleConst mkDerivationSimple fnOrAttrs;
18−
19− # Based off lib.makeExtensible, with modifications:
20− makeDerivationExtensible = mkDerivationSimple: rattrs:
21− let
22− # NOTE: The following is a hint that will be printed by the Nix cli when
23− # encountering an infinite recursion. It must not be formatted into
24− # separate lines, because Nix would only show the last line of the comment.
25−
26− # An infinite recursion here can be caused by having the attribute names of expression `e` in `.overrideAttrs(finalAttrs: previousAttrs: e)` depend on `finalAttrs`. Only the attribute values of `e` can depend on `finalAttrs`.
27− args = rattrs (args // { inherit finalPackage; });
28− # ^^^^
29−
30− finalPackage =
31− mkDerivationSimple
32− (f0:
33− let
34− f = self: super:
35− # Convert f0 to an overlay. Legacy is:
36− # overrideAttrs (super: {})
37− # We want to introduce self. We follow the convention of overlays:
38− # overrideAttrs (self: super: {})
39− # Which means the first parameter can be either self or super.
40− # This is surprising, but far better than the confusion that would
41− # arise from flipping an overlay's parameters in some cases.
42− let x = f0 super;
43− in
44− if builtins.isFunction x
45− then
46− # Can't reuse `x`, because `self` comes first.
47− # Looks inefficient, but `f0 super` was a cheap thunk.
48− f0 self super
49− else x;
50− in
51− makeDerivationExtensible mkDerivationSimple
52− (self: let super = rattrs self; in super // f self super))
53− args;
54− in finalPackage;
55−
56− # makeDerivationExtensibleConst == makeDerivationExtensible (_: attrs),
57− # but pre-evaluated for a slight improvement in performance.
58− makeDerivationExtensibleConst = mkDerivationSimple: attrs:
59− mkDerivationSimple
60− (f0:
61− let
62− f = self: super:
63− let x = f0 super;
64− in
65− if builtins.isFunction x
66− then
67− f0 self super
68− else x;
69− in
70− makeDerivationExtensible mkDerivationSimple (self: attrs // f self attrs))
71− attrs;
72−
7312in
7413
75−makeOverlayable (overrideAttrs:
76−
77−
7814# `mkDerivation` wraps the builtin `derivation` function to
7915# produce derivations that use this stdenv and its shell.
8016#
@@ -134,7 +70,6 @@ makeOverlayable (overrideAttrs:
13470
13571, # TODO(@Ericson2314): Make always true and remove
13672 strictDeps ? if config.strictDepsByDefault then true else stdenv.hostPlatform != stdenv.buildPlatform
137−
13873, meta ? {}
13974, passthru ? {}
14075, pos ? # position used in error messages and for meta.position
@@ -446,6 +381,8 @@ in
446381lib.extendDerivation
447382 validity.handled
448383 ({
384+ overrideAttrs = f: stdenv.mkDerivation (attrs // (f attrs));
385+
449386 # A derivation that always builds successfully and whose runtime
450387 # dependencies are the original derivations build time dependencies
451388 # This allows easy building and distributing of all derivations
@@ -471,12 +408,10 @@ lib.extendDerivation
471408 args = [ "-c" "export > $out" ];
472409 });
473410
474− inherit meta passthru overrideAttrs;
411+ inherit meta passthru;
475412 } //
476413 # Pass through extra attributes that are not inputs, but
477414 # should be made available to Nix expressions using the
478415 # derivation (e.g., in assertions).
479416 passthru)
480417 (derivation derivationArg)
481−
482−)
pkgs/tools/X11/opentabletdriver/default.nix+2−2
@@ -19,13 +19,13 @@
1919
2020buildDotnetModule rec {
2121 pname = "OpenTabletDriver";
22− version = "0.6.0.4";
22+ version = "0.6.0.3";
2323
2424 src = fetchFromGitHub {
2525 owner = "OpenTabletDriver";
2626 repo = "OpenTabletDriver";
2727 rev = "v${version}";
28− sha256 = "sha256-VvxW8Ck+XC4nXSUyDhcbGoeSr5uSAZ66jtZNoADuVR8=";
28+ sha256 = "sha256-/Tow25ycQEK8HN1IaB12ZXCXEsuKItD+aYLF/IX8Eos=";
2929 };
3030
3131 debPkg = fetchurl {
pkgs/tools/X11/opentabletdriver/deps.nix+1−1
@@ -20,7 +20,6 @@
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"; })
2423 (fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "5.0.0"; sha256 = "1p62khf9zk23lh91lvz7plv3g1nzmm3b5szqrcm6mb8w3sjk03wi"; })
2524 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.0.1"; sha256 = "01al6cfxp68dscl15z7rxfw9zvhm64dncsw09a1vmdkacsa2v6lr"; })
2625 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.1.0"; sha256 = "08vh1r12g6ykjygq5d3vq09zylgb84l63k49jc4v8faw9g93iqqm"; })
@@ -28,6 +27,7 @@
2827 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "3.0.0"; sha256 = "1bk8r4r3ihmi6322jmcag14jmw11mjqys202azqjzglcx59pxh51"; })
2928 (fetchNuGet { pname = "Microsoft.NETCore.Targets"; version = "1.0.1"; sha256 = "0ppdkwy6s9p7x9jix3v4402wb171cdiibq7js7i13nxpdky7074p"; })
3029 (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.38";
23+ version = "0.0.37";
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 = "refs/tags/${version}";
31− sha256 = "sha256-/Xe4RDA9sBEsBBV1VP91VX0VfO8alK8L70m9WrB7qu4=";
30+ rev = version;
31+ sha256 = "1bh733n4m5rsslpbjvhdigx6768nrvacybkakrm9704d2md9vkqd";
3232 };
3333
3434 propagatedBuildInputs = [
pkgs/tools/admin/lxd/default.nix−1
@@ -48,7 +48,6 @@ buildGo118Package rec {
4848 '';
4949
5050 passthru.tests.lxd = nixosTests.lxd;
51− passthru.tests.lxd-nftables = nixosTests.lxd-nftables;
5251
5352 nativeBuildInputs = [ installShellFiles pkg-config makeWrapper ];
5453 buildInputs = [ lxc acl libcap dqlite.dev raft-canonical.dev
pkgs/tools/admin/pgadmin/default.nix+54−87
@@ -1,21 +1,21 @@
1−{ lib
1+{ stdenv
2+, lib
23, python3
34, fetchurl
45, zlib
56, mkYarnModules
67, sphinx
78, nixosTests
8−, pkgs
99}:
1010
1111let
1212
1313 pname = "pgadmin";
14− version = "6.8";
14+ version = "6.7";
1515
1616 src = fetchurl {
1717 url = "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${version}/source/pgadmin4-${version}.tar.gz";
18− sha256 = "sha256-kS9GV/j28zkXTJZkRrG2JDgas210rQqXOJrwwxzepbw=";
18+ sha256 = "1g2yxwgj9fp1fkn8j2jrdhmr2b2s6y8sgv4jq55aaxm4hfkkqh6d";
1919 };
2020
2121 yarnDeps = mkYarnModules {
@@ -25,78 +25,9 @@ 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−
9728in
9829
99−pythonPackages.buildPythonApplication rec {
30+python3.pkgs.buildPythonApplication rec {
10031 inherit pname version src;
10132
10233 # from Dockerfile
@@ -112,19 +43,19 @@ pythonPackages.buildPythonApplication rec {
11243 postPatch = ''
11344 # patching Makefile, so it doesn't try to build sphinx documentation here
11445 # (will do so later)
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"
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"
11647 # fix document which refers a non-existing document and fails
11748 substituteInPlace docs/en_US/contributions.rst --replace "code_snippets" ""
11849 patchShebangs .
11950 # relax dependencies
12051 substituteInPlace requirements.txt \
52+ --replace "Pillow==8.3.*" "Pillow>=8.3.0" \
12153 --replace "psycopg2==2.9.*" "psycopg2>=2.9" \
12254 --replace "cryptography==3.*" "cryptography>=3.0" \
12355 --replace "requests==2.25.*" "requests>=2.25.0" \
12456 --replace "boto3==1.20.*" "boto3>=1.20" \
12557 --replace "botocore==1.23.*" "botocore>=1.23" \
126− --replace "pytz==2021.*" "pytz" \
127− --replace "Werkzeug==2.0.3" "werkzeug>=2.*"
58+ --replace "pytz==2021.*" "pytz"
12859 # don't use Server Mode (can be overridden later)
12960 substituteInPlace pkg/pip/setup_pip.py \
13061 --replace "req = req.replace('psycopg2', 'psycopg2-binary')" "req = req" \
@@ -170,10 +101,10 @@ pythonPackages.buildPythonApplication rec {
170101 cp -v ../pkg/pip/setup_pip.py setup.py
171102 '';
172103
173− nativeBuildInputs = with pythonPackages; [ cython pip ];
104+ nativeBuildInputs = [ python3 python3.pkgs.cython python3.pkgs.pip ];
174105 buildInputs = [
175106 zlib
176− pythonPackages.wheel
107+ python3.pkgs.wheel
177108 ];
178109
179110 # tests need an own data, log directory
@@ -181,21 +112,57 @@ pythonPackages.buildPythonApplication rec {
181112 # checks will be run through nixos/tests
182113 doCheck = false;
183114
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 ];
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+ ];
187157
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; }));
158+ passthru = {
159+ tests = { inherit (nixosTests) pgadmin4 pgadmin4-standalone; };
192160 };
193161
194162 meta = with lib; {
195163 description = "Administration and development platform for PostgreSQL";
196164 homepage = "https://www.pgadmin.org/";
197165 license = licenses.mit;
198− changelog = "https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_${lib.versions.major version}_${lib.versions.minor version}.html";
199166 maintainers = with maintainers; [ gador ];
200167 };
201168}
pkgs/tools/admin/pgadmin/package.json+4−7
@@ -8,8 +8,8 @@
88 "license": "PostgreSQL",
99 "devDependencies": {
1010 "@babel/core": "^7.10.2",
11− "@babel/eslint-parser": "^7.17.0",
12− "@babel/eslint-plugin": "^7.17.7",
11+ "@babel/eslint-parser": "^7.12.13",
12+ "@babel/eslint-plugin": "^7.12.13",
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,12 +82,11 @@
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",
8586 "@material-ui/core": "4.11.0",
8687 "@material-ui/icons": "^4.11.2",
8788 "@material-ui/lab": "4.0.0-alpha.58",
8889 "@material-ui/pickers": "^3.2.10",
89− "@mui/icons-material": "^5.4.2",
90− "@mui/material": "^5.4.3",
9190 "@projectstorm/react-diagrams": "^6.6.1",
9291 "@simonwep/pickr": "^1.5.1",
9392 "@szhsin/react-menu": "^2.2.0",
@@ -146,7 +145,7 @@
146145 "path-fx": "^2.0.0",
147146 "pathfinding": "^0.4.18",
148147 "paths-js": "^0.4.9",
149− "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613",
148+ "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bf7ac7be65898883e3e05c9733426152a1da6422",
150149 "postcss": "^8.2.15",
151150 "raf": "^3.4.1",
152151 "rc-dock": "^3.2.9",
@@ -155,8 +154,6 @@
155154 "react-checkbox-tree": "^1.7.2",
156155 "react-dom": "^17.0.1",
157156 "react-draggable": "^4.4.4",
158− "react-rnd": "^10.3.5",
159− "react-router-dom": "^6.2.2",
160157 "react-select": "^4.2.1",
161158 "react-table": "^7.6.3",
162159 "react-timer-hook": "^3.0.5",
pkgs/tools/admin/pgadmin/yarn.lock+22−231
@@ -91,19 +91,19 @@
9191 json5 "^2.1.2"
9292 semver "^6.3.0"
9393
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==
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==
9898 dependencies:
99− eslint-scope "^5.1.1"
100− eslint-visitor-keys "^2.1.0"
99+ eslint-scope "5.1.0"
100+ eslint-visitor-keys "^1.3.0"
101101 semver "^6.3.0"
102102
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==
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==
107107 dependencies:
108108 eslint-rule-composer "^0.3.0"
109109
@@ -1741,13 +1741,6 @@
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−
17511744"@babel/template@^7.12.13", "@babel/template@^7.14.5":
17521745 version "7.14.5"
17531746 resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4"
@@ -1856,17 +1849,6 @@
18561849 "@emotion/weak-memoize" "^0.2.5"
18571850 stylis "^4.0.3"
18581851
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−
18701852"@emotion/core@^10.0.14":
18711853 version "10.1.1"
18721854 resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.1.1.tgz#c956c1365f2f2481960064bcb8c4732e5fb612c3"
@@ -1900,13 +1882,6 @@
19001882 dependencies:
19011883 "@emotion/memoize" "0.7.4"
19021884
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−
19101885"@emotion/memoize@0.7.4":
19111886 version "0.7.4"
19121887 resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb"
@@ -1962,11 +1937,6 @@
19621937 resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.0.1.tgz#245f54abb02dfd82326e28689f34c27aa9b2a698"
19631938 integrity sha512-GbIvVMe4U+Zc+929N1V7nW6YYJtidj31lidSmdYcWozwoBIObXBnaJkKNDjZrLm9Nc0BR+ZyHNaRZxqNZbof5g==
19641939
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−
19701940"@emotion/styled-base@^10.0.27":
19711941 version "10.0.31"
19721942 resolved "https://registry.yarnpkg.com/@emotion/styled-base/-/styled-base-10.0.31.tgz#940957ee0aa15c6974adc7d494ff19765a2f742a"
@@ -2147,93 +2117,6 @@
21472117 prop-types "^15.7.2"
21482118 react-is "^16.8.0 || ^17.0.0"
21492119
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−
22372120"@nodelib/fs.scandir@2.1.4":
22382121 version "2.1.4"
22392122 resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69"
@@ -2276,11 +2159,6 @@
22762159 resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.15.tgz#6a9d143f7f4f49db2d782f9e1c8839a29b43ae23"
22772160 integrity sha512-15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA==
22782161
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−
22842162"@popperjs/core@^2.8.3":
22852163 version "2.9.0"
22862164 resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.9.0.tgz#32e63212293dd3efbb521cd35a5020ab66eaa546"
@@ -2558,11 +2436,6 @@
25582436 resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
25592437 integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==
25602438
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−
25662439"@types/q@^1.5.1":
25672440 version "1.5.4"
25682441 resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24"
@@ -2575,13 +2448,6 @@
25752448 dependencies:
25762449 "@types/react" "^16"
25772450
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−
25852451"@types/react-transition-group@^4.2.0":
25862452 version "4.4.1"
25872453 resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.1.tgz#e1a3cb278df7f47f17b5082b1b3da17170bd44b1"
@@ -2589,13 +2455,6 @@
25892455 dependencies:
25902456 "@types/react" "*"
25912457
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−
25992458"@types/react@*", "@types/react@^16":
26002459 version "16.14.10"
26012460 resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.10.tgz#76bc1c42ed5ab0d2ab13e5c58faaccaad3449477"
@@ -4681,11 +4540,6 @@ csstype@^2.5.2, csstype@^2.5.7:
46814540 resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.16.tgz#544d69f547013b85a40d15bff75db38f34fe9c39"
46824541 integrity sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==
46834542
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−
46894543csstype@^3.0.2:
46904544 version "3.0.8"
46914545 resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.8.tgz#d2266a792729fb227cd216fb572f43728e1ad340"
@@ -5369,6 +5223,14 @@ eslint-rule-composer@^0.3.0:
53695223 resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
53705224 integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==
53715225
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+
53725234eslint-scope@^5.1.1:
53735235 version "5.1.1"
53745236 resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
@@ -5389,7 +5251,7 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0:
53895251 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
53905252 integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
53915253
5392−eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0:
5254+eslint-visitor-keys@^2.0.0:
53935255 version "2.1.0"
53945256 resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
53955257 integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
@@ -5458,7 +5320,7 @@ esquery@^1.4.0:
54585320 dependencies:
54595321 estraverse "^5.1.0"
54605322
5461−esrecurse@^4.3.0:
5323+esrecurse@^4.1.0, esrecurse@^4.3.0:
54625324 version "4.3.0"
54635325 resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
54645326 integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==
@@ -5636,11 +5498,6 @@ fast-levenshtein@^2.0.6:
56365498 resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
56375499 integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
56385500
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−
56445501fast-safe-stringify@^2.0.7:
56455502 version "2.0.7"
56465503 resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743"
@@ -6202,13 +6059,6 @@ hex-color-regex@^1.1.0:
62026059 resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
62036060 integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==
62046061
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−
62126062hmac-drbg@^1.0.1:
62136063 version "1.0.1"
62146064 resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
@@ -8501,9 +8351,9 @@ performance-now@^2.1.0:
85018351 resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
85028352 integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
85038353
8504−"pgadmin4-tree@git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613":
8354+"pgadmin4-tree@git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bf7ac7be65898883e3e05c9733426152a1da6422":
85058355 version "1.0.0"
8506− resolved "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613"
8356+ resolved "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bf7ac7be65898883e3e05c9733426152a1da6422"
85078357 dependencies:
85088358 "@types/classnames" "^2.2.6"
85098359 "@types/react" "^16.7.18"
@@ -9173,13 +9023,6 @@ 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
91739023 react-is "^16.12.0"
91749024 shallowequal "^1.1.0"
91759025
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−
91839026react-aspen@^1.1.0, react-aspen@^1.1.1:
91849027 version "1.1.1"
91859028 resolved "https://registry.yarnpkg.com/react-aspen/-/react-aspen-1.1.1.tgz#61a85ef43748158322c4a3b73faaa5e563edd038"
@@ -9220,14 +9063,6 @@ react-dom@^17.0.1:
92209063 object-assign "^4.1.1"
92219064 scheduler "^0.20.2"
92229065
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−
92319066react-draggable@^4.4.4:
92329067 version "4.4.4"
92339068 resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.4.tgz#5b26d9996be63d32d285a426f41055de87e59b2f"
@@ -9258,30 +9093,6 @@ react-property@1.0.1:
92589093 resolved "https://registry.yarnpkg.com/react-property/-/react-property-1.0.1.tgz#4ae4211557d0a0ae050a71aa8ad288c074bea4e6"
92599094 integrity sha512-1tKOwxFn3dXVomH6pM9IkLkq2Y8oh+fh/lYW3MJ/B03URswUTqttgckOlbxY2XHF3vPG6uanSc4dVsLW/wk3wQ==
92609095
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−
92859096react-select@^4.2.1:
92869097 version "4.3.1"
92879098 resolved "https://registry.yarnpkg.com/react-select/-/react-select-4.3.1.tgz#389fc07c9bc7cf7d3c377b7a05ea18cd7399cb81"
@@ -9333,16 +9144,6 @@ react-transition-group@^4.0.0, react-transition-group@^4.3.0, react-transition-g
93339144 loose-envify "^1.4.0"
93349145 prop-types "^15.6.2"
93359146
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−
93469147react-transition-state@^1.1.3:
93479148 version "1.1.3"
93489149 resolved "https://registry.yarnpkg.com/react-transition-state/-/react-transition-state-1.1.3.tgz#6d999dc640ffd3a7442021a14a58e13347f4e95f"
@@ -10360,11 +10161,6 @@ stylehacks@^5.0.1:
1036010161 browserslist "^4.16.0"
1036110162 postcss-selector-parser "^6.0.4"
1036210163
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−
1036810164stylis@^4.0.3, stylis@^4.0.7:
1036910165 version "4.0.10"
1037010166 resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.10.tgz#446512d1097197ab3f02fb3c258358c3f7a14240"
@@ -10715,11 +10511,6 @@ trim-right@^1.0.1:
1071510511 resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
1071610512 integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
1071710513
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−
1072310514tslib@^2.2.0:
1072410515 version "2.2.0"
1072510516 resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c"
pkgs/tools/admin/pgadmin/yarn.nix+18−226
@@ -74,19 +74,19 @@
7474 };
7575 }
7676 {
77− name = "_babel_eslint_parser___eslint_parser_7.17.0.tgz";
77+ name = "_babel_eslint_parser___eslint_parser_7.13.8.tgz";
7878 path = fetchurl {
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==";
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==";
8282 };
8383 }
8484 {
85− name = "_babel_eslint_plugin___eslint_plugin_7.17.7.tgz";
85+ name = "_babel_eslint_plugin___eslint_plugin_7.13.0.tgz";
8686 path = fetchurl {
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==";
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==";
9090 };
9191 }
9292 {
@@ -1577,14 +1577,6 @@
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− }
15881580 {
15891581 name = "_babel_template___template_7.14.5.tgz";
15901582 path = fetchurl {
@@ -1681,14 +1673,6 @@
16811673 sha512 = "Zx70bjE7LErRO9OaZrhf22Qye1y4F7iDl+ITjet0J+i+B88PrAOBkKvaAWhxsZf72tDLajwCgfCjJ2dvH77C3g==";
16821674 };
16831675 }
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− }
16921676 {
16931677 name = "_emotion_core___core_10.1.1.tgz";
16941678 path = fetchurl {
@@ -1721,14 +1705,6 @@
17211705 sha512 = "u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==";
17221706 };
17231707 }
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− }
17321708 {
17331709 name = "_emotion_memoize___memoize_0.7.4.tgz";
17341710 path = fetchurl {
@@ -1785,14 +1761,6 @@
17851761 sha512 = "GbIvVMe4U+Zc+929N1V7nW6YYJtidj31lidSmdYcWozwoBIObXBnaJkKNDjZrLm9Nc0BR+ZyHNaRZxqNZbof5g==";
17861762 };
17871763 }
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− }
17961764 {
17971765 name = "_emotion_styled_base___styled_base_10.0.31.tgz";
17981766 path = fetchurl {
@@ -1961,70 +1929,6 @@
19611929 sha512 = "Uul8w38u+PICe2Fg2pDKCaIG7kOyhowZ9vjiC1FsVwPABTW8vPPKfF6OvxRq3IiBaI1faOJmgdvMG7rMJARBhA==";
19621930 };
19631931 }
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− }
20281932 {
20291933 name = "_nodelib_fs.scandir___fs.scandir_2.1.4.tgz";
20301934 path = fetchurl {
@@ -2073,14 +1977,6 @@
20731977 sha512 = "15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA==";
20741978 };
20751979 }
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− }
20841980 {
20851981 name = "_popperjs_core___core_2.9.0.tgz";
20861982 path = fetchurl {
@@ -2417,14 +2313,6 @@
24172313 sha512 = "KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==";
24182314 };
24192315 }
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− }
24282316 {
24292317 name = "_types_q___q_1.5.4.tgz";
24302318 path = fetchurl {
@@ -2441,14 +2329,6 @@
24412329 sha512 = "FIX2AVmPTGP30OUJ+0vadeIFJJ07Mh1m+U0rxfgyW34p3rTlXI+nlenvAxNn4BP36YyI9IJ/+UJ7Wu22N1pI7A==";
24422330 };
24432331 }
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− }
24522332 {
24532333 name = "_types_react_transition_group___react_transition_group_4.4.1.tgz";
24542334 path = fetchurl {
@@ -2457,14 +2337,6 @@
24572337 sha512 = "vIo69qKKcYoJ8wKCJjwSgCTM+z3chw3g18dkrDfVX665tMH7tmbDxEAnPdey4gTlwZz5QuHGzd+hul0OVZDqqQ==";
24582338 };
24592339 }
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− }
24682340 {
24692341 name = "_types_react___react_16.14.10.tgz";
24702342 path = fetchurl {
@@ -4601,14 +4473,6 @@
46014473 sha512 = "61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==";
46024474 };
46034475 }
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− }
46124476 {
46134477 name = "csstype___csstype_3.0.8.tgz";
46144478 path = fetchurl {
@@ -5321,6 +5185,14 @@
53215185 sha512 = "bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==";
53225186 };
53235187 }
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+ }
53245196 {
53255197 name = "eslint_scope___eslint_scope_5.1.1.tgz";
53265198 path = fetchurl {
@@ -5569,14 +5441,6 @@
55695441 sha1 = "PYpcZog6FqMMqGQ+hR8Zuqd5eRc=";
55705442 };
55715443 }
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− }
55805444 {
55815445 name = "fast_safe_stringify___fast_safe_stringify_2.0.7.tgz";
55825446 path = fetchurl {
@@ -6217,14 +6081,6 @@
62176081 sha512 = "l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==";
62186082 };
62196083 }
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− }
62286084 {
62296085 name = "hmac_drbg___hmac_drbg_1.0.1.tgz";
62306086 path = fetchurl {
@@ -8967,8 +8823,8 @@
89678823 let
89688824 repo = fetchgit {
89698825 url = "https://github.com/EnterpriseDB/pgadmin4-treeview/";
8970− rev = "c966febebcdffaa46f1ccf0769fe5308f179d613";
8971− sha256 = "0fxjalh7g8fwy3fczbj9pvf8g06chq41gw1jidz106wadjr72081";
8826+ rev = "bf7ac7be65898883e3e05c9733426152a1da6422";
8827+ sha256 = "0nsn7s0d1kpgpb554hkz7nsifzdyff06qc78gqmzd8j3sfcbjk63";
89728828 };
89738829 in
89748830 runCommand "pgadmin4-treeview" { buildInputs = [gnutar]; } ''
@@ -9697,14 +9553,6 @@
96979553 sha512 = "HWuTIKzBeZQQ7IBqdokE0wMp/xx39/KfUJ0gcquBigoldDCrf3YBcWFHrrQlJG7sI82Wg8mwp1uAKV3zMGfAgg==";
96989554 };
96999555 }
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− }
97089556 {
97099557 name = "react_aspen___react_aspen_1.1.1.tgz";
97109558 path = fetchurl {
@@ -9737,14 +9585,6 @@
97379585 sha512 = "s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==";
97389586 };
97399587 }
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− }
97489588 {
97499589 name = "react_draggable___react_draggable_4.4.4.tgz";
97509590 path = fetchurl {
@@ -9785,30 +9625,6 @@
97859625 sha512 = "1tKOwxFn3dXVomH6pM9IkLkq2Y8oh+fh/lYW3MJ/B03URswUTqttgckOlbxY2XHF3vPG6uanSc4dVsLW/wk3wQ==";
97869626 };
97879627 }
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− }
98129628 {
98139629 name = "react_select___react_select_4.3.1.tgz";
98149630 path = fetchurl {
@@ -9857,14 +9673,6 @@
98579673 sha512 = "Djqr7OQ2aPUiYurhPalTrVy9ddmFCCzwhqQmtN+J3+3DzLO209Fdr70QrN8Z3DsglWql6iY1lDWAfpFiBtuKGw==";
98589674 };
98599675 }
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− }
98689676 {
98699677 name = "react_transition_state___react_transition_state_1.1.3.tgz";
98709678 path = fetchurl {
@@ -11057,14 +10865,6 @@
1105710865 sha512 = "Es0rVnHIqbWzveU1b24kbw92HsebBepxfcqe5iix7t9j0PQqhs0IxXVXv0pY2Bxa08CgMkzD6OWql7kbGOuEdA==";
1105810866 };
1105910867 }
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− }
1106810868 {
1106910869 name = "stylis___stylis_4.0.10.tgz";
1107010870 path = fetchurl {
@@ -11433,14 +11233,6 @@
1143311233 sha1 = "yy4SAwZ+DI3h9hQJS5/kVwTqYAM=";
1143411234 };
1143511235 }
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− }
1144411236 {
1144511237 name = "tslib___tslib_2.2.0.tgz";
1144611238 path = fetchurl {
pkgs/tools/admin/syft/default.nix+3−3
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "syft";
5− version = "0.45.1";
5+ version = "0.44.1";
66
77 src = fetchFromGitHub {
88 owner = "anchore";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-oexsu52x9rAqwTVxTVHzKPuaIfvg5lvvuBmKcnb2Yew=";
11+ sha256 = "sha256-kDTTOc2sPCKWGeVuXlGhOo2dHjBZ1QEE7jAEVs4a70U=";
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-d6ZBWX4/lgh610fBLTE1EUqZmpctLfxi2PSRifH+1jg=";
23+ vendorSha256 = "sha256-ZWJzMDfCop5IT6mOvCWdtjGjVrZJxyM0z7iK3TiO+PI=";
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.unfree;
73+ license = licenses.gpl3Plus;
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, oath-toolkit
12+, leveldb, oathToolkit
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 oath-toolkit leveldb libnl libcap_ng rdkafka
164+ snappy lz4 oathToolkit 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.16.0";
7+ version = "5.15.0";
88
99 src = fetchurl {
1010 url = "mirror://kernel/linux/utils/fs/xfs/xfsprogs/${pname}-${version}.tar.xz";
11− hash = "sha256-eLjImZmb1pBEHLU9fAKrZxKUlAMZxpT/fILiPo5Gu58=";
11+ sha256 = "0mjdwxr2hhqkfa8xg0v74v3n27sjvlwm90jqnmx0587b60wbzlhk";
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.2";
5+ version = "2.15.1";
66
77 src = fetchFromGitHub {
88 owner = "twpayne";
99 repo = "chezmoi";
1010 rev = "v${version}";
11− sha256 = "sha256-zvr1O/HMSoZMtA/+dRO+co8Uy70qV8RPIDK3z8dRD28=";
11+ sha256 = "sha256-spIdY28ZC/+6bwWWwKW7Iu2E2eKD7MeRuxEAMN2e3H8=";
1212 };
1313
14− vendorSha256 = "sha256-UAjXCXypR1/SIJIZOS53LTyioKrXOECK9vh9t61W5gc=";
14+ vendorSha256 = "sha256-D27a107gjHK4NYkJhZDd0SvhUmmRSl3DX519nglAoPo=";
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-18";
13+ version = "unstable-2022-04-17";
1414
1515 nativeBuildInputs = [ makeWrapper ];
1616
1717 src = fetchFromGitHub {
1818 owner = "chubin";
1919 repo = "cheat.sh";
20− rev = "571377f2f79422398a701cb1864487124ec3dcc6";
21− sha256 = "0e9YhYcxU9t0SFeT1TjoRGTM3h1xRC528ae69tvz+a0=";
20+ rev = "7f769d6f3697541e55fd3ea9b71f190296529e48";
21+ sha256 = "+V3q71neW9X0JPJHqvNGopvIJfUv0VD9GKkz7YqN6Eo=";
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.23.0";
11+ version = "0.22.0";
1212
1313 src = fetchFromGitHub {
1414 owner = "pkolaczk";
1515 repo = pname;
1616 rev = "v${version}";
17− sha256 = "sha256-ICuhBoiCBmoy+jW+OK5OU5oAopyyOxSB6uHpZv2dEKI=";
17+ sha256 = "sha256-gzNrZJz0nC1N7LUyN5q16Vva1SD0jh7cBVV36927pmY=";
1818 };
1919
20− cargoSha256 = "sha256-NXkXxRDJcfB2F7hXF5nBFnQ+IFhZTSHg915NyRyuS8c=";
20+ cargoSha256 = "sha256-yooY58PZbraDYc+mvmDgKZ3CdvVkbKM/f/DcU0xDiNo=";
2121
2222 buildInputs = lib.optionals stdenv.isDarwin [
2323 AppKit
pkgs/tools/misc/lookatme/default.nixnew file+67
@@ -0,0 +1,67 @@
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/pferd/default.nix+2−2
@@ -5,14 +5,14 @@
55
66python3Packages.buildPythonApplication rec {
77 pname = "pferd";
8− version = "3.4.0";
8+ version = "3.3.1";
99 format = "pyproject";
1010
1111 src = fetchFromGitHub {
1212 owner = "Garmelon";
1313 repo = "PFERD";
1414 rev = "v${version}";
15− sha256 = "1nwrkc0z2zghy2nk9hfdrffg1k8anh3mn3hx31ql8xqwhv5ksh9g";
15+ sha256 = "162s966kmpngmp0h55x185qxsy96q2kxz2dd8w0zyh0n2hbap3lh";
1616 };
1717
1818 propagatedBuildInputs = with python3Packages; [
pkgs/tools/misc/rust-motd/default.nix+3−5
@@ -9,23 +9,21 @@
99
1010rustPlatform.buildRustPackage rec {
1111 pname = "rust-motd";
12− version = "0.2.1";
12+ version = "0.1.1";
1313
1414 src = fetchFromGitHub {
1515 owner = "rust-motd";
1616 repo = pname;
1717 rev = "v${version}";
18− sha256 = "sha256-iuADR7m+wdmsQ897o4CQHqDv9PmYu/vJgO5C6Dluao4=";
18+ sha256 = "0xhdbhl0riaq9n4g9n333pgw966bsi60zpcy7gpndzfj21bj2x1m";
1919 };
2020
21− cargoSha256 = "sha256-kdSMcADoTpMU4w2XSv0pPQZC155rrQACQ4XTVyj7eeA=";
21+ cargoSha256 = "sha256-l9Sit+niCLOnL1mdK6i8jea8NWsJlFM6p9lMTXyWOKY=";
2222
2323 nativeBuildInputs = [ pkg-config ];
2424
2525 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
2626
27− OPENSSL_NO_VENDOR = 1;
28−
2927 meta = with lib; {
3028 description = "Beautiful, useful MOTD generation with zero runtime dependencies";
3129 homepage = "https://github.com/rust-motd/rust-motd";
pkgs/tools/networking/pssh/default.nix+4−7
@@ -1,14 +1,14 @@
1−{ lib, fetchFromGitHub, python3Packages, openssh, rsync }:
1+{ lib, fetchFromGitHub, python2Packages, openssh, rsync }:
22
3−python3Packages.buildPythonApplication rec {
3+python2Packages.buildPythonApplication rec {
44 pname = "pssh";
5− version = "2.3.4";
5+ version = "2.3.1";
66
77 src = fetchFromGitHub {
88 owner = "lilydjwg";
99 repo = "pssh";
1010 rev = "v${version}";
11− hash = "sha256-B1dIa6hNeq4iE8GKVhTp3Gzq7vp+v5Yyzj8uF8X71yg=";
11+ sha256 = "0nawarxczfwajclnlsimhqkpzyqb1byvz9nsl54mi1bp80z5i4jq";
1212 };
1313
1414 postPatch = ''
@@ -20,9 +20,6 @@ python3Packages.buildPythonApplication rec {
2020 done
2121 '';
2222
23− # Tests do not run with python3: https://github.com/lilydjwg/pssh/issues/126
24− doCheck = false;
25−
2623 meta = with lib; {
2724 description = "Parallel SSH Tools";
2825 longDescription = ''
pkgs/tools/networking/urlwatch/default.nix+2−2
@@ -5,13 +5,13 @@
55
66python3Packages.buildPythonApplication rec {
77 pname = "urlwatch";
8− version = "2.25";
8+ version = "2.24";
99
1010 src = fetchFromGitHub {
1111 owner = "thp";
1212 repo = "urlwatch";
1313 rev = version;
14− hash = "sha256-+ayHMY0gEAVhOgDDh+RfRrUpV0tSX8mMmfPzyg+YSv4=";
14+ sha256 = "sha256-H7dusAXVEGOUu2fr6UjiXjw13Gm9xNeJDQ4jqV+8QmU=";
1515 };
1616
1717 propagatedBuildInputs = with python3Packages; [
pkgs/tools/security/cryptomator/default.nix+3−3
@@ -6,13 +6,13 @@
66
77let
88 pname = "cryptomator";
9− version = "1.6.10";
9+ version = "1.6.8";
1010
1111 src = fetchFromGitHub {
1212 owner = "cryptomator";
1313 repo = "cryptomator";
1414 rev = version;
15− sha256 = "sha256-klNkMCgXC0gGqNV7S5EObHYCcgN4SayeNHXF9bq+20s=";
15+ sha256 = "sha256-2bvIjfutxfTPBtYiSXpgdEh63Eg74uqSf8CDo/Oma0U=";
1616 };
1717
1818 # perform fake build to make a fixed-output derivation out of the files downloaded from maven central (120MB)
@@ -37,7 +37,7 @@ let
3737
3838 outputHashAlgo = "sha256";
3939 outputHashMode = "recursive";
40− outputHash = "sha256-biQBP0rV94+Hoqte36Xmzm1XWtWC+1ne5lgpUj0GPak=";
40+ outputHash = "sha256-quYUJX/JErtWuUQBYXXee/uZGkO0UBr4qxcGticxGUc=";
4141
4242 doCheck = false;
4343 };
pkgs/tools/security/fulcio/default.nix+3−3
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "fulcio";
5− version = "0.4.1";
5+ version = "0.4.0";
66
77 src = fetchFromGitHub {
88 owner = "sigstore";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-b+2M28cI+4UkzrIqI+BioxJsGqT0pqJVPTPmXe+NsZo=";
11+ sha256 = "sha256-WxSN1pZ8E5vKMoqR5EkGgKnLuHYb5Wl2vzqPcPEkXWE=";
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-INPMsSyjFs4GyapOlc/k5fcI2ePUKgp4BtASOKwQhck=";
23+ vendorSha256 = "sha256-v3H+uUERDHZB2ArruCOClCQFEEW8ANeReObww+1VKOI=";
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.1";
16+ version = "1.14.0";
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-vdMOD6Zrl718jcntjEzOG+4Rr0aqhm0YidA0x3Gseqg=";
24+ sha256 = "sha256-swvZrsRuevBe8lVg67J0R9u3GB/Wc2ZR54Y6j1Bsa3E=";
2525 };
2626
27− vendorSha256 = "sha256-mdPAZrcdlq7R7DRIfuxf4PCpEJoJjzo/+TDKAVglk7A=";
27+ vendorSha256 = "sha256-Fq9jEJm65efBL5ShcB/XCM70UVDO/8STbbTOOHXrpSk=";
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.1";
9+ version = "0.36.0";
1010
1111 src = fetchFromGitHub {
1212 owner = "anchore";
1313 repo = pname;
1414 rev = "v${version}";
15− sha256 = "sha256-BJSjJrDXZHB4MY4RZCmuC5Gn9YJiCQwyOFrXiGX1h18=";
15+ sha256 = "sha256-8bU7vuTbPoHGCoXiCc4p0rPzCSsYuXM3A2NAgIaHuIw=";
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-aIFom4hGx7HTobCh9YRyqyf9gUpJIaxAstUUkHjSFnA=";
28+ vendorSha256 = "sha256-Dn3lDdwUK+C7pQwN3uq7p4WkyG5tXTPd18rQGpwqcPI=";
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.5";
5+ version = "1.3.4";
66
77 src = fetchFromGitHub {
88 owner = "skylot";
99 repo = pname;
1010 rev = "v${version}";
11− hash = "sha256-uDNHjajGqEeXOIC5SaluhHWOkA2j3LUvB6O3MHB2+YA=";
11+ hash = "sha256-G2BgGhWk0Prbjni6HPZ/0+bWiC9uI2O13Q1SDCE5mBE=";
1212 };
1313
1414 deps = stdenv.mkDerivation {
@@ -40,7 +40,7 @@ let
4040 '';
4141
4242 outputHashMode = "recursive";
43− outputHash = "sha256-SFj3VPCIxEA2mj/xsibXZ1MDmV/BnmvQJUBav1gfEGM=";
43+ outputHash = "sha256-QZClHuj7oCUYX3I8B3A90m4zK7+FP24C19RIzYyPC1w=";
4444 };
4545in stdenv.mkDerivation {
4646 inherit pname version src;
pkgs/tools/security/nmap/default.nix+18−6
@@ -1,7 +1,9 @@
11{ lib, stdenv, fetchurl, fetchpatch, libpcap, pkg-config, openssl, lua5_3
22, pcre, libssh2
3+, graphicalSupport ? false
34, libX11 ? null
45, gtk2 ? null
6+, python2 ? null
57, makeWrapper ? null
68, withLua ? true
79}:
@@ -9,7 +11,7 @@
911with lib;
1012
1113stdenv.mkDerivation rec {
12− pname = "nmap";
14+ pname = "nmap${optionalString graphicalSupport "-graphical"}";
1315 version = "7.92";
1416
1517 src = fetchurl {
@@ -39,9 +41,7 @@ stdenv.mkDerivation rec {
3941 configureFlags = [
4042 (if withLua then "--with-liblua=${lua5_3}" else "--without-liblua")
4143 "--with-liblinear=included"
42− "--without-ndiff"
43− "--without-zenmap"
44− ];
44+ ] ++ optionals (!graphicalSupport) [ "--without-ndiff" "--without-zenmap" ];
4545
4646 makeFlags = optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
4747 "AR=${stdenv.cc.bintools.targetPrefix}ar"
@@ -49,8 +49,20 @@ stdenv.mkDerivation rec {
4949 "CC=${stdenv.cc.targetPrefix}gcc"
5050 ];
5151
52− nativeBuildInputs = [ pkg-config ];
53− buildInputs = [ pcre libssh2 libpcap openssl ];
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+ '';
5466
5567 enableParallelBuilding = true;
5668
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='oath-toolkit'
8+attr='oathToolkit'
99command='oathtool --version'
1010
1111color() {
pkgs/tools/security/pass/extensions/otp.nix+3−3
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, oath-toolkit }:
1+{ lib, stdenv, fetchFromGitHub, oathToolkit }:
22
33stdenv.mkDerivation rec {
44 pname = "pass-otp";
@@ -11,12 +11,12 @@ stdenv.mkDerivation rec {
1111 sha256 = "0cpqrf3939hcvwg7sd8055ghc8x964ilimlri16czzx188a9jx9v";
1212 };
1313
14− buildInputs = [ oath-toolkit ];
14+ buildInputs = [ oathToolkit ];
1515
1616 dontBuild = true;
1717
1818 patchPhase = ''
19− sed -i -e 's|OATH=\$(which oathtool)|OATH=${oath-toolkit}/bin/oathtool|' otp.bash
19+ sed -i -e 's|OATH=\$(which oathtool)|OATH=${oathToolkit}/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−, oath-toolkit
4+, oathToolkit
55, qgpgme
66, plasma-framework
77, qt5 }:
@@ -21,7 +21,7 @@ mkDerivation rec {
2121 buildInputs = [
2222 ki18n
2323 kitemmodels
24− oath-toolkit
24+ oathToolkit
2525 qgpgme
2626 plasma-framework
2727 qt5.qtbase
pkgs/tools/security/tor/default.nix+5−9
@@ -30,11 +30,11 @@ let
3030in
3131stdenv.mkDerivation rec {
3232 pname = "tor";
33− version = "0.4.7.7";
33+ version = "0.4.6.10";
3434
3535 src = fetchurl {
3636 url = "https://dist.torproject.org/${pname}-${version}.tar.gz";
37− sha256 = "sha256-PhMRWLUrlDXX5D0cR+8oi5bQBTQsxEuMlQu0A4UaW0Q=";
37+ sha256 = "lMzWDgTlWPM75zAyvITqJBZg+S9Yz7iHib2miTc54xw=";
3838 };
3939
4040 outputs = [ "out" "geoip" ];
@@ -45,13 +45,9 @@ stdenv.mkDerivation rec {
4545
4646 patches = [ ./disable-monotonic-timer-tests.patch ];
4747
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− ;
48+ # cross compiles correctly but needs the following
49+ configureFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
50+ "--disable-tool-name-check";
5551
5652 NIX_CFLAGS_LINK = lib.optionalString stdenv.cc.isGNU "-lgcc_s";
5753
pkgs/tools/system/freeipmi/default.nix+1−6
@@ -1,4 +1,4 @@
1−{ buildPackages, fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }:
1+{ fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }:
22
33stdenv.mkDerivation rec {
44 version = "1.6.9";
@@ -9,13 +9,8 @@ stdenv.mkDerivation rec {
99 sha256 = "sha256-8l4cNfPQ8bWpnMMezCNTyoPtRqFRY4QvuocBJ9ycggY=";
1010 };
1111
12− depsBuildBuild = [ buildPackages.stdenv.cc ];
13−
1412 buildInputs = [ libgcrypt readline libgpg-error ];
1513
16− configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform)
17− [ "ac_cv_file__dev_urandom=true" "ac_cv_file__dev_random=true" ];
18−
1914 doCheck = true;
2015
2116 meta = {
pkgs/tools/system/runitor/default.nixdeleted−52
@@ -1,52 +0,0 @@
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.nixnew file+21
@@ -0,0 +1,21 @@
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,7 +3,6 @@
33, rsync
44, python3
55, fetchFromGitHub
6−, nixosTests
76}:
87
98python3.pkgs.buildPythonApplication rec {
@@ -38,8 +37,6 @@ python3.pkgs.buildPythonApplication rec {
3837
3938 doCheck = false;
4039
41− passthru.tests.lxd-image-server = nixosTests.lxd-image-server;
42−
4340 meta = with lib; {
4441 description = "Creates and manages a simplestreams lxd image server on top of nginx";
4542 homepage = "https://github.com/Avature/lxd-image-server";
pkgs/top-level/aliases.nix+1−9
@@ -92,7 +92,6 @@ 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
9695 aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
9796 azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
9897
@@ -147,7 +146,6 @@ mapAliases ({
147146
148147 c14 = throw "c14 is deprecated and archived by upstream"; # Added 2022-04-10
149148 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
151149 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
152150 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
153151 callPackage_i686 = pkgsi686Linux.callPackage;
@@ -326,7 +324,6 @@ mapAliases ({
326324 double_conversion = throw "'double_conversion' has been renamed to/replaced by 'double-conversion'"; # Converted to throw 2022-02-22
327325 dragon-drop = throw "'dragon-drop' has been removed in favor of 'xdragon'"; # Added 2022-04-10;
328326 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
330327 dvb_apps = throw "dvb_apps has been removed"; # Added 2020-11-03
331328 dwarf_fortress = throw "'dwarf_fortress' has been renamed to/replaced by 'dwarf-fortress'"; # Converted to throw 2022-02-22
332329 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
@@ -873,8 +870,7 @@ mapAliases ({
873870 nix_2_6 = nixVersions.nix_2_6;
874871 nixopsUnstable = nixops_unstable; # Added 2022-03-03
875872 nmap-unfree = nmap; # Added 2021-04-06
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
873+ nmap_graphical = throw "'nmap_graphical' has been renamed to/replaced by 'nmap-graphical'"; # Converted to throw 2022-02-22
878874 nologin = throw "'nologin' has been renamed to/replaced by 'shadow'"; # Converted to throw 2022-02-22
879875 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # Added 2021-05-27
880876 noto-fonts-cjk = noto-fonts-cjk-sans; # Added 2021-12-16
@@ -885,7 +881,6 @@ mapAliases ({
885881
886882 ### O ###
887883
888− oathToolkit = oath-toolkit; # Added 2022-04-04
889884 oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained"; # Added 2020-10-09
890885 OVMF-CSM = throw "OVMF-CSM has been removed in favor of OVMFFull"; # Added 2021-10-16
891886 OVMF-secureBoot = throw "OVMF-secureBoot has been removed in favor of OVMFFull"; # Added 2021-10-16
@@ -1006,7 +1001,6 @@ mapAliases ({
10061001 pifi = throw "pifi has been removed from nixpkgs, as it is no longer developed"; # Added 2022-01-19
10071002 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
10081003 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
10101004 pkgconfig = pkg-config; # Added 2018-02-02, moved to aliases.nix 2021-01-18
10111005 pkgconfigUpstream = throw "'pkgconfigUpstream' has been renamed to/replaced by 'pkg-configUpstream'"; # Converted to throw 2022-02-22
10121006 planner = throw "planner has been removed from nixpkgs, as it is no longer developed and still uses python2/PyGTK"; # Added 2021-02-02
@@ -1311,7 +1305,6 @@ mapAliases ({
13111305 tshark = throw "'tshark' has been renamed to/replaced by 'wireshark-cli'"; # Converted to throw 2022-02-22
13121306 tuijam = throw "tuijam has been removed because Google Play Music was discontinued"; # Added 2021-03-07
13131307 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
13151308 typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11
13161309
13171310 ### U ###
@@ -1398,7 +1391,6 @@ mapAliases ({
13981391 xmonad_log_applet_gnome3 = throw "'xmonad_log_applet_gnome3' has been renamed to/replaced by 'xmonad_log_applet'"; # Converted to throw 2022-02-22
13991392 xmpppy = throw "xmpppy has been removed from nixpkgs as it is unmaintained and python2-only";
14001393 xp-pen-g430 = pentablet-driver; # Added 2020-05-03
1401− xpf = throw "xpf has been removed: abandoned by upstream"; # Added 2022-04-26
14021394 xf86_video_nouveau = throw "'xf86_video_nouveau' has been renamed to/replaced by 'xorg.xf86videonouveau'"; # Converted to throw 2022-02-22
14031395 xf86_input_mtrack = throw ''
14041396 xf86_input_mtrack has been removed from nixpkgs as it is broken and
pkgs/top-level/all-packages.nix+29−24
@@ -406,8 +406,6 @@ 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−
411409 protoc-gen-go = callPackage ../development/tools/protoc-gen-go { };
412410
413411 protoc-gen-go-grpc = callPackage ../development/tools/protoc-gen-go-grpc { };
@@ -2378,8 +2376,6 @@ with pkgs;
23782376
23792377 passExtensions = recurseIntoAttrs pass.extensions;
23802378
2381− pdepend = callPackage ../development/php-packages/pdepend/default.nix { };
2382−
23832379 platformsh = callPackage ../misc/platformsh { };
23842380
23852381 inherd-quake = callPackage ../applications/misc/inherd-quake {
@@ -3362,10 +3358,6 @@ with pkgs;
33623358
33633359 earlyoom = callPackage ../os-specific/linux/earlyoom { };
33643360
3365− easycrypt = callPackage ../applications/science/logic/easycrypt { };
3366−
3367− easycrypt-runtest = callPackage ../applications/science/logic/easycrypt/runtest.nix { };
3368−
33693361 EBTKS = callPackage ../development/libraries/science/biology/EBTKS { };
33703362
33713363 ecasound = callPackage ../applications/audio/ecasound { };
@@ -7386,8 +7378,6 @@ with pkgs;
73867378 inherit (darwin.apple_sdk.frameworks) AppKit;
73877379 };
73887380
7389− kdash = callPackage ../development/tools/kdash { };
7390−
73917381 kdbplus = pkgsi686Linux.callPackage ../applications/misc/kdbplus { };
73927382
73937383 keepalived = callPackage ../tools/networking/keepalived { };
@@ -8737,6 +8727,10 @@ with pkgs;
87378727
87388728 nmap = callPackage ../tools/security/nmap { };
87398729
8730+ nmap-graphical = nmap.override {
8731+ graphicalSupport = true;
8732+ };
8733+
87408734 nmap-formatter = callPackage ../tools/security/nmap-formatter { };
87418735
87428736 nmapsi4 = libsForQt5.callPackage ../tools/security/nmap/qt.nix { };
@@ -8827,7 +8821,7 @@ with pkgs;
88278821
88288822 oapi-codegen = callPackage ../tools/networking/oapi-codegen { };
88298823
8830− oath-toolkit = callPackage ../tools/security/oath-toolkit { };
8824+ oathToolkit = callPackage ../tools/security/oath-toolkit { };
88318825
88328826 oatpp = callPackage ../development/libraries/oatpp { };
88338827
@@ -9499,9 +9493,7 @@ with pkgs;
94999493
95009494 proxify = callPackage ../tools/networking/proxify { };
95019495
9502− proxysql = callPackage ../servers/sql/proxysql {
9503− stdenv = if stdenv.targetPlatform.isx86_64 then gcc10Stdenv else stdenv;
9504− };
9496+ proxysql = callPackage ../servers/sql/proxysql { };
95059497
95069498 prs = callPackage ../tools/security/prs { };
95079499
@@ -11803,6 +11795,10 @@ with pkgs;
1180311795 inherit (darwin.apple_sdk.frameworks) AppKit;
1180411796 };
1180511797
11798+ xpf = callPackage ../tools/text/xml/xpf {
11799+ libxml2 = libxml2Python;
11800+ };
11801+
1180611802 xsecurelock = callPackage ../tools/X11/xsecurelock { };
1180711803
1180811804 xsel = callPackage ../tools/misc/xsel { };
@@ -14495,6 +14491,9 @@ with pkgs;
1449514491
1449614492 inherit (ocamlPackages) reason;
1449714493
14494+ pixie = callPackage ../development/interpreters/pixie { };
14495+ dust = callPackage ../development/interpreters/pixie/dust.nix { };
14496+
1449814497 buildRubyGem = callPackage ../development/ruby-modules/gem { };
1449914498 defaultGemConfig = callPackage ../development/ruby-modules/gem-config {
1450014499 inherit (darwin) DarwinTools cctools;
@@ -25258,10 +25257,11 @@ with pkgs;
2525825257
2525925258 avrdudess = callPackage ../applications/misc/avrdudess { };
2526025259
25261− awesome = callPackage ../applications/window-managers/awesome {
25260+ awesome-4-0 = callPackage ../applications/window-managers/awesome {
2526225261 cairo = cairo.override { xcbSupport = true; };
2526325262 inherit (texFunctions) fontsConf;
2526425263 };
25264+ awesome = awesome-4-0;
2526525265
2526625266 awesomebump = libsForQt5.callPackage ../applications/graphics/awesomebump { };
2526725267
@@ -26108,10 +26108,6 @@ with pkgs;
2610826108 inherit (darwin.apple_sdk.frameworks) Security;
2610926109 };
2611026110
26111− firewalld = callPackage ../applications/networking/firewalld { };
26112−
26113− firewalld-gui = firewalld.override { withGui = true; };
26114−
2611526111 flacon = libsForQt5.callPackage ../applications/audio/flacon { };
2611626112
2611726113 flexget = callPackage ../applications/networking/flexget { };
@@ -27832,6 +27828,8 @@ with pkgs;
2783227828 inherit (luajitPackages) luafilesystem;
2783327829 };
2783427830
27831+ lookatme = callPackage ../tools/misc/lookatme {};
27832+
2783527833 looking-glass-client = callPackage ../applications/virtualization/looking-glass-client { };
2783627834
2783727835 ltc-tools = callPackage ../applications/audio/ltc-tools { };
@@ -29353,7 +29351,7 @@ with pkgs;
2935329351
2935429352 udevil = callPackage ../applications/misc/udevil {};
2935529353
29356− udiskie = callPackage ../applications/misc/udiskie { };
29354+ udiskie = python3.pkgs.callPackage ../applications/misc/udiskie { };
2935729355
2935829356 sacc = callPackage ../applications/networking/gopher/sacc { };
2935929357
@@ -30068,6 +30066,10 @@ with pkgs;
3006830066 swt = swt_jdk8;
3006930067 };
3007030068
30069+ twister = callPackage ../applications/networking/p2p/twister {
30070+ boost = boost16x;
30071+ };
30072+
3007130073 twmn = libsForQt5.callPackage ../applications/misc/twmn { };
3007230074
3007330075 testssl = callPackage ../applications/networking/testssl { };
@@ -30333,8 +30335,6 @@ with pkgs;
3033330335
3033430336 vmware-horizon-client = callPackage ../applications/networking/remote/vmware-horizon-client { };
3033530337
30336− vmware-workstation = callPackage ../applications/virtualization/vmware-workstation { };
30337−
3033830338 vocproc = callPackage ../applications/audio/vocproc { };
3033930339
3034030340 vnstat = callPackage ../applications/networking/vnstat { };
@@ -33418,6 +33418,13 @@ with pkgs;
3341833418
3341933419 caffeWithCuda = caffe.override { cudaSupport = true; };
3342033420
33421+ caffe2 = callPackage ../development/libraries/science/math/caffe2 (rec {
33422+ inherit (python3Packages) python future six numpy pydot;
33423+ protobuf = protobuf3_1;
33424+ python-protobuf = python3Packages.protobuf.override { inherit protobuf; };
33425+ opencv3 = opencv3WithoutCuda; # Used only for image loading.
33426+ });
33427+
3342133428 caffeine-ng = callPackage ../tools/X11/caffeine-ng {};
3342233429
3342333430 cntk = callPackage ../applications/science/math/cntk {
@@ -34457,8 +34464,6 @@ with pkgs;
3445734464
3445834465 runit = callPackage ../tools/system/runit { };
3445934466
34460− runitor = callPackage ../tools/system/runitor { };
34461−
3446234467 refind = callPackage ../tools/bootloaders/refind { };
3446334468
3446434469 spectrojack = callPackage ../applications/audio/spectrojack { };
pkgs/top-level/linux-kernels.nix−2
@@ -464,8 +464,6 @@ in {
464464
465465 vmm_clock = callPackage ../os-specific/linux/vmm_clock { };
466466
467− vmware = callPackage ../os-specific/linux/vmware { };
468−
469467 wireguard = if lib.versionOlder kernel.version "5.6" then callPackage ../os-specific/linux/wireguard { } else null;
470468
471469 x86_energy_perf_policy = callPackage ../os-specific/linux/x86_energy_perf_policy { };
pkgs/top-level/php-packages.nix−2
@@ -209,8 +209,6 @@ lib.makeScope pkgs.newScope (self: with self; {
209209 sha256 = "108ds92620dih5768z19hi0jxfa7wfg5hdvyyvpapir87c0ap914";
210210 });
211211
212− openswoole = callPackage ../development/php-packages/openswoole { };
213−
214212 pdlib = callPackage ../development/php-packages/pdlib { };
215213
216214 pcov = callPackage ../development/php-packages/pcov { };
pkgs/top-level/python-aliases.nix−1
@@ -79,7 +79,6 @@ mapAliases ({
7979 jupyter_client = jupyter-client; # added 2021-10-15
8080 Keras = keras; # added 2021-11-25
8181 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
82− loo-py = loopy; # added 2022-05-03
8382 Markups = markups; # added 2022-02-14
8483 MechanicalSoup = mechanicalsoup; # added 2021-06-01
8584 net2grid = gridnet; # add 2022-04-22
pkgs/top-level/python-packages.nix+2−27
@@ -2840,8 +2840,6 @@ in {
28402840
28412841 fastavro = callPackage ../development/python-modules/fastavro { };
28422842
2843− fastbencode = callPackage ../development/python-modules/fastbencode { };
2844−
28452843 fastcache = callPackage ../development/python-modules/fastcache { };
28462844
28472845 fastcore = callPackage ../development/python-modules/fastcore { };
@@ -3142,14 +3140,6 @@ in {
31423140
31433141 fonttools = callPackage ../development/python-modules/fonttools { };
31443142
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−
31533143 foobot-async = callPackage ../development/python-modules/foobot-async { };
31543144
31553145 foolscap = callPackage ../development/python-modules/foolscap { };
@@ -3266,10 +3256,6 @@ in {
32663256
32673257 gbinder-python = callPackage ../development/python-modules/gbinder-python { };
32683258
3269− gbulb = callPackage ../development/python-modules/gbulb { };
3270−
3271− gcal-sync = callPackage ../development/python-modules/gcal-sync { };
3272−
32733259 gcovr = callPackage ../development/python-modules/gcovr { };
32743260
32753261 gcsfs = callPackage ../development/python-modules/gcsfs { };
@@ -4150,8 +4136,6 @@ in {
41504136
41514137 installer = callPackage ../development/python-modules/installer { };
41524138
4153− insteon-frontend-home-assistant = callPackage ../development/python-modules/insteon-frontend-home-assistant { };
4154−
41554139 intake = callPackage ../development/python-modules/intake { };
41564140
41574141 intake-parquet = callPackage ../development/python-modules/intake-parquet { };
@@ -4961,7 +4945,7 @@ in {
49614945
49624946 lomond = callPackage ../development/python-modules/lomond { };
49634947
4964− loopy = callPackage ../development/python-modules/loopy { };
4948+ loo-py = callPackage ../development/python-modules/loo-py { };
49654949
49664950 losant-rest = callPackage ../development/python-modules/losant-rest { };
49674951
@@ -5167,8 +5151,6 @@ in {
51675151
51685152 measurement = callPackage ../development/python-modules/measurement { };
51695153
5170− meater-python = callPackage ../development/python-modules/meater-python { };
5171−
51725154 mecab-python3 = callPackage ../development/python-modules/mecab-python3 { };
51735155
51745156 mechanicalsoup = callPackage ../development/python-modules/mechanicalsoup { };
@@ -5630,11 +5612,6 @@ in {
56305612
56315613 nextcord = callPackage ../development/python-modules/nextcord { };
56325614
5633− nftables = toPythonModule (pkgs.nftables.override {
5634− python3 = python;
5635− withPython = true;
5636− });
5637−
56385615 nghttp2 = (toPythonModule (pkgs.nghttp2.override {
56395616 inherit (self) python cython setuptools;
56405617 inherit (pkgs) ncurses;
@@ -9490,9 +9467,7 @@ in {
94909467
94919468 skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
94929469
9493− skytemple-rust = callPackage ../development/python-modules/skytemple-rust {
9494− inherit (pkgs.darwin.apple_sdk.frameworks) Foundation;
9495− };
9470+ skytemple-rust = callPackage ../development/python-modules/skytemple-rust { };
94969471
94979472 skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { };
94989473
pkgs/top-level/release-lib.nix+1−1
@@ -103,7 +103,7 @@ rec {
103103 forAllSystems = genAttrs supportedSystems;
104104
105105
106− # Generate attributes for all systems matching at least one of the given
106+ # Generate attributes for all sytems matching at least one of the given
107107 # patterns
108108 forMatchingSystems = metaPatterns: genAttrs (supportedMatches metaPatterns);
109109