From e3f6735bca09d12f601c1945eb75339512669142 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Mar 2022 10:37:42 +0000 Subject: [PATCH 01/58] prometheus-xmpp-alerts: 0.5.1 -> 0.5.3 --- pkgs/servers/monitoring/prometheus/xmpp-alerts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix index 97593cecca8..e38466df6e6 100644 --- a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix +++ b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix @@ -6,13 +6,13 @@ python3Packages.buildPythonApplication rec { pname = "prometheus-xmpp-alerts"; - version = "0.5.1"; + version = "0.5.3"; src = fetchFromGitHub { owner = "jelmer"; repo = pname; rev = "v${version}"; - sha256 = "0qmmmlcanbrhyyxi32gy3gibgvj7jdjwpa8cf5ci9czvbyxg4rld"; + sha256 = "sha256-gb7lFRqqw4w/B+Sw0iteDkuGsPfw/ZZ+sRMTu5vxIUo="; }; propagatedBuildInputs = [ From 87c955386cd129d0b810d1864c4043db8408e4b2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 12 Mar 2022 12:10:43 +0000 Subject: [PATCH 02/58] s3fs: 1.90 -> 1.91 --- pkgs/tools/filesystems/s3fs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/s3fs/default.nix b/pkgs/tools/filesystems/s3fs/default.nix index e0755a1eead..58ef6442d8d 100644 --- a/pkgs/tools/filesystems/s3fs/default.nix +++ b/pkgs/tools/filesystems/s3fs/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "s3fs-fuse"; - version = "1.90"; + version = "1.91"; src = fetchFromGitHub { owner = "s3fs-fuse"; repo = "s3fs-fuse"; rev = "v${version}"; - sha256 = "sha256-tcoINdkPfIdO0VMQ5tdpKcslpvvgVhaJiDFnS/ix0sc="; + sha256 = "sha256-41IgUgpVZiIzi3N5kgX7PAhgnd+i/FH1o8t5y3Uw14g="; }; buildInputs = [ curl openssl libxml2 fuse ]; From 93681a52a5bff48ecf434d3225588c1c99c1e853 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Fri, 28 Jan 2022 08:16:57 +0100 Subject: [PATCH 03/58] stdenv: check that all inputs are of an appropriate type Fixes #24462 --- pkgs/stdenv/generic/make-derivation.nix | 30 ++++++++++++++----------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index 2465449867c..6bd31de83df 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -128,6 +128,10 @@ let else lib.subtractLists hardeningDisable (defaultHardeningFlags ++ hardeningEnable); # hardeningDisable additionally supports "all". erroneousHardeningFlags = lib.subtractLists supportedHardeningFlags (hardeningEnable ++ lib.remove "all" hardeningDisable); + + checkDependencyList = name: deps: lib.flip lib.imap1 deps (index: dep: + if lib.isDerivation dep || isNull dep || builtins.typeOf dep == "path" then dep + else throw "Dependency is not of a valid type: element ${toString index} of ${name} for ${attrs.name or attrs.pname}"); in if builtins.length erroneousHardeningFlags != 0 then abort ("mkDerivation was called with unsupported hardening flags: " + lib.generators.toPretty {} { inherit erroneousHardeningFlags hardeningDisable hardeningEnable supportedHardeningFlags; @@ -143,34 +147,34 @@ else let dependencies = map (map lib.chooseDevOutputs) [ [ - (map (drv: drv.__spliced.buildBuild or drv) depsBuildBuild) - (map (drv: drv.nativeDrv or drv) nativeBuildInputs + (map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuild" depsBuildBuild)) + (map (drv: drv.nativeDrv or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs ++ lib.optional separateDebugInfo' ../../build-support/setup-hooks/separate-debug-info.sh ++ lib.optional stdenv.hostPlatform.isWindows ../../build-support/setup-hooks/win-dll-link.sh ++ lib.optionals doCheck checkInputs - ++ lib.optionals doInstallCheck' installCheckInputs) - (map (drv: drv.__spliced.buildTarget or drv) depsBuildTarget) + ++ lib.optionals doInstallCheck' installCheckInputs)) + (map (drv: drv.__spliced.buildTarget or drv) (checkDependencyList "depsBuildTarget" depsBuildTarget)) ] [ - (map (drv: drv.__spliced.hostHost or drv) depsHostHost) - (map (drv: drv.crossDrv or drv) buildInputs) + (map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost)) + (map (drv: drv.crossDrv or drv) (checkDependencyList "buildInputs" buildInputs)) ] [ - (map (drv: drv.__spliced.targetTarget or drv) depsTargetTarget) + (map (drv: drv.__spliced.targetTarget or drv) (checkDependencyList "depsTargetTarget" depsTargetTarget)) ] ]; propagatedDependencies = map (map lib.chooseDevOutputs) [ [ - (map (drv: drv.__spliced.buildBuild or drv) depsBuildBuildPropagated) - (map (drv: drv.nativeDrv or drv) propagatedNativeBuildInputs) - (map (drv: drv.__spliced.buildTarget or drv) depsBuildTargetPropagated) + (map (drv: drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuildPropagated" depsBuildBuildPropagated)) + (map (drv: drv.nativeDrv or drv) (checkDependencyList "propagatedNativeBuildInputs" propagatedNativeBuildInputs)) + (map (drv: drv.__spliced.buildTarget or drv) (checkDependencyList "depsBuildTargetPropagated" depsBuildTargetPropagated)) ] [ - (map (drv: drv.__spliced.hostHost or drv) depsHostHostPropagated) - (map (drv: drv.crossDrv or drv) propagatedBuildInputs) + (map (drv: drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHostPropagated" depsHostHostPropagated)) + (map (drv: drv.crossDrv or drv) (checkDependencyList "propagatedBuildInputs" propagatedBuildInputs)) ] [ - (map (drv: drv.__spliced.targetTarget or drv) depsTargetTargetPropagated) + (map (drv: drv.__spliced.targetTarget or drv) (checkDependencyList "depsTargetTargetPropagated" depsTargetTargetPropagated)) ] ]; From 235fe92e4268dfeb681dcb07273b152579592ea4 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Tue, 5 Apr 2022 12:18:04 +0200 Subject: [PATCH 04/58] make-derivation: allow nested lists in buildInputs This isn't really desirable in general, but given that Nix itself currently relies on this behaviour and that we don't want to break backwards compatibility we should support it for now, maybe deprecating it in the future. --- pkgs/stdenv/generic/make-derivation.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index 6bd31de83df..eb4f7e59490 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -129,9 +129,11 @@ let # hardeningDisable additionally supports "all". erroneousHardeningFlags = lib.subtractLists supportedHardeningFlags (hardeningEnable ++ lib.remove "all" hardeningDisable); - checkDependencyList = name: deps: lib.flip lib.imap1 deps (index: dep: + checkDependencyList = checkDependencyList' []; + checkDependencyList' = positions: name: deps: lib.flip lib.imap1 deps (index: dep: if lib.isDerivation dep || isNull dep || builtins.typeOf dep == "path" then dep - else throw "Dependency is not of a valid type: element ${toString index} of ${name} for ${attrs.name or attrs.pname}"); + else if lib.isList dep then checkDependencyList' ([index] ++ positions) name dep + else throw "Dependency is not of a valid type: ${lib.concatMapStrings (ix: "element ${toString ix} of ") ([index] ++ positions)}${name} for ${attrs.name or attrs.pname}"); in if builtins.length erroneousHardeningFlags != 0 then abort ("mkDerivation was called with unsupported hardening flags: " + lib.generators.toPretty {} { inherit erroneousHardeningFlags hardeningDisable hardeningEnable supportedHardeningFlags; From 0af63d20a7435712a785d039ebabafe1a532cd4a Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Thu, 28 Apr 2022 11:56:15 +0200 Subject: [PATCH 05/58] flex-ndax: 0.2-20211111.0 -> 0.2-20220427 This update also reduces the PulseAudio dependency to the libraries. --- pkgs/applications/radio/flex-ndax/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/radio/flex-ndax/default.nix b/pkgs/applications/radio/flex-ndax/default.nix index 8be72ef3d6b..9e29249c065 100644 --- a/pkgs/applications/radio/flex-ndax/default.nix +++ b/pkgs/applications/radio/flex-ndax/default.nix @@ -1,19 +1,19 @@ -{ lib, buildGoModule, fetchFromGitHub, pulseaudio }: +{ lib, buildGoModule, fetchFromGitHub, libpulseaudio }: buildGoModule rec { pname = "flex-ndax"; - version = "0.2-20211111.0"; + version = "0.2-20220427"; src = fetchFromGitHub { owner = "kc2g-flex-tools"; repo = "nDAX"; rev = "v${version}"; - sha256 = "0m2hphj0qvgq25pfm3s76naf672ll43jv7gll8cfs7276ckg1904"; + hash = "sha256-KmvTLfGC6xzXcWYAzmBYiYSF65lqMdsdMQjUEk3siqc="; }; - buildInputs = [ pulseaudio ]; + buildInputs = [ libpulseaudio ]; - vendorSha256 = "1bf0iidb8ggzahy3fvxispf3g940mv6vj9wqd8i3rldc6ca2i3pf"; + vendorSha256 = "sha256-u/5LiVo/ZOefprEKr/L1+3+OfYb0a4wq+CWoUjYNvzg="; meta = with lib; { homepage = "https://github.com/kc2g-flex-tools/nDAX"; From bfecfa961300d374ce191fd2d1e51bdcb14262e1 Mon Sep 17 00:00:00 2001 From: Alex Wied Date: Tue, 26 Apr 2022 19:22:12 -0400 Subject: [PATCH 06/58] zcash: 4.6.0-2 -> 4.7.0 --- .../blockchains/zcash/default.nix | 33 +++++++++++++------ 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/blockchains/zcash/default.nix b/pkgs/applications/blockchains/zcash/default.nix index 5e9f4200141..a69393c2d2b 100644 --- a/pkgs/applications/blockchains/zcash/default.nix +++ b/pkgs/applications/blockchains/zcash/default.nix @@ -1,24 +1,37 @@ -{ rust, rustPlatform, stdenv, lib, fetchFromGitHub, autoreconfHook, makeWrapper -, cargo, pkg-config, curl, coreutils, boost177, db62, hexdump, libsodium -, libevent, utf8cpp, util-linux, withDaemon ? true, withMining ? true +{ rust, rustPlatform, stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook +, makeWrapper, cargo, pkg-config, curl, coreutils, boost178, db62, hexdump +, libsodium, libevent, utf8cpp, util-linux, withDaemon ? true, withMining ? true , withUtils ? true, withWallet ? true, withZmq ? true, zeromq }: rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec { pname = "zcash"; - version = "4.6.0-2"; + version = "4.7.0"; src = fetchFromGitHub { owner = "zcash"; repo = "zcash"; rev = "v${version}"; - sha256 = "sha256-RvUa8CKPBFfsqzrJkPHePZMqpCfyVafrUbftMdTviHA="; + sha256 = "sha256-yF+/QepSiZwsdZydWjvxDIFeFyJbJyqZmCdMyQHmrzI="; }; - cargoSha256 = "sha256-qWimataBZ/rLDOLgetNfFAzi/psXcJV54b3WGm9k+b4="; + prePatch = lib.optionalString stdenv.isAarch64 '' + substituteInPlace .cargo/config.offline \ + --replace "[target.aarch64-unknown-linux-gnu]" "" \ + --replace "linker = \"aarch64-linux-gnu-gcc\"" "" + ''; + + cargoPatches = [ + (fetchpatch { + url = "https://github.com/zcash/zcash/commit/61cd19a52d41d60c1987ecf269f7aa8e4d527310.diff"; + sha256 = "sha256-/7T2yCSVlRN7qfFjrZlfBNMlbVHb/KRjtUBY2xFr0mo="; + }) + ]; + + cargoSha256 = "sha256-+BLfO5OnCBqQTIqMXKJdoPCRgtENa+m0WOHKG9gkdMk="; nativeBuildInputs = [ autoreconfHook cargo hexdump makeWrapper pkg-config ]; - buildInputs = [ boost177 libevent libsodium utf8cpp ] + buildInputs = [ boost178 libevent libsodium utf8cpp ] ++ lib.optional withWallet db62 ++ lib.optional withZmq zeromq; @@ -37,7 +50,7 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec { configureFlags = [ "--disable-tests" - "--with-boost-libdir=${lib.getLib boost177}/lib" + "--with-boost-libdir=${lib.getLib boost178}/lib" "CXXFLAGS=-I${lib.getDev utf8cpp}/include/utf8cpp" "RUST_TARGET=${rust.toRustTargetSpec stdenv.hostPlatform}" ] ++ lib.optional (!withWallet) "--disable-wallet" @@ -58,8 +71,8 @@ rustPlatform.buildRustPackage.override { stdenv = stdenv; } rec { meta = with lib; { description = "Peer-to-peer, anonymous electronic cash system"; homepage = "https://z.cash/"; - maintainers = with maintainers; [ rht tkerber ]; + maintainers = with maintainers; [ rht tkerber centromere ]; license = licenses.mit; - platforms = platforms.linux; + platforms = platforms.linux ++ platforms.darwin; }; } From 073ee0e4ab0b7d326a58d05fbe7dce8644ce4e6d Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Sat, 30 Apr 2022 17:30:57 +0200 Subject: [PATCH 07/58] umlet: 14.3.0 -> 15.0.0 --- pkgs/tools/misc/umlet/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/umlet/default.nix b/pkgs/tools/misc/umlet/default.nix index d88e0bdea15..aca04546fd2 100644 --- a/pkgs/tools/misc/umlet/default.nix +++ b/pkgs/tools/misc/umlet/default.nix @@ -1,14 +1,16 @@ { lib, stdenv, fetchurl, jre, unzip, runtimeShell }: -stdenv.mkDerivation rec { - major = "14"; - minor = "3"; - version = "${major}.${minor}.0"; +let + major = "15"; + minor = "0"; + patch = "0"; +in stdenv.mkDerivation rec { pname = "umlet"; + version = "${major}.${minor}.${patch}"; src = fetchurl { - url = "http://www.umlet.com/umlet_${major}_${minor}/umlet-standalone-${version}.zip"; - sha256 = "0jfyxjxsjx29xhs3fl0f574nyncmk9j5jp8zlgd401mcaznn9c7l"; + url = "https://www.umlet.com/umlet_${major}_${minor}/umlet-standalone-${version}.zip"; + sha256 = "sha256-gdvhqYGyrFuQhhrkF26wXb3TQLRCLm59/uSxTPmHdAE="; }; nativeBuildInputs = [ unzip ]; @@ -43,7 +45,7 @@ stdenv.mkDerivation rec { UMLet runs stand-alone or as Eclipse plug-in on Windows, macOS and Linux. ''; - homepage = "http://www.umlet.com"; + homepage = "https://www.umlet.com"; license = licenses.gpl3; maintainers = with maintainers; [ oxzi ]; platforms = platforms.all; From e63b0f634e9f38fe3290660fb37fb6833ed5cf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 3 May 2022 20:39:36 +1000 Subject: [PATCH 08/58] cvs2svn: add man pages --- pkgs/applications/version-management/cvs2svn/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/cvs2svn/default.nix b/pkgs/applications/version-management/cvs2svn/default.nix index 9f1df695a17..80225630c0a 100644 --- a/pkgs/applications/version-management/cvs2svn/default.nix +++ b/pkgs/applications/version-management/cvs2svn/default.nix @@ -1,6 +1,7 @@ { lib, fetchurl, makeWrapper , pypy2Packages , cvs, subversion, git, breezy +, installShellFiles }: pypy2Packages.buildPythonApplication rec { @@ -12,7 +13,7 @@ pypy2Packages.buildPythonApplication rec { sha256 = "1ska0z15sjhyfi860rjazz9ya1gxbf5c0h8dfqwz88h7fccd22b4"; }; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper installShellFiles ]; checkInputs = [ subversion git breezy ]; @@ -24,6 +25,8 @@ pypy2Packages.buildPythonApplication rec { for i in bzr svn git; do wrapProgram $out/bin/cvs2$i \ --prefix PATH : "${lib.makeBinPath [ cvs ]}" + $out/bin/cvs2$i --man > csv2$i.1 + installManPage csv2$i.1 done ''; From 578441d11bb6edd4299ff3a723e31e17250fa477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 3 May 2022 20:41:46 +1000 Subject: [PATCH 09/58] cvs2svn: add self to maintainers --- pkgs/applications/version-management/cvs2svn/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/cvs2svn/default.nix b/pkgs/applications/version-management/cvs2svn/default.nix index 80225630c0a..a5903b7266e 100644 --- a/pkgs/applications/version-management/cvs2svn/default.nix +++ b/pkgs/applications/version-management/cvs2svn/default.nix @@ -33,7 +33,7 @@ pypy2Packages.buildPythonApplication rec { meta = with lib; { description = "A tool to convert CVS repositories to Subversion repositories"; homepage = "https://github.com/mhagger/cvs2svn"; - maintainers = [ maintainers.makefu ]; + maintainers = with maintainers; [ makefu viraptor ]; platforms = platforms.unix; license = licenses.asl20; }; From b3e88559999d7d0332d3415594be1c30edbc0722 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Sat, 7 May 2022 10:42:50 +0200 Subject: [PATCH 10/58] make-derivation: allow strings in build input lists --- pkgs/stdenv/generic/make-derivation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index eb4f7e59490..179926722be 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -131,7 +131,7 @@ let checkDependencyList = checkDependencyList' []; checkDependencyList' = positions: name: deps: lib.flip lib.imap1 deps (index: dep: - if lib.isDerivation dep || isNull dep || builtins.typeOf dep == "path" then dep + if lib.isDerivation dep || isNull dep || builtins.typeOf dep == "string" || builtins.typeOf dep == "path" then dep else if lib.isList dep then checkDependencyList' ([index] ++ positions) name dep else throw "Dependency is not of a valid type: ${lib.concatMapStrings (ix: "element ${toString ix} of ") ([index] ++ positions)}${name} for ${attrs.name or attrs.pname}"); in if builtins.length erroneousHardeningFlags != 0 From d4884bbc9ea8ac85b68a05d1c12e1ea1181db3b0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 2 May 2022 03:49:01 +0200 Subject: [PATCH 11/58] php.extensions: Remove fixes for abandoned PHP versions --- .../interpreters/php/zlib-darwin-tests.patch | 44 ------ pkgs/top-level/php-packages.nix | 130 ++++-------------- 2 files changed, 27 insertions(+), 147 deletions(-) delete mode 100644 pkgs/development/interpreters/php/zlib-darwin-tests.patch diff --git a/pkgs/development/interpreters/php/zlib-darwin-tests.patch b/pkgs/development/interpreters/php/zlib-darwin-tests.patch deleted file mode 100644 index ef61f0a8784..00000000000 --- a/pkgs/development/interpreters/php/zlib-darwin-tests.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/ext/zlib/tests/bug55544.phpt b/ext/zlib/tests/bug55544.phpt -index a0d22f4fcebf4846da6781f424f87821626de5ea..e650fe6909f555d04834f4c08f7fd0d354b783e2 100644 ---- a/ext/zlib/tests/bug55544.phpt -+++ b/ext/zlib/tests/bug55544.phpt -@@ -6,6 +6,9 @@ extension_loaded("zlib") or die("skip"); - if (substr(PHP_OS, 0, 3) == 'WIN') { - die("skip not for windows"); - } -+if (PHP_OS == "Darwin") { -+ die("skip not for darwin"); -+} - ?> - --INI-- - output_handler=ob_gzhandler -diff --git a/ext/zlib/tests/gzencode_variation1.phpt b/ext/zlib/tests/gzencode_variation1.phpt -index c966b2cbc5b7..2f953168fa22 100644 ---- a/ext/zlib/tests/gzencode_variation1.phpt -+++ b/ext/zlib/tests/gzencode_variation1.phpt -@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) { - if (!extension_loaded("zlib")) { - print "skip - ZLIB extension not loaded"; - } -+ -+if (PHP_OS == "Darwin") { -+ print "skip - OS is encoded in headers, tested header is non Darwin"; -+} - ?> - --FILE-- - - --FILE-- - Date: Tue, 10 May 2022 01:23:39 +0200 Subject: [PATCH 12/58] php: Remove fixes for abandoned PHP versions --- pkgs/development/interpreters/php/generic.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/development/interpreters/php/generic.nix b/pkgs/development/interpreters/php/generic.nix index 7c0994d15b6..70052197d22 100644 --- a/pkgs/development/interpreters/php/generic.nix +++ b/pkgs/development/interpreters/php/generic.nix @@ -223,8 +223,7 @@ let [ "--disable-all" ] # PCRE - ++ lib.optionals (lib.versionAtLeast version "7.4") [ "--with-external-pcre=${pcre2.dev}" ] - ++ [ "PCRE_LIBDIR=${pcre2}" ] + ++ [ "--with-external-pcre=${pcre2.dev}" ] # Enable sapis @@ -232,10 +231,6 @@ let ++ lib.optional (!cliSupport) "--disable-cli" ++ lib.optional fpmSupport "--enable-fpm" ++ lib.optional pearSupport [ "--with-pear" "--enable-xml" "--with-libxml" ] - ++ lib.optionals (pearSupport && (lib.versionOlder version "7.4")) [ - "--enable-libxml" - "--with-libxml-dir=${libxml2.dev}" - ] ++ lib.optional pharSupport "--enable-phar" ++ lib.optional (!phpdbgSupport) "--disable-phpdbg" @@ -270,14 +265,7 @@ let done export EXTENSION_DIR=$out/lib/php/extensions - '' - # PKG_CONFIG need not be a relative path - + lib.optionalString (lib.versionOlder version "7.4") '' - for i in $(find . -type f -name "*.m4"); do - substituteInPlace $i \ - --replace 'test -x "$PKG_CONFIG"' 'type -P "$PKG_CONFIG" >/dev/null' - done - '' + '' + ./buildconf --copy --force if test -f $src/genfiles; then From c9141b4bfc74498fcb09bc03047e34d32982ef30 Mon Sep 17 00:00:00 2001 From: Julius de Bruijn Date: Tue, 10 May 2022 16:12:21 +0200 Subject: [PATCH 13/58] prisma-engines: 3.13.0 -> 3.14.0 --- pkgs/development/tools/database/prisma-engines/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/prisma-engines/default.nix b/pkgs/development/tools/database/prisma-engines/default.nix index b3c5c1b0dd0..26ec6597213 100644 --- a/pkgs/development/tools/database/prisma-engines/default.nix +++ b/pkgs/development/tools/database/prisma-engines/default.nix @@ -13,19 +13,19 @@ # function correctly. rustPlatform.buildRustPackage rec { pname = "prisma-engines"; - version = "3.13.0"; + version = "3.14.0"; src = fetchFromGitHub { owner = "prisma"; repo = "prisma-engines"; rev = version; - sha256 = "sha256-+Ug4tOaqUaqcEoMv20CKE8JrjIdW34VSn20gXZYX92k="; + sha256 = "sha256-UawQbVbafRpxkYFGW+y+HkkYME8qziG7tmsIjbqwHq0="; }; # Use system openssl. OPENSSL_NO_VENDOR = 1; - cargoSha256 = "sha256-V2G++BYLRGVM4leB2jkM+HcFiCIdf2wA3dfYdtlq7XI="; + cargoSha256 = "sha256-1kR70t7vWzvV3DOrkVP6ktzKK5tB9KjJyAMpKO6gtYA="; nativeBuildInputs = [ pkg-config ]; From af7b0652170c9b57f50c64a08531393a83f1f0ce Mon Sep 17 00:00:00 2001 From: Julius de Bruijn Date: Tue, 10 May 2022 16:12:33 +0200 Subject: [PATCH 14/58] nodePackages.prisma: 3.13.0 -> 3.14.0 --- pkgs/development/node-packages/default.nix | 2 +- pkgs/development/node-packages/node-packages.nix | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/development/node-packages/default.nix b/pkgs/development/node-packages/default.nix index e159a093af2..b2da0f16eb5 100644 --- a/pkgs/development/node-packages/default.nix +++ b/pkgs/development/node-packages/default.nix @@ -329,7 +329,7 @@ let src = fetchurl { url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz"; - sha512 = "sha512-oO1auBnBtieGdiN+57IgsA9Vr7Sy4HkILi1KSaUG4mpKfEbnkTGnLOxAqjLed+K2nsG/GtE1tJBtB7JxN1a78Q=="; + sha512 = "sha512-l9MOgNCn/paDE+i1K2fp9NZ+Du4trzPTJsGkaQHVBufTGqzoYHuNk8JfzXuIn0Gte6/ZjyKj652Jq/Lc1tp2yw=="; }; postInstall = with pkgs; '' wrapProgram "$out/bin/prisma" \ diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 9d7f473ac4d..8f949d7d781 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -67102,15 +67102,6 @@ let sha512 = "hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg=="; }; }; - "ts-pattern-4.0.2" = { - name = "ts-pattern"; - packageName = "ts-pattern"; - version = "4.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/ts-pattern/-/ts-pattern-4.0.2.tgz"; - sha512 = "eHqR/7A6fcw05vCOfnL6RwgGJbVi9G/YHTdYdjYmElhDdJ1SMn7pWs+6+YuxygaFwQS/g+cIDlu+UD8IVpur1A=="; - }; - }; "ts-pnp-1.2.0" = { name = "ts-pnp"; packageName = "ts-pnp"; @@ -118740,7 +118731,6 @@ in }; dependencies = [ sources."@prisma/engines-3.13.0-17.efdf9b1183dddfd4258cd181a72125755215ab7b" - sources."ts-pattern-4.0.2" ]; buildInputs = globalBuildInputs; meta = { From cf5534a408c295d588d313d37420580340b22041 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Wed, 27 Apr 2022 01:40:37 +0000 Subject: [PATCH 15/58] mysql-shell: 8.0.28 -> 8.0.29 --- .../development/tools/mysql-shell/default.nix | 45 +++++-------------- .../tools/mysql-shell/fido2.cmake.patch | 25 ----------- pkgs/top-level/all-packages.nix | 4 +- 3 files changed, 13 insertions(+), 61 deletions(-) delete mode 100644 pkgs/development/tools/mysql-shell/fido2.cmake.patch diff --git a/pkgs/development/tools/mysql-shell/default.nix b/pkgs/development/tools/mysql-shell/default.nix index c54cda1ad27..915ed33c466 100644 --- a/pkgs/development/tools/mysql-shell/default.nix +++ b/pkgs/development/tools/mysql-shell/default.nix @@ -31,14 +31,10 @@ , CoreServices , developer_cmds , DarwinTools -, mysql-shell }: let - pythonDeps = [ - python3.pkgs.certifi - python3.pkgs.paramiko - ]; + pythonDeps = [ python3.pkgs.certifi python3.pkgs.paramiko ]; site = '' import sys; sys.path.extend([${lib.concatStringsSep ", " (map (x: ''"${x}/${python3.sitePackages}"'') pythonDeps)}]) @@ -46,24 +42,22 @@ let in stdenv.mkDerivation rec{ pname = "mysql-shell"; - version = "8.0.28"; + version = "8.0.29"; srcs = [ (fetchurl { url = "https://cdn.mysql.com//Downloads/MySQL-Shell/mysql-shell-${version}-src.tar.gz"; - sha256 = "sha256-xm2sepVgI0MPs25vu+BcRQeksaVhHcQlymreN1myu6c="; + sha256 = "sha256-ijwyamQgMoUEcMNpIJjJxH/dRuRFpdcXGmQqpD+WrmA="; }) (fetchurl { url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor version}/mysql-${version}.tar.gz"; - sha256 = "sha256-2Gk2nrbeTyuy2407Mbe3OWjjVuX/xDVPS5ZlirHkiyI="; + sha256 = "sha256-USFw+m94ppTW8Y0ZfpmdJxbuaNxUHXZE3ZIqNmNAcmY="; }) ]; sourceRoot = "mysql-shell-${version}-src"; postPatch = '' - patch ../mysql-${version}/cmake/fido2.cmake ${./fido2.cmake.patch} - substituteInPlace ../mysql-${version}/cmake/libutils.cmake --replace /usr/bin/libtool libtool substituteInPlace ../mysql-${version}/cmake/os/Darwin.cmake --replace /usr/bin/libtool libtool @@ -73,12 +67,7 @@ stdenv.mkDerivation rec{ echo '${site}' >> python/packages/mysqlsh/__init__.py ''; - nativeBuildInputs = [ - pkg-config - cmake - git - bison - ] ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ]; + nativeBuildInputs = [ pkg-config cmake git bison ] ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ]; buildInputs = [ boost @@ -99,30 +88,21 @@ stdenv.mkDerivation rec{ cyrus_sasl openldap v8 + python3 ] ++ pythonDeps ++ lib.optionals stdenv.isLinux [ numactl libtirpc - ] ++ lib.optionals stdenv.isDarwin [ - cctools - CoreServices - developer_cmds - DarwinTools - ]; + ] ++ lib.optionals stdenv.isDarwin [ cctools CoreServices developer_cmds DarwinTools ]; preConfigure = '' # Build MySQL - cmake -DWITH_BOOST=system \ - -DWITH_SYSTEM_LIBS=ON \ - -DWITH_ROUTER=OFF \ - -DWITH_UNIT_TESTS=OFF \ - -DFORCE_UNSUPPORTED_COMPILER=1 \ - -S ../mysql-${version} -B ../mysql-${version}/build + cmake -DWITH_BOOST=system -DWITH_SYSTEM_LIBS=ON -DWITH_ROUTER=OFF -DWITH_UNIT_TESTS=OFF \ + -DFORCE_UNSUPPORTED_COMPILER=1 -S ../mysql-${version} -B ../mysql-${version}/build cmake --build ../mysql-${version}/build --parallel ''${NIX_BUILD_CORES:-1} --target mysqlclient mysqlxclient # Get libv8_monolith - mkdir -p ../v8/lib - ln -s ${v8}/lib/libv8.a ../v8/lib/libv8_monolith.a + mkdir -p ../v8/lib && ln -s ${v8}/lib/libv8.a ../v8/lib/libv8_monolith.a ''; cmakeFlags = [ @@ -139,10 +119,7 @@ stdenv.mkDerivation rec{ "-DHAVE_PYTHON=1" ]; - CXXFLAGS = [ - "-DV8_COMPRESS_POINTERS=1" - "-DV8_31BIT_SMIS_ON_64BIT_ARCH=1" - ]; + CXXFLAGS = [ "-DV8_COMPRESS_POINTERS=1" "-DV8_31BIT_SMIS_ON_64BIT_ARCH=1" ]; meta = with lib; { homepage = "https://dev.mysql.com/doc/mysql-shell/${lib.versions.majorMinor version}/en/"; diff --git a/pkgs/development/tools/mysql-shell/fido2.cmake.patch b/pkgs/development/tools/mysql-shell/fido2.cmake.patch deleted file mode 100644 index df6005cca1a..00000000000 --- a/pkgs/development/tools/mysql-shell/fido2.cmake.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/cmake/fido2.cmake b/cmake/fido2.cmake -index c20e6e75c0d..f2d5cbd8430 100644 ---- a/cmake/fido2.cmake -+++ b/cmake/fido2.cmake -@@ -30,19 +30,8 @@ MACRO(FIND_FIDO_VERSION) - IF(WITH_FIDO STREQUAL "bundled") - SET(FIDO_VERSION "1.7.0") - ELSE() -- # This does not set any version information: -- # PKG_CHECK_MODULES(SYSTEM_FIDO fido2) -- - MYSQL_CHECK_PKGCONFIG() -- EXECUTE_PROCESS( -- COMMAND ${MY_PKG_CONFIG_EXECUTABLE} --modversion libfido2 -- OUTPUT_VARIABLE MY_FIDO_MODVERSION -- OUTPUT_STRIP_TRAILING_WHITESPACE -- RESULT_VARIABLE MY_MODVERSION_RESULT -- ) -- IF(MY_MODVERSION_RESULT EQUAL 0) -- SET(FIDO_VERSION ${MY_FIDO_MODVERSION}) -- ENDIF() -+ PKG_CHECK_MODULES(FIDO libfido2) - ENDIF() - MESSAGE(STATUS "FIDO_VERSION (${WITH_FIDO}) is ${FIDO_VERSION}") - ENDMACRO(FIND_FIDO_VERSION) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2f76d7c679e..27ae382d315 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -625,8 +625,8 @@ with pkgs; mysql-shell = callPackage ../development/tools/mysql-shell { inherit (darwin) cctools developer_cmds DarwinTools; inherit (darwin.apple_sdk.frameworks) CoreServices; - boost = boost173; # Configure checks for specific version. - protobuf = protobuf3_11; + boost = boost177; # Configure checks for specific version. + protobuf = protobuf3_19; icu = icu67; v8 = v8_8_x; }; From 33bf62b1ff7a3e1f9476689690db389743e19002 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 10 May 2022 19:24:29 +0000 Subject: [PATCH 16/58] python310Packages.pygtfs: 0.1.6 -> 0.1.7 --- pkgs/development/python-modules/pygtfs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygtfs/default.nix b/pkgs/development/python-modules/pygtfs/default.nix index 735990c0944..831a7d22c4a 100644 --- a/pkgs/development/python-modules/pygtfs/default.nix +++ b/pkgs/development/python-modules/pygtfs/default.nix @@ -11,11 +11,11 @@ buildPythonPackage rec { pname = "pygtfs"; - version = "0.1.6"; + version = "0.1.7"; src = fetchPypi { inherit pname version; - sha256 = "0nx2idgza07kmvj7pcgpj3pqhw53v5rq63paw2ly51cjas2fv5pr"; + sha256 = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8="; }; nativeBuildInputs = [ From e0cd2c540a93715c388f4b8d7ebcb107be8a2477 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Fri, 18 Mar 2022 12:54:53 +0100 Subject: [PATCH 17/58] pcsx2: 1.7.2105 -> 1.7.2731, support Vulkan --- pkgs/applications/emulators/pcsx2/default.nix | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/emulators/pcsx2/default.nix b/pkgs/applications/emulators/pcsx2/default.nix index 2e22e7d9053..a5ff1106fd6 100644 --- a/pkgs/applications/emulators/pcsx2/default.nix +++ b/pkgs/applications/emulators/pcsx2/default.nix @@ -12,7 +12,9 @@ , libpng , libpulseaudio , libsamplerate -, libxml2 +, libXdmcp +, openssl +, pcre , perl , pkg-config , portaudio @@ -20,6 +22,8 @@ , soundtouch , stdenv , udev +, vulkan-headers +, vulkan-loader , wrapGAppsHook , wxGTK , zlib @@ -28,14 +32,14 @@ stdenv.mkDerivation rec { pname = "pcsx2"; - version = "1.7.2105"; + version = "1.7.2731"; src = fetchFromGitHub { owner = "PCSX2"; repo = "pcsx2"; fetchSubmodules = true; rev = "v${version}"; - hash = "sha256-/A8u7oDIVs0Zmne0ebaXxOeIQbM9pr62KEH6FJR2umk="; + hash = "sha256-b3cK3ly9J44YMy/cNprlDCSsu8+DrlhRSLXv5xMouWo="; }; cmakeFlags = [ @@ -44,9 +48,10 @@ stdenv.mkDerivation rec { "-DPACKAGE_MODE=TRUE" "-DWAYLAND_API=TRUE" "-DXDG_STD=TRUE" + "-DUSE_VULKAN=TRUE" ]; - nativeBuildInputs = [ cmake perl pkg-config wrapGAppsHook ]; + nativeBuildInputs = [ cmake perl pkg-config vulkan-headers wrapGAppsHook ]; buildInputs = [ alsa-lib @@ -60,16 +65,29 @@ stdenv.mkDerivation rec { libpng libpulseaudio libsamplerate - libxml2 + libXdmcp + openssl + pcre portaudio SDL2 soundtouch udev + vulkan-loader wayland wxGTK zlib ]; + # Wayland doesn't seem to work right now (crashes when booting a game). + # Try removing `--prefix GDK_BACKEND : x11` on the next update. + # (This may be solved when the project finshes migrating to Qt) + preFixup = '' + gappsWrapperArgs+=( + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} + --prefix GDK_BACKEND : x11 + ) + ''; + meta = with lib; { description = "Playstation 2 emulator"; longDescription = '' @@ -81,13 +99,12 @@ stdenv.mkDerivation rec { ''; homepage = "https://pcsx2.net"; maintainers = with maintainers; [ hrdinka govanify ]; - mainProgram = "PCSX2"; # PCSX2's source code is released under LGPLv3+. It However ships # additional data files and code that are licensed differently. # This might be solved in future, for now we should stick with # license.free license = licenses.free; - platforms = platforms.x86; + platforms = platforms.x86_64; }; } From 752c95521ce29d4664fbecc7e22c93affe9e9890 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 May 2022 23:09:43 +0200 Subject: [PATCH 18/58] python310Packages.pure-pcapy3: add pythonImportsCheck --- .../python-modules/pure-pcapy3/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pure-pcapy3/default.nix b/pkgs/development/python-modules/pure-pcapy3/default.nix index 636cbaff71c..56b8da5db23 100644 --- a/pkgs/development/python-modules/pure-pcapy3/default.nix +++ b/pkgs/development/python-modules/pure-pcapy3/default.nix @@ -1,17 +1,28 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +}: buildPythonPackage rec { pname = "pure-pcapy3"; version = "1.0.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "14panfklap6wwi9avw46gvd7wg9mkv9xbixvbvmi1m2adpqlb7mr"; + hash = "sha256-uZ5F8W1K1BDrXrvH1dOeNT1+2n6G8K1S5NxcRaez6pI="; }; + pythonImportsCheck = [ + "pure_pcapy" + ]; + meta = with lib; { - description = "Pure Python reimplementation of pcapy. This package is API compatible and a drop-in replacement."; - homepage = "https://bitbucket.org/viraptor/pure-pcapy"; + description = "Reimplementation of pcapy"; + homepage = "https://github.com/rcloran/pure-pcapy-3"; license = licenses.bsd2; maintainers = with maintainers; [ etu ]; }; From 25494ec8ca223c4b27b090b178f0430f9de9364a Mon Sep 17 00:00:00 2001 From: Mrinal Purohit Date: Wed, 11 May 2022 02:49:33 +0530 Subject: [PATCH 19/58] google-cloud-sdk: 384.0.1 -> 385.0.0 --- pkgs/tools/admin/google-cloud-sdk/data.nix | 22 ++++++++++----------- pkgs/tools/admin/google-cloud-sdk/update.sh | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/tools/admin/google-cloud-sdk/data.nix b/pkgs/tools/admin/google-cloud-sdk/data.nix index 359427d32a0..87ae11bdc14 100644 --- a/pkgs/tools/admin/google-cloud-sdk/data.nix +++ b/pkgs/tools/admin/google-cloud-sdk/data.nix @@ -1,32 +1,32 @@ # DO NOT EDIT! This file is generated automatically by update.sh { }: { - version = "384.0.1"; + version = "385.0.0"; googleCloudSdkPkgs = { x86_64-linux = { - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-linux-x86_64.tar.gz"; - sha256 = "1pa6dzizn7sjahghiwz98n906ssbq4aa9kg1f3akdsmmabh95pd7"; + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-385.0.0-linux-x86_64.tar.gz"; + sha256 = "17l70chxxnacljhck1bxqz85170a6ilw5lzj8m3gcciy6klkj66d"; }; x86_64-darwin = { - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-darwin-x86_64.tar.gz"; - sha256 = "0pis92ldxxzvsamkck54d5d86ss13wipji29x082750c54gwm6w3"; + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-385.0.0-darwin-x86_64.tar.gz"; + sha256 = "185kj98vwg0fbkfxw0w8258dg45avn22p7afq98gcflr2ymxin2v"; }; aarch64-linux = { - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-linux-arm.tar.gz"; - sha256 = "1ssxb126hjyylgjbybl7ksiqnwf2hz6y0x1s5rjicaqpw5yv0sqy"; + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-385.0.0-linux-arm.tar.gz"; + sha256 = "044zk3px8wqlz4wcl2kqdv4nr5r2p1s0ahlxiaigdgfm8b3wm1gh"; }; aarch64-darwin = { - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-darwin-arm.tar.gz"; - sha256 = "1qxhl7c1ii44drls2mpmm03n2j7274dxcsf5inrhyjgs94yl5h7b"; + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-385.0.0-darwin-arm.tar.gz"; + sha256 = "1rjjr5vn99cv9shr5yazqzh6m7yvbn7rmjg0f8wbbmlj7fqd7gzv"; }; i686-linux = { - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-384.0.1-linux-x86.tar.gz"; - sha256 = "1gghl16bdc9vgd2p834vd2i6av81q15czi7arpnmgg9n5dl3i2c8"; + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-385.0.0-linux-x86.tar.gz"; + sha256 = "1ym5hh1dq5wbx3lr75im2ibsr5iqnsamqsvz1nw15l7ii2v7hsjy"; }; }; } diff --git a/pkgs/tools/admin/google-cloud-sdk/update.sh b/pkgs/tools/admin/google-cloud-sdk/update.sh index 6402e3f32df..368612b19c9 100755 --- a/pkgs/tools/admin/google-cloud-sdk/update.sh +++ b/pkgs/tools/admin/google-cloud-sdk/update.sh @@ -5,7 +5,7 @@ BASE_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-clou # Version of Google Cloud SDK from # https://cloud.google.com/sdk/docs/release-notes -VERSION="384.0.1" +VERSION="385.0.0" function genMainSrc() { local url="${BASE_URL}-${VERSION}-${1}-${2}.tar.gz" From a8b95e6f28d3440cd3bd6a5d9509e0b71cc4caa8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 May 2022 23:25:52 +0200 Subject: [PATCH 20/58] naabu: 2.0.6 -> 2.0.7 --- pkgs/tools/security/naabu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/naabu/default.nix b/pkgs/tools/security/naabu/default.nix index a9a6fe29e13..a93e8082a0c 100644 --- a/pkgs/tools/security/naabu/default.nix +++ b/pkgs/tools/security/naabu/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "naabu"; - version = "2.0.6"; + version = "2.0.7"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "naabu"; rev = "v${version}"; - sha256 = "sha256-soYtm8vEkMJq9MeoUqOGJPWxZUrh3mGnApxG154W1wI="; + sha256 = "sha256-pfaK2Hj6iHk8njEMEbeSHGIKTn5O3IF83At14iDNI34="; }; - vendorSha256 = "sha256-MR1JUbeGC4N0jDuYdwVFMHBdZEy5BkID2BFdCwjtTAg="; + vendorSha256 = "sha256-eco1e1A0cDk1Yc0KP9tc3Kf4E+z1av7EDHynVhoHhMk="; buildInputs = [ libpcap From 182ae70b3f4bdbbfd9058f9a1ea818b7001ad584 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 May 2022 23:34:03 +0200 Subject: [PATCH 21/58] python310Packages.pygtfs: disable on older Python releases --- pkgs/development/python-modules/pygtfs/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygtfs/default.nix b/pkgs/development/python-modules/pygtfs/default.nix index 831a7d22c4a..6bd6fedb64a 100644 --- a/pkgs/development/python-modules/pygtfs/default.nix +++ b/pkgs/development/python-modules/pygtfs/default.nix @@ -4,6 +4,7 @@ , fetchPypi , nose , pytz +, pythonOlder , setuptools-scm , six , sqlalchemy @@ -12,10 +13,13 @@ buildPythonPackage rec { pname = "pygtfs"; version = "0.1.7"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8="; + hash = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8="; }; nativeBuildInputs = [ @@ -33,7 +37,9 @@ buildPythonPackage rec { nose ]; - pythonImportsCheck = [ "pygtfs" ]; + pythonImportsCheck = [ + "pygtfs" + ]; meta = with lib; { description = "Python module for GTFS"; From d6638dc53fa41fe727234a19d498110dce41dae4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 May 2022 23:35:57 +0200 Subject: [PATCH 22/58] python310Packages.aioairzone: 0.4.3 -> 0.4.4 --- pkgs/development/python-modules/aioairzone/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioairzone/default.nix b/pkgs/development/python-modules/aioairzone/default.nix index 1b926074cba..5c12501723d 100644 --- a/pkgs/development/python-modules/aioairzone/default.nix +++ b/pkgs/development/python-modules/aioairzone/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "aioairzone"; - version = "0.4.3"; + version = "0.4.4"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "Noltari"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-QLHM7M3x0QjTTzKNngsNioEzpPh4qG1ntEtSkHQPlfQ="; + hash = "sha256-fYhYqBnwvnfu2GbWUlmMmW/Xon3OE3fh+gGlnQRsCyA="; }; propagatedBuildInputs = [ From a011ccde7d408ba55e677943673b24a2b229892f Mon Sep 17 00:00:00 2001 From: Mrinal Purohit Date: Wed, 11 May 2022 03:06:05 +0530 Subject: [PATCH 23/58] broot: 1.11.1 -> 1.12.0 --- pkgs/tools/misc/broot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index 9160790bce3..73b302809c8 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -15,14 +15,14 @@ rustPlatform.buildRustPackage rec { pname = "broot"; - version = "1.11.1"; + version = "1.12.0"; src = fetchCrate { inherit pname version; - sha256 = "sha256-MbyfdzeBo12/7M1F/J7upBQGB/tv1M4sZ+90i/vcLjs="; + sha256 = "sha256-WCnTmb9EEFmA4nEBD3UzV3JfyHtJyJibMd85madoyto="; }; - cargoHash = "sha256-GDU7tL+NDKk46DYnZajcAoPMZxGCrg/IS4xhSZrB6Cs="; + cargoHash = "sha256-FH+swtzO65fKWFLG3rDOysmbsVSjGFGeMiYtNQU62ww="; nativeBuildInputs = [ installShellFiles From d04a981edbd902a5ff03bfb5a3178f8099142866 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 May 2022 23:48:07 +0200 Subject: [PATCH 24/58] python310Packages.yte: 1.4.0 -> 1.4.0 --- pkgs/development/python-modules/yte/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yte/default.nix b/pkgs/development/python-modules/yte/default.nix index 7457cc14f31..8783e890e76 100644 --- a/pkgs/development/python-modules/yte/default.nix +++ b/pkgs/development/python-modules/yte/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, dpath , fetchFromGitHub , plac , poetry-core @@ -10,7 +11,7 @@ buildPythonPackage rec { pname = "yte"; - version = "1.2.3"; + version = "1.4.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -19,7 +20,7 @@ buildPythonPackage rec { owner = "koesterlab"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-xu88zupT0/kIzTd56IbKYKBM5+EDI1d+QIEq8zOBWWo="; + sha256 = "sha256-G3TjIs/EeCqpNuFdb/WZ7PaPtnUdTvbH41OtRypfptg="; }; nativeBuildInputs = [ @@ -27,6 +28,7 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ + dpath plac pyyaml ]; From 6ffa5ae0dd31b89bf78d7163dca1ce209abf05c3 Mon Sep 17 00:00:00 2001 From: devhell Date: Wed, 11 May 2022 00:47:33 +0100 Subject: [PATCH 25/58] libstrophe: 0.11.0 -> 0.12.0 --- pkgs/development/libraries/libstrophe/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libstrophe/default.nix b/pkgs/development/libraries/libstrophe/default.nix index a98099cfaec..cddc563ccf0 100644 --- a/pkgs/development/libraries/libstrophe/default.nix +++ b/pkgs/development/libraries/libstrophe/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation rec { pname = "libstrophe"; - version = "0.11.0"; + version = "0.12.0"; src = fetchFromGitHub { owner = "strophe"; repo = pname; rev = version; - sha256 = "sha256-xAqBxCYNo2IntnHKXY6CSJ+Yiu01lxQ1Q3gb0ioypSs="; + sha256 = "sha256-YJ8A97ECc3VxdGfhUu0YYijAamnrHCO6kr7TAIan96o="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; From 2758ee448d6c9cc55ecf4e6664f1b203944dbb34 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 May 2022 00:16:43 +0000 Subject: [PATCH 26/58] pur: 6.1.0 -> 7.0.0 --- pkgs/development/tools/pur/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/pur/default.nix b/pkgs/development/tools/pur/default.nix index fc6a46cbc0a..d065b7b1351 100644 --- a/pkgs/development/tools/pur/default.nix +++ b/pkgs/development/tools/pur/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "pur"; - version = "6.1.0"; + version = "7.0.0"; src = fetchFromGitHub { owner = "alanhamlett"; repo = "pip-update-requirements"; - rev = version; - hash = "sha256-EcyDEXDgjicCRThXC+co/PwTjAxkRXVG1++JZtsSjZo="; + rev = "refs/tags/${version}"; + hash = "sha256-JAjz9A9r1H6MJX7MSq7UvQKfULhB9UuPP3tI6Cggx9I="; }; propagatedBuildInputs = [ From 27cae2d5a27d950e16de843c0719acc8d20052c3 Mon Sep 17 00:00:00 2001 From: nixpkgs-upkeep-bot Date: Wed, 11 May 2022 00:23:22 +0000 Subject: [PATCH 27/58] vscode: 1.67.0 -> 1.67.1 --- pkgs/applications/editors/vscode/vscode.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index 3d663c39ec9..1604cc901e4 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -14,17 +14,17 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "0ss7c0dvlgnfqi0snhx73ndzjbw24xz6pcny4v52mrd1kfhcmpvd"; - x86_64-darwin = "0ds5jv5q6k1hzrwhcgkyvx0ls9p1q7zh0fqigpxandx6ysrd7cga"; - aarch64-linux = "12zz02hdhhw19rx9kbi3yd5x81w1vs8vxjrnqqvva8bj0jnwf4iq"; - aarch64-darwin = "07ws2dc2il7ky77j5pxaxqp5cyw0v04jnv98z1494pdmxyn8gf7q"; - armv7l-linux = "0khyzc69rbfz2pnbab9v3as1hdzkzxfg3mxvf6g7ax9npvsrqw92"; + x86_64-linux = "1db5vwcwi3w11zm2b72cvddn5k9yav65rg7ii9wq4a0dym39f8ql"; + x86_64-darwin = "1q5vjisdc0q5vigb1lwq8fkxbaar73jnk4ac0fqlhc4gqacz3cs3"; + aarch64-linux = "01lcvjw9nfgp93ydl16bp91gbkivd23jn8pan220fjvdsgvcbg48"; + aarch64-darwin = "06p6p2c9a3rav9c23pvfn8mmd77wc9z7pavpmkgm1f3wplx48q8q"; + armv7l-linux = "0pzim9r2zzwyim3g6f8ixgqllgz4cijaiw76czi0wmz4dxxdljrw"; }.${system}; in callPackage ./generic.nix rec { # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.67.0"; + version = "1.67.1"; pname = "vscode"; executableName = "code" + lib.optionalString isInsiders "-insiders"; From 0859094cc9ce30b54ea9fb5f15f3bf42b369e328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 11 May 2022 00:23:05 +0000 Subject: [PATCH 28/58] python3Packages.ytmusicapi: 0.21.0 -> 0.22.0 https://github.com/sigma67/ytmusicapi/releases/tag/0.22.0 --- pkgs/development/python-modules/ytmusicapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ytmusicapi/default.nix b/pkgs/development/python-modules/ytmusicapi/default.nix index fdee7ace495..6331438a958 100644 --- a/pkgs/development/python-modules/ytmusicapi/default.nix +++ b/pkgs/development/python-modules/ytmusicapi/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "ytmusicapi"; - version = "0.21.0"; + version = "0.22.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-JstIHc61TFQEgRHr54N4Doq6ML0EcIcDGTEJ/tbrC2A="; + hash = "sha256-CZ4uoW4UHn5C+MckQXysTdydaApn99b0UCnF5RPb7DI="; }; propagatedBuildInputs = [ From 88d28c300cab26a237836eb5a165698a3ec5369a Mon Sep 17 00:00:00 2001 From: devhell Date: Wed, 11 May 2022 02:38:49 +0100 Subject: [PATCH 29/58] termusic: 0.6.10 -> 0.6.15 --- pkgs/applications/audio/termusic/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/termusic/default.nix b/pkgs/applications/audio/termusic/default.nix index 4a0035aadf5..a8889cab697 100644 --- a/pkgs/applications/audio/termusic/default.nix +++ b/pkgs/applications/audio/termusic/default.nix @@ -7,14 +7,14 @@ rustPlatform.buildRustPackage rec { pname = "termusic"; - version = "0.6.10"; + version = "0.6.15"; src = fetchCrate { inherit pname version; - sha256 = "sha256-i+XxEPkLZK+JKDl88P8Nd7XBhsGhEzvUGovJtSWvRtg="; + sha256 = "sha256-e4hCo5a54EPp6/sd1/ivwHePu+e6MqbA9tvPWf41EhQ="; }; - cargoHash = "sha256-7nQzU1VvRDrtltVAXTX268vl9AbQhMOilPG4nNAJ+Xk="; + cargoHash = "sha256-kQjLmASJpo7+LT73vVjbPWhNUGJ1HI6S/8W6gJskJXE="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ alsa-lib ]; From 2cd74fc15402259714eb39bf835772634eab34f3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 May 2022 01:49:43 +0000 Subject: [PATCH 30/58] python310Packages.azure-mgmt-network: 19.3.0 -> 20.0.0 --- .../development/python-modules/azure-mgmt-network/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-network/default.nix b/pkgs/development/python-modules/azure-mgmt-network/default.nix index 6da9e8e2e0b..fa05c6bcdf8 100644 --- a/pkgs/development/python-modules/azure-mgmt-network/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-network/default.nix @@ -9,14 +9,14 @@ }: buildPythonPackage rec { - version = "19.3.0"; + version = "20.0.0"; pname = "azure-mgmt-network"; disabled = !isPy3k; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "0b6a1ccdffd76e057ab16a6c319740a0ca68d59fedf7e9c02f2437396e72aa11"; + sha256 = "sha256-mnjPyCAJ+rlNgZ4umSYjfVVVg83EobZYY/zupyDjdoY="; }; propagatedBuildInputs = [ From 4942d03b9137a6b6e999d2e0ca3b8ee3caa6739a Mon Sep 17 00:00:00 2001 From: lom Date: Tue, 10 May 2022 20:22:46 -0600 Subject: [PATCH 31/58] tmpmail: 1.1.9 -> 1.2.3 --- pkgs/applications/networking/tmpmail/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/tmpmail/default.nix b/pkgs/applications/networking/tmpmail/default.nix index 535f5ce6d9d..d29d5816f44 100644 --- a/pkgs/applications/networking/tmpmail/default.nix +++ b/pkgs/applications/networking/tmpmail/default.nix @@ -1,14 +1,14 @@ -{ lib, fetchFromGitHub, stdenvNoCC, w3m, curl, jq, makeWrapper, installShellFiles }: +{ lib, fetchFromGitHub, stdenvNoCC, w3m, curl, jq, makeWrapper, installShellFiles, xclip }: stdenvNoCC.mkDerivation rec { pname = "tmpmail"; - version = "1.1.9"; + version = "1.2.3"; src = fetchFromGitHub { owner = "sdushantha"; repo = "tmpmail"; rev = "v${version}"; - sha256 = "sha256-sWcsmBUHSfo7sICXyhNhbfRFSHumObnWc7stWxcwVTg="; + sha256 = "sha256-s4c1M4YHK/CNpH7nPt7rRqlkLUZrpBXvAVS/qxCai9c="; }; dontConfigure = true; @@ -21,7 +21,7 @@ stdenvNoCC.mkDerivation rec { mkdir -p $out/bin install -Dm755 -t $out/bin tmpmail installManPage tmpmail.1 - wrapProgram $out/bin/tmpmail --prefix PATH : ${lib.makeBinPath [ w3m curl jq ]} + wrapProgram $out/bin/tmpmail --prefix PATH : ${lib.makeBinPath [ w3m curl jq xclip ]} ''; meta = with lib; { From 960778ef79b9f00f14c4e4af0043cfe5f1134145 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 May 2022 02:48:09 +0000 Subject: [PATCH 32/58] python310Packages.azure-storage-file-share: 12.7.0 -> 12.8.0 --- .../python-modules/azure-storage-file-share/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-file-share/default.nix b/pkgs/development/python-modules/azure-storage-file-share/default.nix index c7c59fd2b9f..a5bb566aa07 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "azure-storage-file-share"; - version = "12.7.0"; + version = "12.8.0"; disabled = !isPy3k; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-kYNugiWNlXEgryKLwrzytca/W+2481RqqUCbdJWrqDI="; + sha256 = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg="; }; propagatedBuildInputs = [ From d547f4682d1f8a01523aaad9e0ccc8488e490d63 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 May 2022 03:37:24 +0000 Subject: [PATCH 33/58] python310Packages.bellows: 0.29.0 -> 0.30.0 --- pkgs/development/python-modules/bellows/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bellows/default.nix b/pkgs/development/python-modules/bellows/default.nix index 33539e371c2..531f05844f5 100644 --- a/pkgs/development/python-modules/bellows/default.nix +++ b/pkgs/development/python-modules/bellows/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "bellows"; - version = "0.29.0"; + version = "0.30.0"; format = "setuptools"; src = fetchFromGitHub { owner = "zigpy"; repo = "bellows"; - rev = version; - sha256 = "sha256-coIrI3C6Wnn8Of/IHAlvZgkcBBf9OBQt5Ir6YOXCf0c="; + rev = "refs/tags/${version}"; + sha256 = "sha256-epsE/VKK6LwMVbkx5PWgAxZ62PO4udCFr3jYi0MrUpI="; }; propagatedBuildInputs = [ From ccf95d84b1924b31ad6f65674bc8c1b44541a33c Mon Sep 17 00:00:00 2001 From: Lin Yinfeng Date: Wed, 11 May 2022 12:24:27 +0800 Subject: [PATCH 34/58] godns: add updateScript --- pkgs/tools/networking/godns/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/godns/default.nix b/pkgs/tools/networking/godns/default.nix index 27ff7a25977..0f962f38363 100644 --- a/pkgs/tools/networking/godns/default.nix +++ b/pkgs/tools/networking/godns/default.nix @@ -1,4 +1,4 @@ -{ buildGoModule, fetchFromGitHub, lib }: +{ buildGoModule, fetchFromGitHub, lib, nix-update-script }: buildGoModule rec { pname = "godns"; @@ -18,6 +18,8 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; + passthru.updateScript = nix-update-script { attrPath = pname; }; + meta = with lib; { description = "A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc"; homepage = "https://github.com/TimothyYe/godns"; From 8d4edd0c4ef0a9bd535dd2a2ed4af2c53ba7df3f Mon Sep 17 00:00:00 2001 From: Lin Yinfeng Date: Wed, 11 May 2022 12:26:43 +0800 Subject: [PATCH 35/58] godns: 2.7.6 -> 2.7.7 --- pkgs/tools/networking/godns/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/godns/default.nix b/pkgs/tools/networking/godns/default.nix index 0f962f38363..1e86d1c2ed0 100644 --- a/pkgs/tools/networking/godns/default.nix +++ b/pkgs/tools/networking/godns/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "godns"; - version = "2.7.6"; + version = "2.7.7"; src = fetchFromGitHub { owner = "TimothyYe"; repo = "godns"; rev = "v${version}"; - sha256 = "sha256-w0hHl7QOpIOINRbCrocZM68b44h+IwkHmXTDnVfT0o0="; + sha256 = "sha256-55A1dxVRIngfS43V+iM1RX2U6eQyPsIAHgyxKGO4yrY="; }; vendorSha256 = "sha256-vhByl9oJjFIvOskAgLubZ5RCcitKd2jjxi8D9nU6850="; From 5be5a8310957371c90a9eb9cd50e721460f2f9f7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 08:33:46 +0200 Subject: [PATCH 36/58] python310Packages.azure-storage-file-share: disable on older Python releases --- .../azure-storage-file-share/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/azure-storage-file-share/default.nix b/pkgs/development/python-modules/azure-storage-file-share/default.nix index a5bb566aa07..754fbae5522 100644 --- a/pkgs/development/python-modules/azure-storage-file-share/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-share/default.nix @@ -1,7 +1,7 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, isPy3k -, lib +, pythonOlder # pythonPackages , azure-core @@ -12,12 +12,14 @@ buildPythonPackage rec { pname = "azure-storage-file-share"; version = "12.8.0"; - disabled = !isPy3k; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg="; + hash = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg="; }; propagatedBuildInputs = [ @@ -28,6 +30,7 @@ buildPythonPackage rec { # requires checkout from monorepo doCheck = false; + pythonImportsCheck = [ "azure.core" "azure.storage" @@ -37,8 +40,6 @@ buildPythonPackage rec { description = "Microsoft Azure File Share Storage Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; - maintainers = with maintainers; [ - kamadorueda - ]; + maintainers = with maintainers; [ kamadorueda ]; }; } From 7d045a76dd810bb0328ed46ba7d770760a44f52e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 08:36:03 +0200 Subject: [PATCH 37/58] python310Packages.azure-mgmt-network: disable on older Python releases --- .../azure-mgmt-network/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-network/default.nix b/pkgs/development/python-modules/azure-mgmt-network/default.nix index fa05c6bcdf8..93cd52c63d1 100644 --- a/pkgs/development/python-modules/azure-mgmt-network/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-network/default.nix @@ -5,18 +5,20 @@ , azure-mgmt-core , msrest , msrestazure -, isPy3k +, pythonOlder }: buildPythonPackage rec { version = "20.0.0"; pname = "azure-mgmt-network"; - disabled = !isPy3k; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-mnjPyCAJ+rlNgZ4umSYjfVVVg83EobZYY/zupyDjdoY="; + hash = "sha256-mnjPyCAJ+rlNgZ4umSYjfVVVg83EobZYY/zupyDjdoY="; }; propagatedBuildInputs = [ @@ -26,12 +28,16 @@ buildPythonPackage rec { msrestazure ]; - # has no tests + # Module has no tests doCheck = false; - pythonNamespaces = [ "azure.mgmt" ]; + pythonNamespaces = [ + "azure.mgmt" + ]; - pythonImportsCheck = [ "azure.mgmt.network" ]; + pythonImportsCheck = [ + "azure.mgmt.network" + ]; meta = with lib; { description = "Microsoft Azure SDK for Python"; From dd6e29f6cbadee6dc8385ef13cd0c71323ca3eb8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 May 2022 06:46:11 +0000 Subject: [PATCH 38/58] python310Packages.fontmath: 0.9.1 -> 0.9.2 --- pkgs/development/python-modules/fontmath/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fontmath/default.nix b/pkgs/development/python-modules/fontmath/default.nix index c0e4bc85773..2d5f90ebb68 100644 --- a/pkgs/development/python-modules/fontmath/default.nix +++ b/pkgs/development/python-modules/fontmath/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "fontMath"; - version = "0.9.1"; + version = "0.9.2"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "1c5e76e135409f49b15809d0ce94dfd00850f893f86d4d6a336808dbbf292700"; + sha256 = "sha256-TIsccR4cv0upPD0IQ5NbBmGXMTEmGvCGCL3hfeEBhAQ="; extension = "zip"; }; From b1de4bf60f955ed59adb2d8878eb0b5d55fb1b4e Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Mon, 9 May 2022 10:30:27 -0700 Subject: [PATCH 39/58] ocamlPackages: add meta.mainProgram to many packages --- pkgs/development/ocaml-modules/biniou/default.nix | 5 +++-- pkgs/development/ocaml-modules/jsonm/default.nix | 1 + pkgs/development/ocaml-modules/omd/default.nix | 1 + pkgs/development/ocaml-modules/piqi-ocaml/default.nix | 3 ++- pkgs/development/ocaml-modules/ppx_bap/default.nix | 3 ++- pkgs/development/ocaml-modules/uuidm/default.nix | 3 ++- pkgs/development/ocaml-modules/uunf/default.nix | 3 ++- pkgs/development/ocaml-modules/uuseg/default.nix | 3 ++- pkgs/development/ocaml-modules/uutf/default.nix | 3 ++- pkgs/development/ocaml-modules/xmlm/default.nix | 5 +++-- pkgs/development/ocaml-modules/yojson/default.nix | 1 + pkgs/development/tools/ocaml/findlib/default.nix | 8 +++----- pkgs/development/tools/ocaml/oasis/default.nix | 7 +++---- 13 files changed, 27 insertions(+), 19 deletions(-) diff --git a/pkgs/development/ocaml-modules/biniou/default.nix b/pkgs/development/ocaml-modules/biniou/default.nix index 75725f13551..ff3b8769935 100644 --- a/pkgs/development/ocaml-modules/biniou/default.nix +++ b/pkgs/development/ocaml-modules/biniou/default.nix @@ -22,9 +22,10 @@ buildDunePackage rec { ''; meta = { - inherit (src.meta) homepage; description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve"; - maintainers = [ lib.maintainers.vbgl ]; + inherit (src.meta) homepage; license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.vbgl ]; + mainProgram = "bdump"; }; } diff --git a/pkgs/development/ocaml-modules/jsonm/default.nix b/pkgs/development/ocaml-modules/jsonm/default.nix index 2b9c9918382..d29b19b3b40 100644 --- a/pkgs/development/ocaml-modules/jsonm/default.nix +++ b/pkgs/development/ocaml-modules/jsonm/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { homepage = "https://erratique.ch/software/jsonm"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ vbgl ]; + mainProgram = "jsontrip"; platforms = ocaml.meta.platforms or []; }; } diff --git a/pkgs/development/ocaml-modules/omd/default.nix b/pkgs/development/ocaml-modules/omd/default.nix index b9797e257ab..cfb743cc982 100644 --- a/pkgs/development/ocaml-modules/omd/default.nix +++ b/pkgs/development/ocaml-modules/omd/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/ocaml/omd"; license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; + mainProgram = "omd"; inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix index 8c0276bc9a7..39869765349 100644 --- a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix +++ b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix @@ -28,9 +28,10 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - homepage = "https://piqi.org"; description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings"; + homepage = "https://piqi.org"; license = licenses.asl20; maintainers = [ maintainers.maurer ]; + mainProgram = "piqic-ocaml"; }; } diff --git a/pkgs/development/ocaml-modules/ppx_bap/default.nix b/pkgs/development/ocaml-modules/ppx_bap/default.nix index f0a223c3db7..b1229643ae6 100644 --- a/pkgs/development/ocaml-modules/ppx_bap/default.nix +++ b/pkgs/development/ocaml-modules/ppx_bap/default.nix @@ -44,8 +44,9 @@ buildDunePackage rec { meta = { description = "The set of ppx rewriters for BAP"; - license = lib.licenses.mit; inherit (src.meta) homepage; + license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; + mainProgram = "ppx-bap"; }; } diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix index 336d66cb0a6..7df1c588dd3 100644 --- a/pkgs/development/ocaml-modules/uuidm/default.nix +++ b/pkgs/development/ocaml-modules/uuidm/default.nix @@ -18,7 +18,8 @@ stdenv.mkDerivation rec { description = "An OCaml module implementing 128 bits universally unique identifiers version 3, 5 (name based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122"; homepage = "https://erratique.ch/software/uuidm"; license = licenses.bsd3; - platforms = ocaml.meta.platforms or []; maintainers = [ maintainers.maurer ]; + mainProgram = "uuidtrip"; + platforms = ocaml.meta.platforms or []; }; } diff --git a/pkgs/development/ocaml-modules/uunf/default.nix b/pkgs/development/ocaml-modules/uunf/default.nix index b61a60c2a37..d69c22db802 100644 --- a/pkgs/development/ocaml-modules/uunf/default.nix +++ b/pkgs/development/ocaml-modules/uunf/default.nix @@ -32,8 +32,9 @@ stdenv.mkDerivation { meta = with lib; { description = "An OCaml module for normalizing Unicode text"; homepage = webpage; - inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "unftrip"; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/uuseg/default.nix b/pkgs/development/ocaml-modules/uuseg/default.nix index 42642d2dc24..9d19de1c3ce 100644 --- a/pkgs/development/ocaml-modules/uuseg/default.nix +++ b/pkgs/development/ocaml-modules/uuseg/default.nix @@ -26,8 +26,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An OCaml library for segmenting Unicode text"; homepage = webpage; - inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "usegtrip"; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/uutf/default.nix b/pkgs/development/ocaml-modules/uutf/default.nix index c76eac45b35..62ac1fc7c1c 100644 --- a/pkgs/development/ocaml-modules/uutf/default.nix +++ b/pkgs/development/ocaml-modules/uutf/default.nix @@ -26,8 +26,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Non-blocking streaming Unicode codec for OCaml"; homepage = "https://erratique.ch/software/uutf"; - inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "utftrip"; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/xmlm/default.nix b/pkgs/development/ocaml-modules/xmlm/default.nix index d989b281cad..34878cb30bb 100644 --- a/pkgs/development/ocaml-modules/xmlm/default.nix +++ b/pkgs/development/ocaml-modules/xmlm/default.nix @@ -27,8 +27,9 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An OCaml streaming codec to decode and encode the XML data format"; homepage = webpage; - platforms = ocaml.meta.platforms or []; - maintainers = [ maintainers.vbgl ]; license = licenses.bsd3; + maintainers = [ maintainers.vbgl ]; + mainProgram = "xmltrip"; + platforms = ocaml.meta.platforms or []; }; } diff --git a/pkgs/development/ocaml-modules/yojson/default.nix b/pkgs/development/ocaml-modules/yojson/default.nix index 2be9ce1b021..03b01c43776 100644 --- a/pkgs/development/ocaml-modules/yojson/default.nix +++ b/pkgs/development/ocaml-modules/yojson/default.nix @@ -18,5 +18,6 @@ buildDunePackage rec { homepage = "https://github.com/ocaml-community/${pname}"; license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; + mainProgram = "ydump"; }; } diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix index 44d9782f3ce..5a9b08e20d0 100644 --- a/pkgs/development/tools/ocaml/findlib/default.nix +++ b/pkgs/development/tools/ocaml/findlib/default.nix @@ -54,14 +54,12 @@ stdenv.mkDerivation rec { ''; meta = { - homepage = "http://projects.camlcity.org/projects/findlib.html"; description = "O'Caml library manager"; + homepage = "http://projects.camlcity.org/projects/findlib.html"; license = lib.licenses.mit; + maintainers = with lib.maintainers; [ maggesi vbmithr ]; + mainProgram = "ocamlfind"; platforms = ocaml.meta.platforms or []; - maintainers = [ - lib.maintainers.maggesi - lib.maintainers.vbmithr - ]; }; } diff --git a/pkgs/development/tools/ocaml/oasis/default.nix b/pkgs/development/tools/ocaml/oasis/default.nix index d35ddbe210b..c550bef7dda 100644 --- a/pkgs/development/tools/ocaml/oasis/default.nix +++ b/pkgs/development/tools/ocaml/oasis/default.nix @@ -39,12 +39,11 @@ stdenv.mkDerivation { ''; meta = with lib; { - homepage = "http://oasis.forge.ocamlcore.org/"; description = "Configure, build and install system for OCaml projects"; + homepage = "http://oasis.forge.ocamlcore.org/"; license = licenses.lgpl21; + maintainers = with maintainers; [ vbgl maggesi ]; + mainProgram = "oasis"; platforms = ocaml.meta.platforms or []; - maintainers = with maintainers; [ - vbgl maggesi - ]; }; } From bca4ad048701d2b0a472c0e0f0e3e24d62ccc9b0 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Tue, 10 May 2022 10:36:58 -0700 Subject: [PATCH 40/58] ocamlPackages: inherit ocaml.meta.platforms --- pkgs/development/ocaml-modules/benchmark/default.nix | 2 +- pkgs/development/ocaml-modules/camlzip/default.nix | 2 +- pkgs/development/ocaml-modules/camomile/0.8.2.nix | 2 +- pkgs/development/ocaml-modules/camomile/0.8.5.nix | 2 +- pkgs/development/ocaml-modules/cmdliner/default.nix | 2 +- pkgs/development/ocaml-modules/cpdf/default.nix | 2 +- pkgs/development/ocaml-modules/cryptgps/default.nix | 2 +- pkgs/development/ocaml-modules/curses/default.nix | 2 +- pkgs/development/ocaml-modules/dypgen/default.nix | 2 +- pkgs/development/ocaml-modules/extlib/default.nix | 2 +- pkgs/development/ocaml-modules/functory/default.nix | 2 +- pkgs/development/ocaml-modules/jsonm/default.nix | 2 +- pkgs/development/ocaml-modules/lablgtk/2.14.0.nix | 2 +- pkgs/development/ocaml-modules/lablgtk/default.nix | 2 +- pkgs/development/ocaml-modules/llvm/default.nix | 2 +- pkgs/development/ocaml-modules/ocaml-cairo/default.nix | 2 +- pkgs/development/ocaml-modules/ocaml-libvirt/default.nix | 2 +- pkgs/development/ocaml-modules/ocamlnat/default.nix | 2 +- pkgs/development/ocaml-modules/ocamlnet/default.nix | 2 +- pkgs/development/ocaml-modules/ocsigen-server/default.nix | 2 +- pkgs/development/ocaml-modules/otfm/default.nix | 2 +- pkgs/development/ocaml-modules/rope/default.nix | 2 +- pkgs/development/ocaml-modules/sawja/default.nix | 2 +- pkgs/development/ocaml-modules/sodium/default.nix | 2 +- pkgs/development/ocaml-modules/syslog/default.nix | 2 +- pkgs/development/ocaml-modules/tsdl/default.nix | 2 +- pkgs/development/ocaml-modules/ulex/default.nix | 2 +- pkgs/development/ocaml-modules/uuidm/default.nix | 2 +- pkgs/development/ocaml-modules/xmlm/default.nix | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/pkgs/development/ocaml-modules/benchmark/default.nix b/pkgs/development/ocaml-modules/benchmark/default.nix index c8016230724..f2a98516c75 100644 --- a/pkgs/development/ocaml-modules/benchmark/default.nix +++ b/pkgs/development/ocaml-modules/benchmark/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://ocaml-benchmark.forge.ocamlcore.org/"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; description = "Benchmark running times of code"; license = lib.licenses.lgpl21; maintainers = with lib.maintainers; [ volth ]; diff --git a/pkgs/development/ocaml-modules/camlzip/default.nix b/pkgs/development/ocaml-modules/camlzip/default.nix index 8124b8d8e43..caf3e7a63f0 100644 --- a/pkgs/development/ocaml-modules/camlzip/default.nix +++ b/pkgs/development/ocaml-modules/camlzip/default.nix @@ -64,7 +64,7 @@ stdenv.mkDerivation { for reading from and writing to compressed files in these formats. ''; license = "LGPL+linking exceptions"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = with maintainers; [ maggesi ]; }; } diff --git a/pkgs/development/ocaml-modules/camomile/0.8.2.nix b/pkgs/development/ocaml-modules/camomile/0.8.2.nix index 43bbfe7b6a6..502e517b2a9 100644 --- a/pkgs/development/ocaml-modules/camomile/0.8.2.nix +++ b/pkgs/development/ocaml-modules/camomile/0.8.2.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { description = "A comprehensive Unicode library for OCaml"; license = lib.licenses.lgpl21; branch = "0.8.2"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.maggesi ]; diff --git a/pkgs/development/ocaml-modules/camomile/0.8.5.nix b/pkgs/development/ocaml-modules/camomile/0.8.5.nix index e6395383698..7726a95cece 100644 --- a/pkgs/development/ocaml-modules/camomile/0.8.5.nix +++ b/pkgs/development/ocaml-modules/camomile/0.8.5.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation { homepage = "https://github.com/yoriyuki/Camomile/tree/master/Camomile"; description = "A comprehensive Unicode library for OCaml"; license = lib.licenses.lgpl21; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.maggesi ]; diff --git a/pkgs/development/ocaml-modules/cmdliner/default.nix b/pkgs/development/ocaml-modules/cmdliner/default.nix index 77970556100..ed96b1b6155 100644 --- a/pkgs/development/ocaml-modules/cmdliner/default.nix +++ b/pkgs/development/ocaml-modules/cmdliner/default.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { homepage = "https://erratique.ch/software/cmdliner"; description = "An OCaml module for the declarative definition of command line interfaces"; license = licenses.bsd3; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ maintainers.vbgl ]; }; } diff --git a/pkgs/development/ocaml-modules/cpdf/default.nix b/pkgs/development/ocaml-modules/cpdf/default.nix index b1694885258..360848881a9 100644 --- a/pkgs/development/ocaml-modules/cpdf/default.nix +++ b/pkgs/development/ocaml-modules/cpdf/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.coherentpdf.com/"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; description = "PDF Command Line Tools"; license = licenses.unfree; maintainers = [ maintainers.vbgl ]; diff --git a/pkgs/development/ocaml-modules/cryptgps/default.nix b/pkgs/development/ocaml-modules/cryptgps/default.nix index aeaa87aaf75..60f64c34054 100644 --- a/pkgs/development/ocaml-modules/cryptgps/default.nix +++ b/pkgs/development/ocaml-modules/cryptgps/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation { itself. ''; license = lib.licenses.mit; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.maggesi ]; diff --git a/pkgs/development/ocaml-modules/curses/default.nix b/pkgs/development/ocaml-modules/curses/default.nix index 824f24ab955..b9006012ae5 100644 --- a/pkgs/development/ocaml-modules/curses/default.nix +++ b/pkgs/development/ocaml-modules/curses/default.nix @@ -32,6 +32,6 @@ stdenv.mkDerivation rec { license = licenses.lgpl21Plus; changelog = "https://github.com/mbacarella/curses/raw/${version}/CHANGES"; maintainers = [ maintainers.volth ]; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/dypgen/default.nix b/pkgs/development/ocaml-modules/dypgen/default.nix index 64017bd65fe..f504e3d7ca4 100644 --- a/pkgs/development/ocaml-modules/dypgen/default.nix +++ b/pkgs/development/ocaml-modules/dypgen/default.nix @@ -33,6 +33,6 @@ stdenv.mkDerivation rec { homepage = "http://dypgen.free.fr"; description = "Dypgen GLR self extensible parser generator"; license = lib.licenses.cecill-b; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/extlib/default.nix b/pkgs/development/ocaml-modules/extlib/default.nix index 7f50548f4b8..7baee7a6032 100644 --- a/pkgs/development/ocaml-modules/extlib/default.nix +++ b/pkgs/development/ocaml-modules/extlib/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/ygrek/ocaml-extlib"; description = "Enhancements to the OCaml Standard Library modules"; license = lib.licenses.lgpl21Only; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.sternenseemann ]; }; } diff --git a/pkgs/development/ocaml-modules/functory/default.nix b/pkgs/development/ocaml-modules/functory/default.nix index a05472366a2..3c56aaf0a0a 100644 --- a/pkgs/development/ocaml-modules/functory/default.nix +++ b/pkgs/development/ocaml-modules/functory/default.nix @@ -34,6 +34,6 @@ stdenv.mkDerivation { description = "A distributed computing library for Objective Caml which facilitates distributed execution of parallelizable computations in a seamless fashion"; license = licenses.lgpl21; maintainers = [ maintainers.vbgl ]; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/jsonm/default.nix b/pkgs/development/ocaml-modules/jsonm/default.nix index d29b19b3b40..f90a252264f 100644 --- a/pkgs/development/ocaml-modules/jsonm/default.nix +++ b/pkgs/development/ocaml-modules/jsonm/default.nix @@ -23,6 +23,6 @@ stdenv.mkDerivation rec { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ vbgl ]; mainProgram = "jsontrip"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix index f37c3b5c6f9..47f48c89be7 100644 --- a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix +++ b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (rec { meta = { branch = "2.14"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.maggesi lib.maintainers.roconnor diff --git a/pkgs/development/ocaml-modules/lablgtk/default.nix b/pkgs/development/ocaml-modules/lablgtk/default.nix index 36ade6979c3..7eb94bc188a 100644 --- a/pkgs/development/ocaml-modules/lablgtk/default.nix +++ b/pkgs/development/ocaml-modules/lablgtk/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation { dontStrip = true; meta = with lib; { - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = with maintainers; [ maggesi roconnor vbgl ]; diff --git a/pkgs/development/ocaml-modules/llvm/default.nix b/pkgs/development/ocaml-modules/llvm/default.nix index c0600df64f2..93824894455 100644 --- a/pkgs/development/ocaml-modules/llvm/default.nix +++ b/pkgs/development/ocaml-modules/llvm/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation { meta = { inherit (libllvm.meta) license homepage; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; description = "OCaml bindings distributed with LLVM"; maintainers = with lib.maintainers; [ vbgl ]; }; diff --git a/pkgs/development/ocaml-modules/ocaml-cairo/default.nix b/pkgs/development/ocaml-modules/ocaml-cairo/default.nix index 6748619d492..f0e70699ad8 100644 --- a/pkgs/development/ocaml-modules/ocaml-cairo/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-cairo/default.nix @@ -43,6 +43,6 @@ stdenv.mkDerivation rec { homepage = "http://cairographics.org/cairo-ocaml"; description = "ocaml bindings for cairo library"; license = lib.licenses.gpl2; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix b/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix index f2336cf88bb..f4a9e55cc12 100644 --- a/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-libvirt/default.nix @@ -32,6 +32,6 @@ stdenv.mkDerivation rec { homepage = "https://libvirt.org/ocaml/"; license = licenses.gpl2; maintainers = [ maintainers.volth ]; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/ocamlnat/default.nix b/pkgs/development/ocaml-modules/ocamlnat/default.nix index 66bd00707ad..0be4e780663 100644 --- a/pkgs/development/ocaml-modules/ocamlnat/default.nix +++ b/pkgs/development/ocaml-modules/ocamlnat/default.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { x86 or x86-64 processors. Support for additional architectures and operating systems is planned, but not yet available. ''; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.maggesi ]; diff --git a/pkgs/development/ocaml-modules/ocamlnet/default.nix b/pkgs/development/ocaml-modules/ocamlnet/default.nix index d435d7a0484..22cd84da1f8 100644 --- a/pkgs/development/ocaml-modules/ocamlnet/default.nix +++ b/pkgs/development/ocaml-modules/ocamlnet/default.nix @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { homepage = "http://projects.camlcity.org/projects/ocamlnet.html"; description = "A library implementing Internet protocols (http, cgi, email, etc.) for OCaml"; license = "Most Ocamlnet modules are released under the zlib/png license. The HTTP server module Nethttpd is, however, under the GPL."; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.maggesi ]; diff --git a/pkgs/development/ocaml-modules/ocsigen-server/default.nix b/pkgs/development/ocaml-modules/ocsigen-server/default.nix index daa64b7e301..704354202d1 100644 --- a/pkgs/development/ocaml-modules/ocsigen-server/default.nix +++ b/pkgs/development/ocaml-modules/ocsigen-server/default.nix @@ -67,7 +67,7 @@ buildDunePackage rec { A full featured Web server. It implements most features of the HTTP protocol, and has a very powerful extension mechanism that make very easy to plug your own OCaml modules for generating pages. ''; license = lib.licenses.lgpl21Only; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.gal_bolle ]; }; diff --git a/pkgs/development/ocaml-modules/otfm/default.nix b/pkgs/development/ocaml-modules/otfm/default.nix index 91d91bdc46f..f6717458791 100644 --- a/pkgs/development/ocaml-modules/otfm/default.nix +++ b/pkgs/development/ocaml-modules/otfm/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation { of them. ''; homepage = webpage; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; license = licenses.bsd3; maintainers = [ maintainers.jirkamarsik ]; }; diff --git a/pkgs/development/ocaml-modules/rope/default.nix b/pkgs/development/ocaml-modules/rope/default.nix index 9ac090a780e..483aefef12d 100644 --- a/pkgs/development/ocaml-modules/rope/default.nix +++ b/pkgs/development/ocaml-modules/rope/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation ({ meta = { homepage = "http://rope.forge.ocamlcore.org/"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; description = ''Ropes ("heavyweight strings") in OCaml''; license = lib.licenses.lgpl21; maintainers = with lib.maintainers; [ volth ]; diff --git a/pkgs/development/ocaml-modules/sawja/default.nix b/pkgs/development/ocaml-modules/sawja/default.nix index eaad7e7f1bb..78d28270035 100644 --- a/pkgs/development/ocaml-modules/sawja/default.nix +++ b/pkgs/development/ocaml-modules/sawja/default.nix @@ -44,6 +44,6 @@ stdenv.mkDerivation { homepage = "http://sawja.inria.fr/"; license = licenses.gpl3Plus; maintainers = [ maintainers.vbgl ]; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/sodium/default.nix b/pkgs/development/ocaml-modules/sodium/default.nix index 040a34ef6f1..74983fef3e7 100644 --- a/pkgs/development/ocaml-modules/sodium/default.nix +++ b/pkgs/development/ocaml-modules/sodium/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/dsheets/ocaml-sodium"; description = "Binding to libsodium 1.0.9+"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ maintainers.rixed ]; }; } diff --git a/pkgs/development/ocaml-modules/syslog/default.nix b/pkgs/development/ocaml-modules/syslog/default.nix index 9614c404c5b..ccec0329638 100644 --- a/pkgs/development/ocaml-modules/syslog/default.nix +++ b/pkgs/development/ocaml-modules/syslog/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/rixed/ocaml-syslog"; description = "Simple wrapper to access the system logger from OCaml"; license = licenses.lgpl21Plus; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ maintainers.rixed ]; }; } diff --git a/pkgs/development/ocaml-modules/tsdl/default.nix b/pkgs/development/ocaml-modules/tsdl/default.nix index 3a1990326df..44cc2076fbb 100644 --- a/pkgs/development/ocaml-modules/tsdl/default.nix +++ b/pkgs/development/ocaml-modules/tsdl/default.nix @@ -37,6 +37,6 @@ stdenv.mkDerivation { homepage = webpage; description = "Thin bindings to the cross-platform SDL library"; license = licenses.isc; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/ulex/default.nix b/pkgs/development/ocaml-modules/ulex/default.nix index d08f2c4c0ae..b871bc403ed 100644 --- a/pkgs/development/ocaml-modules/ulex/default.nix +++ b/pkgs/development/ocaml-modules/ulex/default.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { inherit (src.meta) homepage; description = "A lexer generator for Unicode and OCaml"; license = lib.licenses.mit; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; maintainers = [ lib.maintainers.roconnor ]; }; } diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix index 7df1c588dd3..5e6d71c19ef 100644 --- a/pkgs/development/ocaml-modules/uuidm/default.nix +++ b/pkgs/development/ocaml-modules/uuidm/default.nix @@ -20,6 +20,6 @@ stdenv.mkDerivation rec { license = licenses.bsd3; maintainers = [ maintainers.maurer ]; mainProgram = "uuidtrip"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } diff --git a/pkgs/development/ocaml-modules/xmlm/default.nix b/pkgs/development/ocaml-modules/xmlm/default.nix index 34878cb30bb..9396dd7b914 100644 --- a/pkgs/development/ocaml-modules/xmlm/default.nix +++ b/pkgs/development/ocaml-modules/xmlm/default.nix @@ -30,6 +30,6 @@ stdenv.mkDerivation rec { license = licenses.bsd3; maintainers = [ maintainers.vbgl ]; mainProgram = "xmltrip"; - platforms = ocaml.meta.platforms or []; + inherit (ocaml.meta) platforms; }; } From a4caa41357dd2904516c099e966a859626afc7de Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:20 +0200 Subject: [PATCH 41/58] python310Packages.archinfo: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/archinfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/archinfo/default.nix b/pkgs/development/python-modules/archinfo/default.nix index e6cd183d413..59a2f9ad9c9 100644 --- a/pkgs/development/python-modules/archinfo/default.nix +++ b/pkgs/development/python-modules/archinfo/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "archinfo"; - version = "9.2.2"; + version = "9.2.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-wJEipAlqBsP2tgsRDVDe1ZtiEg1uhpP+1P1VGU7tBBw="; + hash = "sha256-r0cZXyj47HmgFVyQ3POGexeQxBiQ1xx/ptsPMwCRjHY="; }; checkInputs = [ From 165dc4ec042b27c65e9b132d092ea6f2dec0e19d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:24 +0200 Subject: [PATCH 42/58] python310Packages.ailment: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/ailment/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ailment/default.nix b/pkgs/development/python-modules/ailment/default.nix index bc977348a71..498caa2045d 100644 --- a/pkgs/development/python-modules/ailment/default.nix +++ b/pkgs/development/python-modules/ailment/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "ailment"; - version = "9.2.2"; + version = "9.2.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-JJ5wrjXazq0+6f4nccLRYaAgTg0d39REXmPHVchDzaE="; + hash = "sha256-R8AaQj/Rdz8SSN2L8v8ZzIxnPQqdg/SKUB6FV9uYFLs="; }; propagatedBuildInputs = [ From 5db0ce5a2b00dee63a2fcfbaeea9d8e34d26e070 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:32 +0200 Subject: [PATCH 43/58] python310Packages.pyvex: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/pyvex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix index 509da93663d..682bc0d80ac 100644 --- a/pkgs/development/python-modules/pyvex/default.nix +++ b/pkgs/development/python-modules/pyvex/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyvex"; - version = "9.2.2"; + version = "9.2.3"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-jfquDFZylrrtYb3PbDmLDy7wHcvM8H2nIv4dRqRvY2U="; + hash = "sha256-uGZlWDTDczBiNCd4D4y6Umz44G8Zn3Zr8/R7Kn+4aS8="; }; propagatedBuildInputs = [ From c124beb25dd9320bc7d1d365b22b83e8baec8e7b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:36 +0200 Subject: [PATCH 44/58] python310Packages.claripy: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/claripy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/claripy/default.nix b/pkgs/development/python-modules/claripy/default.nix index eafc0c3f427..e37f1ee8dbd 100644 --- a/pkgs/development/python-modules/claripy/default.nix +++ b/pkgs/development/python-modules/claripy/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "claripy"; - version = "9.2.2"; + version = "9.2.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-b07WygCR3IhRgyt7u1ipyyK4MM3TNeLW04WoZJ2eQZk="; + hash = "sha256-O2nkGIQfjGmhrqBPoMI97DsCvOUZix0VcUHwmDyF40Q="; }; propagatedBuildInputs = [ From 0e86c35701c1f61b1b5bdcf48f3478ace062c7f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:40 +0200 Subject: [PATCH 45/58] python310Packages.cle: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/cle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cle/default.nix b/pkgs/development/python-modules/cle/default.nix index cbbb130a6aa..f626e62db0d 100644 --- a/pkgs/development/python-modules/cle/default.nix +++ b/pkgs/development/python-modules/cle/default.nix @@ -15,7 +15,7 @@ let # The binaries are following the argr projects release cycle - version = "9.2.2"; + version = "9.2.3"; # Binary files from https://github.com/angr/binaries (only used for testing and only here) binaries = fetchFromGitHub { @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-vEnhoVxn/p4CNzfHFM1cKaQ3ESsJx5U4+Lz4/LDCtao="; + hash = "sha256-gyWeE4sF9Bmk2CNmXh90xMtXlaz/Agm7wX6sWr0Fyco="; }; propagatedBuildInputs = [ From 8e819d9b789490772298d5ee06ddfac5779c68c6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:44 +0200 Subject: [PATCH 46/58] python310Packages.angr: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/angr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angr/default.nix b/pkgs/development/python-modules/angr/default.nix index a65d681a17b..f8e3ac530f1 100644 --- a/pkgs/development/python-modules/angr/default.nix +++ b/pkgs/development/python-modules/angr/default.nix @@ -46,7 +46,7 @@ in buildPythonPackage rec { pname = "angr"; - version = "9.2.2"; + version = "9.2.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -55,7 +55,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-aniLMNKfEqlVkniS2mSCaeXIOc0EC4zOR59kiGTNUWk="; + hash = "sha256-RcAiPzz2JUlNIGU7+6WCd5JskRYmlMee8wOcOclfb0Q="; }; propagatedBuildInputs = [ From e1fa7d7b2d03b47c83c94dd8d187156f69389127 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 11 May 2022 09:20:48 +0200 Subject: [PATCH 47/58] python310Packages.angrop: 9.2.2 -> 9.2.3 --- pkgs/development/python-modules/angrop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angrop/default.nix b/pkgs/development/python-modules/angrop/default.nix index 47ecddb0447..d46c18f6d17 100644 --- a/pkgs/development/python-modules/angrop/default.nix +++ b/pkgs/development/python-modules/angrop/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "angrop"; - version = "9.2.2"; + version = "9.2.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-LCgY/eOtRulnMeYt96ZYI8vPyyM+jxjlkxTd8Cmnfe0="; + hash = "sha256-bhdn3uomvegpvynR0ts4KdwFapX2xGfuwp4e57Xtcoo="; }; propagatedBuildInputs = [ From 802a8416b6f0b34afd2eec9d6249aa9763b9924d Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 11 May 2022 02:33:57 -0500 Subject: [PATCH 48/58] bowtie: add arm64 patch to build on M1 Macs This does not fix the build on Macs, but it brings the build on M1 Macs to parity with non-M1 Macs. --- pkgs/applications/science/biology/bowtie/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/biology/bowtie/default.nix b/pkgs/applications/science/biology/bowtie/default.nix index 81cdaecf2c1..85c7756dbce 100644 --- a/pkgs/applications/science/biology/bowtie/default.nix +++ b/pkgs/applications/science/biology/bowtie/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, zlib }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib }: stdenv.mkDerivation rec { pname = "bowtie"; @@ -11,6 +11,16 @@ stdenv.mkDerivation rec { sha256 = "sha256-mWItmrTMPst/NnzSpxxTHcBztDqHPCza9yOsZPwp7G4="; }; + patches = [ + # Without this patch, compiling with clang on an M1 Mac fails because + # 'cpuid.h' is included. It only works on x86 and throws an error. + (fetchpatch { + name = "fix_compilation_on_arm64"; + url = "https://github.com/BenLangmead/bowtie/commit/091d72f4cb69ca0713704d38bd7f9b37e6c4ff2d.patch"; + sha256 = "sha256-XBvgICUBnE5HKpJ36IHTDiKjJgLFKETsIaJC46uN+2I="; + }) + ]; + buildInputs = [ zlib ]; installFlags = [ "prefix=$(out)" ]; From aa1f2083a1bf5266ea41a0e22291323e82baf6ee Mon Sep 17 00:00:00 2001 From: Daniel Fullmer Date: Wed, 11 May 2022 00:49:59 -0700 Subject: [PATCH 49/58] python3Packages.weasyprint: disable failing tests Fixes #172421 ZHF #172160 --- pkgs/development/python-modules/weasyprint/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index a1a7470b8b5..548c3ace35a 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -48,6 +48,12 @@ buildPythonPackage rec { pangocairo = "${pango.out}/lib/libpangocairo-1.0${stdenv.hostPlatform.extensions.sharedLibrary}"; harfbuzz = "${harfbuzz.out}/lib/libharfbuzz${stdenv.hostPlatform.extensions.sharedLibrary}"; }) + # Disable tests for new Ghostscript + # Remove when next version is released + (fetchpatch { + url = "https://github.com/Kozea/WeasyPrint/commit/e544398b00d76bc0317ea7e2abe40dc46b380910.patch"; + sha256 = "sha256-oQO3j9Mo1x98WaLPROxsOn0qkeYRJrCx5QWWKoHvabE="; + }) ]; nativeBuildInputs = [ From 81046b393b404714d56d7bef275cdd28f7cfb044 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 11 May 2022 03:17:52 -0500 Subject: [PATCH 50/58] bowtie: fix build on case insensitive file systems Add a patch that removes the current source directory from the include search path during compilation so that #include does not end up picking the VERSION source code file. --- pkgs/applications/science/biology/bowtie/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/science/biology/bowtie/default.nix b/pkgs/applications/science/biology/bowtie/default.nix index 85c7756dbce..ccb797d8a22 100644 --- a/pkgs/applications/science/biology/bowtie/default.nix +++ b/pkgs/applications/science/biology/bowtie/default.nix @@ -19,6 +19,16 @@ stdenv.mkDerivation rec { url = "https://github.com/BenLangmead/bowtie/commit/091d72f4cb69ca0713704d38bd7f9b37e6c4ff2d.patch"; sha256 = "sha256-XBvgICUBnE5HKpJ36IHTDiKjJgLFKETsIaJC46uN+2I="; }) + + # Without this patch, compilation adds the current source directory to the + # include search path, and #include in standard library code can + # end up picking the unrelated VERSION source code file on case-insensitive + # file systems. + (fetchpatch { + name = "fix_include_search_path"; + url = "https://github.com/BenLangmead/bowtie/commit/c208b9db936eab0bc3ffdf0182b4f59a9017a1c4.patch"; + sha256 = "sha256-772EE+oWFWXssSMabPryb0AfIS1tC10mPTRCBm7RrUs="; + }) ]; buildInputs = [ zlib ]; From f35d9453f7a0eee735418c2fabcf0f73130a98a4 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Wed, 11 May 2022 01:30:53 -0700 Subject: [PATCH 51/58] wdomirror: avoid adding a patch A few hours after my previous PR #172441 was merged, one of the upstream contributors responded to my comment that their PR did not adequately address this issue: https://github.com/progandy/wdomirror/pull/7 The PR has not yet merged, but at least now we can reference this commit instead of having a patch in nixpkgs. --- .../wayland/wdomirror/configure-bounds.patch | 15 --------------- pkgs/tools/wayland/wdomirror/default.nix | 12 ++++++------ 2 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 pkgs/tools/wayland/wdomirror/configure-bounds.patch diff --git a/pkgs/tools/wayland/wdomirror/configure-bounds.patch b/pkgs/tools/wayland/wdomirror/configure-bounds.patch deleted file mode 100644 index c42563741df..00000000000 --- a/pkgs/tools/wayland/wdomirror/configure-bounds.patch +++ /dev/null @@ -1,15 +0,0 @@ -From https://github.com/progandy/wdomirror/issues/5#issuecomment-1103265438 - ---- a/main.c -+++ b/main.c -@@ -409,9 +409,12 @@ xdg_toplevel_handle_close(void *data, struct xdg_toplevel *xdg_toplevel) - ctx->quit = true; - } - -+static void xdg_toplevel_handle_configure_bounds(void *data, struct xdg_toplevel *toplevel, int32_t width, int32_t height) {} -+ - static const struct xdg_toplevel_listener xdg_toplevel_listener = { - xdg_toplevel_handle_configure, - xdg_toplevel_handle_close, -+ xdg_toplevel_handle_configure_bounds, - }; diff --git a/pkgs/tools/wayland/wdomirror/default.nix b/pkgs/tools/wayland/wdomirror/default.nix index 67d8a7cf299..5c3b7ddbb72 100644 --- a/pkgs/tools/wayland/wdomirror/default.nix +++ b/pkgs/tools/wayland/wdomirror/default.nix @@ -6,6 +6,7 @@ , pkg-config , wayland , wayland-protocols +, fetchurl }: stdenv.mkDerivation { @@ -24,12 +25,11 @@ stdenv.mkDerivation { buildInputs = [ wayland ]; patches = [ - # A recent change to xdg-shell-client-protocol causes a build - # failure. This was reported upstream as GH #5. User @AlexBMJ - # posted the following two-line fix in that issue, but the - # developer has not yet responded: - # https://github.com/progandy/wdomirror/issues/5#issuecomment-1103265438 - ./configure-bounds.patch + # https://github.com/progandy/wdomirror/pull/7 + (fetchurl { + url = "https://github.com/progandy/wdomirror/commit/142632208e9ea2b4a4ebd784532efdb8cad7b87c.patch"; + hash = "sha256-z6/8q2vOtmlGFbDVG5BVWWbLQT8kBvJXT9/oZkWS9gw="; + }) ]; installPhase = '' From 3f19e35965f92f6635fe49ba18beaf3932049d17 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Wed, 11 May 2022 11:42:16 +0300 Subject: [PATCH 52/58] =?UTF-8?q?gnss-sdr:=200.0.16=20=E2=86=92=200.0.17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/applications/radio/gnss-sdr/default.nix | 9 ++---- .../fix_libcpu_features_install_path.patch | 30 +++++++++---------- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/pkgs/applications/radio/gnss-sdr/default.nix b/pkgs/applications/radio/gnss-sdr/default.nix index f6e834d53fb..6aac0112f96 100644 --- a/pkgs/applications/radio/gnss-sdr/default.nix +++ b/pkgs/applications/radio/gnss-sdr/default.nix @@ -21,13 +21,13 @@ gnuradio.pkgs.mkDerivation rec { pname = "gnss-sdr"; - version = "0.0.16"; + version = "0.0.17"; src = fetchFromGitHub { owner = "gnss-sdr"; repo = "gnss-sdr"; rev = "v${version}"; - sha256 = "sha256-ODe4k6PDGtDX11FrbggEbN3tc4UtATaItUIpCKl4JjM="; + sha256 = "sha256-0aAjkrVAswoRL/KANBSZ5Jq4Y9VwOHZKUKLpXDdKtk8="; }; patches = [ @@ -35,11 +35,6 @@ gnuradio.pkgs.mkDerivation rec { # cpu_features which is bundled in the source. NOTE: Perhaps this patch # should be sent upstream. ./fix_libcpu_features_install_path.patch - # Fixes a compilation issue, should be removed on next release. - (fetchpatch { - url = "https://github.com/gnss-sdr/gnss-sdr/commit/8a42967c854e575f2dd9ee7ca81a2522eebb864b.patch"; - sha256 = "sha256-W8BwC08QVtW0LUj5Q+j28aYG+713s+vQIzsWyrNUs1Q="; - }) ]; nativeBuildInputs = [ diff --git a/pkgs/applications/radio/gnss-sdr/fix_libcpu_features_install_path.patch b/pkgs/applications/radio/gnss-sdr/fix_libcpu_features_install_path.patch index cfeb0bd416b..46925e741a1 100644 --- a/pkgs/applications/radio/gnss-sdr/fix_libcpu_features_install_path.patch +++ b/pkgs/applications/radio/gnss-sdr/fix_libcpu_features_install_path.patch @@ -1,6 +1,6 @@ ---- a/CMakeLists.txt 1970-01-01 08:00:01.000000000 +0800 -+++ b/CMakeLists.txt 2022-02-16 20:41:53.725290020 +0800 -@@ -1214,7 +1214,7 @@ +--- i/CMakeLists.txt ++++ w/CMakeLists.txt +@@ -1210,7 +1210,7 @@ if(NOT VOLKGNSSSDR_FOUND) BINARY_DIR ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS} -DCMAKE_BUILD_TYPE=$<$:None>$<$:Debug>$<$:Release>$<$:RelWithDebInfo>$<$:MinSizeRel>$<$:NoOptWithASM>$<$:Coverage>$<$:O2WithASM>$<$:O3WithASM>$<$:ASAN> @@ -9,16 +9,16 @@ DOWNLOAD_COMMAND "" UPDATE_COMMAND "" PATCH_COMMAND "" -@@ -1247,7 +1247,7 @@ - ) - set(VOLK_GNSSSDR_BUILD_BYPRODUCTS - ${VOLK_GNSSSDR_BUILD_BYPRODUCTS} -- ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/${CMAKE_INSTALL_LIBDIR}/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} -+ ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/lib/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} - ) +@@ -1248,7 +1248,7 @@ if(NOT VOLKGNSSSDR_FOUND) + ) + set(VOLK_GNSSSDR_BUILD_BYPRODUCTS + ${VOLK_GNSSSDR_BUILD_BYPRODUCTS} +- ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/${CMAKE_INSTALL_LIBDIR}/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} ++ ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/lib/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} + ) + endif() endif() - ExternalProject_Add(volk_gnsssdr_module -@@ -1256,7 +1256,7 @@ +@@ -1261,7 +1261,7 @@ if(NOT VOLKGNSSSDR_FOUND) BINARY_DIR ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS} -DCMAKE_BUILD_TYPE=$<$:None>$<$:Debug>$<$:Release>$<$:RelWithDebInfo>$<$:MinSizeRel>$<$:NoOptWithASM>$<$:Coverage>$<$:O2WithASM>$<$:O3WithASM>$<$:ASAN> @@ -27,7 +27,7 @@ DOWNLOAD_COMMAND "" UPDATE_COMMAND "" PATCH_COMMAND "" -@@ -1271,7 +1271,7 @@ +@@ -1280,7 +1280,7 @@ if(NOT VOLKGNSSSDR_FOUND) BINARY_DIR ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/build CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS} -DCMAKE_BUILD_TYPE=$<$:None>$<$:Debug>$<$:Release>$<$:RelWithDebInfo>$<$:MinSizeRel>$<$:NoOptWithASM>$<$:Coverage>$<$:O2WithASM>$<$:O3WithASM>$<$:ASAN> @@ -36,9 +36,9 @@ DOWNLOAD_COMMAND "" UPDATE_COMMAND "" PATCH_COMMAND "" -@@ -1310,7 +1310,7 @@ +@@ -1319,7 +1319,7 @@ if(NOT VOLKGNSSSDR_FOUND) if(CMAKE_VERSION VERSION_GREATER 3.0 AND SUPPORTED_CPU_FEATURES_ARCH) - if(NOT CpuFeatures_FOUND) + if(NOT CPUFEATURES_FOUND AND ENABLE_CPUFEATURES) set_target_properties(Volkgnsssdr::volkgnsssdr PROPERTIES - INTERFACE_LINK_LIBRARIES ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/${CMAKE_INSTALL_LIBDIR}/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} + INTERFACE_LINK_LIBRARIES ${CMAKE_BINARY_DIR}/volk_gnsssdr_module/install/lib/${CMAKE_FIND_LIBRARY_PREFIXES}cpu_features${CMAKE_STATIC_LIBRARY_SUFFIX} From 433f7fd23378bb5e40f945f2efc18bb489085b5e Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 11 May 2022 11:29:21 +0200 Subject: [PATCH 53/58] pe-parse: fix the build ZHF: #172160 --- pkgs/development/libraries/pe-parse/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/pe-parse/default.nix b/pkgs/development/libraries/pe-parse/default.nix index b2a555bd263..c8689d15e24 100644 --- a/pkgs/development/libraries/pe-parse/default.nix +++ b/pkgs/development/libraries/pe-parse/default.nix @@ -13,6 +13,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + # See https://github.com/trailofbits/pe-parse/issues/169 + NIX_CFLAGS_COMPILE = "-Wno-sign-conversion"; + doInstallCheck = true; installCheckPhase = '' $out/bin/dump-pe ../tests/assets/example.exe From d77b0fc315bc11fda969a88706ed2da304948b2d Mon Sep 17 00:00:00 2001 From: marius david Date: Wed, 11 May 2022 11:33:18 +0200 Subject: [PATCH 54/58] azimuth: fix compilation --- pkgs/games/azimuth/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/games/azimuth/default.nix b/pkgs/games/azimuth/default.nix index dcc67533fac..301fa231122 100644 --- a/pkgs/games/azimuth/default.nix +++ b/pkgs/games/azimuth/default.nix @@ -14,8 +14,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which ]; buildInputs = [ SDL ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ]; + preConfigure = '' - cat Makefile substituteInPlace data/azimuth.desktop \ --replace Exec=azimuth "Exec=$out/bin/azimuth" \ --replace "Version=%AZ_VERSION_NUMBER" "Version=${version}" From dc2c00a9af91d8886e9b950836e93025a5e14c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 11 May 2022 11:44:10 +0200 Subject: [PATCH 55/58] libxslt: update homepage --- pkgs/development/libraries/libxslt/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix index ac4dd749233..a8ed68b088b 100644 --- a/pkgs/development/libraries/libxslt/default.nix +++ b/pkgs/development/libraries/libxslt/default.nix @@ -76,7 +76,7 @@ stdenv.mkDerivation rec { }; meta = with lib; { - homepage = "http://xmlsoft.org/XSLT/"; + homepage = "https://gitlab.gnome.org/GNOME/libxslt"; description = "A C library and tools to do XSL transformations"; license = licenses.mit; platforms = platforms.all; From a722d04617fc670306cbe931240ee04afea11205 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 11 May 2022 11:46:21 +0200 Subject: [PATCH 56/58] mini-httpd: fix the build Moved back to C++14 where dynamic exception specifications are deprecated but still present. ZHF: #172160 --- pkgs/servers/http/mini-httpd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/http/mini-httpd/default.nix b/pkgs/servers/http/mini-httpd/default.nix index 81a8228b027..258eacf768c 100644 --- a/pkgs/servers/http/mini-httpd/default.nix +++ b/pkgs/servers/http/mini-httpd/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; + meta = { homepage = "http://mini-httpd.nongnu.org/"; description = "minimalistic high-performance web server"; From 8fc305d584e42e567c5f8550d17773ac734edf84 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Fri, 11 Feb 2022 15:01:41 +0100 Subject: [PATCH 57/58] vimPlugins.stylish-nvim: init at 2022-02-11 --- pkgs/applications/editors/vim/plugins/generated.nix | 12 ++++++++++++ pkgs/applications/editors/vim/plugins/overrides.nix | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index dcbadc30a25..d01b240e347 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -6326,6 +6326,18 @@ final: prev: meta.homepage = "https://github.com/darfink/starsearch.vim/"; }; + stylish-nvim = buildVimPluginFrom2Nix { + pname = "stylish.nvim"; + version = "2022-02-11"; + src = fetchFromGitHub { + owner = "teto"; + repo = "stylish.nvim"; + rev = "ea745ebf446410ef3d75f9890b2e7fd59be42e19"; + sha256 = "1kl2g32ls4s7kpr6395rdmsa7gdzkpfiypphmnxg8n75n0b0mwb3"; + }; + meta.homepage = "https://github.com/teto/stylish.nvim/"; + }; + suda-vim = buildVimPluginFrom2Nix { pname = "suda.vim"; version = "2022-02-10"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index e294ea0b5a2..bbdd19f22f1 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -41,6 +41,8 @@ , ycmd , zoxide , nodejs +, xdotool +, xorg # test dependencies , neovim-unwrapped @@ -606,6 +608,14 @@ self: super: { ''; }; + stylish-nvim = super.stylish-nvim.overrideAttrs (old: { + postPatch = '' + substituteInPlace lua/stylish/common/mouse_hover_handler.lua --replace xdotool ${xdotool}/bin/xdotool + substituteInPlace lua/stylish/components/menu.lua --replace xdotool ${xdotool}/bin/xdotool + substituteInPlace lua/stylish/components/menu.lua --replace xwininfo ${xorg.xwininfo}/bin/xwininfo + ''; + }); + sved = let # we put the script in its own derivation to benefit the magic of wrapGAppsHook From c5dbc6d16165577428f03a50fad798088c5a7c58 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 11 May 2022 13:39:59 +0200 Subject: [PATCH 58/58] =?UTF-8?q?pypiserver:=201.4.2=20->=201.5.0,=20add?= =?UTF-8?q?=20SuperSandro2000=20as=20maintainer,=20add=20to=E2=80=A6=20(#1?= =?UTF-8?q?72417)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: austinbutler --- .../python-modules/pypiserver/default.nix | 36 ++++++++++++++----- pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pypiserver/default.nix b/pkgs/development/python-modules/pypiserver/default.nix index d1c6fee942c..ae7a98cfbe8 100644 --- a/pkgs/development/python-modules/pypiserver/default.nix +++ b/pkgs/development/python-modules/pypiserver/default.nix @@ -1,15 +1,23 @@ -{ buildPythonPackage, fetchFromGitHub, lib, passlib, pytestCheckHook, setuptools -, setuptools-git, twine, webtest }: +{ buildPythonPackage +, fetchFromGitHub +, lib +, passlib +, pytestCheckHook +, setuptools +, setuptools-git +, twine +, webtest +}: buildPythonPackage rec { pname = "pypiserver"; - version = "1.4.2"; + version = "1.5.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "1z5rsmqgin98m6ihy1ww42fxxr6jb4hzldn8vlc9ssv7sawdz8vz"; + sha256 = "sha256-BK5vQsaWIMOnUqyeofAWJC1nQJPsTvmzl9i2893JCDI="; }; nativeBuildInputs = [ setuptools-git ]; @@ -20,13 +28,23 @@ buildPythonPackage rec { export HOME=$TMPDIR ''; - checkInputs = [ passlib pytestCheckHook twine webtest ]; + checkInputs = [ + passlib + pytestCheckHook + twine + webtest + ]; - # These tests try to use the network disabledTests = [ - "test_pipInstall_openOk" - "test_pipInstall_authedOk" + # fails to install the package "test_hash_algos" + "test_pip_install_authed_succeeds" + "test_pip_install_open_succeeds" + ]; + + disabledTestPaths = [ + # requires docker service running + "docker/test_docker.py" ]; pythonImportsCheck = [ "pypiserver" ]; @@ -35,6 +53,6 @@ buildPythonPackage rec { homepage = "https://github.com/pypiserver/pypiserver"; description = "Minimal PyPI server for use with pip/easy_install"; license = with licenses; [ mit zlib ]; - maintainers = [ maintainers.austinbutler ]; + maintainers = with maintainers; [ austinbutler SuperSandro2000 ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4cc1acb82de..369f864df22 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22450,6 +22450,8 @@ with pkgs; pypolicyd-spf = python3.pkgs.callPackage ../servers/mail/pypolicyd-spf { }; + pypiserver = with python3Packages; toPythonApplication pypiserver; + qpid-cpp = callPackage ../servers/amqp/qpid-cpp { }; qremotecontrol-server = callPackage ../servers/misc/qremotecontrol-server { };