From 02c2eda2636e487d20e2a2c34b3744697d2f8263 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 25 Jul 2022 05:16:22 +0000 Subject: [PATCH 01/39] manim: 0.16.0 -> 0.16.0.post0 --- pkgs/applications/video/manim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/manim/default.nix b/pkgs/applications/video/manim/default.nix index 67a406d134e9..62a17d9c1dc8 100644 --- a/pkgs/applications/video/manim/default.nix +++ b/pkgs/applications/video/manim/default.nix @@ -45,14 +45,14 @@ let in python3.pkgs.buildPythonApplication rec { pname = "manim"; format = "pyproject"; - version = "0.16.0"; + version = "0.16.0.post0"; disabled = python3.pythonOlder "3.8"; src = fetchFromGitHub { owner = "ManimCommunity"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-NQI+kJV0Mu2O/DlwwLYQw2jjJk/TmR7avBX9Fe7zmdk="; + sha256 = "sha256-iXiPnI6lTP51P1X3iLp75ArRP66o8WAANBLoStPrz4M="; }; nativeBuildInputs = [ From acc7dd7cd946221e032769eb9bdd5fb25fcccfe4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 31 Jul 2022 05:32:57 +0000 Subject: [PATCH 02/39] python310Packages.cloup: 0.15.1 -> 1.0.0 --- pkgs/development/python-modules/cloup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cloup/default.nix b/pkgs/development/python-modules/cloup/default.nix index c4b4de4832ab..aa1ce4c3603f 100644 --- a/pkgs/development/python-modules/cloup/default.nix +++ b/pkgs/development/python-modules/cloup/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "cloup"; - version = "0.15.1"; + version = "1.0.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-gAi0gKd9ihEseHAvZGda299Z+tw545HzuovKycTUzYY="; + sha256 = "sha256-/DR3evRK1d7Kz9dCp4RzeAD5opsYPZF0ox0HqR9u710="; }; nativeBuildInputs = [ From 2dc141182b5388c57846cfb220665f02caf5622d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 21:13:34 +0000 Subject: [PATCH 03/39] ryzenadj: 0.10.0 -> 0.11.1 --- pkgs/os-specific/linux/ryzenadj/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/ryzenadj/default.nix b/pkgs/os-specific/linux/ryzenadj/default.nix index c7d9c1f8fb96..b533643752ae 100644 --- a/pkgs/os-specific/linux/ryzenadj/default.nix +++ b/pkgs/os-specific/linux/ryzenadj/default.nix @@ -1,13 +1,13 @@ { lib, stdenv, fetchFromGitHub, pciutils, cmake }: stdenv.mkDerivation rec { pname = "ryzenadj"; - version = "0.10.0"; + version = "0.11.1"; src = fetchFromGitHub { owner = "FlyGoat"; repo = "RyzenAdj"; rev = "v${version}"; - sha256 = "sha256-SEM+HN5ecxp64jZTOouWuFO1HICtc6M+GitnS+bdfb4="; + sha256 = "sha256-tfki+7W2RbqzEHG/Ibton/V5koT89emdQ7aX8WDUzdI="; }; nativeBuildInputs = [ pciutils cmake ]; From 7cb13910efd7f2d613c89a7c480b042d47d2f688 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Aug 2022 21:16:33 +0000 Subject: [PATCH 04/39] s3-credentials: 0.12.1 -> 0.13 --- pkgs/development/python-modules/s3-credentials/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/s3-credentials/default.nix b/pkgs/development/python-modules/s3-credentials/default.nix index 13431569d505..2b7be9ba3f7b 100644 --- a/pkgs/development/python-modules/s3-credentials/default.nix +++ b/pkgs/development/python-modules/s3-credentials/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "s3-credentials"; - version = "0.12.1"; + version = "0.13"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "simonw"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-w0pwQidSAh/CQPVbv4UocbbETyyOT/rcNFE1ixYz4lY="; + hash = "sha256-kzu+ySeAi+nRIJSBSJUQzNHD7KVANlWoi0OWKXkc0/8="; }; propagatedBuildInputs = [ From e15d874463adba4f953f5ebe3f8c7c00579e4a60 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Aug 2022 03:07:17 +0000 Subject: [PATCH 05/39] tesseract5: 5.1.0 -> 5.2.0 --- pkgs/applications/graphics/tesseract/tesseract5.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/tesseract/tesseract5.nix b/pkgs/applications/graphics/tesseract/tesseract5.nix index dd4d6cb2791d..a9776d48d0a9 100644 --- a/pkgs/applications/graphics/tesseract/tesseract5.nix +++ b/pkgs/applications/graphics/tesseract/tesseract5.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "tesseract"; - version = "5.1.0"; + version = "5.2.0"; src = fetchFromGitHub { owner = "tesseract-ocr"; repo = "tesseract"; rev = version; - sha256 = "sha256-B1x3wxr9Sn2rsG8AHncPTEErhDo7YtpDRxfW9ZOPWoU="; + sha256 = "sha256-SvnV6sY+66ozOvgznTE6Gd/GFx/NfugpkpgeANMoUTU="; }; enableParallelBuilding = true; From c0ce2f3070210e38d1883f250584eb4f70462d86 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Aug 2022 21:53:22 +0000 Subject: [PATCH 06/39] wxGTK31-gtk2: 3.1.5 -> 3.2.0 --- pkgs/development/libraries/wxwidgets/wxGTK31.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/wxwidgets/wxGTK31.nix b/pkgs/development/libraries/wxwidgets/wxGTK31.nix index 5bce6250c74f..a3c89113c9d3 100644 --- a/pkgs/development/libraries/wxwidgets/wxGTK31.nix +++ b/pkgs/development/libraries/wxwidgets/wxGTK31.nix @@ -39,13 +39,13 @@ let in stdenv.mkDerivation rec { pname = "wxwidgets"; - version = "3.1.5"; + version = "3.2.0"; src = fetchFromGitHub { owner = "wxWidgets"; repo = "wxWidgets"; rev = "v${version}"; - hash = "sha256-2zMvcva0GUDmSYK0Wk3/2Y6R3F7MgdqGBrOhmWgVA6g="; + hash = "sha256-8rOnIyNADQsZBmiofrxRc52WWNFH5u39gH/1FKKF4ZQ="; fetchSubmodules = true; }; From 7e4e39d9d7be05d6a2273b89afbe4d17566b66b4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 16 Aug 2022 13:33:43 +0000 Subject: [PATCH 07/39] intel-media-sdk: 22.5.1 -> 22.5.2 --- pkgs/development/libraries/intel-media-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/intel-media-sdk/default.nix b/pkgs/development/libraries/intel-media-sdk/default.nix index a8591f40ee98..5ec0eabf1fcd 100644 --- a/pkgs/development/libraries/intel-media-sdk/default.nix +++ b/pkgs/development/libraries/intel-media-sdk/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "intel-media-sdk"; - version = "22.5.1"; + version = "22.5.2"; src = fetchFromGitHub { owner = "Intel-Media-SDK"; repo = "MediaSDK"; rev = "intel-mediasdk-${version}"; - sha256 = "sha256-HTCqJG//byTTlTRdE8IyFGuUaLiNVDfl9swbH6d5gCk="; + sha256 = "sha256-HBG1JsTwAbl7p42Crmx82M7VnIaLk0oBXc4SJoIdEIs="; }; nativeBuildInputs = [ cmake pkg-config ]; From 584ec678389a6538dad94e7f74a72e278619a2a1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 Aug 2022 08:55:40 +0000 Subject: [PATCH 08/39] consul-template: 0.29.0 -> 0.29.2 --- pkgs/tools/system/consul-template/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/consul-template/default.nix b/pkgs/tools/system/consul-template/default.nix index c265cf028bc8..28d7158d08ff 100644 --- a/pkgs/tools/system/consul-template/default.nix +++ b/pkgs/tools/system/consul-template/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "consul-template"; - version = "0.29.0"; + version = "0.29.2"; src = fetchFromGitHub { owner = "hashicorp"; repo = "consul-template"; rev = "v${version}"; - sha256 = "sha256-HxzniR4z3YzvFww3KqhtelaqMQJBsSw83pfz+jHxvKQ="; + sha256 = "sha256-wvnOKbxS1j+MhmOs9INPusA1whLDo1sLGNxmzBQWPWc="; }; - vendorSha256 = "sha256-wRNfxJVX45dfIBZ0sy48qbPkAsD0CIB1PDTiGs8Fjhs="; + vendorSha256 = "sha256-uR1hzP17hFo9DUNCeKcwepZSxJJoV8WBsX9l+1CR4Ek="; # consul-template tests depend on vault and consul services running to # execute tests so we skip them here From 3c3e5cfcbfbb16cbb560e365d150a9e154c27249 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Aug 2022 17:32:15 +0000 Subject: [PATCH 09/39] rekor-cli: 0.10.0 -> 0.11.0 --- pkgs/tools/security/rekor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/rekor/default.nix b/pkgs/tools/security/rekor/default.nix index 0343c389e5f3..44b47dc6568b 100644 --- a/pkgs/tools/security/rekor/default.nix +++ b/pkgs/tools/security/rekor/default.nix @@ -4,13 +4,13 @@ let generic = { pname, packageToBuild, description }: buildGoModule rec { inherit pname; - version = "0.10.0"; + version = "0.11.0"; src = fetchFromGitHub { owner = "sigstore"; repo = "rekor"; rev = "v${version}"; - sha256 = "sha256-jwV6qPItuNrXl3rknY2RVIw3f3VwyiEefomnvGKiluI="; + sha256 = "sha256-55socfx7qTQ3F5JcDgPTHQP+96X7lwFJ8IIz52hFxow="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -23,7 +23,7 @@ let ''; }; - vendorSha256 = "sha256-qT1vY+YLmehQYS+jiCEx7vOJACIGPcl7VNfUEMc8w0U="; + vendorSha256 = "sha256-A3fG756BoUSJwxyGdfpJlbb+nVQgzo39mjT+QD4knlk="; nativeBuildInputs = [ installShellFiles ]; From fcb99b4efa646f42d2a20698db11f5fe90944d6d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Aug 2022 19:37:20 +0000 Subject: [PATCH 10/39] python310Packages.sqlite-fts4: 1.0.1 -> 1.0.3 --- pkgs/development/python-modules/sqlite-fts4/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sqlite-fts4/default.nix b/pkgs/development/python-modules/sqlite-fts4/default.nix index 4342eb6e206a..0498a207e9df 100644 --- a/pkgs/development/python-modules/sqlite-fts4/default.nix +++ b/pkgs/development/python-modules/sqlite-fts4/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "sqlite-fts4"; - version = "1.0.1"; + version = "1.0.3"; disabled = !isPy3k; src = fetchFromGitHub { owner = "simonw"; repo = pname; - rev = version; - sha256 = "15r1mijk306fpm61viry5wjhqyxlbqqdk4nfcd901qarx7vqypgy"; + rev = "refs/tags/${version}"; + sha256 = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU="; }; checkInputs = [ From c9aaee902c9e48b2ab07738e9eb783abc7fee63d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Aug 2022 16:05:58 +0200 Subject: [PATCH 11/39] python310Packages.sqlite-fts4: add pythonImportsCheck - update disabled --- .../python-modules/sqlite-fts4/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sqlite-fts4/default.nix b/pkgs/development/python-modules/sqlite-fts4/default.nix index 0498a207e9df..748587ed5ad0 100644 --- a/pkgs/development/python-modules/sqlite-fts4/default.nix +++ b/pkgs/development/python-modules/sqlite-fts4/default.nix @@ -1,31 +1,36 @@ { lib , buildPythonPackage , fetchFromGitHub -, isPy3k , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "sqlite-fts4"; version = "1.0.3"; - disabled = !isPy3k; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "simonw"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU="; + hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU="; }; checkInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ + "sqlite_fts4" + ]; + meta = with lib; { description = "Custom Python functions for working with SQLite FTS4"; homepage = "https://github.com/simonw/sqlite-fts4"; license = licenses.asl20; maintainers = with maintainers; [ meatcar ]; }; - } From 950a497439aa8776a4ff56f1f18b0e3a2adfb9a5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Aug 2022 02:09:57 +0000 Subject: [PATCH 12/39] python310Packages.pywlroots: 0.15.19 -> 0.15.20 --- pkgs/development/python-modules/pywlroots/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pywlroots/default.nix b/pkgs/development/python-modules/pywlroots/default.nix index ec9b925982eb..60ff8dec451c 100644 --- a/pkgs/development/python-modules/pywlroots/default.nix +++ b/pkgs/development/python-modules/pywlroots/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "pywlroots"; - version = "0.15.19"; + version = "0.15.20"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Ch8ddN9J8STw3qjAwP9sAta5YBgEg/2wSYgDyWEAXhU="; + sha256 = "sha256-hHZzMK7ge2Hs7tzHo4LV3rumEoEoL2OODRQRM60Vlz0="; }; nativeBuildInputs = [ pkg-config ]; From ba0632d2480d83245afbc258d0d7a484730567e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 22 Aug 2022 14:12:40 +0200 Subject: [PATCH 13/39] pgpool: remove broken libmemcached, update download URL libmemcache support is broken since 2015 https://github.com/NixOS/nixpkgs/commit/9308b8e1216186053e1a5a94ee1b462f39de4a6b --- pkgs/servers/sql/pgpool/default.nix | 22 ++++++++++++++++------ pkgs/top-level/all-packages.nix | 5 +---- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/sql/pgpool/default.nix b/pkgs/servers/sql/pgpool/default.nix index 16502571375a..436217f2e63e 100644 --- a/pkgs/servers/sql/pgpool/default.nix +++ b/pkgs/servers/sql/pgpool/default.nix @@ -1,23 +1,32 @@ -{ lib, stdenv, fetchurl, postgresql, openssl, pam ? null, libmemcached ? null }: +{ lib +, stdenv +, fetchurl +, postgresql +, openssl +, withPam ? stdenv.isLinux +, pam +}: stdenv.mkDerivation rec { pname = "pgpool-II"; version = "4.3.3"; src = fetchurl { - name = "${pname}-${version}.tar.gz"; - url = "http://www.pgpool.net/download.php?f=${pname}-${version}.tar.gz"; + url = "https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-${version}.tar.gz"; + name = "pgpool-II-${version}.tar.gz"; sha256 = "sha256-bHNDS67lgThqlVX+WWKL9GeCD31b2+M0F2g5mgOCyXk="; }; - buildInputs = [ postgresql openssl pam libmemcached ]; + buildInputs = [ + postgresql + openssl + ] ++ lib.optional withPam pam; configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" "--with-openssl" - ] ++ lib.optional (pam != null) "--with-pam" - ++ lib.optional (libmemcached != null) "--with-memcached=${libmemcached}"; + ] ++ lib.optional withPam "--with-pam"; installFlags = [ "sysconfdir=\${out}/etc" @@ -30,5 +39,6 @@ stdenv.mkDerivation rec { description = "A middleware that works between postgresql servers and postgresql clients"; license = licenses.free; platforms = platforms.unix; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 99ca3ec35085..c6ce626d14ca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23160,10 +23160,7 @@ with pkgs; pgbouncer = callPackage ../servers/sql/pgbouncer { }; - pgpool = callPackage ../servers/sql/pgpool { - pam = if stdenv.isLinux then pam else null; - libmemcached = null; # Detection is broken upstream - }; + pgpool = callPackage ../servers/sql/pgpool { }; tang = callPackage ../servers/tang { asciidoc = asciidoc-full; From e8a34a3cbfbd0d359bc74b7c3c2eb6f966356a2f Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 23 Aug 2022 09:35:30 -0400 Subject: [PATCH 14/39] add maintainer: oberblastmeister --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6e677fe04b7d..a4b2f6466719 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9686,6 +9686,12 @@ githubId = 3359345; name = "obadz"; }; + oberblastmeister = { + email = "littlebubu.shu@gmail.com"; + github = "oberblastmeister"; + githubId = 61095988; + name = "Brian Shu"; + }; obsidian-systems-maintenance = { name = "Obsidian Systems Maintenance"; email = "maintainer@obsidian.systems"; From 6606e3daddb3b2e2ce73a8b64fd50ed49cfc3c1e Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 23 Aug 2022 09:39:30 -0400 Subject: [PATCH 15/39] trashy: init at 1.0.3 --- pkgs/tools/misc/trashy/default.nix | 31 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/misc/trashy/default.nix diff --git a/pkgs/tools/misc/trashy/default.nix b/pkgs/tools/misc/trashy/default.nix new file mode 100644 index 000000000000..7d3b3952a7ca --- /dev/null +++ b/pkgs/tools/misc/trashy/default.nix @@ -0,0 +1,31 @@ +{ lib, fetchFromGitHub, rustPlatform, installShellFiles }: + +rustPlatform.buildRustPackage rec { + pname = "trashy"; + version = "1.0.3"; + + src = fetchFromGitHub { + owner = "oberblastmeister"; + repo = "trashy"; + rev = "v${version}"; + sha256 = "sha256-b50Q7knJzXKDfM1kw6wLvXunhgOXVs+zYvZx/NYqMdk="; + }; + + cargoSha256 = "sha256-2hNNLXuAHd1bquhHimniqryTVMfBmPAOossggICScqQ="; + + nativeBuildInputs = [ installShellFiles ]; + + preFixup = '' + installShellCompletion --cmd trash \ + --bash <($out/bin/trash completions bash) \ + --fish <($out/bin/trash completions fish) \ + --zsh <($out/bin/trash completions zsh) \ + ''; + + meta = with lib; { + description = "A simple, fast, and featureful alternative to rm and trash-cli."; + homepage = "https://github.com/oberblastmeister/trashy"; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = with maintainers; [ oberblastmeister ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d7e51dae0ca1..289cbb688fd5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11574,6 +11574,8 @@ with pkgs; trash-cli = callPackage ../tools/misc/trash-cli { }; + trashy = callPackage ../tools/misc/trashy { }; + trenchbroom = libsForQt5.callPackage ../applications/misc/trenchbroom { inherit (xorg) libXxf86vm; }; From 46af51f647219b33d1295ebf4c0a6972c3f27d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Ho=C5=82ubowicz?= Date: Tue, 23 Aug 2022 22:14:38 +0200 Subject: [PATCH 16/39] tidal-hifi: 4.1.0 -> 4.1.1 --- pkgs/applications/audio/tidal-hifi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/tidal-hifi/default.nix b/pkgs/applications/audio/tidal-hifi/default.nix index 1af5357cf0eb..b9336105b240 100644 --- a/pkgs/applications/audio/tidal-hifi/default.nix +++ b/pkgs/applications/audio/tidal-hifi/default.nix @@ -36,11 +36,11 @@ stdenv.mkDerivation rec { pname = "tidal-hifi"; - version = "4.1.0"; + version = "4.1.1"; src = fetchurl { url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb"; - sha256 = "1lvdym7wcg9042an03zxvckq6kmcd5v5snp2ma54f4knj9kmzwyf"; + sha256 = "1l8axsf9d7a370fs96j16bnsi8fcdgwq036yxc4r4ykpnnskf1ds"; }; nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ]; From a653fb25ce074c151b6dd08d147d7c04b01cfe83 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 23 Aug 2022 22:28:39 +0000 Subject: [PATCH 17/39] python310Packages.hepunits: 2.2.0 -> 2.2.1 --- pkgs/development/python-modules/hepunits/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hepunits/default.nix b/pkgs/development/python-modules/hepunits/default.nix index 9bfd4de36f78..c1af541def94 100644 --- a/pkgs/development/python-modules/hepunits/default.nix +++ b/pkgs/development/python-modules/hepunits/default.nix @@ -7,11 +7,11 @@ buildPythonPackage rec { pname = "hepunits"; - version = "2.2.0"; + version = "2.2.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-6A5hb+8oF/PGbHXcDkHtJjYkiMzgX5Stz977jgXry1g="; + sha256 = "sha256-YJfmlUekg73Az+TRBuRHteuofFUBBg0xLNnWGqniJBQ="; }; nativeBuildInputs = [ setuptools-scm From 399f115fcd2d043a8c42a9db5b744c80cd738c61 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 23 Aug 2022 22:41:19 +0000 Subject: [PATCH 18/39] qmplay2: 22.06.16 -> 22.08.21 --- pkgs/applications/video/qmplay2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/qmplay2/default.nix b/pkgs/applications/video/qmplay2/default.nix index d51b32bbb19c..8b2af2b9f915 100644 --- a/pkgs/applications/video/qmplay2/default.nix +++ b/pkgs/applications/video/qmplay2/default.nix @@ -22,13 +22,13 @@ }: stdenv.mkDerivation rec { pname = "qmplay2"; - version = "22.06.16"; + version = "22.08.21"; src = fetchFromGitHub { owner = "zaps166"; repo = "QMPlay2"; rev = version; - sha256 = "sha256-nSlmbBCfN+yZlCcgTujBSkZc1uOO0wYpMPUwgLudJEY="; + sha256 = "sha256-UQf1aJGoUlXBo2lejw8A3lF6rFOKK6LUGDxRY9207Dw="; fetchSubmodules = true; }; From d20c9d7a881e5693f549fb8eecea861fa83e8b32 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Wed, 24 Aug 2022 08:37:44 +0800 Subject: [PATCH 19/39] emacs: Set recurseIntoAttrs on package set In the past the motivation to not recurse into Emacs packages was that it added quite a lot of packages to the evalution and they were so fast to build locally that substituting them from a binary cache didn't make sense. With native compilation this equation has changed drastically, build times are much longer and build closures are larger so the utility of having cached packages has gone way up. Additionally, it looks to me like Emacs is the only ecosystem in nixpkgs to ever care about evaluation performance like this. Every other extensible editor ecosystem has recurseIntoAttrs set to true on their respective package sets. --- pkgs/applications/editors/emacs/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 1f49c3c23af0..4243ad47a243 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -11,7 +11,7 @@ , libtiff, librsvg, libwebp, gconf, libxml2, imagemagick, gnutls, libselinux , alsa-lib, cairo, acl, gpm, AppKit, GSS, ImageIO, m17n_lib, libotf , sigtool, jansson, harfbuzz, sqlite, nixosTests -, dontRecurseIntoAttrs, emacsPackagesFor +, recurseIntoAttrs, emacsPackagesFor , libgccjit, targetPlatform, makeWrapper # native-comp params , fetchFromSavannah , systemd ? null @@ -216,7 +216,7 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp { passthru = { inherit nativeComp; - pkgs = dontRecurseIntoAttrs (emacsPackagesFor emacs); + pkgs = recurseIntoAttrs (emacsPackagesFor emacs); tests = { inherit (nixosTests) emacs-daemon; }; }; From 3071f2debcb61a7211705325b52569e45af94223 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Wed, 24 Aug 2022 08:44:12 +0800 Subject: [PATCH 20/39] emacs: Move emacsPackages alias from aliases.nix to all-packages.nix This alias should live in aliases.nix but that would cause Hydra not to evaluate/build the packages. To be honest I don't particularly like this change, but it seems the most practical way forward to get Hydra to build Emacs packages. --- pkgs/top-level/aliases.nix | 1 - pkgs/top-level/all-packages.nix | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 0358d6d80999..cc7428064931 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -384,7 +384,6 @@ mapAliases ({ emacs28Packages = emacs28.pkgs; # Added 2021-10-04 emacs28WithPackages = emacs28.pkgs.withPackages; # Added 2021-10-04 emacsNativeComp = emacs28NativeComp; # Added 2022-06-08 - emacsPackages = emacs.pkgs; # Added 2020-12-18 emacsPackagesGen = throw "'emacsPackagesGen' has been renamed to/replaced by 'emacsPackagesFor'"; # Converted to throw 2022-02-22 emacsPackagesNg = emacs.pkgs; # Added 2019-08-07 emacsPackagesNgFor = emacsPackagesFor; # Added 2019-08-07 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7e9df668d10d..fb45ce8a1cbd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27007,6 +27007,9 @@ with pkgs; pkgs' = pkgs; # default pkgs used for bootstrapping the emacs package set }; + # This alias should live in aliases.nix but that would cause Hydra not to evaluate/build the packages. + emacsPackages = emacs.pkgs; + inherit (gnome) empathy; enhanced-ctorrent = callPackage ../applications/networking/enhanced-ctorrent { }; From eb0ba2452f267f67a7a79c891e35681cf93c6313 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 Aug 2022 00:59:48 +0000 Subject: [PATCH 21/39] so: 0.4.5 -> 0.4.8 --- pkgs/development/tools/so/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/so/default.nix b/pkgs/development/tools/so/default.nix index a23fa445c2fd..da52f7247a2c 100644 --- a/pkgs/development/tools/so/default.nix +++ b/pkgs/development/tools/so/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "so"; - version = "0.4.5"; + version = "0.4.8"; src = fetchFromGitHub { owner = "samtay"; repo = pname; rev = "v${version}"; - sha256 = "sha256-KiIffq8olpNpynmV4lwdY0yu2ch4MAwp5VspfLZtkf4="; + sha256 = "sha256-LVhYcxXhjFNtmGKapZrmN/5PxCZO6RF9/Wqavg5JLFg="; }; - cargoSha256 = "sha256-VBuWKit50cSHYg7WzUP5ein3MEoZN/KFfm+YEEu544Q="; + cargoSha256 = "sha256-b+ftdRreGS2weVeZF9zZjkNX28qh+WC6TcMhTumFU3g="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ From 9829e92a19b69f4755f87f213899fcd1f61968a5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 Aug 2022 06:36:45 +0000 Subject: [PATCH 22/39] python310Packages.snowflake-sqlalchemy: 1.4.0 -> 1.4.1 --- .../python-modules/snowflake-sqlalchemy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix index 6d30f143ce22..84009008e9af 100644 --- a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "snowflake-sqlalchemy"; - version = "1.4.0"; + version = "1.4.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-9IooTfzXRmOE22huBSduM4kX8ltI6F50nvkUnXRkAFo="; + sha256 = "sha256-dJK1biZ6rEpS4kTncfJzHjBLktDZSsqvSGekbmfhves="; }; propagatedBuildInputs = [ From 099d02ad502233f457d8c907ebaef52d0dc77367 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 Aug 2022 06:46:44 +0000 Subject: [PATCH 23/39] python310Packages.sphinx-design: 0.2.0 -> 0.3.0 --- pkgs/development/python-modules/sphinx-design/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-design/default.nix b/pkgs/development/python-modules/sphinx-design/default.nix index 8b4c91061fd8..bbba0cadc8d1 100644 --- a/pkgs/development/python-modules/sphinx-design/default.nix +++ b/pkgs/development/python-modules/sphinx-design/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "sphinx-design"; - version = "0.2.0"; + version = "0.3.0"; format = "flit"; @@ -17,7 +17,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "sphinx_design"; - sha256 = "b148a5258061a46ee826d57ea0729260f29b4e9131d2a681545e0d4f3c0f19ee"; + sha256 = "sha256-cYP6H65Vs37wG9pRJaIe6EH1u8v1mjU4K+WYGAxM77o="; }; nativeBuildInputs = [ flit-core ]; From 76cab430e4d797582168fa93c347cb3c5d1e16b9 Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Wed, 24 Aug 2022 09:22:14 +0200 Subject: [PATCH 24/39] maintainers: add unhammer --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8eac070f26c1..bd7a3b2a2fa7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13349,6 +13349,15 @@ fingerprint = "EE59 5E29 BB5B F2B3 5ED2 3F1C D276 FF74 6700 7335"; }]; }; + unhammer = { + email = "unhammer@fsfe.org"; + github = "unhammer"; + githubId = 56868; + name = "Kevin Brubeck Unhammer"; + keys = [{ + fingerprint = "50D4 8796 0B86 3F05 4B6A 12F9 7426 06DE 766A C60C"; + }]; + }; uniquepointer = { email = "uniquepointer@mailbox.org"; matrix = "@uniquepointer:matrix.org"; From 44cf3379a246449adb150ab7143798d31f9cb925 Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Wed, 3 Aug 2022 11:48:22 +0200 Subject: [PATCH 25/39] cg3: init at version 1.3.7 --- pkgs/development/interpreters/cg3/default.nix | 61 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 63 insertions(+) create mode 100644 pkgs/development/interpreters/cg3/default.nix diff --git a/pkgs/development/interpreters/cg3/default.nix b/pkgs/development/interpreters/cg3/default.nix new file mode 100644 index 000000000000..27db9bebcd0c --- /dev/null +++ b/pkgs/development/interpreters/cg3/default.nix @@ -0,0 +1,61 @@ +{ lib +, stdenv +, fetchFromGitHub +, runCommand +, dieHook +, cmake +, icu +, boost +}: + +let cg3 = stdenv.mkDerivation rec { + pname = "cg3"; + version = "1.3.7"; + + src = fetchFromGitHub { + owner = "GrammarSoft"; + repo = "${pname}"; + rev = "v${version}"; + sha256 = "Ena3dGoZsXOIY6mbvnfI0H7QqRifoxWIBKQrK3yQSmY="; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + icu + boost + ]; + + doCheck = true; + + passthru.tests.minimal = runCommand "${pname}-test" { + buildInputs = [ + cg3 + dieHook + ]; + } '' + echo 'DELIMITERS = "."; ADD (tag) (*);' >grammar.cg3 + printf '""\n\t"a" tag\n\n' >want.txt + printf '""\n\t"a"\n\n' | vislcg3 -g grammar.cg3 >got.txt + diff -s want.txt got.txt || die "Grammar application did not produce expected parse" + touch $out + ''; + + + # TODO, consider optionals: + # - Enable tcmalloc unless darwin? + # - Enable python bindings? + + meta = with lib; { + homepage = "https://github.com/GrammarSoft/cg3"; + description = "Constraint Grammar interpreter, compiler and applicator vislcg3"; + maintainers = with maintainers; [ unhammer ]; + license = licenses.gpl3Plus; + platforms = platforms.all; + }; +}; + +in + cg3 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 19d7b5f54c77..006c54fbb4b3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14587,6 +14587,8 @@ with pkgs; ceptre = callPackage ../development/interpreters/ceptre { }; + cg3 = callPackage ../development/interpreters/cg3 { }; + cling = callPackage ../development/interpreters/cling { }; clips = callPackage ../development/interpreters/clips { }; From a05e98e540f34c54118089ea2201f15847f071f1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 Aug 2022 09:39:19 +0000 Subject: [PATCH 26/39] cloud-nuke: 0.17.0 -> 0.19.0 --- pkgs/development/tools/cloud-nuke/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/cloud-nuke/default.nix b/pkgs/development/tools/cloud-nuke/default.nix index 6d28a2056c94..d401af96ef88 100644 --- a/pkgs/development/tools/cloud-nuke/default.nix +++ b/pkgs/development/tools/cloud-nuke/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "cloud-nuke"; - version = "0.17.0"; + version = "0.19.0"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "v${version}"; - sha256 = "sha256-8rp0bfgqPl48RHIPSp3rpDAmPQ0eZnvAbO66jbp6TCk="; + sha256 = "sha256-NZFjocmmrOFGnGvLcgJPuUpzfG27FM+CnjUCjxI4l7M="; }; - vendorSha256 = "sha256-4Hm8zqeRNhIX2aN7JdEX1GruqbEafpBjY1r/vijPs8M="; + vendorSha256 = "sha256-DJmN7KAOgKYIzcsOyW3v7PTbuNgFaH0JSdRPDqi0q+w="; ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ]; From 01d9154cc5e98b8507fe057337cc7744bb431e5c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 24 Aug 2022 11:13:16 +0000 Subject: [PATCH 27/39] grpc-gateway: 2.11.2 -> 2.11.3 --- pkgs/development/tools/grpc-gateway/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/grpc-gateway/default.nix b/pkgs/development/tools/grpc-gateway/default.nix index 8f076fe40c04..a1028a243dc8 100644 --- a/pkgs/development/tools/grpc-gateway/default.nix +++ b/pkgs/development/tools/grpc-gateway/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "grpc-gateway"; - version = "2.11.2"; + version = "2.11.3"; src = fetchFromGitHub { owner = "grpc-ecosystem"; repo = "grpc-gateway"; rev = "v${version}"; - sha256 = "sha256-ouL3qxBzhsQYXTHTeNM3Ezxo72XY9KwTXNYPlLUr4nU="; + sha256 = "sha256-FGRuThptgcNttciYxNLUiY5oVoiODnXgMDiw1hz71mM="; }; - vendorSha256 = "sha256-1db3Ar3UtHS/MkhiaLt7wHuCCg8qGGL7jOHZXh1TywI="; + vendorSha256 = "sha256-8mFTswOgBTSDypgtfovJT9Xsykis7Q1CCQL751SuTY8="; meta = with lib; { description = From c555ac19049c0c91b4a917a0949859c194c8b9ff Mon Sep 17 00:00:00 2001 From: squalus Date: Wed, 24 Aug 2022 12:35:13 -0700 Subject: [PATCH 28/39] prometheus: fix cross compile Fix the go generate command so it can run on the build platform --- pkgs/servers/monitoring/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/prometheus/default.nix b/pkgs/servers/monitoring/prometheus/default.nix index 34f51f607193..6cf9d7919b80 100644 --- a/pkgs/servers/monitoring/prometheus/default.nix +++ b/pkgs/servers/monitoring/prometheus/default.nix @@ -105,7 +105,7 @@ buildGoModule rec { ''; preBuild = '' - if [[ -d vendor ]]; then make -o assets assets-compress plugins; fi + if [[ -d vendor ]]; then GOARCH= make -o assets assets-compress plugins; fi ''; tags = [ "builtinassets" ]; From 4e7b43dd39b454adbe1b59c65b03cf3b1d510679 Mon Sep 17 00:00:00 2001 From: Marek Fajkus Date: Wed, 24 Aug 2022 22:18:40 +0200 Subject: [PATCH 29/39] cargo-generate: fix darwin build fixes #186766 --- pkgs/development/tools/rust/cargo-generate/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/cargo-generate/default.nix b/pkgs/development/tools/rust/cargo-generate/default.nix index 64a17d807112..337ff0dda753 100644 --- a/pkgs/development/tools/rust/cargo-generate/default.nix +++ b/pkgs/development/tools/rust/cargo-generate/default.nix @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec { # - favorites_default_to_git_if_not_defined: requires network access to github.com # - should_canonicalize: the test assumes that it will be called from the /Users// folder on darwin variant. checkFlags = [ "--skip favorites::favorites_default_to_git_if_not_defined" ] - ++ lib.optionals stdenv.isDarwin [ "--skip git::should_canonicalize" ]; + ++ lib.optionals stdenv.isDarwin [ "--skip git::utils::should_canonicalize" ]; meta = with lib; { description = "cargo, make me a project"; From 3fca4ba5ea4df268b437429e4931744d6520dd22 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Wed, 24 Aug 2022 23:29:35 +0200 Subject: [PATCH 30/39] hostctl: 1.1.2 -> 1.1.3 Signed-off-by: Mark Sagi-Kazar --- pkgs/tools/system/hostctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/hostctl/default.nix b/pkgs/tools/system/hostctl/default.nix index bf3a25118581..7fe68aa9e2d0 100644 --- a/pkgs/tools/system/hostctl/default.nix +++ b/pkgs/tools/system/hostctl/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "hostctl"; - version = "1.1.2"; + version = "1.1.3"; src = fetchFromGitHub { owner = "guumaster"; repo = pname; rev = "v${version}"; - hash = "sha256-rvUm31WRSLusM9VGsIHKGTH6Vs8LWPtzPDs3azA710w="; + hash = "sha256-3CfUU74e79eilu7WP+EeoGlXUYnxmRpjb8RaH/XXjxo="; }; - vendorSha256 = "sha256-rGDWrivIdl5FTu/kNR8nAfE2+1hE4cm3uDg7oBobE9M="; + vendorSha256 = "sha256-3UM9w3o3qSlUvgg0k87aODJXqx1ryFvxHs6hlovBILY="; nativeBuildInputs = [ installShellFiles From f28ab51b54ef2518345594a6baf45b9e25378912 Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Wed, 24 Aug 2022 21:57:52 -0400 Subject: [PATCH 31/39] haskell.lib.makePackageSet: all-cabal-hashes can be a directory (#188203) * all-cabal-hahses can be a directory Motivating problem: we want to use the flake.lock for all-cabal-hashes as a github repository as our revision pin, and then import that to pass as all-cabal-hashes. To do that we need it to accept a directory rather than a tarball. * all-cabal-hashes: add some comments --- .../haskell-modules/make-package-set.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix index 9d35d198825f..9bbfe4419286 100644 --- a/pkgs/development/haskell-modules/make-package-set.nix +++ b/pkgs/development/haskell-modules/make-package-set.nix @@ -21,6 +21,9 @@ , haskellLib , # hashes for downloading Hackage packages + # This is either a directory or a .tar.gz containing the cabal files and + # hashes of Hackage as exemplified by this repository: + # https://github.com/commercialhaskell/all-cabal-hashes/tree/hackage all-cabal-hashes , # compiler to use @@ -136,10 +139,20 @@ let cabal2nix --compiler=${self.ghc.haskellCompilerName} --system=${hostPlatform.config} ${sha256Arg} "${src}" ${extraCabal2nixOptions} > "$out/default.nix" ''; + # Given a package name and version, e.g. name = "async", version = "2.2.4", + # gives its cabal file and hashes (JSON file) as discovered from the + # all-cabal-hashes value. If that's a directory, it will copy the relevant + # files to $out; if it's a tarball, it will extract and move them to $out. all-cabal-hashes-component = name: version: buildPackages.runCommand "all-cabal-hashes-component-${name}-${version}" {} '' - tar --wildcards -xzvf ${all-cabal-hashes} \*/${name}/${version}/${name}.{json,cabal} mkdir -p $out - mv */${name}/${version}/${name}.{json,cabal} $out + if [ -d ${all-cabal-hashes} ] + then + cp ${all-cabal-hashes}/${name}/${version}/${name}.json $out + cp ${all-cabal-hashes}/${name}/${version}/${name}.cabal $out + else + tar --wildcards -xzvf ${all-cabal-hashes} \*/${name}/${version}/${name}.{json,cabal} + mv */${name}/${version}/${name}.{json,cabal} $out + fi ''; hackage2nix = name: version: let component = all-cabal-hashes-component name version; in self.haskellSrc2nix { From 312fd31a5827bd998771d212aa08753e77d628e2 Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Wed, 24 Aug 2022 20:50:06 +0200 Subject: [PATCH 32/39] nixos/meilisearch: Update tests to reflect API changes in [v0.25.0][1]: Breaking changes of Task API (relevant summarized) - `update` -> `task` - `GET - /indexes/:indexUid/updates/:updateId` -> `/indexes/:indexUid/tasks` - `updateId` -> `uid` of `task` - also: new `GET - /tasks/:taskUid` introduced - `status` values changed in [v0.28.0][2]: Breaking changes in `/indexes` endpoints - `total` now appear in the response body [1]: https://github.com/meilisearch/meilisearch/releases/tag/v0.25.0 [2]: https://github.com/meilisearch/meilisearch/releases/tag/v0.28.0 --- nixos/tests/meilisearch.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/tests/meilisearch.nix b/nixos/tests/meilisearch.nix index 6d7514a1cc0a..c31dcb0559db 100644 --- a/nixos/tests/meilisearch.nix +++ b/nixos/tests/meilisearch.nix @@ -35,20 +35,20 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: with subtest("create index"): machine.succeed( - "curl -XPOST --header 'Content-Type: application/json' ${apiUrl}/indexes --data @${indexJSON}" + "curl -X POST -H 'Content-Type: application/json' ${apiUrl}/indexes --data @${indexJSON}" ) indexes = json.loads(machine.succeed("curl ${apiUrl}/indexes")) - assert len(indexes) == 1, "index wasn't created" + assert indexes["total"] == 1, "index wasn't created" with subtest("add documents"): response = json.loads( machine.succeed( - "curl -XPOST --header 'Content-Type: application/json' ${apiUrl}/indexes/${uid}/documents --data @${moviesJSON}" + "curl -X POST -H 'Content-Type: application/json' ${apiUrl}/indexes/${uid}/documents --data-binary @${moviesJSON}" ) ) - update_id = response["updateId"] + task_uid = response["taskUid"] machine.wait_until_succeeds( - f"curl ${apiUrl}/indexes/${uid}/updates/{update_id} | jq -e '.status == \"processed\"'" + f"curl ${apiUrl}/tasks/{task_uid} | jq -e '.status == \"succeeded\"'" ) with subtest("search"): From a4c43828e965ce6efcbe575e3f92cee276c516be Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Wed, 24 Aug 2022 21:02:24 +0200 Subject: [PATCH 33/39] meilisearch: (Re-)enable nixos tests Tests where disabled in 8931b86 due to errors caused by API changes of meilisearch. Now as the tests are updated accordingly, they can be reenabled. --- pkgs/servers/search/meilisearch/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/search/meilisearch/default.nix b/pkgs/servers/search/meilisearch/default.nix index 7b83e1eb8e0a..9dca908a0773 100644 --- a/pkgs/servers/search/meilisearch/default.nix +++ b/pkgs/servers/search/meilisearch/default.nix @@ -23,11 +23,9 @@ rustPlatform.buildRustPackage { # Default features include mini dashboard which downloads something from the internet. buildNoDefaultFeatures = true; buildInputs = lib.optionals stdenv.isDarwin [ Security DiskArbitration Foundation ]; - # Test fail at the moment. - # > Test "create index" failed with error: "index wasn't created" - # passthru.tests = { - # meilisearch = nixosTests.meilisearch; - # }; + passthru.tests = { + meilisearch = nixosTests.meilisearch; + }; # Tests will try to compile with mini-dashboard features which downloads something from the internet. doCheck = false; From fa325eafe8dd351b8d2c1672bde04385690a6f43 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 19 Aug 2022 11:51:28 +0200 Subject: [PATCH 34/39] elixir-ls: 0.10.0 -> 0.11.0 --- pkgs/development/beam-modules/elixir-ls/pin.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/beam-modules/elixir-ls/pin.json b/pkgs/development/beam-modules/elixir-ls/pin.json index a10bee67d893..a87393890a15 100644 --- a/pkgs/development/beam-modules/elixir-ls/pin.json +++ b/pkgs/development/beam-modules/elixir-ls/pin.json @@ -1,5 +1,5 @@ { - "version": "0.10.0", - "sha256": "sha256-3/Ndf7cOZZ9H+Oq6LQgoMcbtUNoBaDuiy5YKT40yA3E=", - "depsSha256": "sha256-6FghRXKNXgwxwtGeW+ejVsbaCN7rrCDYu3AZgJCYODU=" + "version": "0.11.0", + "sha256": "sha256-z2KkhTjw8AumD1FWbTCxYB6PHZIWmUPnwBnxKbpHfRQ=", + "depsSha256": "sha256-BMi9bVnQjbcvfIi1xup3sZ7QrPtHAdHqdcGlzKw+YbE=" } From 3f79f06b19c885bcef468bb50d5b54ee8c56dd79 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 23 Aug 2022 17:51:20 +0200 Subject: [PATCH 35/39] python310Packages.allure-behave: 2.9.45 -> 2.10.0 --- pkgs/development/python-modules/allure-behave/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/allure-behave/default.nix b/pkgs/development/python-modules/allure-behave/default.nix index e7cd81d5b5d5..000c51359f54 100644 --- a/pkgs/development/python-modules/allure-behave/default.nix +++ b/pkgs/development/python-modules/allure-behave/default.nix @@ -9,13 +9,13 @@ buildPythonPackage rec { pname = "allure-behave"; - version = "2.9.45"; + version = "2.10.0"; - disabled = pythonOlder "3.4"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-aK0SgQIXpuUoSTz8jg5IPKQM2Xvk2EfkSGigsy/GFNo="; + sha256 = "sha256-BzDu/LJBstuchkvUAeCDSIDIiFLZmC4y0s3d+1paGxs="; }; nativeBuildInputs = [ From 36469b5564dcddaef0f23359ad23ea59646a7f89 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 23 Aug 2022 17:52:11 +0200 Subject: [PATCH 36/39] python310Packages.allure-pytest: 2.9.45 -> 2.10.0 --- pkgs/development/python-modules/allure-pytest/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/allure-pytest/default.nix b/pkgs/development/python-modules/allure-pytest/default.nix index 49b5f683a6b4..273aa38b02a4 100644 --- a/pkgs/development/python-modules/allure-pytest/default.nix +++ b/pkgs/development/python-modules/allure-pytest/default.nix @@ -18,13 +18,13 @@ buildPythonPackage rec { pname = "allure-pytest"; - version = "2.9.45"; + version = "2.10.0"; - disabled = pythonOlder "3.4"; + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "18ys5gi64jlfya6a7shj5lqhwc6cplwgyq3s2n5mg5x513g0yqi0"; + sha256 = "sha256-Oyq2din0y9hher2BfSsiKSxut+/VWE+ZLRr4FDrqbuc="; }; buildInputs = [ From 9e0027666b63a4635a31fd40c2304b3f8ecd55de Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 24 Aug 2022 02:27:41 +0200 Subject: [PATCH 37/39] open-vm-tools: 12.0.5 -> 12.1.0 https://www.vmware.com/security/advisories/VMSA-2022-0024.html https://www.openwall.com/lists/oss-security/2022/08/23/3 Fixes: CVE-2022-31676 --- pkgs/applications/virtualization/open-vm-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/open-vm-tools/default.nix b/pkgs/applications/virtualization/open-vm-tools/default.nix index 02c25dd86bd4..d62964d10959 100644 --- a/pkgs/applications/virtualization/open-vm-tools/default.nix +++ b/pkgs/applications/virtualization/open-vm-tools/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "open-vm-tools"; - version = "12.0.5"; + version = "12.1.0"; src = fetchFromGitHub { owner = "vmware"; repo = "open-vm-tools"; rev = "stable-${version}"; - sha256 = "sha256-rjYYRh4ZWAd9iELW2/4PZvMOfQfgwtGcrI2icaed2Eg="; + hash = "sha256-PgrLu0Bm9Vom5WNl43312QFWKojdXDAGn3Nvj4hzPrQ="; }; sourceRoot = "${src.name}/open-vm-tools"; From c33bbab891720583126ece1f7a31dd437dafc691 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 22 Aug 2022 10:47:01 +0800 Subject: [PATCH 38/39] msmtp: we always provide a path to msmtp --- pkgs/applications/networking/msmtp/paths.patch | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/msmtp/paths.patch b/pkgs/applications/networking/msmtp/paths.patch index 7114dc4eca15..9298519e4da3 100644 --- a/pkgs/applications/networking/msmtp/paths.patch +++ b/pkgs/applications/networking/msmtp/paths.patch @@ -1,8 +1,18 @@ -35cab741af069571cf4c55e0ce1ae96617d5778c nixify diff --git a/scripts/msmtpq/msmtpq b/scripts/msmtpq/msmtpq -index d8b4039..1ab89f8 100755 +index d8b4039..1f2a7b5 100755 --- a/scripts/msmtpq/msmtpq +++ b/scripts/msmtpq/msmtpq +@@ -60,8 +60,8 @@ err() { dsp '' "$@" '' ; exit 1 ; } + ## e.g. ( export MSMTP=/path/to/msmtp ) + if [ "$MSMTP" = "" ] ; then # If MSMTP is unset or empty... + MSMTP=msmtp +-elif [ ! -x "$MSMTP" ] ; then +- log -e 1 "msmtpq : can't find the msmtp executable [ $MSMTP ]" # if not found - complain ; quit ++# elif [ ! -x "$MSMTP" ] ; then ++# log -e 1 "msmtpq : can't find the msmtp executable [ $MSMTP ]" # if not found - complain ; quit + fi + ## + ## set the queue var to the location of the msmtp queue directory @@ -71,7 +71,7 @@ fi ## ( chmod 0700 msmtp.queue ) ## From fe26049786d1827d2deecc3dcfdedc7b52e14882 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Wed, 24 Aug 2022 20:50:14 -0700 Subject: [PATCH 39/39] Revert "wxGTK31-gtk2: 3.1.5 -> 3.2.0" --- pkgs/development/libraries/wxwidgets/wxGTK31.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/wxwidgets/wxGTK31.nix b/pkgs/development/libraries/wxwidgets/wxGTK31.nix index a3c89113c9d3..5bce6250c74f 100644 --- a/pkgs/development/libraries/wxwidgets/wxGTK31.nix +++ b/pkgs/development/libraries/wxwidgets/wxGTK31.nix @@ -39,13 +39,13 @@ let in stdenv.mkDerivation rec { pname = "wxwidgets"; - version = "3.2.0"; + version = "3.1.5"; src = fetchFromGitHub { owner = "wxWidgets"; repo = "wxWidgets"; rev = "v${version}"; - hash = "sha256-8rOnIyNADQsZBmiofrxRc52WWNFH5u39gH/1FKKF4ZQ="; + hash = "sha256-2zMvcva0GUDmSYK0Wk3/2Y6R3F7MgdqGBrOhmWgVA6g="; fetchSubmodules = true; };