git.iko.soy/typeable/nixpkgs
on master help sign in
Merge remote-tracking branch 'origin/master' into haskell-updates
commit5eeb53121086692df01bbbc796b25424d03955a6 authorsternenseemann <sternenseemann@systemli.org> dateThu 7 Apr 2022, 00:36 (5 years ago) parent09c8dffd1f7cc8
114 files changed+1000−919
CONTRIBUTING.md+2−1 lib/generators.nix+47−2 lib/tests/misc.nix+60 maintainers/maintainer-list.nix+6 nixos/modules/system/boot/loader/grub/grub.nix+26 nixos/modules/system/boot/loader/grub/install-grub.pl+5−3 pkgs/applications/audio/audacity/0001-Use-a-different-approach-to-estimate-the-disk-space-.patch−355 pkgs/applications/audio/audacity/default.nix+58−35 pkgs/applications/editors/marker/default.nix+4−1 pkgs/applications/emulators/proton-caller/default.nix+3−3 pkgs/applications/emulators/ryujinx/default.nix+7−3 pkgs/applications/emulators/ryujinx/deps.nix+1−2 pkgs/applications/emulators/ryujinx/updater.sh+51−24 pkgs/applications/graphics/hydrus/default.nix+2−2 pkgs/applications/networking/cluster/argocd-autopilot/default.nix+4−5 pkgs/applications/networking/cluster/argocd/default.nix+7−11 pkgs/applications/networking/cluster/arkade/default.nix+2−2 pkgs/applications/networking/cluster/istioctl/default.nix−2 pkgs/applications/networking/cluster/kubeseal/default.nix−2 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+2−2 pkgs/applications/networking/nextdns/default.nix−2 pkgs/applications/networking/sniffers/wireshark/default.nix+12−4 pkgs/applications/science/logic/z3/default.nix+66−66 pkgs/applications/version-management/git-and-tools/ghorg/default.nix+2−2 pkgs/applications/version-management/subversion/default.nix+2−2 pkgs/applications/video/pitivi/default.nix+8 pkgs/applications/video/webtorrent_desktop/default.nix+68−87 pkgs/applications/virtualization/x11docker/default.nix+2−2 pkgs/applications/window-managers/berry/default.nix+2−2 pkgs/data/themes/flat-remix-gtk/default.nix+2−2 pkgs/desktops/xfce/applications/mousepad/default.nix+2−2 pkgs/development/compilers/kotlin/default.nix+2−2 pkgs/development/compilers/kotlin/native.nix+4−4 pkgs/development/compilers/ocaml/4.00.1.nix+7−1 pkgs/development/compilers/ocaml/4.01.0.nix+7−1 pkgs/development/compilers/ocaml/4.02.nix+7−1 pkgs/development/compilers/ocaml/4.03.nix+6 pkgs/development/compilers/ocaml/4.04.nix+6 pkgs/development/compilers/ocaml/4.05.nix+6 pkgs/development/compilers/ocaml/4.06.nix+6 pkgs/development/compilers/ocaml/4.07.nix+6 pkgs/development/compilers/ocaml/4.08.nix+6 pkgs/development/compilers/ocaml/4.09.nix+6 pkgs/development/compilers/rust/rustfmt.nix+2−2 pkgs/development/interpreters/clojure/default.nix+2−2 pkgs/development/libraries/libsecret/default.nix+2−5 pkgs/development/libraries/libuldaq/default.nix+2−2 pkgs/development/node-packages/default.nix+5−1 pkgs/development/ocaml-modules/asn1-combinators/default.nix+1−3 pkgs/development/ocaml-modules/sqlite3EZ/default.nix−36 pkgs/development/ocaml-modules/torch/default.nix+1 pkgs/development/ocaml-modules/z3/default.nix−5 pkgs/development/ocaml-modules/z3/ocamlfind.patch−13 pkgs/development/python-modules/anyconfig/default.nix+2−2 pkgs/development/python-modules/aplpy/default.nix+5−25 pkgs/development/python-modules/azure-identity/default.nix+2−2 pkgs/development/python-modules/databricks-connect/default.nix+2−2 pkgs/development/python-modules/doc8/default.nix+2−2 pkgs/development/python-modules/google-cloud-bigtable/default.nix+2−2 pkgs/development/python-modules/hatchling/default.nix+2−2 pkgs/development/python-modules/hg-git/default.nix+15−5 pkgs/development/python-modules/inquirer/default.nix+2−2 pkgs/development/python-modules/jupytext/default.nix+3−3 pkgs/development/python-modules/karton-core/default.nix+3−3 pkgs/development/python-modules/lektor/default.nix+52−26 pkgs/development/python-modules/mergedb/default.nix+51 pkgs/development/python-modules/nats-py/default.nix+3−3 pkgs/development/python-modules/oslo-log/default.nix+9−3 pkgs/development/python-modules/pex/default.nix+2−2 pkgs/development/python-modules/pyhaversion/default.nix+3−3 pkgs/development/python-modules/pyisy/default.nix+3−3 pkgs/development/python-modules/pynetgear/default.nix+3−3 pkgs/development/python-modules/pyplaato/default.nix+2−2 pkgs/development/python-modules/pyscss/default.nix+3−3 pkgs/development/python-modules/pysimplegui/default.nix+2−2 pkgs/development/python-modules/python-kasa/default.nix+3−3 pkgs/development/python-modules/rdflib/default.nix+30−20 pkgs/development/python-modules/srp/default.nix+19−4 pkgs/development/python-modules/teslajsonpy/default.nix+3−3 pkgs/development/python-modules/tweepy/default.nix+3−3 pkgs/development/python-modules/twilio/default.nix+3−3 pkgs/development/python-modules/types-cryptography/default.nix+2−2 pkgs/development/tools/build-managers/qbs/default.nix+2−2 pkgs/development/tools/database/indradb/default.nix+7−2 pkgs/development/tools/go-task/default.nix+3−3 pkgs/development/tools/kubectx/default.nix−2 pkgs/development/tools/misc/nix-bisect/default.nix+9 pkgs/development/tools/misc/saleae-logic-2/default.nix+3−3 pkgs/development/tools/rust/rust-analyzer/default.nix+3−3 pkgs/development/tools/yq-go/default.nix−2 pkgs/os-specific/linux/wireguard/default.nix+2−2 pkgs/servers/echoip/default.nix−2 pkgs/servers/imgproxy/default.nix−2 pkgs/servers/traefik/default.nix−2 pkgs/shells/nushell/default.nix+3−3 pkgs/shells/nushell/use-system-zstd-lib.diff+13−13 pkgs/tools/admin/iamy/default.nix−2 pkgs/tools/filesystems/apfsprogs/default.nix+3−3 pkgs/tools/misc/docui/default.nix−2 pkgs/tools/misc/ntfy-sh/default.nix+3−3 pkgs/tools/misc/steampipe/default.nix+3−3 pkgs/tools/security/cosign/default.nix+3−3 pkgs/tools/security/fprintd/default.nix+2−2 pkgs/tools/security/gobuster/default.nix−2 pkgs/tools/security/saml2aws/default.nix−2 pkgs/tools/security/whatweb/Gemfile+6 pkgs/tools/security/whatweb/Gemfile.lock+25 pkgs/tools/security/whatweb/default.nix+50 pkgs/tools/security/whatweb/gemset.nix+74 pkgs/tools/system/ctop/default.nix−2 pkgs/tools/system/goreman/default.nix−2 pkgs/top-level/all-packages.nix+11−8 pkgs/top-level/ocaml-packages.nix−2 pkgs/top-level/python-packages.nix+2
CONTRIBUTING.md+2−1
@@ -20,7 +20,7 @@ Below is a short excerpt of some points in there:
2020 ```
2121 (pkg-name | nixos/<module>): (from -> to | init at version | refactor | etc)
2222
23− (Motivation for change. Additional information.)
23+ (Motivation for change. Link to release notes. Additional information.)
2424 ```
2525
2626 For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).
@@ -29,6 +29,7 @@ Below is a short excerpt of some points in there:
2929
3030 * nginx: init at 2.0.1
3131 * firefox: 54.0.1 -> 55.0
32+ https://www.mozilla.org/en-US/firefox/55.0/releasenotes/
3233 * nixos/hydra: add bazBaz option
3334
3435 Dual baz behavior is needed to do foo.
lib/generators.nix+47−2
@@ -10,7 +10,7 @@
1010 * are mostly generators themselves, called with
1111 * their respective default values; they can be reused.
1212 *
13− * Tests can be found in ./tests.nix
13+ * Tests can be found in ./tests/misc.nix
1414 * Documentation in the manual, #sec-generators
1515 */
1616{ lib }:
@@ -108,7 +108,7 @@ rec {
108108 * The mk* configuration attributes can generically change
109109 * the way sections and key-value strings are generated.
110110 *
111− * For more examples see the test cases in ./tests.nix.
111+ * For more examples see the test cases in ./tests/misc.nix.
112112 */
113113 toINI = {
114114 # apply transformations (e.g. escapes) to section names
@@ -130,6 +130,51 @@ rec {
130130 # map input to ini sections
131131 mapAttrsToStringsSep "\n" mkSection attrsOfAttrs;
132132
133+ /* Generate an INI-style config file from an attrset
134+ * specifying the global section (no header), and an
135+ * attrset of sections to an attrset of key-value pairs.
136+ *
137+ * generators.toINIWithGlobalSection {} {
138+ * globalSection = {
139+ * someGlobalKey = "hi";
140+ * };
141+ * sections = {
142+ * foo = { hi = "${pkgs.hello}"; ciao = "bar"; };
143+ * baz = { "also, integers" = 42; };
144+ * }
145+ *
146+ *> someGlobalKey=hi
147+ *>
148+ *> [baz]
149+ *> also, integers=42
150+ *>
151+ *> [foo]
152+ *> ciao=bar
153+ *> hi=/nix/store/y93qql1p5ggfnaqjjqhxcw0vqw95rlz0-hello-2.10
154+ *
155+ * The mk* configuration attributes can generically change
156+ * the way sections and key-value strings are generated.
157+ *
158+ * For more examples see the test cases in ./tests/misc.nix.
159+ *
160+ * If you don’t need a global section, you can also use
161+ * `generators.toINI` directly, which only takes
162+ * the part in `sections`.
163+ */
164+ toINIWithGlobalSection = {
165+ # apply transformations (e.g. escapes) to section names
166+ mkSectionName ? (name: libStr.escape [ "[" "]" ] name),
167+ # format a setting line from key and value
168+ mkKeyValue ? mkKeyValueDefault {} "=",
169+ # allow lists as values for duplicate keys
170+ listsAsDuplicateKeys ? false
171+ }: { globalSection, sections }:
172+ ( if globalSection == {}
173+ then ""
174+ else (toKeyValue { inherit mkKeyValue listsAsDuplicateKeys; } globalSection)
175+ + "\n")
176+ + (toINI { inherit mkSectionName mkKeyValue listsAsDuplicateKeys; } sections);
177+
133178 /* Generate a git-config file from an attrset.
134179 *
135180 * It has two major differences from the regular INI format:
lib/tests/misc.nix+60
@@ -471,6 +471,66 @@ runTests {
471471 '';
472472 };
473473
474+ testToINIWithGlobalSectionEmpty = {
475+ expr = generators.toINIWithGlobalSection {} {
476+ globalSection = {
477+ };
478+ sections = {
479+ };
480+ };
481+ expected = ''
482+ '';
483+ };
484+
485+ testToINIWithGlobalSectionGlobalEmptyIsTheSameAsToINI =
486+ let
487+ sections = {
488+ "section 1" = {
489+ attribute1 = 5;
490+ x = "Me-se JarJar Binx";
491+ };
492+ "foo" = {
493+ "he\\h=he" = "this is okay";
494+ };
495+ };
496+ in {
497+ expr =
498+ generators.toINIWithGlobalSection {} {
499+ globalSection = {};
500+ sections = sections;
501+ };
502+ expected = generators.toINI {} sections;
503+ };
504+
505+ testToINIWithGlobalSectionFull = {
506+ expr = generators.toINIWithGlobalSection {} {
507+ globalSection = {
508+ foo = "bar";
509+ test = false;
510+ };
511+ sections = {
512+ "section 1" = {
513+ attribute1 = 5;
514+ x = "Me-se JarJar Binx";
515+ };
516+ "foo" = {
517+ "he\\h=he" = "this is okay";
518+ };
519+ };
520+ };
521+ expected = ''
522+ foo=bar
523+ test=false
524+
525+ [foo]
526+ he\h\=he=this is okay
527+
528+ [section 1]
529+ attribute1=5
530+ x=Me-se JarJar Binx
531+ '';
532+ };
533+
474534 /* right now only invocation check */
475535 testToJSONSimple =
476536 let val = {
maintainers/maintainer-list.nix+6
@@ -4656,6 +4656,12 @@
46564656 githubId = 4656860;
46574657 name = "Gaute Ravndal";
46584658 };
4659+ graysonhead = {
4660+ email = "grayson@graysonhead.net";
4661+ github = "graysonhead";
4662+ githubId = 6179496;
4663+ name = "Grayson Head";
4664+ };
46594665 grburst = {
46604666 email = "GRBurst@protonmail.com";
46614667 github = "GRBurst";
nixos/modules/system/boot/loader/grub/grub.nix+26
@@ -44,6 +44,8 @@ let
4444 { splashImage = f cfg.splashImage;
4545 splashMode = f cfg.splashMode;
4646 backgroundColor = f cfg.backgroundColor;
47+ entryOptions = f cfg.entryOptions;
48+ subEntryOptions = f cfg.subEntryOptions;
4749 grub = f grub;
4850 grubTarget = f (grub.grubTarget or "");
4951 shell = "${pkgs.runtimeShell}";
@@ -448,6 +450,30 @@ in
448450 '';
449451 };
450452
453+ entryOptions = mkOption {
454+ default = "--class nixos --unrestricted";
455+ type = types.nullOr types.str;
456+ description = ''
457+ Options applied to the primary NixOS menu entry.
458+
459+ <note><para>
460+ This options has no effect for GRUB 1.
461+ </para></note>
462+ '';
463+ };
464+
465+ subEntryOptions = mkOption {
466+ default = "--class nixos";
467+ type = types.nullOr types.str;
468+ description = ''
469+ Options applied to the secondary NixOS submenu entry.
470+
471+ <note><para>
472+ This options has no effect for GRUB 1.
473+ </para></note>
474+ '';
475+ };
476+
451477 theme = mkOption {
452478 type = types.nullOr types.path;
453479 example = literalExpression "pkgs.nixos-grub2-theme";
nixos/modules/system/boot/loader/grub/install-grub.pl+5−3
@@ -64,6 +64,8 @@ my $extraEntries = get("extraEntries");
6464my $extraEntriesBeforeNixOS = get("extraEntriesBeforeNixOS") eq "true";
6565my $splashImage = get("splashImage");
6666my $splashMode = get("splashMode");
67+my $entryOptions = get("entryOptions");
68+my $subEntryOptions = get("subEntryOptions");
6769my $backgroundColor = get("backgroundColor");
6870my $configurationLimit = int(get("configurationLimit"));
6971my $copyKernels = get("copyKernels") eq "true";
@@ -509,7 +511,7 @@ sub addEntry {
509511# Add default entries.
510512$conf .= "$extraEntries\n" if $extraEntriesBeforeNixOS;
511513
512−addEntry("NixOS - Default", $defaultConfig, "--unrestricted");
514+addEntry("NixOS - Default", $defaultConfig, $entryOptions);
513515
514516$conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS;
515517
@@ -546,7 +548,7 @@ sub addProfile {
546548 my ($profile, $description) = @_;
547549
548550 # Add entries for all generations of this profile.
549− $conf .= "submenu \"$description\" {\n" if $grubVersion == 2;
551+ $conf .= "submenu \"$description\" --class submenu {\n" if $grubVersion == 2;
550552
551553 sub nrFromGen { my ($x) = @_; $x =~ /\/\w+-(\d+)-link/; return $1; }
552554
@@ -566,7 +568,7 @@ sub addProfile {
566568 -e "$link/nixos-version"
567569 ? readFile("$link/nixos-version")
568570 : basename((glob(dirname(Cwd::abs_path("$link/kernel")) . "/lib/modules/*"))[0]);
569− addEntry("NixOS - Configuration " . nrFromGen($link) . " ($date - $version)", $link);
571+ addEntry("NixOS - Configuration " . nrFromGen($link) . " ($date - $version)", $link, $subEntryOptions);
570572 }
571573
572574 $conf .= "}\n" if $grubVersion == 2;
pkgs/applications/audio/audacity/0001-Use-a-different-approach-to-estimate-the-disk-space-.patchdeleted−355
@@ -1,355 +0,0 @@
1−From deeb435829d73524df851f6f4c2d4be552c99230 Mon Sep 17 00:00:00 2001
2−From: Dmitry Vedenko <dmitry@crsib.me>
3−Date: Fri, 1 Oct 2021 16:21:22 +0300
4−Subject: [PATCH] Use a different approach to estimate the disk space usage
5−
6−New a approach is a bit less precise, but removes the requirement for the "private" SQLite3 table and allows Audacity to be built against system SQLite3.
7−---
8− cmake-proxies/sqlite/CMakeLists.txt | 5 -
9− src/DBConnection.h | 4 +-
10− src/ProjectFileIO.cpp | 269 +++++-----------------------
11− 3 files changed, 44 insertions(+), 234 deletions(-)
12−
13−diff --git a/cmake-proxies/sqlite/CMakeLists.txt b/cmake-proxies/sqlite/CMakeLists.txt
14−index 63d70637c..d7b9b95ef 100644
15−--- a/cmake-proxies/sqlite/CMakeLists.txt
16−+++ b/cmake-proxies/sqlite/CMakeLists.txt
17−@@ -19,11 +19,6 @@ list( APPEND INCLUDES
18−
19− list( APPEND DEFINES
20− PRIVATE
21−- #
22−- # We need the dbpage table for space calculations.
23−- #
24−- SQLITE_ENABLE_DBPAGE_VTAB=1
25−-
26− # Can't be set after a WAL mode database is initialized, so change
27− # the default here to ensure all project files get the same page
28− # size.
29−diff --git a/src/DBConnection.h b/src/DBConnection.h
30−index 16a7fc9d4..07d3af95e 100644
31−--- a/src/DBConnection.h
32−+++ b/src/DBConnection.h
33−@@ -75,8 +75,8 @@ public:
34− LoadSampleBlock,
35− InsertSampleBlock,
36− DeleteSampleBlock,
37−- GetRootPage,
38−- GetDBPage
39−+ GetSampleBlockSize,
40−+ GetAllSampleBlocksSize
41− };
42− sqlite3_stmt *Prepare(enum StatementID id, const char *sql);
43−
44−diff --git a/src/ProjectFileIO.cpp b/src/ProjectFileIO.cpp
45−index 3b3e2e1fd..c9bc45af4 100644
46−--- a/src/ProjectFileIO.cpp
47−+++ b/src/ProjectFileIO.cpp
48−@@ -35,6 +35,7 @@ Paul Licameli split from AudacityProject.cpp
49− #include "widgets/ProgressDialog.h"
50− #include "wxFileNameWrapper.h"
51− #include "xml/XMLFileReader.h"
52−+#include "MemoryX.h"`
53−
54− #undef NO_SHM
55− #if !defined(__WXMSW__)
56−@@ -2357,255 +2358,69 @@ int64_t ProjectFileIO::GetTotalUsage()
57− }
58−
59− //
60−-// Returns the amount of disk space used by the specified sample blockid or all
61−-// of the sample blocks if the blockid is 0. It does this by using the raw SQLite
62−-// pages available from the "sqlite_dbpage" virtual table to traverse the SQLite
63−-// table b-tree described here: https://www.sqlite.org/fileformat.html
64−+// Returns the estimation of disk space used by the specified sample blockid or all
65−+// of the sample blocks if the blockid is 0. This does not include small overhead
66−+// of the internal SQLite structures, only the size used by the data
67− //
68− int64_t ProjectFileIO::GetDiskUsage(DBConnection &conn, SampleBlockID blockid /* = 0 */)
69− {
70−- // Information we need to track our travels through the b-tree
71−- typedef struct
72−- {
73−- int64_t pgno;
74−- int currentCell;
75−- int numCells;
76−- unsigned char data[65536];
77−- } page;
78−- std::vector<page> stack;
79−-
80−- int64_t total = 0;
81−- int64_t found = 0;
82−- int64_t right = 0;
83−- int rc;
84−+ sqlite3_stmt* stmt = nullptr;
85−
86−- // Get the rootpage for the sampleblocks table.
87−- sqlite3_stmt *stmt =
88−- conn.Prepare(DBConnection::GetRootPage,
89−- "SELECT rootpage FROM sqlite_master WHERE tbl_name = 'sampleblocks';");
90−- if (stmt == nullptr || sqlite3_step(stmt) != SQLITE_ROW)
91−+ if (blockid == 0)
92− {
93−- return 0;
94−- }
95−-
96−- // And store it in our first stack frame
97−- stack.push_back({sqlite3_column_int64(stmt, 0)});
98−+ static const char* statement =
99−+R"(SELECT
100−+ sum(length(blockid) + length(sampleformat) +
101−+ length(summin) + length(summax) + length(sumrms) +
102−+ length(summary256) + length(summary64k) +
103−+ length(samples))
104−+FROM sampleblocks;)";
105−
106−- // All done with the statement
107−- sqlite3_clear_bindings(stmt);
108−- sqlite3_reset(stmt);
109−-
110−- // Prepare/retrieve statement to read raw database page
111−- stmt = conn.Prepare(DBConnection::GetDBPage,
112−- "SELECT data FROM sqlite_dbpage WHERE pgno = ?1;");
113−- if (stmt == nullptr)
114−- {
115−- return 0;
116−+ stmt = conn.Prepare(DBConnection::GetAllSampleBlocksSize, statement);
117− }
118−-
119−- // Traverse the b-tree until we've visited all of the leaf pages or until
120−- // we find the one corresponding to the passed in sample blockid. Because we
121−- // use an integer primary key for the sampleblocks table, the traversal will
122−- // be in ascending blockid sequence.
123−- do
124−+ else
125− {
126−- // Acces the top stack frame
127−- page &pg = stack.back();
128−+ static const char* statement =
129−+R"(SELECT
130−+ length(blockid) + length(sampleformat) +
131−+ length(summin) + length(summax) + length(sumrms) +
132−+ length(summary256) + length(summary64k) +
133−+ length(samples)
134−+FROM sampleblocks WHERE blockid = ?1;)";
135−
136−- // Read the page from the sqlite_dbpage table if it hasn't yet been loaded
137−- if (pg.numCells == 0)
138−- {
139−- // Bind the page number
140−- sqlite3_bind_int64(stmt, 1, pg.pgno);
141−+ stmt = conn.Prepare(DBConnection::GetSampleBlockSize, statement);
142−+ }
143−
144−- // And retrieve the page
145−- if (sqlite3_step(stmt) != SQLITE_ROW)
146−+ auto cleanup = finally(
147−+ [stmt]() {
148−+ // Clear statement bindings and rewind statement
149−+ if (stmt != nullptr)
150− {
151−- // REVIEW: Likely harmless failure - says size is zero on
152−- // this error.
153−- // LLL: Yea, but not much else we can do.
154−- return 0;
155−+ sqlite3_clear_bindings(stmt);
156−+ sqlite3_reset(stmt);
157− }
158−+ });
159−
160−- // Copy the page content to the stack frame
161−- memcpy(&pg.data,
162−- sqlite3_column_blob(stmt, 0),
163−- sqlite3_column_bytes(stmt, 0));
164−-
165−- // And retrieve the total number of cells within it
166−- pg.numCells = get2(&pg.data[3]);
167−-
168−- // Reset statement for next usage
169−- sqlite3_clear_bindings(stmt);
170−- sqlite3_reset(stmt);
171−- }
172−-
173−- //wxLogDebug("%*.*spgno %lld currentCell %d numCells %d", (stack.size() - 1) * 2, (stack.size() - 1) * 2, "", pg.pgno, pg.currentCell, pg.numCells);
174−-
175−- // Process an interior table b-tree page
176−- if (pg.data[0] == 0x05)
177−- {
178−- // Process the next cell if we haven't examined all of them yet
179−- if (pg.currentCell < pg.numCells)
180−- {
181−- // Remember the right-most leaf page number.
182−- right = get4(&pg.data[8]);
183−-
184−- // Iterate over the cells.
185−- //
186−- // If we're not looking for a specific blockid, then we always push the
187−- // target page onto the stack and leave the loop after a single iteration.
188−- //
189−- // Otherwise, we match the blockid against the highest integer key contained
190−- // within the cell and if the blockid falls within the cell, we stack the
191−- // page and stop the iteration.
192−- //
193−- // In theory, we could do a binary search for a specific blockid here, but
194−- // because our sample blocks are always large, we will get very few cells
195−- // per page...usually 6 or less.
196−- //
197−- // In both cases, the stacked page can be either an internal or leaf page.
198−- bool stacked = false;
199−- while (pg.currentCell < pg.numCells)
200−- {
201−- // Get the offset to this cell using the offset in the cell pointer
202−- // array.
203−- //
204−- // The cell pointer array starts immediately after the page header
205−- // at offset 12 and the retrieved offset is from the beginning of
206−- // the page.
207−- int celloff = get2(&pg.data[12 + (pg.currentCell * 2)]);
208−-
209−- // Bump to the next cell for the next iteration.
210−- pg.currentCell++;
211−-
212−- // Get the page number this cell describes
213−- int pagenum = get4(&pg.data[celloff]);
214−-
215−- // And the highest integer key, which starts at offset 4 within the cell.
216−- int64_t intkey = 0;
217−- get_varint(&pg.data[celloff + 4], &intkey);
218−-
219−- //wxLogDebug("%*.*sinternal - right %lld celloff %d pagenum %d intkey %lld", (stack.size() - 1) * 2, (stack.size() - 1) * 2, " ", right, celloff, pagenum, intkey);
220−-
221−- // Stack the described page if we're not looking for a specific blockid
222−- // or if this page contains the given blockid.
223−- if (!blockid || blockid <= intkey)
224−- {
225−- stack.push_back({pagenum, 0, 0});
226−- stacked = true;
227−- break;
228−- }
229−- }
230−-
231−- // If we pushed a new page onto the stack, we need to jump back up
232−- // to read the page
233−- if (stacked)
234−- {
235−- continue;
236−- }
237−- }
238−+ if (blockid != 0)
239−+ {
240−+ int rc = sqlite3_bind_int64(stmt, 1, blockid);
241−
242−- // We've exhausted all the cells with this page, so we stack the right-most
243−- // leaf page. Ensure we only process it once.
244−- if (right)
245−- {
246−- stack.push_back({right, 0, 0});
247−- right = 0;
248−- continue;
249−- }
250−- }
251−- // Process a leaf table b-tree page
252−- else if (pg.data[0] == 0x0d)
253−+ if (rc != SQLITE_OK)
254− {
255−- // Iterate over the cells
256−- //
257−- // If we're not looking for a specific blockid, then just accumulate the
258−- // payload sizes. We will be reading every leaf page in the sampleblocks
259−- // table.
260−- //
261−- // Otherwise we break out when we find the matching blockid. In this case,
262−- // we only ever look at 1 leaf page.
263−- bool stop = false;
264−- for (int i = 0; i < pg.numCells; i++)
265−- {
266−- // Get the offset to this cell using the offset in the cell pointer
267−- // array.
268−- //
269−- // The cell pointer array starts immediately after the page header
270−- // at offset 8 and the retrieved offset is from the beginning of
271−- // the page.
272−- int celloff = get2(&pg.data[8 + (i * 2)]);
273−-
274−- // Get the total payload size in bytes of the described row.
275−- int64_t payload = 0;
276−- int digits = get_varint(&pg.data[celloff], &payload);
277−-
278−- // Get the integer key for this row.
279−- int64_t intkey = 0;
280−- get_varint(&pg.data[celloff + digits], &intkey);
281−-
282−- //wxLogDebug("%*.*sleaf - celloff %4d intkey %lld payload %lld", (stack.size() - 1) * 2, (stack.size() - 1) * 2, " ", celloff, intkey, payload);
283−-
284−- // Add this payload size to the total if we're not looking for a specific
285−- // blockid
286−- if (!blockid)
287−- {
288−- total += payload;
289−- }
290−- // Otherwise, return the payload size for a matching row
291−- else if (blockid == intkey)
292−- {
293−- return payload;
294−- }
295−- }
296−+ conn.ThrowException(false);
297− }
298−+ }
299−
300−- // Done with the current branch, so pop back up to the previous one (if any)
301−- stack.pop_back();
302−- } while (!stack.empty());
303−-
304−- // Return the total used for all sample blocks
305−- return total;
306−-}
307−-
308−-// Retrieves a 2-byte big-endian integer from the page data
309−-unsigned int ProjectFileIO::get2(const unsigned char *ptr)
310−-{
311−- return (ptr[0] << 8) | ptr[1];
312−-}
313−-
314−-// Retrieves a 4-byte big-endian integer from the page data
315−-unsigned int ProjectFileIO::get4(const unsigned char *ptr)
316−-{
317−- return ((unsigned int) ptr[0] << 24) |
318−- ((unsigned int) ptr[1] << 16) |
319−- ((unsigned int) ptr[2] << 8) |
320−- ((unsigned int) ptr[3]);
321−-}
322−-
323−-// Retrieves a variable length integer from the page data. Returns the
324−-// number of digits used to encode the integer and the stores the
325−-// value at the given location.
326−-int ProjectFileIO::get_varint(const unsigned char *ptr, int64_t *out)
327−-{
328−- int64_t val = 0;
329−- int i;
330−+ int rc = sqlite3_step(stmt);
331−
332−- for (i = 0; i < 8; ++i)
333−+ if (rc != SQLITE_ROW)
334− {
335−- val = (val << 7) + (ptr[i] & 0x7f);
336−- if ((ptr[i] & 0x80) == 0)
337−- {
338−- *out = val;
339−- return i + 1;
340−- }
341−+ conn.ThrowException(false);
342− }
343−
344−- val = (val << 8) + (ptr[i] & 0xff);
345−- *out = val;
346−+ const int64_t size = sqlite3_column_int64(stmt, 0);
347−
348−- return 9;
349−+ return size;
350− }
351−
352− InvisibleTemporaryProject::InvisibleTemporaryProject()
353−--
354−2.33.1
355−
pkgs/applications/audio/audacity/default.nix+58−35
@@ -3,6 +3,7 @@
33, fetchFromGitHub
44, fetchpatch
55, cmake
6+, makeWrapper
67, pkg-config
78, python3
89, gettext
@@ -20,14 +21,17 @@
2021, libsndfile
2122, soxr
2223, flac
24+, lame
2325, twolame
2426, expat
2527, libid3tag
2628, libopus
29+, libuuid
2730, ffmpeg_4
2831, soundtouch
2932, pcre
30−/*, portaudio - given up fighting their portaudio.patch */
33+, portaudio # given up fighting their portaudio.patch?
34+, portmidi
3135, linuxHeaders
3236, alsa-lib
3337, at-spi2-core
@@ -36,11 +40,14 @@
3640, libXdmcp
3741, libXtst
3842, libpthreadstubs
43+, libsbsms_2_3_0
3944, libselinux
4045, libsepol
4146, libxkbcommon
4247, util-linux
4348, wxGTK
49+, libpng
50+, libjpeg
4451, AppKit ? null
4552, AudioToolbox ? null
4653, AudioUnit ? null
@@ -58,12 +65,14 @@
5865
5966let
6067 inherit (lib) optionals;
68+ pname = "audacity";
69+ version = "3.1.3";
6170
6271 wxWidgets_src = fetchFromGitHub {
63− owner = "audacity";
72+ owner = pname;
6473 repo = "wxWidgets";
65− rev = "07e7d832c7a337aedba3537b90b2c98c4d8e2985";
66− sha256 = "1mawnkcrmqj98jp0jxlnh9xkc950ca033ccb51c7035pzmi9if9a";
74+ rev = "v${version}-${pname}";
75+ sha256 = "sha256-KrmYYv23DHBYKIuxMYBioCQ2e4KWdgmuREnimtm0XNU=";
6776 fetchSubmodules = true;
6877 };
6978
@@ -74,41 +83,20 @@ let
7483 wxmac' = wxmac.overrideAttrs (oldAttrs: rec {
7584 src = wxWidgets_src;
7685 });
77−
78−in
79−stdenv.mkDerivation rec {
80− pname = "audacity";
81− # nixpkgs-update: no auto update
82− # Humans too! Let's wait to see how the situation with
83− # https://github.com/audacity/audacity/issues/1213 develops before
84− # pulling any updates that are subject to this privacy policy. We
85− # may wish to switch to a fork, but at the time of writing
86− # (2021-07-05) it's too early to tell how well any of the forks will
87− # be maintained.
88− version = "3.0.2";
86+in stdenv.mkDerivation rec {
87+ inherit pname version;
8988
9089 src = fetchFromGitHub {
91− owner = "audacity";
92− repo = "audacity";
90+ owner = pname;
91+ repo = pname;
9392 rev = "Audacity-${version}";
94− sha256 = "035qq2ff16cdl2cb9iply2bfjmhfl1dpscg79x6c9l0i9m8k41zj";
93+ sha256 = "sha256-sdI4paxIHDZgoWTCekjrkFR4JFpQC6OatcnJdVXCCZk=";
9594 };
9695
97− patches = [
98− (fetchpatch {
99− url = "https://github.com/audacity/audacity/commit/7f8135e112a0e1e8e906abab9339680d1e491441.patch";
100− sha256 = "0zp2iydd46analda9cfnbmzdkjphz5m7dynrdj5qdnmq6j3px9fw";
101− name = "audacity_xdg_paths.patch";
102− })
103− # This is required to make audacity work with nixpkgs’ sqlite
104− # https://github.com/audacity/audacity/pull/1802 rebased onto 3.0.2
105− ./0001-Use-a-different-approach-to-estimate-the-disk-space-.patch
106− ];
107−
10896 postPatch = ''
109− touch src/RevisionIdent.h
97+ mkdir src/private
11098 '' + lib.optionalString stdenv.isLinux ''
111− substituteInPlace src/FileNames.cpp \
99+ substituteInPlace libraries/lib-files/FileNames.cpp \
112100 --replace /usr/include/linux/magic.h ${linuxHeaders}/include/linux/magic.h
113101 '';
114102
@@ -119,6 +107,7 @@ stdenv.mkDerivation rec {
119107 python3
120108 ] ++ optionals stdenv.isLinux [
121109 linuxHeaders
110+ makeWrapper
122111 ];
123112
124113 buildInputs = [
@@ -126,15 +115,18 @@ stdenv.mkDerivation rec {
126115 ffmpeg_4
127116 file
128117 flac
118+ lame
129119 libid3tag
130120 libjack2
131121 libmad
132122 libopus
123+ libsbsms_2_3_0
133124 libsndfile
134125 libvorbis
135126 lilv
136127 lv2
137128 pcre
129+ portmidi
138130 serd
139131 sord
140132 soundtouch
@@ -143,6 +135,7 @@ stdenv.mkDerivation rec {
143135 sratom
144136 suil
145137 twolame
138+ portaudio
146139 ] ++ optionals stdenv.isLinux [
147140 alsa-lib # for portaudio
148141 at-spi2-core
@@ -154,6 +147,7 @@ stdenv.mkDerivation rec {
154147 libxkbcommon
155148 libselinux
156149 libsepol
150+ libuuid
157151 util-linux
158152 wxGTK'
159153 wxGTK'.gtk
@@ -163,20 +157,49 @@ stdenv.mkDerivation rec {
163157 Cocoa
164158 CoreAudioKit
165159 AudioUnit AudioToolbox CoreAudio CoreServices Carbon # for portaudio
160+ libpng
161+ libjpeg
166162 ];
167163
168164 cmakeFlags = [
169− "-Daudacity_use_ffmpeg=linked"
165+ "-DAUDACITY_REV_LONG=nixpkgs"
166+ "-DAUDACITY_REV_TIME=nixpkgs"
170167 "-DDISABLE_DYNAMIC_LOADING_FFMPEG=ON"
168+ "-Daudacity_conan_enabled=Off"
169+ "-Daudacity_use_ffmpeg=loaded"
171170 ];
172171
173172 doCheck = false; # Test fails
174173
174+ # Replace audacity's wrapper, to:
175+ # - put it in the right place, it shouldn't be in "$out/audacity"
176+ # - Add the ffmpeg dynamic dependency
177+ postInstall = lib.optionalString stdenv.isLinux ''
178+ rm "$out/audacity"
179+ wrapProgram "$out/bin/audacity" \
180+ --prefix LD_LIBRARY_PATH : "$out/lib/audacity":${lib.makeLibraryPath [ ffmpeg_4 ]} \
181+ --suffix AUDACITY_MODULES_PATH : "$out/lib/audacity/modules" \
182+ --suffix AUDACITY_PATH : "$out/share/audacity"
183+ '';
184+
175185 meta = with lib; {
176186 description = "Sound editor with graphical UI";
177− homepage = "https://www.audacityteam.org/";
178− license = licenses.gpl2Plus;
187+ homepage = "https://www.audacityteam.org";
188+ changelog = "https://github.com/audacity/audacity/releases";
189+ license = with licenses; [
190+ gpl2Plus
191+ # Must be GPL3 when building with "technologies that require it,
192+ # such as the VST3 audio plugin interface".
193+ # https://github.com/audacity/audacity/discussions/2142.
194+ gpl3
195+ # Documentation.
196+ cc-by-30
197+ ];
179198 maintainers = with maintainers; [ lheckemann veprbl ];
180199 platforms = platforms.unix;
200+ # darwin-aarch due to qtbase broken for it.
201+ # darwin-x86_64 due to
202+ # https://logs.nix.ci/?attempt_id=5cbc4581-09b4-4148-82fe-0326411a56b3&key=nixos%2Fnixpkgs.152273.
203+ broken = stdenv.isDarwin;
181204 };
182205}
pkgs/applications/editors/marker/default.nix+4−1
@@ -1,5 +1,7 @@
1−{ lib, stdenv
1+{ stdenv
2+, lib
23, fetchFromGitHub
4+, itstool
35, meson
46, ninja
57, pkg-config
@@ -24,6 +26,7 @@ stdenv.mkDerivation rec {
2426 };
2527
2628 nativeBuildInputs = [
29+ itstool
2730 meson
2831 ninja
2932 pkg-config
pkgs/applications/emulators/proton-caller/default.nix+3−3
@@ -2,16 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "proton-caller";
5− version = "2.3.2";
5+ version = "3.1.0";
66
77 src = fetchFromGitHub {
88 owner = "caverym";
99 repo = pname;
1010 rev = version;
11− sha256 = "sha256-k+cH86atuVoLCQ+I1zu08f4T+y0u8vnjo3VA+Otg+a4=";
11+ sha256 = "sha256-eyHFKAGx8du4osoGDsMFzVE/TC/ZMPsx6mrWUPDCLJ4=";
1212 };
1313
14− cargoSha256 = "sha256-rkgg96IdIhVXZ5y/ECUxNPyPV9Nv5XGAtlxAkILry2s=";
14+ cargoSha256 = "sha256-/4+r5rvRUqQL8EVIg/22ZytXyE4+SV4UEcXiEw4795U=";
1515
1616 meta = with lib; {
1717 description = "Run Windows programs with Proton";
pkgs/applications/emulators/ryujinx/default.nix+7−3
@@ -17,13 +17,13 @@
1717
1818buildDotnetModule rec {
1919 pname = "ryujinx";
20− version = "1.1.77"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml
20+ version = "1.1.91"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml
2121
2222 src = fetchFromGitHub {
2323 owner = "Ryujinx";
2424 repo = "Ryujinx";
25− rev = "df70442c46e7ee133b1fb79dc23ddd134e618085";
26− sha256 = "1m9msp7kxsj7251l2yjcfzrb4k1lisk9sip7acm22pxmi1a7gw73";
25+ rev = "3f4fb8f73a6635dbdca9dd11738c3a793f53ac65";
26+ sha256 = "1amky7a2rikl5sg8y0y6il0jjqwhjgxw0d2ivynfhmhz2v2ciwwi";
2727 };
2828
2929 dotnet-sdk = dotnetCorePackages.sdk_6_0;
@@ -63,6 +63,10 @@ buildDotnetModule rec {
6363 ];
6464
6565 preInstall = ''
66+ # workaround for https://github.com/Ryujinx/Ryujinx/issues/2349
67+ mkdir -p $out/lib/sndio-6
68+ ln -s ${sndio}/lib/libsndio.so $out/lib/sndio-6/libsndio.so.6
69+
6670 # Ryujinx tries to use ffmpeg from PATH
6771 makeWrapperArgs+=(
6872 --suffix PATH : ${lib.makeBinPath [ ffmpeg ]}
pkgs/applications/emulators/ryujinx/deps.nix+1−2
@@ -23,9 +23,8 @@
2323 (fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "6.15.0"; sha256 = "0jn9a20a2zixnkm3bmpmvmiv7mk0hqdlnpi0qgjkg1nir87czm19"; })
2424 (fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "6.15.0"; sha256 = "1nbgydr45f7lp980xyrkzpyaw2mkkishjwp3slgxk7f0mz6q8i1v"; })
2525 (fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "16.8.0"; sha256 = "1ln2mva7j2mpsj9rdhpk8vhm3pgd8wn563xqdcwd38avnhp74rm9"; })
26− (fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "6.0.3"; sha256 = "1py3nrfvllqlnb9mhs0qwgy7c14n33b2hfb0qc49rx22sqv8ylbp"; })
27− (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-x64"; version = "6.0.3"; sha256 = "1y428glba68s76icjzfl1v3p61pcz7rd78wybhabs8zq8w9cp2pj"; })
2826 (fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "6.0.3"; sha256 = "0k9gc94cvn36p0v3pj296asg2sq9a8ah6lfw0xvvmd4hq2k72s79"; })
27+ (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-x64"; version = "6.0.3"; sha256 = "1y428glba68s76icjzfl1v3p61pcz7rd78wybhabs8zq8w9cp2pj"; })
2928 (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "6.0.3"; sha256 = "0f04srx6q0jk81a60n956hz32fdngzp0xmdb2x7gyl77gsq8yijj"; })
3029 (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "6.0.3"; sha256 = "0180ipzzz9pc6f6l17rg5bxz1ghzbapmiqq66kdl33bmbny6vmm9"; })
3130 (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.win-x64"; version = "6.0.3"; sha256 = "1rjkzs2013razi2xs943q62ys1jh8blhjcnj75qkvirf859d11qw"; })
pkgs/applications/emulators/ryujinx/updater.sh+51−24
@@ -1,33 +1,60 @@
11#! /usr/bin/env nix-shell
2−#! nix-shell -i bash -p coreutils gnused curl common-updater-scripts nuget-to-nix nix-prefetch-git jq dotnet-sdk_6
2+#! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl common-updater-scripts nuget-to-nix nix-prefetch-git jq dotnet-sdk_6
33set -euo pipefail
44cd "$(dirname "${BASH_SOURCE[0]}")"
55
66DEPS_FILE="$(realpath "./deps.nix")"
77
8−RELEASE_JOB_DATA=$(
9− curl -s -H "Accept: application/vnd.github.v3+json" \
10− https://api.github.com/repos/Ryujinx/Ryujinx/actions/workflows |
11− jq -r '.workflows[] | select(.name == "Release job") | { id, path }'
12−)
13−RELEASE_JOB_ID=$(echo "$RELEASE_JOB_DATA" | jq -r '.id')
14−RELEASE_JOB_FILE=$(echo "$RELEASE_JOB_DATA" | jq -r '.path')
15−
16−BASE_VERSION=$(
17− curl -s "https://raw.githubusercontent.com/Ryujinx/Ryujinx/master/${RELEASE_JOB_FILE}" |
18− grep -Po 'RYUJINX_BASE_VERSION:.*?".*"' |
19− sed 's/RYUJINX_BASE_VERSION: "\(.*\)"/\1/'
20−)
21−
22−LATEST_RELEASE_JOB_DATA=$(
23− curl -s -H "Accept: application/vnd.github.v3+json" \
24− "https://api.github.com/repos/Ryujinx/Ryujinx/actions/workflows/${RELEASE_JOB_ID}/runs" |
25− jq -r '.workflow_runs[0] | { head_sha, run_number }'
26−)
27−COMMIT=$(echo "$LATEST_RELEASE_JOB_DATA" | jq -r '.head_sha')
28−PATCH_VERSION=$(echo "$LATEST_RELEASE_JOB_DATA" | jq -r '.run_number')
29−
30−NEW_VERSION="${BASE_VERSION}.${PATCH_VERSION}"
8+# provide a github token so you don't get rate limited
9+# if you use gh cli you can use:
10+# `export GITHUB_TOKEN="$(cat ~/.config/gh/config.yml | yq '.hosts."github.com".oauth_token' -r)"`
11+# or just set your token by hand:
12+# `read -s -p "Enter your token: " GITHUB_TOKEN; export GITHUB_TOKEN`
13+# (we use read so it doesn't show in our shell history and in secret mode so the token you paste isn't visible)
14+if [ -z "${GITHUB_TOKEN:-}" ]; then
15+ echo "no GITHUB_TOKEN provided - you could meet API request limiting" >&2
16+fi
17+
18+# or provide the new version manually
19+# manually modify and uncomment or export these env vars in your shell so they're accessable within the script
20+# make sure you don't commit your changes here
21+#
22+# NEW_VERSION=""
23+# COMMIT=""
24+
25+if [ -z ${NEW_VERSION+x} ] && [ -z ${COMMIT+x} ]; then
26+ RELEASE_JOB_DATA=$(
27+ curl -s -H "Accept: application/vnd.github.v3+json" \
28+ ${GITHUB_TOKEN:+ -H "Authorization: bearer $GITHUB_TOKEN"} \
29+ https://api.github.com/repos/Ryujinx/Ryujinx/actions/workflows
30+ )
31+ if [ -z "$RELEASE_JOB_DATA" ] || [[ $RELEASE_JOB_DATA =~ "rate limit exceeded" ]]; then
32+ echo "failed to get release job data" >&2
33+ exit 1
34+ fi
35+ RELEASE_JOB_ID=$(echo "$RELEASE_JOB_DATA" | jq -r '.workflows[] | select(.name == "Release job") | .id')
36+ RELEASE_JOB_FILE=$(echo "$RELEASE_JOB_DATA" | jq -r '.workflows[] | select(.name == "Release job") | .path')
37+
38+ LATEST_RELEASE_JOB_DATA=$(
39+ curl -s -H "Accept: application/vnd.github.v3+json" \
40+ ${GITHUB_TOKEN:+ -H "Authorization: bearer $GITHUB_TOKEN"} \
41+ "https://api.github.com/repos/Ryujinx/Ryujinx/actions/workflows/${RELEASE_JOB_ID}/runs"
42+ )
43+ if [ -z "$LATEST_RELEASE_JOB_DATA" ] || [[ $LATEST_RELEASE_JOB_DATA =~ "rate limit exceeded" ]]; then
44+ echo "failed to get latest release job data" >&2
45+ exit 1
46+ fi
47+ COMMIT=$(echo "$LATEST_RELEASE_JOB_DATA" | jq -r '.workflow_runs[0] | .head_sha')
48+ PATCH_VERSION=$(echo "$LATEST_RELEASE_JOB_DATA" | jq -r '.workflow_runs[0] | .run_number')
49+
50+ BASE_VERSION=$(
51+ curl -s "https://raw.githubusercontent.com/Ryujinx/Ryujinx/master/${RELEASE_JOB_FILE}" |
52+ grep -Po 'RYUJINX_BASE_VERSION:.*?".*"' |
53+ sed 's/RYUJINX_BASE_VERSION: "\(.*\)"/\1/'
54+ )
55+
56+ NEW_VERSION="${BASE_VERSION}.${PATCH_VERSION}"
57+fi
3158
3259OLD_VERSION="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
3360
pkgs/applications/graphics/hydrus/default.nix+2−2
@@ -10,14 +10,14 @@
1010
1111python3Packages.buildPythonPackage rec {
1212 pname = "hydrus";
13− version = "478";
13+ version = "479";
1414 format = "other";
1515
1616 src = fetchFromGitHub {
1717 owner = "hydrusnetwork";
1818 repo = "hydrus";
1919 rev = "v${version}";
20− sha256 = "sha256-ZsQzKc2fOFTzI/kBS8ws2+XT9kRAn4L55n1EZgVy4Kk=";
20+ sha256 = "sha256-hP+tOrtYfxAKmNCJSYWQzmd0hjxktNEjJqb42lPG9IM=";
2121 };
2222
2323 nativeBuildInputs = [
pkgs/applications/networking/cluster/argocd-autopilot/default.nix+4−5
@@ -2,17 +2,16 @@
22
33buildGoModule rec {
44 pname = "argocd-autopilot";
5− version = "0.3.0";
6− commit = "c8d17bef976649e4dc2428c14c39e30a0f846552";
5+ version = "0.3.1";
76
87 src = fetchFromGitHub {
98 owner = "argoproj-labs";
109 repo = "argocd-autopilot";
1110 rev = "v${version}";
12− sha256 = "sha256-tggE1T+oD/dJS9tD9xOExjhy+T1GDd0vwTerD3P2KvA=";
11+ sha256 = "sha256-L8+sb0lGPuc6smOFwijRGFS+oSCxEqB5c1tG55MPlgE=";
1312 };
1413
15− vendorSha256 = "sha256-v8UMSObE6w+ULzueEK0UFeebLqoamy/788SQLBmJZ8U=";
14+ vendorSha256 = "sha256-sxPTOao3scTmiVKFyGeWPMzXQz/d0HSVmUYocNGm1vA=";
1615
1716 proxyVendor = true;
1817
@@ -24,7 +23,7 @@ buildGoModule rec {
2423 "-X ${package_url}.binaryName=${pname}"
2524 "-X ${package_url}.version=${src.rev}"
2625 "-X ${package_url}.buildDate=unknown"
27− "-X ${package_url}.gitCommit=${commit}"
26+ "-X ${package_url}.gitCommit=${src.rev}"
2827 "-X ${package_url}.installationManifestURL=github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=${src.rev}"
2928 "-X ${package_url}.installationManifestsNamespacedURL=github.com/argoproj-labs/argocd-autopilot/manifests/insecure?ref=${src.rev}"
3029 ];
pkgs/applications/networking/cluster/argocd/default.nix+7−11
@@ -2,20 +2,16 @@
22
33buildGoModule rec {
44 pname = "argocd";
5− version = "2.3.2";
6− tag = "v${version}";
7− # Update commit to match the tag above
8− # TODO make updadeScript
9− commit = "ecc2af9dcaa12975e654cde8cbbeaffbb315f75c";
5+ version = "2.3.3";
106
117 src = fetchFromGitHub {
128 owner = "argoproj";
139 repo = "argo-cd";
14− rev = tag;
15− sha256 = "sha256-n+C4l4U3cDU+fgCnGWOYLdyjknw7n/xPEtC1i8AaU4o=";
10+ rev = "v${version}";
11+ sha256 = "sha256-ChgWqhkzVKhbyEA+g2flWK/WMxur7UHWXJUcLzp9RTE=";
1612 };
1713
18− vendorSha256 = "sha256-Km+1o6yuuxJs+DNTQ/XVTUFurD5gM5ohwDc7MwJuu5s=";
14+ vendorSha256 = "sha256-XrIIMnn65Y10KnVTsmw6vLE53Zra1lWNFgklmaj3gF8=";
1915
2016 # Set target as ./cmd per release-cli
2117 # https://github.com/argoproj/argo-cd/blob/master/Makefile#L222
@@ -27,8 +23,8 @@ buildGoModule rec {
2723 "-s" "-w"
2824 "-X ${package_url}.version=${version}"
2925 "-X ${package_url}.buildDate=unknown"
30− "-X ${package_url}.gitCommit=${commit}"
31− "-X ${package_url}.gitTag=${tag}"
26+ "-X ${package_url}.gitCommit=${src.rev}"
27+ "-X ${package_url}.gitTag=${src.rev}"
3228 "-X ${package_url}.gitTreeState=clean"
3329 ];
3430
@@ -43,7 +39,7 @@ buildGoModule rec {
4339
4440 doInstallCheck = true;
4541 installCheckPhase = ''
46− $out/bin/argocd version --client | grep ${tag} > /dev/null
42+ $out/bin/argocd version --client | grep ${src.rev} > /dev/null
4743 '';
4844
4945 postInstall = ''
pkgs/applications/networking/cluster/arkade/default.nix+2−2
@@ -6,13 +6,13 @@
66
77buildGoModule rec {
88 pname = "arkade";
9− version = "0.8.19";
9+ version = "0.8.20";
1010
1111 src = fetchFromGitHub {
1212 owner = "alexellis";
1313 repo = "arkade";
1414 rev = version;
15− sha256 = "sha256-GbuDL0JSG0r2LVcdJgQFBMNDpAl2WbhjIX0Ls9yCDYg=";
15+ sha256 = "sha256-DIXvsYYckNlxFzeJqk3TYRQIAtafAfylyDc/a20kl+0=";
1616 };
1717
1818 CGO_ENABLED = 0;
pkgs/applications/networking/cluster/istioctl/default.nix−2
@@ -12,8 +12,6 @@ buildGoModule rec {
1212 };
1313 vendorSha256 = "sha256-AOcWkcw+2DcgBxvxRO/sdb339a7hmI7Oy5I4kW4oE+k=";
1414
15− doCheck = false;
16−
1715 nativeBuildInputs = [ installShellFiles ];
1816
1917 # Bundle release metadata
pkgs/applications/networking/cluster/kubeseal/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = null;
1515
16− doCheck = false;
17−
1816 subPackages = [ "cmd/kubeseal" ];
1917
2018 ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ];
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+2−2
@@ -24,7 +24,7 @@ let
2424
2525in stdenv.mkDerivation rec {
2626 pname = "signal-desktop";
27− version = "5.36.0"; # Please backport all updates to the stable channel.
27+ version = "5.37.0"; # Please backport all updates to the stable channel.
2828 # All releases have a limited lifetime and "expire" 90 days after the release.
2929 # When releases "expire" the application becomes unusable until an update is
3030 # applied. The expiration date for the current release can be extracted with:
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
3434
3535 src = fetchurl {
3636 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
37− sha256 = "sha256-x1PUEDq/0B1T14mBs2FuKtcGpJHWOIvHAs8hptpzhZk=";
37+ sha256 = "sha256-hnRS/7CZPk1bbBjpHLAywKVu2u7jgg3p5/pxEdkzMJ8=";
3838 };
3939
4040 nativeBuildInputs = [
pkgs/applications/networking/nextdns/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-M2PlvUsEG3Um+NqbpHdtu9g+Gj6jSXZ9YZ7t1MwjjdI=";
1515
16− doCheck = false;
17−
1816 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
1917
2018 meta = with lib; {
pkgs/applications/networking/sniffers/wireshark/default.nix+12−4
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, pkg-config, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares
1+{ lib, stdenv, buildPackages, fetchurl, pkg-config, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares
22, gnutls, libgcrypt, libgpg-error, geoip, openssl, lua5, python3, libcap, glib
33, libssh, nghttp2, zlib, cmake, makeWrapper, wrapGAppsHook
44, withQt ? true, qt5 ? null
@@ -29,22 +29,30 @@ in stdenv.mkDerivation {
2929 "-DENABLE_APPLICATION_BUNDLE=${if withQt && stdenv.isDarwin then "ON" else "OFF"}"
3030 # Fix `extcap` and `plugins` paths. See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16444
3131 "-DCMAKE_INSTALL_LIBDIR=lib"
32+ "-DLEMON_C_COMPILER=cc"
33+ ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
34+ "-DHAVE_C99_VSNPRINTF_EXITCODE=0"
35+ "-DHAVE_C99_VSNPRINTF_EXITCODE__TRYRUN_OUTPUT="
3236 ];
3337
3438 # Avoid referencing -dev paths because of debug assertions.
3539 NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
3640
37− nativeBuildInputs = [ asciidoctor bison cmake flex makeWrapper pkg-config ]
41+ nativeBuildInputs = [ asciidoctor bison cmake flex makeWrapper pkg-config python3 perl ]
3842 ++ optionals withQt [ qt5.wrapQtAppsHook wrapGAppsHook ];
3943
44+ depsBuildBuild = [ buildPackages.stdenv.cc ];
45+
4046 buildInputs = [
41− gettext pcre perl libpcap lua5 libssh nghttp2 openssl libgcrypt
42− libgpg-error gnutls geoip c-ares python3 glib zlib
47+ gettext pcre libpcap lua5 libssh nghttp2 openssl libgcrypt
48+ libgpg-error gnutls geoip c-ares glib zlib
4349 ] ++ optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ])
4450 ++ optionals stdenv.isLinux [ libcap libnl ]
4551 ++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ]
4652 ++ optionals (withQt && stdenv.isDarwin) (with qt5; [ qtmacextras ]);
4753
54+ strictDeps = true;
55+
4856 patches = [ ./wireshark-lookup-dumpcap-in-path.patch ];
4957
5058 postPatch = ''
pkgs/applications/science/logic/z3/default.nix+66−66
@@ -18,78 +18,78 @@ assert ocamlBindings -> ocaml != null && findlib != null && zarith != null;
1818
1919with lib;
2020
21−stdenv.mkDerivation rec {
22− pname = "z3";
23− version = "4.8.14";
21+let common = { version, sha256, patches ? [ ] }:
22+ stdenv.mkDerivation rec {
23+ pname = "z3";
24+ inherit version sha256 patches;
25+ src = fetchFromGitHub {
26+ owner = "Z3Prover";
27+ repo = pname;
28+ rev = "z3-${version}";
29+ sha256 = sha256;
30+ };
2431
25− src = fetchFromGitHub {
26− owner = "Z3Prover";
27− repo = pname;
28− rev = "z3-${version}";
29− sha256 = "jPSTVSndp/T7n+VxZ/g9Rjco00Up+9xeDIVkeLl1MTw=";
30− };
31−
32− nativeBuildInputs = optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
33− buildInputs = [ python ]
34− ++ optional javaBindings jdk
35− ++ optionals ocamlBindings [ ocaml findlib zarith ]
36− ;
37− propagatedBuildInputs = [ python.pkgs.setuptools ];
38− enableParallelBuilding = true;
39−
40− postPatch = optionalString ocamlBindings ''
41− export OCAMLFIND_DESTDIR=$ocaml/lib/ocaml/${ocaml.version}/site-lib
42− mkdir -p $OCAMLFIND_DESTDIR/stublibs
43− '';
44−
45− configurePhase = concatStringsSep " "
46− (
47− [ "${python.interpreter} scripts/mk_make.py --prefix=$out" ]
48− ++ optional javaBindings "--java"
49− ++ optional ocamlBindings "--ml"
50− ++ optional pythonBindings "--python --pypkgdir=$out/${python.sitePackages}"
51− ) + "\n" + "cd build";
52−
53− postInstall = ''
54− mkdir -p $dev $lib
55− mv $out/lib $lib/lib
56− mv $out/include $dev/include
57− '' + optionalString pythonBindings ''
58− mkdir -p $python/lib
59− mv $lib/lib/python* $python/lib/
60− ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
61− '' + optionalString javaBindings ''
62− mkdir -p $java/share/java
63− mv com.microsoft.z3.jar $java/share/java
64− moveToOutput "lib/libz3java.${stdenv.hostPlatform.extensions.sharedLibrary}" "$java"
65− '';
32+ nativeBuildInputs = optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
33+ buildInputs = [ python ]
34+ ++ optional javaBindings jdk
35+ ++ optionals ocamlBindings [ ocaml findlib zarith ]
36+ ;
37+ propagatedBuildInputs = [ python.pkgs.setuptools ];
38+ enableParallelBuilding = true;
6639
67− outputs = [ "out" "lib" "dev" "python" ]
68− ++ optional javaBindings "java"
69− ++ optional ocamlBindings "ocaml";
40+ postPatch = optionalString ocamlBindings ''
41+ export OCAMLFIND_DESTDIR=$ocaml/lib/ocaml/${ocaml.version}/site-lib
42+ mkdir -p $OCAMLFIND_DESTDIR/stublibs
43+ '';
7044
71− passthru = {
72− updateScript = writeScript "update-z3" ''
73− #!/usr/bin/env nix-shell
74− #!nix-shell -i bash -p common-updater-scripts curl jq
45+ configurePhase = concatStringsSep " "
46+ (
47+ [ "${python.interpreter} scripts/mk_make.py --prefix=$out" ]
48+ ++ optional javaBindings "--java"
49+ ++ optional ocamlBindings "--ml"
50+ ++ optional pythonBindings "--python --pypkgdir=$out/${python.sitePackages}"
51+ ) + "\n" + "cd build";
7552
76− set -eu -o pipefail
53+ doCheck = true;
54+ checkPhase = ''
55+ make test
56+ ./test-z3 -a
57+ '';
7758
78− # Expect tags in format
79− # [{name: "Nightly", ..., {name: "z3-vv.vv.vv", ...].
80− # Below we extract frst "z3-vv.vv" and drop "z3-" prefix.
81− newVersion="$(curl -s https://api.github.com/repos/Z3Prover/z3/releases |
82− jq 'first(.[].name|select(startswith("z3-"))|ltrimstr("z3-"))' --raw-output
83− )"
84− update-source-version ${pname} "$newVersion"
59+ postInstall = ''
60+ mkdir -p $dev $lib
61+ mv $out/lib $lib/lib
62+ mv $out/include $dev/include
63+ '' + optionalString pythonBindings ''
64+ mkdir -p $python/lib
65+ mv $lib/lib/python* $python/lib/
66+ ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
67+ '' + optionalString javaBindings ''
68+ mkdir -p $java/share/java
69+ mv com.microsoft.z3.jar $java/share/java
70+ moveToOutput "lib/libz3java.${stdenv.hostPlatform.extensions.sharedLibrary}" "$java"
8571 '';
86− };
8772
88− meta = with lib; {
89− description = "A high-performance theorem prover and SMT solver";
90− homepage = "https://github.com/Z3Prover/z3";
91− license = licenses.mit;
92− platforms = platforms.unix;
93− maintainers = with maintainers; [ thoughtpolice ttuegel ];
73+ outputs = [ "out" "lib" "dev" "python" ]
74+ ++ optional javaBindings "java"
75+ ++ optional ocamlBindings "ocaml";
76+
77+ meta = with lib; {
78+ description = "A high-performance theorem prover and SMT solver";
79+ homepage = "https://github.com/Z3Prover/z3";
80+ license = licenses.mit;
81+ platforms = platforms.unix;
82+ maintainers = with maintainers; [ thoughtpolice ttuegel ];
83+ };
84+ };
85+in
86+{
87+ z3_4_8 = common {
88+ version = "4.8.15";
89+ sha256 = "0xkwqz0y5d1lfb6kfqy8wn8n2dqalzf4c8ghmjsajc1bpdl70yc5";
90+ };
91+ z3_4_7 = common {
92+ version = "4.7.1";
93+ sha256 = "1s850r6qifwl83zzgvrb5l0jigvmymzpv18ph71hg2bcpk7kjw3d";
9494 };
9595}
pkgs/applications/version-management/git-and-tools/ghorg/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "ghorg";
5− version = "1.7.11";
5+ version = "1.7.12";
66
77 src = fetchFromGitHub {
88 owner = "gabrie30";
99 repo = "ghorg";
1010 rev = "v${version}";
11− sha256 = "sha256-/JecaTRmqTB1I0tqBRidlqWOvNE6U5zep5/lFi8VTCc=";
11+ sha256 = "sha256-y5o4yY5M9eDKN9LtbrPR29EafN3X7J51ARCEpFtLxCo=";
1212 };
1313
1414 doCheck = false;
pkgs/applications/version-management/subversion/default.nix+2−2
@@ -22,10 +22,10 @@ let
2222
2323 common = { version, sha256, extraPatches ? [ ] }: stdenv.mkDerivation (rec {
2424 inherit version;
25− pname = "subversion";
25+ pname = "subversion${lib.optionalString (!bdbSupport && perlBindings && pythonBindings) "-client"}";
2626
2727 src = fetchurl {
28− url = "mirror://apache/subversion/${pname}-${version}.tar.bz2";
28+ url = "mirror://apache/subversion/subversion-${version}.tar.bz2";
2929 inherit sha256;
3030 };
3131
pkgs/applications/video/pitivi/default.nix+8
@@ -1,5 +1,6 @@
11{ lib
22, fetchurl
3+, fetchpatch
34, pkg-config
45, gettext
56, itstool
@@ -36,6 +37,13 @@ python3Packages.buildPythonApplication rec {
3637 # and saves them to the generated binary. This would make the build-time
3738 # dependencies part of the closure so we remove it.
3839 ./prevent-closure-contamination.patch
40+
41+ # Fix build with meson 0.61
42+ # https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/414
43+ (fetchpatch {
44+ url = "https://gitlab.gnome.org/GNOME/pitivi/-/commit/ddf2369d1fc6fddd63f676cc905a8b8e96291a4c.patch";
45+ sha256 = "MC4naGnqhrYlFBFHZaSzbOzrqaNK5/Xv5jBmCu0fLQE=";
46+ })
3947 ];
4048
4149 nativeBuildInputs = [
pkgs/applications/video/webtorrent_desktop/default.nix+68−87
@@ -1,95 +1,76 @@
1+## FIXME: see ../../../servers/code-server/ for a proper yarn packaging
2+## - export ELECTRON_SKIP_BINARY_DOWNLOAD=1
3+## - jq "del(.scripts.preinstall)" node_modules/shellcheck/package.json | sponge node_modules/shellcheck/package.json
14{
2− alsa-lib, atk, cairo, cups, dbus, dpkg, expat, fetchurl, fetchzip, fontconfig, freetype,
3− gdk-pixbuf, glib, gtk3, libX11, libXScrnSaver, libXcomposite, libXcursor,
4− libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender, libXtst,
5− libxcb, nspr, nss, lib, stdenv, udev, libuuid, pango, at-spi2-atk, at-spi2-core
5+ lib, stdenv, buildFHSUserEnvBubblewrap, runCommand, writeScript, fetchurl, fetchzip
66}:
7+let
8+ pname = "webtorrent-desktop";
9+ version = "0.21.0";
10+in
11+runCommand "${pname}-${version}" rec {
12+ inherit (stdenv) shell;
13+ inherit pname version;
14+ src =
15+ if stdenv.hostPlatform.system == "x86_64-linux" then
16+ fetchzip {
17+ url = "https://github.com/webtorrent/webtorrent-desktop/releases/download/v${version}/WebTorrent-v${version}-linux.zip";
18+ sha256 = "13gd8isq2l10kibsc1bsc15dbgpnwa7nw4cwcamycgx6pfz9a852";
19+ }
20+ else
21+ throw "Webtorrent is not currently supported on ${stdenv.hostPlatform.system}";
722
8− let
9− rpath = lib.makeLibraryPath ([
10− alsa-lib
11− atk
12− at-spi2-core
13− at-spi2-atk
14− cairo
15− cups
16− dbus
17− expat
18− fontconfig
19− freetype
20− gdk-pixbuf
21− glib
22− gtk3
23− pango
24− libuuid
25− libX11
26− libXScrnSaver
27− libXcomposite
28− libXcursor
29− libXdamage
30− libXext
31− libXfixes
32− libXi
33− libXrandr
34− libXrender
35− libXtst
36− libxcb
37− nspr
38− nss
39− stdenv.cc.cc
40− udev
41− ]);
42− in stdenv.mkDerivation rec {
43− pname = "webtorrent-desktop";
44− version = "0.21.0";
23+ fhs = buildFHSUserEnvBubblewrap rec {
24+ name = "fhsEnterWebTorrent";
25+ runScript = "${src}/WebTorrent";
26+ ## use the trampoline, if you need to shell into the fhsenv
27+ # runScript = writeScript "trampoline" ''
28+ # #!/bin/sh
29+ # exec "$@"
30+ # '';
31+ targetPkgs = pkgs: with pkgs; with xorg; [
32+ alsa-lib atk at-spi2-core at-spi2-atk cairo cups dbus expat
33+ fontconfig freetype gdk-pixbuf glib gtk3 pango libuuid libX11
34+ libXScrnSaver libXcomposite libXcursor libXdamage libXext
35+ libXfixes libXi libXrandr libXrender libXtst libxcb nspr nss
36+ stdenv.cc.cc udev
37+ ];
38+ # extraBwrapArgs = [
39+ # "--ro-bind /run/user/$(id -u)/pulse /run/user/$(id -u)/pulse"
40+ # ];
41+ };
4542
46− src =
47− if stdenv.hostPlatform.system == "x86_64-linux" then
48− fetchzip {
49− url = "https://github.com/webtorrent/webtorrent-desktop/releases/download/v${version}/WebTorrent-v${version}-linux.zip";
50− sha256 = "13gd8isq2l10kibsc1bsc15dbgpnwa7nw4cwcamycgx6pfz9a852";
51− }
52− else
53− throw "Webtorrent is not currently supported on ${stdenv.hostPlatform.system}";
54− desktopFile = fetchurl {
55− url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/applications/webtorrent-desktop.desktop";
56− sha256 = "1v16dqbxqds3cqg3xkzxsa5fyd8ssddvjhy9g3i3lz90n47916ca";
57− };
58− icon256File = fetchurl {
59− url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/icons/hicolor/256x256/apps/webtorrent-desktop.png";
60− sha256 = "1dapxvvp7cx52zhyaby4bxm4rll9xc7x3wk8k0il4g3mc7zzn3yk";
61− };
62− icon48File = fetchurl {
63− url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/icons/hicolor/48x48/apps/webtorrent-desktop.png";
64− sha256 = "00y96w9shbbrdbf6xcjlahqd08154kkrxmqraik7qshiwcqpw7p4";
65− };
66− nativeBuildInputs = [ dpkg ];
67− installPhase = ''
68− mkdir -p $out/share/{applications,icons/hicolor/{48x48,256x256}/apps}
69− cp -R . $out/libexec
43+ desktopFile = fetchurl {
44+ url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/applications/webtorrent-desktop.desktop";
45+ sha256 = "1v16dqbxqds3cqg3xkzxsa5fyd8ssddvjhy9g3i3lz90n47916ca";
46+ };
47+ icon256File = fetchurl {
48+ url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/icons/hicolor/256x256/apps/webtorrent-desktop.png";
49+ sha256 = "1dapxvvp7cx52zhyaby4bxm4rll9xc7x3wk8k0il4g3mc7zzn3yk";
50+ };
51+ icon48File = fetchurl {
52+ url = "https://raw.githubusercontent.com/webtorrent/webtorrent-desktop/v${version}/static/linux/share/icons/hicolor/48x48/apps/webtorrent-desktop.png";
53+ sha256 = "00y96w9shbbrdbf6xcjlahqd08154kkrxmqraik7qshiwcqpw7p4";
54+ };
7055
71− # Patch WebTorrent
72− patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
73− --set-rpath ${rpath}:$out/libexec $out/libexec/WebTorrent
56+ meta = with lib; {
57+ description = "Streaming torrent app for Mac, Windows, and Linux";
58+ homepage = "https://webtorrent.io/desktop";
59+ license = licenses.mit;
60+ maintainers = [ maintainers.flokli maintainers.bendlas ];
61+ platforms = [
62+ "x86_64-linux"
63+ ];
64+ };
7465
75− # Symlink to bin
76− mkdir -p $out/bin
77− ln -s $out/libexec/WebTorrent $out/bin/WebTorrent
66+} ''
67+ mkdir -p $out/{bin,share/{applications,icons/hicolor/{48x48,256x256}/apps}}
7868
79− cp $icon48File $out/share/icons/hicolor/48x48/apps/webtorrent-desktop.png
80− cp $icon256File $out/share/icons/hicolor/256x256/apps/webtorrent-desktop.png
81− ## Fix the desktop link
82− substitute $desktopFile $out/share/applications/webtorrent-desktop.desktop \
83− --replace /opt/webtorrent-desktop $out/libexec
84− '';
69+ cp $fhs/bin/fhsEnterWebTorrent $out/bin/WebTorrent
8570
86− meta = with lib; {
87− description = "Streaming torrent app for Mac, Windows, and Linux";
88− homepage = "https://webtorrent.io/desktop";
89− license = licenses.mit;
90− maintainers = [ maintainers.flokli ];
91− platforms = [
92− "x86_64-linux"
93− ];
94− };
95− }
71+ cp $icon48File $out/share/icons/hicolor/48x48/apps/webtorrent-desktop.png
72+ cp $icon256File $out/share/icons/hicolor/256x256/apps/webtorrent-desktop.png
73+ ## Fix the desktop link
74+ substitute $desktopFile $out/share/applications/webtorrent-desktop.desktop \
75+ --replace /opt/webtorrent-desktop $out/libexec
76+''
pkgs/applications/virtualization/x11docker/default.nix+2−2
@@ -1,12 +1,12 @@
11{ lib, stdenv, fetchFromGitHub, makeWrapper, nx-libs, xorg, getopt, gnugrep, gawk, ps, mount, iproute2 }:
22stdenv.mkDerivation rec {
33 pname = "x11docker";
4− version = "7.1.3";
4+ version = "7.1.4";
55 src = fetchFromGitHub {
66 owner = "mviereck";
77 repo = "x11docker";
88 rev = "v${version}";
9− sha256 = "sha256-eSarw5RG2ckup9pNlZtAyZAN8IPZy94RRfej9ppiLfo=";
9+ sha256 = "sha256-geYn1ir8h1EAUpTWsTS7giQt5eQwIBFeemS+a940ORg=";
1010 };
1111 nativeBuildInputs = [ makeWrapper ];
1212
pkgs/applications/window-managers/berry/default.nix+2−2
@@ -15,13 +15,13 @@
1515
1616stdenv.mkDerivation rec {
1717 pname = "berry";
18− version = "0.1.10";
18+ version = "0.1.11";
1919
2020 src = fetchFromGitHub {
2121 owner = "JLErvin";
2222 repo = pname;
2323 rev = version;
24− hash = "sha256-6asph0QXzhmHuYcfrLcQ8RTP4QzX8m6AcCp5ImA++9M=";
24+ hash = "sha256-cs1NVwaANMIteCQuGqPcEWuUbfJulhjmfWnlU8Eb2OM=";
2525 };
2626
2727 nativeBuildInputs = [
pkgs/data/themes/flat-remix-gtk/default.nix+2−2
@@ -6,13 +6,13 @@
66
77stdenv.mkDerivation rec {
88 pname = "flat-remix-gtk";
9− version = "20220321";
9+ version = "20220330";
1010
1111 src = fetchFromGitHub {
1212 owner = "daniruiz";
1313 repo = pname;
1414 rev = version;
15− sha256 = "sha256-QFG/jh3tPO0eflyDQaC1PJL/SavYD/W6rYp26Rxe/2E=";
15+ sha256 = "sha256-TRBjttAYpx3M/Qza6N9dJy50vQtUOJGmdLNdobnAt2Y=";
1616 };
1717
1818 dontBuild = true;
pkgs/desktops/xfce/applications/mousepad/default.nix+2−2
@@ -3,10 +3,10 @@
33mkXfceDerivation {
44 category = "apps";
55 pname = "mousepad";
6− version = "0.5.8";
6+ version = "0.5.9";
77 odd-unstable = false;
88
9− sha256 = "sha256-Q5coRO2Swo0LpB+pzi+fxrwNyhcDbQXLuQtepPlCyxY=";
9+ sha256 = "sha256-xuSv2H1+/NNUAm+D8f+f5fPVR97iJ5vIDzPa3S0HLM0=";
1010
1111 nativeBuildInputs = [ gobject-introspection ];
1212
pkgs/development/compilers/kotlin/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 pname = "kotlin";
5− version = "1.6.10";
5+ version = "1.6.20";
66
77 src = fetchurl {
88 url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
9− sha256 = "sha256-QyJnmW0Na0sXyo3g+HjkTUoJm36fFYepjtxNJ+dsIVo=";
9+ hash = "sha256-2vF9scGU9CBfOvZxKTZ6abOI+BkXeWPcU6e0ssTYziI=";
1010 };
1111
1212 propagatedBuildInputs = [ jre ] ;
pkgs/development/compilers/kotlin/native.nix+4−4
@@ -7,7 +7,7 @@
77
88stdenv.mkDerivation rec {
99 pname = "kotlin-native";
10− version = "1.6.10";
10+ version = "1.6.20";
1111
1212 src = let
1313 getArch = {
@@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
2020 "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-native-${arch}-${version}.tar.gz";
2121
2222 getHash = arch: {
23− "macos-aarch64" = "sha256-W+9F1YZ5ATa6KaALYQEXW4xr4UxfquuC72xoB2987iM=";
24− "macos-x86_64" = "sha256-pceORt+YJZiP67nbnUB6ny1ic/r0aTrdA2hsQi5Otp8=";
25− "linux-x86_64" = "sha256-tcZffJPcR6PYJ22wIh5BHn/yjG3Jb+MG5COLbAQ2/Ww=";
23+ "macos-aarch64" = "sha256-Nb/5UrNnIOJI+5PdXX4FfhUvCChrfUTkjaMS7nN/eGg=";
24+ "macos-x86_64" = "sha256-cgET1zjk14/o3EH/1t7jfCfXHwcjfAANKG+yxpQccMc=";
25+ "linux-x86_64" = "sha256-qbXyvCTGqRK0mCav6Ei128y1Ok1vfZ1o0haZ+MJjmBQ=";
2626 }.${arch};
2727 in
2828 fetchurl {
pkgs/development/compilers/ocaml/4.00.1.nix+7−1
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, ncurses, xlibsWrapper }:
1+{ lib, stdenv, fetchurl, fetchpatch, ncurses, xlibsWrapper }:
22
33let
44 useX11 = !stdenv.isAarch32 && !stdenv.isMips;
@@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
1515 sha256 = "33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951";
1616 };
1717
18+ # Compatibility with Glibc 2.34
19+ patches = [ (fetchpatch {
20+ url = "https://github.com/ocaml/ocaml/commit/60b0cdaf2519d881947af4175ac4c6ff68901be3.patch";
21+ sha256 = "sha256:07g9q9sjk4xsbqix7jxggfp36v15pmqw4bms80g5car0hfbszirn";
22+ })];
23+
1824 prefixKey = "-prefix ";
1925 configureFlags = [ "-no-tk" ] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
2026 buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ];
pkgs/development/compilers/ocaml/4.01.0.nix+7−1
@@ -2,6 +2,12 @@ import ./generic.nix {
22 major_version = "4";
33 minor_version = "01";
44 patch_version = "0";
5− patches = [ ./fix-clang-build-on-osx.diff ];
5+ patches = [
6+ ./fix-clang-build-on-osx.diff
7+
8+ # Compatibility with Glibc 2.34
9+ { url = "https://github.com/ocaml/ocaml/commit/d111407bf4ff71171598d30825c8e59ed5f75fd6.patch";
10+ sha256 = "sha256:08mpy7lsiwv8m5qrqc4xzyiv2hri5713gz2qs1nfz02hz1bd79mc"; }
11+ ];
612 sha256 = "03d7ida94s1gpr3gadf4jyhmh5rrszd5s4m4z59daaib25rvfyv7";
713}
pkgs/development/compilers/ocaml/4.02.nix+7−1
@@ -2,6 +2,12 @@ import ./generic.nix {
22 major_version = "4";
33 minor_version = "02";
44 patch_version = "3";
5− patches = [ ./ocamlbuild.patch ];
5+ patches = [
6+ ./ocamlbuild.patch
7+
8+ # Compatibility with Glibc 2.34
9+ { url = "https://github.com/ocaml/ocaml/commit/9de2b77472aee18a94b41cff70caee27fb901225.patch";
10+ sha256 = "sha256:12sw512kpwk0xf2g6j0h5vqgd8xcmgrvgyilx6fxbd6bnfv1yib9"; }
11+ ];
612 sha256 = "1qwwvy8nzd87hk8rd9sm667nppakiapnx4ypdwcrlnav2dz6kil3";
713}
pkgs/development/compilers/ocaml/4.03.nix+6
@@ -3,4 +3,10 @@ import ./generic.nix {
33 minor_version = "03";
44 patch_version = "0";
55 sha256 = "09p3iwwi55r6rbrpyp8f0wmkb0ppcgw67yxw6yfky60524wayp39";
6+
7+ patches = [
8+ # Compatibility with Glibc 2.34
9+ { url = "https://github.com/ocaml/ocaml/commit/a8b2cc3b40f5269ce8525164ec2a63b35722b22b.patch";
10+ sha256 = "sha256:1rrknmrk86xrj2k3hznnjk1gwnliyqh125zabg1hvy6dlvml9b0x"; }
11+ ];
612}
pkgs/development/compilers/ocaml/4.04.nix+6
@@ -6,4 +6,10 @@ import ./generic.nix {
66
77 # If the executable is stipped it does not work
88 dontStrip = true;
9+
10+ patches = [
11+ # Compatibility with Glibc 2.34
12+ { url = "https://github.com/ocaml/ocaml/commit/6bcff7e6ce1a43e088469278eb3a9341e6a2ca5b.patch";
13+ sha256 = "sha256:1hd45f7mwwrrym2y4dbcwklpv0g94avbz7qrn81l7w8mrrj3bngi"; }
14+ ];
915}
pkgs/development/compilers/ocaml/4.05.nix+6
@@ -6,4 +6,10 @@ import ./generic.nix {
66
77 # If the executable is stipped it does not work
88 dontStrip = true;
9+
10+ patches = [
11+ # Compatibility with Glibc 2.34
12+ { url = "https://github.com/ocaml/ocaml/commit/50c2d1275e537906ea144bd557fde31e0bf16e5f.patch";
13+ sha256 = "sha256:0ck9b2dpgg5k2p9ndbgniql24h35pn1bbpxjvk69j715lswzy4mh"; }
14+ ];
915}
pkgs/development/compilers/ocaml/4.06.nix+6
@@ -6,4 +6,10 @@ import ./generic.nix {
66
77 # If the executable is stipped it does not work
88 dontStrip = true;
9+
10+ patches = [
11+ # Compatibility with Glibc 2.34
12+ { url = "https://github.com/ocaml/ocaml/commit/137a4ad167f25fe1bee792977ed89f30d19bcd74.patch";
13+ sha256 = "sha256:0izsf6rm3677vbbx0snkmn9pkfcsayrdwz3ipiml5wjiaysnchjz"; }
14+ ];
915}
pkgs/development/compilers/ocaml/4.07.nix+6
@@ -6,4 +6,10 @@ import ./generic.nix {
66
77 # If the executable is stripped it does not work
88 dontStrip = true;
9+
10+ patches = [
11+ # Compatibility with Glibc 2.34
12+ { url = "https://github.com/ocaml/ocaml/commit/00b8c4d503732343d5d01761ad09650fe50ff3a0.patch";
13+ sha256 = "sha256:02cfya5ff5szx0fsl5x8ax76jyrla9zmf3qxavf3adhwq5ssrfcv"; }
14+ ];
915}
pkgs/development/compilers/ocaml/4.08.nix+6
@@ -9,4 +9,10 @@ import ./generic.nix {
99
1010 # Breaks build with Clang
1111 hardeningDisable = [ "strictoverflow" ];
12+
13+ patches = [
14+ # Compatibility with Glibc 2.34
15+ { url = "https://github.com/ocaml/ocaml/commit/17df117b4939486d3285031900587afce5262c8c.patch";
16+ sha256 = "sha256:1b3jc6sj2k23yvfwrv6nc1f4x2n2biqbhbbp74aqb6iyqyjsq35n"; }
17+ ];
1218}
pkgs/development/compilers/ocaml/4.09.nix+6
@@ -6,4 +6,10 @@ import ./generic.nix {
66
77 # Breaks build with Clang
88 hardeningDisable = [ "strictoverflow" ];
9+
10+ patches = [
11+ # Compatibility with Glibc 2.34
12+ { url = "https://github.com/ocaml/ocaml/commit/8eed2e441222588dc385a98ae8bd6f5820eb0223.patch";
13+ sha256 = "sha256:1b3jc6sj2k23yvfwrv6nc1f4x2n2biqbhbbp74aqb6iyqyjsq35n"; }
14+ ];
915}
pkgs/development/compilers/rust/rustfmt.nix+2−2
@@ -18,8 +18,8 @@ rustPlatform.buildRustPackage rec {
1818
1919 # As of rustc 1.45.0, these env vars are required to build rustfmt (due to
2020 # https://github.com/rust-lang/rust/pull/72001)
21− CFG_RELEASE = "${rustPlatform.rust.rustc.version}-nightly";
22− CFG_RELEASE_CHANNEL = "nightly";
21+ CFG_RELEASE = rustPlatform.rust.rustc.version;
22+ CFG_RELEASE_CHANNEL = "stable";
2323
2424 meta = with lib; {
2525 description = "A tool for formatting Rust code according to style guidelines";
pkgs/development/interpreters/clojure/default.nix+2−2
@@ -2,12 +2,12 @@
22
33stdenv.mkDerivation rec {
44 pname = "clojure";
5− version = "1.11.0.1100";
5+ version = "1.11.1.1107";
66
77 src = fetchurl {
88 # https://clojure.org/releases/tools
99 url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
10− sha256 = "sha256-9KEsO32118fvKE1Gls+9nAeRdlhTKfmJylsiSYCoKKU=";
10+ sha256 = "sha256-ItSKM546QW4DpnGotGzYs6917cbHYYkPvL9XezQBzOY=";
1111 };
1212
1313 nativeBuildInputs = [
pkgs/development/libraries/libsecret/default.nix+2−5
@@ -18,7 +18,6 @@
1818, gjs
1919, libintl
2020, dbus
21−, xvfb-run
2221}:
2322
2423stdenv.mkDerivation rec {
@@ -59,16 +58,14 @@ stdenv.mkDerivation rec {
5958 python3
6059 python3.pkgs.dbus-python
6160 python3.pkgs.pygobject3
62− xvfb-run
6361 dbus
6462 gjs
6563 ];
6664
67− doCheck = true;
68−
65+ doCheck = stdenv.isLinux;
6966
7067 postPatch = ''
71− patchShebangs .
68+ patchShebangs ./tool/test-*.sh
7269 '';
7370
7471 preCheck = ''
pkgs/development/libraries/libuldaq/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "libuldaq";
5− version = "1.2.0";
5+ version = "1.2.1";
66
77 src = fetchFromGitHub {
88 owner = "mccdaq";
99 repo = "uldaq";
1010 rev = "v${version}";
11− sha256 = "0l9ima8ac99yd9vvjvdrmacm95ghv687wiy39zxm00cmghcfv3vj";
11+ sha256 = "sha256-DA1mxu94z5xDpGK9OBwD02HXlOATv/slqZ4lz5GM7QM=";
1212 };
1313
1414 patches = [
pkgs/development/node-packages/default.nix+5−1
@@ -343,13 +343,17 @@ let
343343 wrapProgram "$out/bin/postcss" \
344344 --prefix NODE_PATH : ${self.postcss}/lib/node_modules \
345345 --prefix NODE_PATH : ${self.autoprefixer}/lib/node_modules
346+ ln -s '${self.postcss}/lib/node_modules/postcss' "$out/lib/node_modules/postcss"
346347 '';
347348 passthru.tests = {
348349 simple-execution = pkgs.callPackage ./package-tests/postcss-cli.nix {
349350 inherit (self) postcss-cli;
350351 };
351352 };
352− meta.mainProgram = "postcss";
353+ meta = {
354+ mainProgram = "postcss";
355+ maintainers = with lib.maintainers; [ Luflosi ];
356+ };
353357 };
354358
355359 # To update prisma, please first update prisma-engines to the latest
pkgs/development/ocaml-modules/asn1-combinators/default.nix+1−3
@@ -3,13 +3,11 @@
33}:
44
55buildDunePackage rec {
6− minimumOCamlVersion = "4.05";
6+ minimalOCamlVersion = "4.08";
77
88 pname = "asn1-combinators";
99 version = "0.2.6";
1010
11− useDune2 = true;
12−
1311 src = fetchurl {
1412 url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-v${version}.tbz";
1513 sha256 = "sha256-ASreDYhp72IQY3UsHPjqAm9rxwL+0Q35r1ZojikbGpE=";
pkgs/development/ocaml-modules/sqlite3EZ/default.nixdeleted−36
@@ -1,36 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, twt, ocaml_sqlite3 }:
2−
3−assert lib.versionAtLeast (lib.getVersion ocaml) "3.12";
4−
5−if lib.versionAtLeast ocaml.version "4.06"
6−then throw "sqlite3EZ is not available for OCaml ${ocaml.version}"
7−else
8−
9−stdenv.mkDerivation rec {
10− pname = "ocaml-sqlite3EZ";
11− version = "0.1.0";
12−
13− src = fetchFromGitHub {
14− owner = "mlin";
15− repo = "ocaml-sqlite3EZ";
16− rev = "v${version}";
17− sha256 = "sha256-pKysvth0efxJeyJQY2Dnqarg7OtsKyyLnFV/1ZhsfDY=";
18− };
19−
20− nativeBuildInputs = [ ocaml findlib ocamlbuild ];
21− buildInputs = [ twt ];
22−
23− propagatedBuildInputs = [ ocaml_sqlite3 ];
24−
25− strictDeps = true;
26−
27− createFindlibDestdir = true;
28−
29− meta = with lib; {
30− homepage = "https://github.com/mlin/ocaml-sqlite3EZ";
31− description = "A thin wrapper for sqlite3-ocaml with a simplified interface";
32− license = licenses.mit;
33− maintainers = [ maintainers.vbgl ];
34− platforms = ocaml.meta.platforms or [ ];
35− };
36−}
pkgs/development/ocaml-modules/torch/default.nix+1
@@ -56,5 +56,6 @@ buildDunePackage rec {
5656 description = "Ocaml bindings to Pytorch";
5757 maintainers = [ maintainers.bcdarwin ];
5858 license = licenses.asl20;
59+ broken = lib.versionAtLeast pytorch.version "1.11";
5960 };
6061}
pkgs/development/ocaml-modules/z3/default.nix−5
@@ -7,11 +7,6 @@ else
77let z3-with-ocaml = (z3.override {
88 ocamlBindings = true;
99 inherit ocaml findlib zarith;
10−}).overrideAttrs (o: {
11− patches = (o.patches or []) ++ [
12− # Fix build; see: https://github.com/Z3Prover/z3/issues/5776
13− ./ocamlfind.patch
14− ];
1510}); in
1611
1712stdenv.mkDerivation {
pkgs/development/ocaml-modules/z3/ocamlfind.patchdeleted−13
@@ -1,13 +0,0 @@
1−diff --git a/scripts/mk_util.py b/scripts/mk_util.py
2−index 042e6af46..1e105b002 100644
3−--- a/scripts/mk_util.py
4−+++ b/scripts/mk_util.py
5−@@ -1995,7 +1995,7 @@ class MLComponent(Component):
6−
7− LIBZ3 = LIBZ3 + ' ' + ' '.join(map(lambda x: '-cclib ' + x, LDFLAGS.split()))
8−
9−- stubs_install_path = '$$(%s printconf path)/stublibs' % OCAMLFIND
10−+ stubs_install_path = '$$(%s printconf destdir)/stublibs' % OCAMLFIND
11− if not STATIC_LIB:
12− loadpath = '-ccopt -L' + stubs_install_path
13− dllpath = '-dllpath ' + stubs_install_path
pkgs/development/python-modules/anyconfig/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "anyconfig";
10− version = "0.12.0";
10+ version = "0.13.0";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "sha256-MJHXZ1dAaG+t6FdVU38qfGzO+oZZxbtWF04C3tdLltU=";
14+ sha256 = "sha256-A/8uF2KvOI+7vtHBq3+fHsAGqR2n2zpouWPabneV0qw=";
1515 };
1616
1717 postPatch = ''
pkgs/development/python-modules/aplpy/default.nix+5−25
@@ -11,6 +11,7 @@
1111, pyregion
1212, pillow
1313, scikitimage
14+, cython
1415, shapely
1516, pytest
1617, pytest-astropy
@@ -18,39 +19,18 @@
1819
1920buildPythonPackage rec {
2021 pname = "aplpy";
21− version = "2.0.3";
22+ version = "2.1.0";
2223 format = "pyproject";
2324
2425 src = fetchPypi {
25− pname = "APLpy";
26+ pname = "aplpy";
2627 inherit version;
27− sha256 = "239f3d83635ca4251536aeb577df7c60df77fc4d658097b92094719739aec3f3";
28+ sha256 = "sha256-KCdmBwQWt7IfHsjq7pWlbSISEpfQZDyt+SQSTDaUCV4=";
2829 };
2930
30− patches = [
31− # Fixes compatibility with astropy-helpers. This patch has been merged into
32− # the master branch as of May 2020, and should be part of the next
33− # upstream release (v2.0.3 was tagged in Feb. 2019).
34− (fetchpatch {
35− url = "https://github.com/aplpy/aplpy/pull/448.patch";
36− sha256 = "1pnzh7ykjc8hwahzbzyryrzv5a8fddgd1bmzbhagkrn6lmvhhpvq";
37− excludes = [ "tox.ini" "azure-pipelines.yml" ".circleci/config.yml" "MANIFEST.in" ".gitignore"
38− "setup.cfg" "appveyor.yml" "readthedocs.yml" "CHANGES.rst" ".gitmodules" ".travis.yml" "astropy_helpers" ];
39− })
40− # Fix for matplotlib >= 3.4 (https://github.com/aplpy/aplpy/pull/466)
41− # Note: because of a security thing, github will refuse to serve this patch from the
42− # "normal" location
43− # (https://github.com/aplpy/aplpy/commit/56c1cc694fdea69e7da8506d3212c4495adb0ca5.patch)
44− # due to the fact that it contains the PDF magic bytes, but it will serve it from
45− # this githubusercontent domain.
46− (fetchpatch {
47− url = "https://patch-diff.githubusercontent.com/raw/aplpy/aplpy/pull/466/commit/56c1cc694fdea69e7da8506d3212c4495adb0ca5.patch";
48− sha256 = "0jna2n1cgfzr0a27m5z94wwph7qg25hs7lycrdb2dp3943rb35g4";
49− })
50− ];
51−
5231 propagatedBuildInputs = [
5332 numpy
33+ cython
5434 astropy
5535 matplotlib
5636 reproject
pkgs/development/python-modules/azure-identity/default.nix+2−2
@@ -16,12 +16,12 @@
1616
1717buildPythonPackage rec {
1818 pname = "azure-identity";
19− version = "1.8.0";
19+ version = "1.9.0";
2020
2121 src = fetchPypi {
2222 inherit pname version;
2323 extension = "zip";
24− sha256 = "sha256-Ag/w5HFXhS5KrIo62waEGCcUfyepTL50qQRCXY5i2Tw=";
24+ sha256 = "sha256-CFTRnaTFZEZBgU3E+VHELgFAC1eS8J37a/+nJti5Fg0=";
2525 };
2626
2727 postPatch = ''
pkgs/development/python-modules/databricks-connect/default.nix+2−2
@@ -9,14 +9,14 @@
99
1010buildPythonPackage rec {
1111 pname = "databricks-connect";
12− version = "9.1.10";
12+ version = "9.1.12";
1313 format = "setuptools";
1414
1515 disabled = pythonOlder "3.7";
1616
1717 src = fetchPypi {
1818 inherit pname version;
19− sha256 = "sha256-OR3TXO6IzqwqbBbfFf+FGIUbwTa0DoKry84e1hL0I3Q=";
19+ sha256 = "sha256-o3r2qZbSAAzyxfPdf9JNDhd/WKRhDdJFfnjCI8eTEE0=";
2020 };
2121
2222 sourceRoot = ".";
pkgs/development/python-modules/doc8/default.nix+2−2
@@ -14,14 +14,14 @@
1414
1515buildPythonPackage rec {
1616 pname = "doc8";
17− version = "0.10.1";
17+ version = "0.11.1";
1818 format = "pyproject";
1919
2020 disabled = pythonOlder "3.6";
2121
2222 src = fetchPypi {
2323 inherit pname version;
24− sha256 = "376e50f4e70a1ae935416ddfcf93db35dd5d4cc0e557f2ec72f0667d0ace4548";
24+ sha256 = "sha256-bby1Ry79Mydj/7KGK0/e7EDIpv3Gu2fmhxOtdJylgIw=";
2525 };
2626
2727 nativeBuildInputs = [
pkgs/development/python-modules/google-cloud-bigtable/default.nix+2−2
@@ -13,14 +13,14 @@
1313
1414buildPythonPackage rec {
1515 pname = "google-cloud-bigtable";
16− version = "2.7.1";
16+ version = "2.8.0";
1717 format = "setuptools";
1818
1919 disabled = pythonOlder "3.7";
2020
2121 src = fetchPypi {
2222 inherit pname version;
23− hash = "sha256-TUMgrv1JNt8h6DzCNtk0Fm4LQFC73/FNfpgTs9jhkYs=";
23+ hash = "sha256-FLnEEsbTie1Z/9Y8nLzvLFbxiexUL4GFa8jCcEAYK1s=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/hatchling/default.nix+2−2
@@ -21,7 +21,7 @@
2121
2222let
2323 pname = "hatchling";
24− version = "0.20.1";
24+ version = "0.22.0";
2525in
2626buildPythonPackage {
2727 inherit pname version;
@@ -29,7 +29,7 @@ buildPythonPackage {
2929
3030 src = fetchPypi {
3131 inherit pname version;
32− hash = "sha256-l1VRce5H3CSAwZBeuxRyy7bNpOM6zX5s2L1/DXPo/Bg=";
32+ hash = "sha256-BUJ24F4oON/9dWpnnDNM5nIOuh3yuwlvDnLA9uQAIXo=";
3333 };
3434
3535 # listed in backend/src/hatchling/ouroboros.py
pkgs/development/python-modules/hg-git/default.nix+15−5
@@ -3,24 +3,34 @@
33, fetchPypi
44, dulwich
55, mercurial
6+, pythonOlder
67}:
78
89buildPythonPackage rec {
910 pname = "hg-git";
10− version = "0.10.4";
11+ version = "1.0.0";
12+ format = "setuptools";
13+
14+ disabled = pythonOlder "3.6";
1115
1216 src = fetchPypi {
1317 inherit pname version;
14− sha256 = "sha256-guJlIm9HPTgKw5cg/s7rFST/crAXfPxGYGeZxEJ+hcw=";
18+ hash = "sha256-ORGDOWLrnImca+qPtJZmyC8hGxJNCEC+tq2V4jpGIbY=";
1519 };
1620
17− propagatedBuildInputs = [ dulwich mercurial ];
21+ propagatedBuildInputs = [
22+ dulwich
23+ mercurial
24+ ];
25+
26+ pythonImportsCheck = [
27+ "hggit"
28+ ];
1829
1930 meta = with lib; {
2031 description = "Push and pull from a Git server using Mercurial";
2132 homepage = "https://hg-git.github.io/";
22− maintainers = with maintainers; [ koral ];
2333 license = licenses.gpl2Only;
34+ maintainers = with maintainers; [ koral ];
2435 };
25−
2636}
pkgs/development/python-modules/inquirer/default.nix+2−2
@@ -18,14 +18,14 @@
1818
1919buildPythonPackage rec {
2020 pname = "inquirer";
21− version = "2.9.1";
21+ version = "2.9.2";
2222 format = "pyproject";
2323
2424 src = fetchFromGitHub rec {
2525 owner = "magmax";
2626 repo = "python-inquirer";
2727 rev = "v${version}";
28− sha256 = "sha256:0vdly2k4i7bfcqc8zh2miv9dbpmqvayxk72qn9d4hr7z15wph233";
28+ sha256 = "sha256-TQEZeZDl4N78dE7CXy5OwquUoHuxxjmDAC3wdxqydaQ=";
2929 };
3030
3131 nativeBuildInputs = [
pkgs/development/python-modules/jupytext/default.nix+3−3
@@ -18,7 +18,7 @@
1818
1919buildPythonPackage rec {
2020 pname = "jupytext";
21− version = "1.13.7";
21+ version = "1.13.8";
2222 format = "pyproject";
2323
2424 disabled = pythonOlder "3.6";
@@ -26,8 +26,8 @@ buildPythonPackage rec {
2626 src = fetchFromGitHub {
2727 owner = "mwouts";
2828 repo = pname;
29− rev = "v${version}";
30− sha256 = "sha256-DWK5ZoPL6Ek3dXHOlZfecQKLNwBqDjMZ77XZ7YLCXKI=";
29+ rev = "refs/tags/v${version}";
30+ sha256 = "sha256-ebe5sQJxA8QE6eJp6vPUyMaEvZUPqzCmQ6damzo1BVo=";
3131 };
3232
3333 buildInputs = [
pkgs/development/python-modules/karton-core/default.nix+3−3
@@ -8,13 +8,13 @@
88
99buildPythonPackage rec {
1010 pname = "karton-core";
11− version = "4.3.0";
11+ version = "4.4.0";
1212
1313 src = fetchFromGitHub {
1414 owner = "CERT-Polska";
1515 repo = "karton";
16− rev = "v${version}";
17− sha256 = "sha256-pIYDY+pie4xqH11UHBal7/+MVmJDgNCFVpSD9we9ZPA=";
16+ rev = "refs/tags/v${version}";
17+ sha256 = "sha256-TwTq44l/Nx+FQ6tFZHat4SPGOmHSwYfg7ShbGnxpkVw=";
1818 };
1919
2020 propagatedBuildInputs = [ minio redis ];
pkgs/development/python-modules/lektor/default.nix+52−26
@@ -1,58 +1,84 @@
11{ lib
2+, Babel
23, buildPythonPackage
3−, fetchFromGitHub
44, click
5−, filetype
6−, watchdog
75, exifread
8−, requests
9−, mistune
6+, fetchFromGitHub
7+, filetype
8+, flask
109, inifile
11−, Babel
1210, jinja2
13−, flask
11+, marshmallow
12+, marshmallow-dataclass
13+, mistune
14+, pip
1415, pyopenssl
15−, ndg-httpsclient
16−, pytestCheckHook
17−, pytest-cov
16+, pytest-click
1817, pytest-mock
1918, pytest-pylint
20−, pytest-click
19+, pytestCheckHook
20+, pythonOlder
2121, python-slugify
22−, isPy27
23−, functools32
22+, requests
2423, setuptools
24+, watchdog
25+, werkzeug
2526}:
2627
2728buildPythonPackage rec {
2829 pname = "lektor";
29− version = "3.3.2";
30+ version = "3.3.3";
3031 format = "pyproject";
3132
33+ disabled = pythonOlder "3.7";
34+
3235 src = fetchFromGitHub {
3336 owner = "lektor";
34− repo = "lektor";
35− rev = "v${version}";
36− sha256 = "sha256-PNHQ87aO+b1xseupIOsO7MXdr16s0gjoHGnZhPlKKRY=";
37+ repo = pname;
38+ rev = "refs/tags/v${version}";
39+ hash = "sha256-3jPN4VQdIUVjSSGJxPek2RrnXzCwkDxoEBqk4vuL+nc=";
3740 };
3841
3942 propagatedBuildInputs = [
40− click filetype watchdog exifread requests mistune inifile Babel jinja2
41− flask pyopenssl python-slugify ndg-httpsclient setuptools
42− ] ++ lib.optionals isPy27 [ functools32 ];
43+ Babel
44+ click
45+ exifread
46+ filetype
47+ flask
48+ inifile
49+ jinja2
50+ marshmallow
51+ marshmallow-dataclass
52+ mistune
53+ pip
54+ pyopenssl
55+ python-slugify
56+ requests
57+ setuptools
58+ watchdog
59+ werkzeug
60+ ];
4361
4462 checkInputs = [
45− pytestCheckHook pytest-cov pytest-mock pytest-pylint pytest-click
63+ pytest-click
64+ pytest-mock
65+ pytest-pylint
66+ pytestCheckHook
67+ ];
68+
69+ pythonImportsCheck = [
70+ "lektor"
4671 ];
4772
48− # many errors -- tests assume inside of git repo, linting errors 13/317 fail
49− doCheck = false;
73+ disabledTests = [
74+ # Test requires network access
75+ "test_path_installed_plugin_is_none"
76+ ];
5077
5178 meta = with lib; {
5279 description = "A static content management system";
53− homepage = "https://www.getlektor.com/";
54− license = licenses.bsd0;
80+ homepage = "https://www.getlektor.com/";
81+ license = licenses.bsd0;
5582 maintainers = with maintainers; [ costrouc ];
5683 };
57−
5884}
pkgs/development/python-modules/mergedb/default.nixnew file+51
@@ -0,0 +1,51 @@
1+{ lib
2+, buildPythonPackage
3+, colorama
4+, fetchPypi
5+, jinja2
6+, pytestCheckHook
7+, pythonOlder
8+, pyyaml
9+, setuptools
10+, setuptools-scm
11+}:
12+
13+buildPythonPackage rec {
14+ pname = "mergedb";
15+ version = "0.1.1";
16+ format = "setuptools";
17+
18+ disabled = pythonOlder "3.7";
19+
20+ src = fetchPypi {
21+ inherit pname version;
22+ sha256 = "2034c18dca23456c5b166b63d94300bcd8ec9f386e6cd639c2f66e141c0313f9";
23+ };
24+
25+ nativeBuildInputs = [
26+ setuptools-scm
27+ ];
28+
29+ propagatedBuildInputs = [
30+ pyyaml
31+ colorama
32+ jinja2
33+ setuptools
34+ ];
35+
36+ checkInputs = [
37+ pytestCheckHook
38+ ];
39+
40+ pythonImportsCheck = [
41+ "mergedb"
42+ ];
43+
44+ meta = with lib; {
45+ description = "A tool/library for deep merging YAML files";
46+ homepage = "https://github.com/graysonhead/mergedb";
47+ license = licenses.gpl3Only;
48+ maintainers = with maintainers; [ graysonhead ];
49+ };
50+}
51+
pkgs/development/python-modules/nats-py/default.nix+3−3
@@ -10,7 +10,7 @@
1010
1111buildPythonPackage rec {
1212 pname = "nats-py";
13− version = "2.0.0";
13+ version = "2.1.0";
1414 format = "setuptools";
1515
1616 disabled = pythonOlder "3.7";
@@ -18,8 +18,8 @@ buildPythonPackage rec {
1818 src = fetchFromGitHub {
1919 owner = "nats-io";
2020 repo = "nats.py";
21− rev = "v${version}";
22− hash = "sha256-BraT30J7OIcW2NXAwjcg9PYu+kgf8f1iDjKiN9J6l7Y=";
21+ rev = "refs/tags/v${version}";
22+ hash = "sha256-OwxTcjHB1YLijEtTA+QFjEmihqXsiitIcCtdl/3uipI=";
2323 };
2424
2525 propagatedBuildInputs = [
pkgs/development/python-modules/oslo-log/default.nix+9−3
@@ -11,16 +11,20 @@
1111, pyinotify
1212, python-dateutil
1313, pytestCheckHook
14+, pythonOlder
1415}:
1516
1617buildPythonPackage rec {
1718 pname = "oslo-log";
18− version = "4.6.1";
19+ version = "4.7.0";
20+ format = "setuptools";
21+
22+ disabled = pythonOlder "3.6";
1923
2024 src = fetchPypi {
2125 pname = "oslo.log";
2226 inherit version;
23− sha256 = "0dlnxjci9mpwhgfv19fy1z7xrdp8m95skrj5dr60all3pr7n22f6";
27+ hash = "sha256-ycLEyW098LLuuTG0djvbCpBbqvKbiVgW2Vd41p+hJwc=";
2428 };
2529
2630 propagatedBuildInputs = [
@@ -44,7 +48,9 @@ buildPythonPackage rec {
4448 "test_logging_handle_error"
4549 ];
4650
47− pythonImportsCheck = [ "oslo_log" ];
51+ pythonImportsCheck = [
52+ "oslo_log"
53+ ];
4854
4955 meta = with lib; {
5056 description = "oslo.log library";
pkgs/development/python-modules/pex/default.nix+2−2
@@ -7,14 +7,14 @@
77
88buildPythonPackage rec {
99 pname = "pex";
10− version = "2.1.76";
10+ version = "2.1.77";
1111 format = "flit";
1212
1313 disabled = pythonOlder "3.7";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− hash = "sha256-a/e0tz67QR7SSYQRt3tJqgCGJLn6oi0+3HMpg8NKRH8=";
17+ hash = "sha256-lvzRb+m3a3DmimzVIroobJaNe2PuMoadb48YwhxCVvA=";
1818 };
1919
2020 nativeBuildInputs = [
pkgs/development/python-modules/pyhaversion/default.nix+3−3
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "pyhaversion";
14− version = "22.02.0";
14+ version = "22.04.0";
1515 format = "setuptools";
1616
1717 disabled = pythonOlder "3.8";
@@ -19,8 +19,8 @@ buildPythonPackage rec {
1919 src = fetchFromGitHub {
2020 owner = "ludeeus";
2121 repo = pname;
22− rev = version;
23− sha256 = "sha256-7cBUsTEZ9yVlWsUdKs4YWm647baN09AQJI+7CTORhLc=";
22+ rev = "refs/tags/${version}";
23+ sha256 = "sha256-ItemkSm85Sq3utEG28mvfS7gq95veeYwhHG6BpOUJJY=";
2424 };
2525
2626 propagatedBuildInputs = [
pkgs/development/python-modules/pyisy/default.nix+3−3
@@ -8,13 +8,13 @@
88
99buildPythonPackage rec {
1010 pname = "pyisy";
11− version = "3.0.5";
11+ version = "3.0.6";
1212
1313 src = fetchFromGitHub {
1414 owner = "automicus";
1515 repo = "PyISY";
16− rev = "v${version}";
17− hash = "sha256-lVutG/xJvVP0qS0UnEyS/9KwwqdRX6ownTKek8/VXbU=";
16+ rev = "refs/tags/v${version}";
17+ hash = "sha256-4thCP9Xc3dtL6IaP863sW/L4aj4+QIPFv6p0kFLGh7E=";
1818 };
1919
2020 postPatch = ''
pkgs/development/python-modules/pynetgear/default.nix+3−3
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "pynetgear";
10− version = "0.9.3";
10+ version = "0.9.4";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.7";
@@ -15,8 +15,8 @@ buildPythonPackage rec {
1515 src = fetchFromGitHub {
1616 owner = "MatMaul";
1717 repo = pname;
18− rev = version;
19− sha256 = "sha256-zydSx2OZowf+1KZ5ZJ/1FDVqDZQZ4U0+q62eB1+s+WY=";
18+ rev = "refs/tags/${version}";
19+ sha256 = "sha256-/oxwUukYq/a0WeO/XhkMW3Jj7I1icZZUDwh1mdbGi08=";
2020 };
2121
2222 propagatedBuildInputs = [
pkgs/development/python-modules/pyplaato/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "pyplaato";
10− version = "0.0.15";
10+ version = "0.0.16";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "1nykbkv2fg1x5min07cbi44x6am48f5gw3mnyj7x2kpmj6sqfpqp";
14+ sha256 = "sha256-0hbdwgkQhcjD9YbpG+bczAAi9u1QfrJdMn1g14EBPac=";
1515 };
1616
1717 propagatedBuildInputs = [ aiohttp python-dateutil ];
pkgs/development/python-modules/pyscss/default.nix+3−3
@@ -11,13 +11,13 @@
1111
1212buildPythonPackage rec {
1313 pname = "pyScss";
14− version = "1.3.7";
14+ version = "1.4.0";
1515
1616 src = fetchFromGitHub {
1717 repo = "pyScss";
1818 owner = "Kronuz";
19− rev = version;
20− sha256 = "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6";
19+ rev = "refs/tags/v${version}";
20+ sha256 = "sha256-z0y4z+/JE6rZWHAvps/taDZvutyVhxxs2gMujV5rNu4=";
2121 };
2222
2323 checkInputs = [ pytest ];
pkgs/development/python-modules/pysimplegui/default.nix+2−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "pysimplegui";
10− version = "4.57.0";
10+ version = "4.59.0";
1111 format = "setuptools";
1212
1313 disabled = pythonOlder "3.6";
@@ -15,7 +15,7 @@ buildPythonPackage rec {
1515 src = fetchPypi {
1616 pname = "PySimpleGUI";
1717 inherit version;
18− sha256 = "sha256-+Dcrv+esnthI74AFLK47sS2qI4sPvihuQlL54Zo32RM=";
18+ sha256 = "sha256-GW6BwKQ36sSJNZXy7mlRW5hB5gjTUb08V33XqRNFT1E=";
1919 };
2020
2121 propagatedBuildInputs = [
pkgs/development/python-modules/python-kasa/default.nix+3−3
@@ -13,7 +13,7 @@
1313
1414buildPythonPackage rec {
1515 pname = "python-kasa";
16− version = "0.4.2";
16+ version = "0.4.3";
1717 format = "pyproject";
1818
1919 disabled = pythonOlder "3.7";
@@ -21,8 +21,8 @@ buildPythonPackage rec {
2121 src = fetchFromGitHub {
2222 owner = pname;
2323 repo = pname;
24− rev = version;
25− sha256 = "sha256-5Ohks3yfqAAe+CiLEucibezmibl6TtktDXMHAhecXzA=";
24+ rev = "refs/tags/${version}";
25+ sha256 = "sha256-r1PoOxFPA4zYFEpw+BakzDAJ13IMfcZpTJWkRt/q4go=";
2626 };
2727
2828 nativeBuildInputs = [
pkgs/development/python-modules/rdflib/default.nix+30−20
@@ -2,16 +2,23 @@
22, stdenv
33, buildPythonPackage
44, fetchFromGitHub
5−, html5lib
5+, pythonOlder
6+
7+# propagates
68, isodate
7−, networkx
8−, nose
99, pyparsing
10−, tabulate
11−, pandas
10+
11+# propagates <3.8
12+, importlib-metadata
13+
14+# extras: networkx
15+, networkx
16+
17+# extras: html
18+, html5lib
19+
20+# tests
1221, pytestCheckHook
13−, pythonOlder
14−, SPARQLWrapper
1522}:
1623
1724buildPythonPackage rec {
@@ -32,34 +39,37 @@ buildPythonPackage rec {
3239 isodate
3340 html5lib
3441 pyparsing
35− SPARQLWrapper
42+ ] ++ lib.optionals (pythonOlder "3.8") [
43+ importlib-metadata
3644 ];
3745
46+ passthru.extra-requires = {
47+ html = [
48+ html5lib
49+ ];
50+ networkx = [
51+ networkx
52+ ];
53+ };
54+
3855 checkInputs = [
39− networkx
40− pandas
41− nose
42− tabulate
4356 pytestCheckHook
44− ];
57+ ]
58+ ++ passthru.extra-requires.networkx
59+ ++ passthru.extra-requires.html;
4560
4661 pytestFlagsArray = [
4762 # requires network access
48− "--deselect rdflib/__init__.py::rdflib"
49− "--deselect test/jsonld/test_onedotone.py::test_suite"
63+ "--deselect=rdflib/__init__.py::rdflib"
64+ "--deselect=test/jsonld/test_onedotone.py::test_suite"
5065 ];
5166
5267 disabledTests = [
5368 # Requires network access
54− "api_key"
55− "BerkeleyDBTestCase"
56− "test_bad_password"
5769 "test_service"
5870 "testGuessFormatForParse"
5971 ] ++ lib.optional stdenv.isDarwin [
6072 # Require loopback network access
61− "test_sparqlstore"
62− "test_sparqlupdatestore_mock"
6373 "TestGraphHTTP"
6474 ];
6575
pkgs/development/python-modules/srp/default.nix+19−4
@@ -1,20 +1,35 @@
1−{ buildPythonPackage, fetchPypi, six, lib }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, six
5+, pythonOlder
6+}:
27
38buildPythonPackage rec {
49 pname = "srp";
5− version = "1.0.18";
10+ version = "1.0.19";
11+ format = "setuptools";
12+
13+ disabled = pythonOlder "3.7";
614
715 src = fetchPypi {
816 inherit pname version;
9− sha256 = "1582317ccd383dc39d54f223424c588254d73d1cfb2c5c24d945e018ec9516bb";
17+ hash = "sha256-SOZT6MP1kJCbpAcwbrLoRgosfR+GxWvOWc9Cr1T/XSo=";
1018 };
1119
12− propagatedBuildInputs = [ six ];
20+ propagatedBuildInputs = [
21+ six
22+ ];
1323
1424 # Tests ends up with libssl.so cannot load shared
1525 doCheck = false;
1626
27+ pythonImportsCheck = [
28+ "srp"
29+ ];
30+
1731 meta = with lib; {
32+ description = "Implementation of the Secure Remote Password protocol (SRP)";
1833 longDescription = ''
1934 This package provides an implementation of the Secure Remote Password protocol (SRP).
2035 SRP is a cryptographically strong authentication protocol for password-based, mutual authentication over an insecure network connection.
pkgs/development/python-modules/teslajsonpy/default.nix+3−3
@@ -15,7 +15,7 @@
1515
1616buildPythonPackage rec {
1717 pname = "teslajsonpy";
18− version = "1.9.0";
18+ version = "2.0.1";
1919 format = "pyproject";
2020
2121 disabled = pythonOlder "3.6";
@@ -23,8 +23,8 @@ buildPythonPackage rec {
2323 src = fetchFromGitHub {
2424 owner = "zabuldon";
2525 repo = pname;
26− rev = "v${version}";
27− sha256 = "sha256-Q/ltNdr2Huvfj1RmKFopJbaR4FSM7ziWadmDKPS26vc=";
26+ rev = "refs/tags/v${version}";
27+ sha256 = "sha256-cplx6Zhqc/ft7l9dy1ian3zzgDqEfpO/0AF7ErX4wqk=";
2828 };
2929
3030 nativeBuildInputs = [
pkgs/development/python-modules/tweepy/default.nix+3−3
@@ -12,7 +12,7 @@
1212
1313buildPythonPackage rec {
1414 pname = "tweepy";
15− version = "4.6.0";
15+ version = "4.8.0";
1616 format = "setuptools";
1717
1818 disabled = pythonOlder "3.6";
@@ -20,8 +20,8 @@ buildPythonPackage rec {
2020 src = fetchFromGitHub {
2121 owner = pname;
2222 repo = pname;
23− rev = "v${version}";
24− sha256 = "sha256-7ogsocRTMTO5yegyY7BADu9NrHK7zMMbihBu8oF4UlQ=";
23+ rev = "refs/tags/v${version}";
24+ sha256 = "sha256-RaM2JN2WOHyZY+AxzgQLvhXg6UnevDbSFSR4jFLsYrc=";
2525 };
2626
2727 propagatedBuildInputs = [
pkgs/development/python-modules/twilio/default.nix+3−3
@@ -13,7 +13,7 @@
1313
1414buildPythonPackage rec {
1515 pname = "twilio";
16− version = "7.7.0";
16+ version = "7.8.0";
1717 format = "setuptools";
1818
1919 disabled = pythonOlder "3.6";
@@ -21,8 +21,8 @@ buildPythonPackage rec {
2121 src = fetchFromGitHub {
2222 owner = "twilio";
2323 repo = "twilio-python";
24− rev = version;
25− sha256 = "sha256-PxLDAP/6Ddvf58eEyX3DHkdBNuLE5DlLdCEaRguqOy0=";
24+ rev = "refs/tags/${version}";
25+ sha256 = "sha256-r28iKUv+i8D6JLvsJA7x8T2KFzK26limIwqsXC5jjSE=";
2626 };
2727
2828 propagatedBuildInputs = [
pkgs/development/python-modules/types-cryptography/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "types-cryptography";
10− version = "3.3.18";
10+ version = "3.3.19";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "sha256-RI/q+a4xImFJvGvOHPj/9U2mYe8Eg398DDFoKYhcNig=";
14+ sha256 = "sha256-+VcTjwczMrnAfq2wgx76pXj9tgTlU6w41yxGeutLfCM=";
1515 };
1616
1717 pythonImportsCheck = [
pkgs/development/tools/build-managers/qbs/default.nix+2−2
@@ -3,13 +3,13 @@
33stdenv.mkDerivation rec {
44 pname = "qbs";
55
6− version = "1.21.0";
6+ version = "1.22.0";
77
88 src = fetchFromGitHub {
99 owner = "qbs";
1010 repo = "qbs";
1111 rev = "v${version}";
12− sha256 = "sha256-jlJ7bk+lKBUs+jB6MTMe2Qxhf7BA7s5M9Xa2Dnx2UJs=";
12+ sha256 = "sha256-gFPcT/TNsKEUNzkJVaXHCGNmhQ0dV1/NYgQQInYrcNI=";
1313 };
1414
1515 nativeBuildInputs = [ qmake ];
pkgs/development/tools/database/indradb/default.nix+7−2
@@ -3,6 +3,7 @@
33, lib
44, rustPlatform
55, rustfmt
6+, protobuf
67}:
78let
89 src = fetchFromGitHub {
@@ -30,7 +31,9 @@ in
3031
3132 buildAndTestSubdir = "server";
3233
33− nativeBuildInputs = [ rustfmt ];
34+ PROTOC = "${protobuf}/bin/protoc";
35+
36+ nativeBuildInputs = [ rustfmt rustPlatform.bindgenHook ];
3437
3538 # test rely on libindradb and it can't be found
3639 # failure at https://github.com/indradb/indradb/blob/master/server/tests/plugins.rs#L63
@@ -44,7 +47,9 @@ in
4447
4548 cargoSha256 = "sha256-pxan6W/CEsOxv8DbbytEBuIqxWn/C4qT4ze/RnvESOM=";
4649
47− nativeBuildInputs = [ rustfmt ];
50+ PROTOC = "${protobuf}/bin/protoc";
51+
52+ nativeBuildInputs = [ rustfmt rustPlatform.bindgenHook ];
4853
4954 buildAndTestSubdir = "client";
5055 };
pkgs/development/tools/go-task/default.nix+3−3
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "go-task";
5− version = "3.11.0";
5+ version = "3.12.0";
66
77 src = fetchFromGitHub {
88 owner = pname;
99 repo = "task";
1010 rev = "v${version}";
11− sha256 = "sha256-KHeZ0UH7qa+fii+sT7q9ri3DpLOKqQZqCAKQYn4l5M8=";
11+ sha256 = "sha256-FArt9w4nZJW/Kql3Y2rr/IVz+SnWCS2lzNMWF6TN0Bg=";
1212 };
1313
14− vendorSha256 = "sha256-u+LeH9GijquBeYlA3f2GcyoSP/S7BtBqb8C9OgEA9fY=";
14+ vendorSha256 = "sha256-73DtLYyq3sltzv4VtZMlZaSbP9zA9RZw2wgXVkzwrso=";
1515
1616 doCheck = false;
1717
pkgs/development/tools/kubectx/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-4sQaqC0BOsDfWH3cHy2EMQNMq6qiAcbV+RwxCdcSxsg=";
1515
16− doCheck = false;
17−
1816 nativeBuildInputs = [ installShellFiles ];
1917
2018 postInstall = ''
pkgs/development/tools/misc/nix-bisect/default.nix+9
@@ -1,4 +1,5 @@
11{ lib
2+, fetchpatch
23, fetchFromGitHub
34, python3
45}:
@@ -18,6 +19,14 @@ python3.pkgs.buildPythonApplication {
1819 hash = "sha256-01vj35mMakqKi5zbMIPQ+R8xdkOWbzpnigd3/SU+svw=";
1920 };
2021
22+ patches = [
23+ (fetchpatch {
24+ # Fixes compatibility with recent nix versions
25+ url = "https://github.com/timokau/nix-bisect/commit/01eefe174b740cb90e48b06d67d5582d51786b96.patch";
26+ hash = "sha256-Gls/NtHH7LujdEgLbcIRZ12KsJDrasXIMcHeeBVns4A=";
27+ })
28+ ];
29+
2130 propagatedBuildInputs = with python3.pkgs; [
2231 appdirs
2332 numpy
pkgs/development/tools/misc/saleae-logic-2/default.nix+3−3
@@ -1,10 +1,10 @@
11{ lib, fetchurl, makeDesktopItem, appimageTools, gtk3 }:
22let
33 name = "saleae-logic-2";
4− version = "2.3.45";
4+ version = "2.3.47";
55 src = fetchurl {
66 url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage";
7− sha256 = "sha256-kX8jMCUkz7B0muxsEwEttEX+DA2P+6swdZJGHyo7ScA=";
7+ sha256 = "sha256-6/FtdupveKnbAK6LizmJ6BokE0kXgUaMz0sOWi+Fq8k=";
88 };
99 desktopItem = makeDesktopItem {
1010 inherit name;
@@ -70,6 +70,6 @@ appimageTools.wrapType2 {
7070 description = "Software for Saleae logic analyzers";
7171 license = licenses.unfree;
7272 platforms = [ "x86_64-linux" ];
73− maintainers = [ maintainers.j-hui ];
73+ maintainers = with maintainers; [ j-hui newam ];
7474 };
7575}
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-03-07";
15− cargoSha256 = "sha256-geMzdo5frW5VkuTwBHKHXCTJZrHDUIRSTs2kkCfA5Vc=";
14+ version = "2022-04-04";
15+ cargoSha256 = "sha256-5PA4EHCwuRO3uOK+Q+Lkp8Fs4MMlmOSOqdcEctkME4A=";
1616
1717 src = fetchFromGitHub {
1818 owner = "rust-analyzer";
1919 repo = "rust-analyzer";
2020 rev = version;
21− sha256 = "sha256-/qKh4utesAjlyG8A3hEmSx+HBgh48Uje6ZRtUGz5f0g=";
21+ sha256 = "sha256-ZzghqbLHMxAabG+RDu7Zniy8bJQMdtQVn3oLTnP3jLc=";
2222 };
2323
2424 patches = [
pkgs/development/tools/yq-go/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-R40zU0jOc/eIFVDsWG3+4o51iro7Sd7jwtyH/fpWVZs=";
1515
16− doCheck = false;
17−
1816 nativeBuildInputs = [ installShellFiles ];
1917
2018 postInstall = ''
pkgs/os-specific/linux/wireguard/default.nix+2−2
@@ -7,11 +7,11 @@ assert lib.versionOlder kernel.version "5.6";
77
88stdenv.mkDerivation rec {
99 pname = "wireguard";
10− version = "1.0.20210606";
10+ version = "1.0.20211208";
1111
1212 src = fetchzip {
1313 url = "https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-${version}.tar.xz";
14− sha256 = "sha256-ha7x6+41oPRRhuRwEb1ojRWLF1dlEMoJtqXrzRKQ408=";
14+ sha256 = "sha256-MHC4ojhRD8IGwTUE8oEew8IVof9hQCC7CPgVQIBfBRQ=";
1515 };
1616
1717 hardeningDisable = [ "pic" ];
pkgs/servers/echoip/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule {
1313
1414 vendorSha256 = "0vvs717pl5gzggxpbn2vkyxmpiw5zjdfnpbh8i81xidbqvlnm22h";
1515
16− doCheck = false;
17−
1816 outputs = [ "out" "index" ];
1917
2018 postInstall = ''
pkgs/servers/imgproxy/default.nix−2
@@ -14,8 +14,6 @@ buildGoModule rec {
1414
1515 vendorSha256 = "sha256-Rp0vTtpdKpYg/7UjX73Qwxu6dOqDr24nqp41fKN1IYw=";
1616
17− doCheck = false;
18−
1917 nativeBuildInputs = [ pkg-config ];
2018
2119 buildInputs = [ gobject-introspection vips ]
pkgs/servers/traefik/default.nix−2
@@ -12,8 +12,6 @@ buildGoModule rec {
1212
1313 vendorSha256 = "sha256-tqrfCpZ/fRYZBZ/SBAvvJebLBeD2M/AVJEPiseehJHY=";
1414
15− doCheck = false;
16−
1715 subPackages = [ "cmd/traefik" ];
1816
1917 nativeBuildInputs = [ go-bindata ];
pkgs/shells/nushell/default.nix+3−3
@@ -18,16 +18,16 @@
1818
1919rustPlatform.buildRustPackage rec {
2020 pname = "nushell";
21− version = "0.44.0";
21+ version = "0.60.0";
2222
2323 src = fetchFromGitHub {
2424 owner = pname;
2525 repo = pname;
2626 rev = version;
27− sha256 = "sha256-LMG72XfDHA9dKiBbaB09v0rDdUKRy/Czu/lsYw6jUog=";
27+ sha256 = "1qfqn2q2bam0jrr4yqq9rb29k8qj9w9g0j9x4n8h0zp28vn7c2bq";
2828 };
2929
30− cargoSha256 = "sha256-wgaRTf+ZQ7alibCdeCjSQhhR9MC77qM1n0jakDgr114=";
30+ cargoSha256 = "sha256-gZ9r1Ryp5a7MjG9yM0pGCBYtM4GylZg7Sg9wCiB+SW0=";
3131
3232 nativeBuildInputs = [ pkg-config ]
3333 ++ lib.optionals (withExtraFeatures && stdenv.isLinux) [ python3 ];
pkgs/shells/nushell/use-system-zstd-lib.diff+13−13
@@ -1,32 +1,32 @@
11diff --git a/Cargo.lock b/Cargo.lock
2−index 8833c3e5..0c90d2fe 100644
2+index 4261c06..6d6e537 100644
33--- a/Cargo.lock
44+++ b/Cargo.lock
5−@@ -3188,6 +3188,7 @@ dependencies = [
6− "nu_plugin_xpath",
5+@@ -2166,6 +2166,7 @@ dependencies = [
76 "rstest",
87 "serial_test",
8+ "tempfile",
99+ "zstd-sys",
1010 ]
11−
11+
1212 [[package]]
13−@@ -6954,4 +6955,5 @@ checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33"
13+@@ -4962,4 +4963,5 @@ checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8"
1414 dependencies = [
1515 "cc",
1616 "libc",
1717+ "pkg-config",
1818 ]
1919diff --git a/Cargo.toml b/Cargo.toml
20−index 89e8a311..4cc2331a 100644
20+index e214da1..b78919a 100644
2121--- a/Cargo.toml
2222+++ b/Cargo.toml
23−@@ -63,6 +63,9 @@ serial_test = "0.5.1"
24− hamcrest2 = "0.3.0"
25− rstest = "0.10.0"
26−
23+@@ -67,6 +69,9 @@ hamcrest2 = "0.3.0"
24+ rstest = "0.12.0"
25+ itertools = "0.10.3"
26+
2727+# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library
2828+zstd-sys = { version = "1", features = [ "pkg-config" ] }
2929+
30− [build-dependencies]
31−
32− [features]
30+ [target.'cfg(windows)'.build-dependencies]
31+ embed-resource = "1"
32+
pkgs/tools/admin/iamy/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-/IUYM3pTvcHXw8t5MW6JUEWdxegFuQC8zkiySp8VEgE=";
1515
16− doCheck = false;
17−
1816 ldflags = [
1917 "-X main.Version=v${version}" "-s" "-w"
2018 ];
pkgs/tools/filesystems/apfsprogs/default.nix+3−3
@@ -5,13 +5,13 @@
55
66stdenv.mkDerivation {
77 pname = "apfsprogs";
8− version = "unstable-2021-10-26";
8+ version = "unstable-2022-02-23";
99
1010 src = fetchFromGitHub {
1111 owner = "linux-apfs";
1212 repo = "apfsprogs";
13− rev = "05ecfa367a8142e289dc76333294271b5edfe395";
14− sha256 = "sha256-McGQG8f12DTp/It8KjMHGyfE5tgmgLd7MZlZIn/xC+E=";
13+ rev = "5bce5c7f42843dfbbed90767640e748062e23dd2";
14+ sha256 = "sha256-0N+aC5paP6ZoXUD7A9lLnF2onbOJU+dqZ8oKs+dCUcg=";
1515 };
1616
1717 buildPhase = ''
pkgs/tools/misc/docui/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "1ggdczvv03lj0g6cq26vrk1rba6pk0805n85w9hkbjx9c4r3j577";
1515
16− doCheck = false;
17−
1816 meta = with lib; {
1917 description = "TUI Client for Docker";
2018 homepage = "https://github.com/skanehira/docui";
pkgs/tools/misc/ntfy-sh/default.nix+3−3
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "ntfy-sh";
5− version = "1.18.1";
5+ version = "1.19.0";
66
77 src = fetchFromGitHub {
88 owner = "binwiederhier";
99 repo = "ntfy";
1010 rev = "v${version}";
11− sha256 = "sha256-rXdkNJYpQ8s2BeFRR4fSIuCrdq60me4B3wee64ei8qM=";
11+ sha256 = "sha256-su4Q41x0PrKHRg2R6jxo1KUmWaaLSrU9UZSDsonKNyA=";
1212 };
1313
14− vendorSha256 = "sha256-7b3cQczQLUZ//5ubKvq8s9U75qJpJaieLN+kzjXIyHg=";
14+ vendorSha256 = "sha256-eZmvngNSYY5Z5Xd5tPXzxv9GkosUMueaBGjZ6L7o/yU=";
1515
1616 doCheck = false;
1717
pkgs/tools/misc/steampipe/default.nix+3−3
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "steampipe";
5− version = "0.13.3";
5+ version = "0.13.4";
66
77 src = fetchFromGitHub {
88 owner = "turbot";
99 repo = "steampipe";
1010 rev = "v${version}";
11− sha256 = "sha256-zU/FWrlE4TQhzRNOVED7hFub+lehPFD+fEJ3v0PFGdM=";
11+ sha256 = "sha256-Qq8i/uU2TtrEpvTPFmnZdku2vNo5O240dAT2OQKel1U=";
1212 };
1313
14− vendorSha256 = "sha256-0jixQcgSXQJAd899EWOUKde5OXZcSZwQfH7LRdQlm7c=";
14+ vendorSha256 = "sha256-pEQG9BHhsVDVSOoKJBocLXMLjmP72RM+GXz4nYD4D7s=";
1515 proxyVendor = true;
1616
1717 # tests are failing for no obvious reasons
pkgs/tools/security/cosign/default.nix+3−3
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 pname = "cosign";
5− version = "1.6.0";
5+ version = "1.7.1";
66
77 src = fetchFromGitHub {
88 owner = "sigstore";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "sha256-jAkTIO+tmb1vjS2eRWU9Fau7qzPCBlXJCk00iwNpULE=";
11+ sha256 = "sha256-TyU5aznt3xra23Q52LUmvWlHYkw0s7E3Wqw9ppmzScw=";
1212 };
1313
1414 buildInputs = lib.optional (stdenv.isLinux && pivKeySupport) (lib.getDev pcsclite)
@@ -16,7 +16,7 @@ buildGoModule rec {
1616
1717 nativeBuildInputs = [ pkg-config installShellFiles ];
1818
19− vendorSha256 = "sha256-E9zeRlPIIoXo/EfagHC3aDnW747SdsPiqIA384D7NQI=";
19+ vendorSha256 = "sha256-WhixkCKW/vQ6J3vJp+KX0JmZxHN38nzzAi5TS2lF3CM=";
2020
2121 subPackages = [
2222 "cmd/cosign"
pkgs/tools/security/fprintd/default.nix+2−2
@@ -25,7 +25,7 @@
2525
2626stdenv.mkDerivation rec {
2727 pname = "fprintd";
28− version = "1.94.1";
28+ version = "1.94.2";
2929 outputs = [ "out" "devdoc" ];
3030
3131 src = fetchFromGitLab {
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 owner = "libfprint";
3434 repo = pname;
3535 rev = "v${version}";
36− sha256 = "sha256-XHfHPffVp0jV3Md9Gui9v/nyOJ/bTWM3+hiR7WdEsgQ=";
36+ sha256 = "sha256-ePhcIZyXoGr8XlBuzKjpibU9D/44iCXYBlpVR9gcswQ=";
3737 };
3838
3939 nativeBuildInputs = [
pkgs/tools/security/gobuster/default.nix−2
@@ -16,8 +16,6 @@ buildGoModule rec {
1616
1717 vendorSha256 = "1isp2jd6k4ppns5zi9irj09090imnc0xp6vcps135ymgp8qg4163";
1818
19− doCheck = false;
20−
2119 meta = with lib; {
2220 description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
2321 homepage = "https://github.com/OJ/gobuster";
pkgs/tools/security/saml2aws/default.nix−2
@@ -15,8 +15,6 @@ buildGoModule rec {
1515
1616 buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
1717
18− doCheck = false;
19−
2018 subPackages = [ "." "cmd/saml2aws" ];
2119
2220 ldflags = [
pkgs/tools/security/whatweb/Gemfilenew file+6
@@ -0,0 +1,6 @@
1+source 'https://rubygems.org'
2+gem 'ipaddr'
3+gem 'addressable'
4+gem 'json'
5+gem 'mongo'
6+gem 'rchardet'
pkgs/tools/security/whatweb/Gemfile.locknew file+25
@@ -0,0 +1,25 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ addressable (2.8.0)
5+ public_suffix (>= 2.0.2, < 5.0)
6+ bson (4.14.1)
7+ ipaddr (1.2.4)
8+ json (2.6.1)
9+ mongo (2.17.1)
10+ bson (>= 4.8.2, < 5.0.0)
11+ public_suffix (4.0.6)
12+ rchardet (1.8.0)
13+
14+PLATFORMS
15+ ruby
16+
17+DEPENDENCIES
18+ addressable
19+ ipaddr
20+ json
21+ mongo
22+ rchardet
23+
24+BUNDLED WITH
25+ 2.1.4
pkgs/tools/security/whatweb/default.nixnew file+50
@@ -0,0 +1,50 @@
1+{ lib, stdenv, fetchFromGitHub, bundlerEnv, ruby }:
2+
3+let
4+ gems = bundlerEnv {
5+ name = "whatweb-env";
6+ inherit ruby;
7+ gemdir = ./.;
8+ };
9+
10+in stdenv.mkDerivation rec {
11+ pname = "whatweb";
12+ version = "0.5.5";
13+
14+ src = fetchFromGitHub {
15+ owner = "urbanadventurer";
16+ repo = "whatweb";
17+ rev = "v${version}";
18+ sha256 = "sha256-HLF55x4C8n8aPO4SI0d6Z9wZe80krtUaGUFmMaYRBIE=";
19+ };
20+
21+ prePatch = ''
22+ substituteInPlace Makefile \
23+ --replace "/usr/local" "$out" \
24+ --replace "/usr" "$out"
25+ '';
26+
27+ buildInputs = [ gems ];
28+
29+ installPhase = ''
30+ runHook preInstall
31+
32+ raw=$out/share/whatweb/whatweb
33+ rm $out/bin/whatweb
34+ cat << EOF >> $out/bin/whatweb
35+ #!/bin/sh -e
36+ exec ${gems}/bin/bundle exec ${ruby}/bin/ruby "$raw" "\$@"
37+ EOF
38+ chmod +x $out/bin/whatweb
39+
40+ runHook postInstall
41+ '';
42+
43+ meta = with lib; {
44+ description = "Next generation web scanner";
45+ homepage = "https://github.com/urbanadventurer/whatweb";
46+ license = licenses.gpl2Only;
47+ maintainers = with maintainers; [ wolfangaukang ];
48+ platforms = platforms.unix;
49+ };
50+}
pkgs/tools/security/whatweb/gemset.nixnew file+74
@@ -0,0 +1,74 @@
1+{
2+ addressable = {
3+ dependencies = ["public_suffix"];
4+ groups = ["default"];
5+ platforms = [];
6+ source = {
7+ remotes = ["https://rubygems.org"];
8+ sha256 = "022r3m9wdxljpbya69y2i3h9g3dhhfaqzidf95m6qjzms792jvgp";
9+ type = "gem";
10+ };
11+ version = "2.8.0";
12+ };
13+ bson = {
14+ groups = ["default"];
15+ platforms = [];
16+ source = {
17+ remotes = ["https://rubygems.org"];
18+ sha256 = "03n3w96vpblaxvk1qk8hq7sbsmg4nv7qdkdr8f7nfvalgpakp5i5";
19+ type = "gem";
20+ };
21+ version = "4.14.1";
22+ };
23+ ipaddr = {
24+ groups = ["default"];
25+ platforms = [];
26+ source = {
27+ remotes = ["https://rubygems.org"];
28+ sha256 = "13qd34nzpgp3fxfjbvaqg3dcnfr0cgl5vjvcqy0hfllbvfcklnbq";
29+ type = "gem";
30+ };
31+ version = "1.2.4";
32+ };
33+ json = {
34+ groups = ["default"];
35+ platforms = [];
36+ source = {
37+ remotes = ["https://rubygems.org"];
38+ sha256 = "1z9grvjyfz16ag55hg522d3q4dh07hf391sf9s96npc0vfi85xkz";
39+ type = "gem";
40+ };
41+ version = "2.6.1";
42+ };
43+ mongo = {
44+ dependencies = ["bson"];
45+ groups = ["default"];
46+ platforms = [];
47+ source = {
48+ remotes = ["https://rubygems.org"];
49+ sha256 = "19sihy8ihi3hmdg3gxbf4qvzmjnzx8xygg9534012j9z0wmhs7h1";
50+ type = "gem";
51+ };
52+ version = "2.17.1";
53+ };
54+ public_suffix = {
55+ groups = ["default"];
56+ platforms = [];
57+ source = {
58+ remotes = ["https://rubygems.org"];
59+ sha256 = "1xqcgkl7bwws1qrlnmxgh8g4g9m10vg60bhlw40fplninb3ng6d9";
60+ type = "gem";
61+ };
62+ version = "4.0.6";
63+ };
64+ rchardet = {
65+ groups = ["default"];
66+ platforms = [];
67+ source = {
68+ remotes = ["https://rubygems.org"];
69+ sha256 = "1isj1b3ywgg2m1vdlnr41lpvpm3dbyarf1lla4dfibfmad9csfk9";
70+ type = "gem";
71+ };
72+ version = "1.8.0";
73+ };
74+}
pkgs/tools/system/ctop/default.nix−2
@@ -13,8 +13,6 @@ buildGoModule rec {
1313
1414 vendorSha256 = "sha256-UAja7XuoLqJFNcK1PgHGcuf/HbvSrWyRvW2D3T7Hg0g=";
1515
16− doCheck = false;
17−
1816 ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.build=v${version}" ];
1917
2018 meta = with lib; {
pkgs/tools/system/goreman/default.nix−2
@@ -20,8 +20,6 @@ buildGoModule rec {
2020
2121 vendorSha256 = "sha256-87aHBRWm5Odv6LeshZty5N31sC+vdSwGlTYhk3BZkPo=";
2222
23− doCheck = false;
24−
2523 meta = with lib; {
2624 description = "foreman clone written in go language";
2725 homepage = "https://github.com/mattn/goreman";
pkgs/top-level/all-packages.nix+11−8
@@ -11065,6 +11065,8 @@ with pkgs;
1106511065
1106611066 wf-recorder = callPackage ../applications/video/wf-recorder { };
1106711067
11068+ whatweb = callPackage ../tools/security/whatweb { };
11069+
1106811070 whipper = callPackage ../applications/audio/whipper { };
1106911071
1107011072 whitebophir = callPackage ../servers/web-apps/whitebophir { };
@@ -12710,12 +12712,9 @@ with pkgs;
1271012712 buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
1271112713 });
1271212714
12713− go_1_18 = callPackage ../development/compilers/go/1.18.nix ({
12715+ go_1_18 = callPackage ../development/compilers/go/1.18.nix {
1271412716 inherit (darwin.apple_sdk.frameworks) Security Foundation;
12715− } // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
12716− stdenv = gcc8Stdenv;
12717− buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
12718− });
12717+ };
1271912718
1272012719 go_2-dev = callPackage ../development/compilers/go/2-dev.nix ({
1272112720 inherit (darwin.apple_sdk.frameworks) Security Foundation;
@@ -29274,11 +29273,11 @@ with pkgs;
2927429273 inherit (callPackages ../applications/version-management/subversion { sasl = cyrus_sasl; })
2927529274 subversion_1_10 subversion;
2927629275
29277− subversionClient = appendToName "client" (subversion.override {
29276+ subversionClient = subversion.override {
2927829277 bdbSupport = false;
2927929278 perlBindings = true;
2928029279 pythonBindings = true;
29281− });
29280+ };
2928229281
2928329282 sublime-music = callPackage ../applications/audio/sublime-music { };
2928429283
@@ -32806,7 +32805,11 @@ with pkgs;
3280632805 gmp-static = gmp.override { withStatic = true; };
3280732806 };
3280832807
32809− z3 = callPackage ../applications/science/logic/z3 { python = python2; };
32808+
32809+ inherit (callPackages ../applications/science/logic/z3 { python = python2; })
32810+ z3_4_8
32811+ z3_4_7;
32812+ z3 = z3_4_8;
3281032813 z3_4_4_0 = callPackage ../applications/science/logic/z3/4.4.0.nix {
3281132814 python = python2;
3281232815 stdenv = gcc49Stdenv;
pkgs/top-level/ocaml-packages.nix−2
@@ -1293,8 +1293,6 @@ let
12931293
12941294 spelll = callPackage ../development/ocaml-modules/spelll { };
12951295
1296− sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };
1297−
12981296 srt = callPackage ../development/ocaml-modules/srt {
12991297 inherit (pkgs) srt;
13001298 };
pkgs/top-level/python-packages.nix+2
@@ -5107,6 +5107,8 @@ in {
51075107 python3Packages = self;
51085108 });
51095109
5110+ mergedb = callPackage ../development/python-modules/mergedb { };
5111+
51105112 mergedeep = callPackage ../development/python-modules/mergedeep { };
51115113
51125114 merkletools = callPackage ../development/python-modules/merkletools { };