From 6953c7664e08bdced7f948fe437a62c93a696575 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 11 May 2023 23:09:37 +0900 Subject: [PATCH 001/114] pdm: 2.5.2 -> 2.6.1 diff: https://github.com/pdm-project/pdm/compare/2.5.2...2.6.1 changelogs: https://github.com/pdm-project/pdm/releases/tag/2.5.3 https://github.com/pdm-project/pdm/releases/tag/2.5.4 https://github.com/pdm-project/pdm/releases/tag/2.5.5 https://github.com/pdm-project/pdm/releases/tag/2.5.6 https://github.com/pdm-project/pdm/releases/tag/2.6.0 https://github.com/pdm-project/pdm/releases/tag/2.6.1 --- pkgs/tools/package-management/pdm/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/package-management/pdm/default.nix b/pkgs/tools/package-management/pdm/default.nix index 86abe5a0a93f..7582a6efe624 100644 --- a/pkgs/tools/package-management/pdm/default.nix +++ b/pkgs/tools/package-management/pdm/default.nix @@ -24,13 +24,13 @@ in with python.pkgs; buildPythonApplication rec { pname = "pdm"; - version = "2.5.2"; + version = "2.6.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-MIy7dmfPju+x9gB3Hgke4BAC9UVagwTsBLql21HMvMc="; + hash = "sha256-EFlYhJovjZqp7yGDosUOrp60rEf8gScs1QT92ckO3qI="; }; nativeBuildInputs = [ @@ -68,6 +68,7 @@ buildPythonApplication rec { pytest-mock pytest-rerunfailures pytest-xdist + pytest-httpserver ]; pytestFlagsArray = [ From 85a7b22c6e3fea97f2b0b6b9435c6c6298157b58 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 14 Jan 2023 00:13:32 -0300 Subject: [PATCH 002/114] nixos/maintainers/scripts/cloudstack/cloudstack-image.nix: get rid of `with lib` --- nixos/maintainers/scripts/cloudstack/cloudstack-image.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix b/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix index 005f75476e9a..b66ee5d7b9bc 100644 --- a/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix +++ b/nixos/maintainers/scripts/cloudstack/cloudstack-image.nix @@ -2,8 +2,6 @@ { config, lib, pkgs, ... }: -with lib; - { imports = [ ../../../modules/virtualisation/cloudstack-config.nix ]; From 0a1db3863228537d88667e0731fe7af5d9912a60 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 14 Jan 2023 00:14:00 -0300 Subject: [PATCH 003/114] nixos/maintainers/scripts/lxd/lxd-image-inner.nix: get rid of `with lib` --- nixos/maintainers/scripts/lxd/lxd-image-inner.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix index ee55da1e9ce2..c1a9b1aacd18 100644 --- a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix +++ b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix @@ -4,8 +4,6 @@ { config, pkgs, lib, ... }: -with lib; - { imports = [ # Include the default lxd configuration. From 80f0839fde4c38ebce05a4f896542f9bd56d9e7c Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 14 Jan 2023 00:14:50 -0300 Subject: [PATCH 004/114] nixos/maintainers/scripts/lxd/lxd-image.nix: get rid of `with lib` --- nixos/maintainers/scripts/lxd/lxd-image.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/maintainers/scripts/lxd/lxd-image.nix b/nixos/maintainers/scripts/lxd/lxd-image.nix index cf30836dffe5..07605c5c3120 100644 --- a/nixos/maintainers/scripts/lxd/lxd-image.nix +++ b/nixos/maintainers/scripts/lxd/lxd-image.nix @@ -1,7 +1,5 @@ { lib, config, pkgs, ... }: -with lib; - { imports = [ ../../../modules/virtualisation/lxc-container.nix From 1be3d3633602fe85821990d0c054ce6b040e7b34 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 14 Jan 2023 00:15:35 -0300 Subject: [PATCH 005/114] nixos/maintainers/scripts/lxd/nix.tpl: get rid of `with lib` --- nixos/maintainers/scripts/lxd/nix.tpl | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/maintainers/scripts/lxd/nix.tpl b/nixos/maintainers/scripts/lxd/nix.tpl index 307258ddc628..25ae1bc399f2 100644 --- a/nixos/maintainers/scripts/lxd/nix.tpl +++ b/nixos/maintainers/scripts/lxd/nix.tpl @@ -1,7 +1,5 @@ { lib, config, pkgs, ... }: -with lib; - # WARNING: THIS CONFIGURATION IS AUTOGENERATED AND WILL BE OVERWRITTEN AUTOMATICALLY { From 4c6a14172058ba37527da454f37a513d35a3a1c7 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:10:50 -0300 Subject: [PATCH 006/114] nixos/modules/rename.nix: get rid of `with lib` --- nixos/modules/rename.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix index 45a27029dff1..a4a2c316fd6c 100644 --- a/nixos/modules/rename.nix +++ b/nixos/modules/rename.nix @@ -1,7 +1,10 @@ { lib, pkgs, ... }: -with lib; - +let + inherit (lib) + mkAliasOptionModuleMD + mkRemovedOptionModule; +in { imports = [ /* From d87f1b8c9f6060319b277f089f6e698de3fd1567 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 14 Jan 2023 00:19:27 -0300 Subject: [PATCH 007/114] nixos/tests/hardened.nix: get rid of `with lib` --- nixos/tests/hardened.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/tests/hardened.nix b/nixos/tests/hardened.nix index ccb858168547..f54506224e51 100644 --- a/nixos/tests/hardened.nix +++ b/nixos/tests/hardened.nix @@ -6,7 +6,6 @@ import ./make-test-python.nix ({ pkgs, ... } : { nodes.machine = { lib, pkgs, config, ... }: - with lib; { users.users.alice = { isNormalUser = true; extraGroups = [ "proc" ]; }; users.users.sybil = { isNormalUser = true; group = "wheel"; }; imports = [ ../modules/profiles/hardened.nix ]; From 5bba43ec576f2d8ffb4119c2383233df8f912398 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 14 Jan 2023 00:21:23 -0300 Subject: [PATCH 008/114] nixos/tests/nfs/kerberos.nix: get rid of `with lib` --- nixos/tests/nfs/kerberos.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/tests/nfs/kerberos.nix b/nixos/tests/nfs/kerberos.nix index 5684131f671b..a7d08bc628c6 100644 --- a/nixos/tests/nfs/kerberos.nix +++ b/nixos/tests/nfs/kerberos.nix @@ -1,7 +1,5 @@ import ../make-test-python.nix ({ pkgs, lib, ... }: -with lib; - let krb5 = { enable = true; From dc5919aa58b1967264f07459fd6343ed3d4bc9de Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 18:44:45 -0300 Subject: [PATCH 009/114] nixos/tests/quake3.nix: get rid of `with lib` --- nixos/tests/quake3.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/quake3.nix b/nixos/tests/quake3.nix index ef5fcc41476b..2d8c5207001c 100644 --- a/nixos/tests/quake3.nix +++ b/nixos/tests/quake3.nix @@ -11,11 +11,11 @@ let }; # Only allow the demo data to be used (only if it's unfreeRedistributable). - unfreePredicate = pkg: with lib; let + unfreePredicate = pkg: let allowPackageNames = [ "quake3-demodata" "quake3-pointrelease" ]; allowLicenses = [ lib.licenses.unfreeRedistributable ]; - in elem pkg.pname allowPackageNames && - elem (pkg.meta.license or null) allowLicenses; + in lib.elem pkg.pname allowPackageNames && + lib.elem (pkg.meta.license or null) allowLicenses; client = { pkgs, ... }: From 047734d8e6bc7aa8c4b26cdaf583e6ab9cf3d4ac Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 010/114] nixos/tests/boot-stage1.nix: get rid of `with lib` --- nixos/tests/boot-stage1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/boot-stage1.nix b/nixos/tests/boot-stage1.nix index fbe82d61afae..7bef34f4cc3d 100644 --- a/nixos/tests/boot-stage1.nix +++ b/nixos/tests/boot-stage1.nix @@ -107,8 +107,8 @@ import ./make-test-python.nix ({ pkgs, ... }: { ''; }; - copyCanaries = with lib; concatMapStrings (canary: '' - ${optionalString (canary ? child) '' + copyCanaries = lib.concatMapStrings (canary: '' + ${lib.optionalString (canary ? child) '' copy_bin_and_libs "${canary.child}/bin/${canary.child.name}" ''} copy_bin_and_libs "${canary}/bin/${canary.name}" From b5a6dff664b0f60a4e9fde6f48e1e97def093b20 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 011/114] nixos/tests/budgie.nix: get rid of `with lib` --- nixos/tests/budgie.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/budgie.nix b/nixos/tests/budgie.nix index a2599572b3bf..ff6bd3128195 100644 --- a/nixos/tests/budgie.nix +++ b/nixos/tests/budgie.nix @@ -1,9 +1,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "budgie"; - meta = with lib; { - maintainers = [ maintainers.federicoschonborn ]; - }; + meta.maintainers = [ lib.maintainers.federicoschonborn ]; nodes.machine = { ... }: { imports = [ From 87586867d6b73a4bbd8578da478a4e20257a2799 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 012/114] nixos/tests/calibre-web.nix: get rid of `with lib` --- nixos/tests/calibre-web.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/tests/calibre-web.nix b/nixos/tests/calibre-web.nix index 9832d5469787..aea9bca3ebe9 100644 --- a/nixos/tests/calibre-web.nix +++ b/nixos/tests/calibre-web.nix @@ -5,10 +5,9 @@ import ./make-test-python.nix ( port = 3142; defaultPort = 8083; in - with lib; { name = "calibre-web"; - meta.maintainers = with pkgs.lib.maintainers; [ pborzenkov ]; + meta.maintainers = with lib.maintainers; [ pborzenkov ]; nodes = { customized = { pkgs, ... }: { From 7aa945d9496f3fee0184e939052ce94d30079430 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 013/114] nixos/tests/cinnamon.nix: get rid of `with lib` --- nixos/tests/cinnamon.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/cinnamon.nix b/nixos/tests/cinnamon.nix index f0add4142929..e455d96c4fb0 100644 --- a/nixos/tests/cinnamon.nix +++ b/nixos/tests/cinnamon.nix @@ -1,9 +1,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "cinnamon"; - meta = with lib; { - maintainers = teams.cinnamon.members; - }; + meta.maintainers = lib.teams.cinnamon.members; nodes.machine = { nodes, ... }: { imports = [ ./common/user-account.nix ]; From 4e180394490ee15caeb742982e7f3bb6e27bca94 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 014/114] nixos/tests/convos.nix: get rid of `with lib` --- nixos/tests/convos.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/tests/convos.nix b/nixos/tests/convos.nix index a5dafed8f6f0..8fe5892da9e5 100644 --- a/nixos/tests/convos.nix +++ b/nixos/tests/convos.nix @@ -1,14 +1,12 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: -with lib; + let port = 3333; in { name = "convos"; - meta = with pkgs.lib.maintainers; { - maintainers = [ sgo ]; - }; + meta.maintainers = with lib.maintainers; [ sgo ]; nodes = { machine = From defe8992398696ff8ef97201e1536e371db2ab59 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 015/114] nixos/tests/fluidd.nix: get rid of `with lib` --- nixos/tests/fluidd.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/fluidd.nix b/nixos/tests/fluidd.nix index f49a4110d714..82a2c1e4049f 100644 --- a/nixos/tests/fluidd.nix +++ b/nixos/tests/fluidd.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "fluidd"; - meta.maintainers = with maintainers; [ vtuan10 ]; + meta.maintainers = with lib.maintainers; [ vtuan10 ]; nodes.machine = { pkgs, ... }: { services.fluidd = { From b51ac3bd4c4dffb8b4e99df763b596fa0e9e41df Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH 016/114] nixos/tests/gnome-flashback.nix: get rid of `with lib` --- nixos/tests/gnome-flashback.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/nixos/tests/gnome-flashback.nix b/nixos/tests/gnome-flashback.nix index c97264e6928a..70569db797ec 100644 --- a/nixos/tests/gnome-flashback.nix +++ b/nixos/tests/gnome-flashback.nix @@ -1,12 +1,11 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "gnome-flashback"; - meta = with lib; { - maintainers = teams.gnome.members ++ [ maintainers.chpatrick ]; - }; + meta.maintainers = lib.teams.gnome.members ++ [ lib.maintainers.chpatrick ]; - nodes.machine = { nodes, ... }: let - user = nodes.machine.config.users.users.alice; - in + nodes.machine = { nodes, ... }: + let + user = nodes.machine.config.users.users.alice; + in { imports = [ ./common/user-account.nix ]; From ca96a578a54963c2400de0d4592796d781093d5b Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 017/114] nixos/tests/gnome-xorg.nix: get rid of `with lib` --- nixos/tests/gnome-xorg.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/gnome-xorg.nix b/nixos/tests/gnome-xorg.nix index d616d4f02351..7762fff5c3a2 100644 --- a/nixos/tests/gnome-xorg.nix +++ b/nixos/tests/gnome-xorg.nix @@ -1,7 +1,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "gnome-xorg"; - meta = with lib; { - maintainers = teams.gnome.members; + meta = { + maintainers = lib.teams.gnome.members; }; nodes.machine = { nodes, ... }: let From 3002c44f4811f0c32ebb82251c41e3917dedf9fb Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 018/114] nixos/tests/gnome.nix: get rid of `with lib` --- nixos/tests/gnome.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/gnome.nix b/nixos/tests/gnome.nix index 5a28e3bb0e81..9aa88c4852c0 100644 --- a/nixos/tests/gnome.nix +++ b/nixos/tests/gnome.nix @@ -1,8 +1,6 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "gnome"; - meta = with lib; { - maintainers = teams.gnome.members; - }; + meta.maintainers = lib.teams.gnome.members; nodes.machine = { ... }: From d1a2a4cbccd45e7ff3b32c0f073eb04d42651329 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 019/114] nixos/tests/hibernate.nix: get rid of `with lib` --- nixos/tests/hibernate.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 4d0b53e95b32..24b4ed382c12 100644 --- a/nixos/tests/hibernate.nix +++ b/nixos/tests/hibernate.nix @@ -46,14 +46,14 @@ in makeTest { nodes = { # System configuration used for installing the installedConfig from above. - machine = { config, lib, pkgs, ... }: with lib; { + machine = { config, lib, pkgs, ... }: { imports = [ ../modules/profiles/installation-device.nix ../modules/profiles/base.nix ]; nix.settings = { - substituters = mkForce []; + substituters = lib.mkForce []; hashed-mirrors = null; connect-timeout = 1; }; From 70e8a86b2b1e06c8daec4120c5c506f9674b7e5c Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 020/114] nixos/tests/pantheon.nix: get rid of `with lib` --- nixos/tests/pantheon.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix index 0b920c7a6d5f..653fcc6edad1 100644 --- a/nixos/tests/pantheon.nix +++ b/nixos/tests/pantheon.nix @@ -3,9 +3,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "pantheon"; - meta = with lib; { - maintainers = teams.pantheon.members; - }; + meta.maintainers = lib.teams.pantheon.members; nodes.machine = { ... }: From 714180048b5cf2ea0baa4fbc1632669882f1da0d Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 021/114] nixos/tests/redis.nix: get rid of `with lib` --- nixos/tests/redis.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nixos/tests/redis.nix b/nixos/tests/redis.nix index abea1657f3ea..94b50d07be6d 100644 --- a/nixos/tests/redis.nix +++ b/nixos/tests/redis.nix @@ -1,19 +1,17 @@ -import ./make-test-python.nix ({ pkgs, ... }: +import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "redis"; - meta = with pkgs.lib.maintainers; { - maintainers = [ flokli ]; - }; + meta.maintainers = with lib.maintainers; [ flokli ]; nodes = { machine = - { pkgs, lib, ... }: with lib; + { pkgs, lib, ... }: { services.redis.servers."".enable = true; services.redis.servers."test".enable = true; - users.users = listToAttrs (map (suffix: nameValuePair "member${suffix}" { + users.users = lib.listToAttrs (map (suffix: lib.nameValuePair "member${suffix}" { createHome = false; description = "A member of the redis${suffix} group"; isNormalUser = true; From f872db7aed7bec423dbe332cc2946f2db5bbc57f Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 022/114] nixos/tests/ulogd.nix: get rid of `with lib` --- nixos/tests/ulogd.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/ulogd.nix b/nixos/tests/ulogd.nix index ce52d855ffc2..d351fdae7983 100644 --- a/nixos/tests/ulogd.nix +++ b/nixos/tests/ulogd.nix @@ -1,9 +1,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "ulogd"; - meta = with lib; { - maintainers = with maintainers; [ p-h ]; - }; + meta.maintainers = with lib.maintainers; [ p-h ]; nodes.machine = { ... }: { networking.firewall.enable = false; From 75a76768fe9d81f38f3640862805c2d9086445f4 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:05 -0300 Subject: [PATCH 023/114] nixos/tests/xautolock.nix: get rid of `with lib` --- nixos/tests/xautolock.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/xautolock.nix b/nixos/tests/xautolock.nix index 529567e07971..cf81c4a1cf05 100644 --- a/nixos/tests/xautolock.nix +++ b/nixos/tests/xautolock.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: -with lib; - { name = "xautolock"; - meta.maintainers = with pkgs.lib.maintainers; [ ]; + meta.maintainers = [ ]; nodes.machine = { imports = [ ./common/x11.nix ./common/user-account.nix ]; From 5202b743058166133051bbf980cba8136b97f093 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:15 -0300 Subject: [PATCH 024/114] nixos/tests/3proxy.nix: get rid of `with lib` --- nixos/tests/3proxy.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/3proxy.nix b/nixos/tests/3proxy.nix index 647d9d57c7ff..83d39de018a3 100644 --- a/nixos/tests/3proxy.nix +++ b/nixos/tests/3proxy.nix @@ -1,8 +1,6 @@ { lib, pkgs, ... }: { name = "3proxy"; - meta = with lib.maintainers; { - maintainers = [ misuzu ]; - }; + meta.maintainers = with lib.maintainers; [ misuzu ]; nodes = { peer0 = { lib, ... }: { From 5252e855952c555469f081306584dd8a12959ded Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:15 -0300 Subject: [PATCH 025/114] nixos/tests/apparmor.nix: get rid of `with lib` --- nixos/tests/apparmor.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nixos/tests/apparmor.nix b/nixos/tests/apparmor.nix index f85bff0295e7..99a5cd558eb0 100644 --- a/nixos/tests/apparmor.nix +++ b/nixos/tests/apparmor.nix @@ -1,14 +1,11 @@ import ./make-test-python.nix ({ pkgs, ... } : { name = "apparmor"; - meta = with pkgs.lib.maintainers; { - maintainers = [ julm ]; - }; + meta.maintainers = with lib.maintainers; [ julm ]; nodes.machine = { lib, pkgs, config, ... }: - with lib; { - security.apparmor.enable = mkDefault true; + security.apparmor.enable = lib.mkDefault true; }; testScript = From a4af083f62896a460d6904d13a099672c4fb6563 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:15 -0300 Subject: [PATCH 026/114] nixos/tests/atuin.nix: get rid of `with lib` --- nixos/tests/atuin.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/tests/atuin.nix b/nixos/tests/atuin.nix index 2bc5494f5556..9f23a3cf6713 100644 --- a/nixos/tests/atuin.nix +++ b/nixos/tests/atuin.nix @@ -6,10 +6,9 @@ let testPass = "password"; testEmail = "test.testerman@test.com"; in -with lib; { name = "atuin"; - meta.maintainers = with pkgs.lib.maintainers; [ devusb ]; + meta.maintainers = with lib.maintainers; [ devusb ]; nodes = { server = From 6d1287bb756d22111e3770fbd24cb43629152759 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:15 -0300 Subject: [PATCH 027/114] nixos/tests/bazarr.nix: get rid of `with lib` --- nixos/tests/bazarr.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/bazarr.nix b/nixos/tests/bazarr.nix index e59833e5e945..aa0550e243ae 100644 --- a/nixos/tests/bazarr.nix +++ b/nixos/tests/bazarr.nix @@ -1,13 +1,11 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - let port = 42069; in { name = "bazarr"; - meta.maintainers = with maintainers; [ d-xo ]; + meta.maintainers = with lib.maintainers; [ d-xo ]; nodes.machine = { pkgs, ... }: From ba6bc92d5edeb9cc8055bb43e767dcb84a6d9f37 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:15 -0300 Subject: [PATCH 028/114] nixos/tests/cadvisor.nix: get rid of `with lib` --- nixos/tests/cadvisor.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/tests/cadvisor.nix b/nixos/tests/cadvisor.nix index c372dea301d2..70e068fcf21c 100644 --- a/nixos/tests/cadvisor.nix +++ b/nixos/tests/cadvisor.nix @@ -1,15 +1,13 @@ -import ./make-test-python.nix ({ pkgs, ... } : { +import ./make-test-python.nix ({ lib, pkgs, ... } : { name = "cadvisor"; - meta = with pkgs.lib.maintainers; { - maintainers = [ offline ]; - }; + meta.maintainers = with lib.maintainers; [ offline ]; nodes = { machine = { ... }: { services.cadvisor.enable = true; }; - influxdb = { lib, ... }: with lib; { + influxdb = { lib, ... }: { services.cadvisor.enable = true; services.cadvisor.storageDriver = "influxdb"; services.influxdb.enable = true; From 334b168990a27099ae0a42bc3b9fe6b88c146adc Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:15 -0300 Subject: [PATCH 029/114] nixos/tests/common/acme/server/default.nix: get rid of `with lib` --- nixos/tests/common/acme/server/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix index b81f860125c8..2a2e3b08a1df 100644 --- a/nixos/tests/common/acme/server/default.nix +++ b/nixos/tests/common/acme/server/default.nix @@ -76,9 +76,9 @@ let in { imports = [ ../../resolver.nix ]; - options.test-support.acme = with lib; { - caDomain = mkOption { - type = types.str; + options.test-support.acme = { + caDomain = lib.mkOption { + type = lib.types.str; readOnly = true; default = domain; description = lib.mdDoc '' @@ -86,8 +86,8 @@ in { identify the CA server. ''; }; - caCert = mkOption { - type = types.path; + caCert = lib.mkOption { + type = lib.types.path; readOnly = true; default = testCerts.ca.cert; description = lib.mdDoc '' From 5ee5e4bb465cd7530e5f01de779334ca6cdc7870 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 030/114] nixos/tests/common/auto.nix: get rid of `with lib` --- nixos/tests/common/auto.nix | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/nixos/tests/common/auto.nix b/nixos/tests/common/auto.nix index f2ab82f88ff7..ac56bed4a88f 100644 --- a/nixos/tests/common/auto.nix +++ b/nixos/tests/common/auto.nix @@ -1,23 +1,16 @@ { config, lib, ... }: -with lib; - let - dmcfg = config.services.xserver.displayManager; cfg = config.test-support.displayManager.auto; - in - { ###### interface options = { - test-support.displayManager.auto = { - - enable = mkOption { + enable = lib.mkOption { default = false; description = lib.mdDoc '' Whether to enable the fake "auto" display manager, which @@ -27,20 +20,16 @@ in ''; }; - user = mkOption { + user = lib.mkOption { default = "root"; description = lib.mdDoc "The user account to login automatically."; }; - }; - }; - ###### implementation - config = mkIf cfg.enable { - + config = lib.mkIf cfg.enable { services.xserver.displayManager = { lightdm.enable = true; autoLogin = { @@ -62,7 +51,5 @@ in session include lightdm ''; - }; - } From a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 031/114] nixos/tests/couchdb.nix: get rid of `with lib` --- nixos/tests/couchdb.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/nixos/tests/couchdb.nix b/nixos/tests/couchdb.nix index b57072d6be2d..cf6ca8e4548d 100644 --- a/nixos/tests/couchdb.nix +++ b/nixos/tests/couchdb.nix @@ -1,9 +1,8 @@ let - makeNode = couchpkg: user: passwd: { pkgs, ... } : - { environment.systemPackages = with pkgs; [ jq ]; + { environment.systemPackages = [ pkgs.jq ]; services.couchdb.enable = true; services.couchdb.package = couchpkg; services.couchdb.adminUser = user; @@ -12,16 +11,11 @@ let testuser = "testadmin"; testpass = "cowabunga"; testlogin = "${testuser}:${testpass}@"; - -in import ./make-test-python.nix ({ pkgs, lib, ...}: - -with lib; - +in +import ./make-test-python.nix ({ pkgs, lib, ...}: { name = "couchdb"; - meta = with pkgs.lib.maintainers; { - maintainers = [ ]; - }; + meta.maintainers = [ ]; nodes = { couchdb3 = makeNode pkgs.couchdb3 testuser testpass; From 18d90beb1ad6ad9703937752837f0d326913c6c9 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 032/114] nixos/tests/doas.nix: get rid of `with lib` --- nixos/tests/doas.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/doas.nix b/nixos/tests/doas.nix index 3713c728195c..2aa8b02caf57 100644 --- a/nixos/tests/doas.nix +++ b/nixos/tests/doas.nix @@ -2,9 +2,7 @@ import ./make-test-python.nix ( { lib, ... }: { name = "doas"; - meta = with lib.maintainers; { - maintainers = [ cole-h ]; - }; + meta.maintainers = with lib.maintainers; [ cole-h ]; nodes.machine = { ... }: From 1792f2c61c78d6232e8597b574c2b096420c7193 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 033/114] nixos/tests/doh-proxy-rust.nix: get rid of `with lib` --- nixos/tests/doh-proxy-rust.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/doh-proxy-rust.nix b/nixos/tests/doh-proxy-rust.nix index 11ed87d23bbe..8c743fe77e32 100644 --- a/nixos/tests/doh-proxy-rust.nix +++ b/nixos/tests/doh-proxy-rust.nix @@ -1,8 +1,6 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: { name = "doh-proxy-rust"; - meta = with lib.maintainers; { - maintainers = [ stephank ]; - }; + meta.maintainers = with lib.maintainers; [ stephank ]; nodes = { machine = { pkgs, lib, ... }: { From 49483ab7689dd20013a75dbd01d7e681faaf8747 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 034/114] nixos/tests/esphome.nix: get rid of `with lib` --- nixos/tests/esphome.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/tests/esphome.nix b/nixos/tests/esphome.nix index b8dbdb0b3795..5a318b65a723 100644 --- a/nixos/tests/esphome.nix +++ b/nixos/tests/esphome.nix @@ -4,10 +4,9 @@ let testPort = 6052; unixSocket = "/run/esphome/esphome.sock"; in -with lib; { name = "esphome"; - meta.maintainers = with pkgs.lib.maintainers; [ oddlama ]; + meta.maintainers = with lib.maintainers; [ oddlama ]; nodes = { esphomeTcp = { ... }: From 9bdb3ee1755f2da2f410712147d18520a61b8133 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 035/114] nixos/tests/hadoop/hdfs.nix: get rid of `with lib` --- nixos/tests/hadoop/hdfs.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/tests/hadoop/hdfs.nix b/nixos/tests/hadoop/hdfs.nix index 9415500463de..429d4bf6b538 100644 --- a/nixos/tests/hadoop/hdfs.nix +++ b/nixos/tests/hadoop/hdfs.nix @@ -1,6 +1,5 @@ # Test a minimal HDFS cluster with no HA import ../make-test-python.nix ({ package, lib, ... }: -with lib; { name = "hadoop-hdfs"; @@ -22,7 +21,7 @@ with lib; }; httpfs = { # The NixOS hadoop module only support webHDFS on 3.3 and newer - enable = mkIf (versionAtLeast package.version "3.3") true; + enable = lib.mkIf (lib.versionAtLeast package.version "3.3") true; openFirewall = true; }; }; @@ -57,7 +56,7 @@ with lib; datanode.wait_for_unit("hdfs-datanode") datanode.wait_for_unit("network.target") - '' + ( if versionAtLeast package.version "3" then '' + '' + (if lib.versionAtLeast package.version "3" then '' datanode.wait_for_open_port(9864) datanode.wait_for_open_port(9866) datanode.wait_for_open_port(9867) @@ -76,7 +75,7 @@ with lib; datanode.succeed("echo testfilecontents | sudo -u hdfs hdfs dfs -put - /testfile") assert "testfilecontents" in datanode.succeed("sudo -u hdfs hdfs dfs -cat /testfile") - '' + optionalString ( versionAtLeast package.version "3.3" ) '' + '' + lib.optionalString (lib.versionAtLeast package.version "3.3" ) '' namenode.wait_for_unit("hdfs-httpfs") namenode.wait_for_open_port(14000) assert "testfilecontents" in datanode.succeed("curl -f \"http://namenode:14000/webhdfs/v1/testfile?user.name=hdfs&op=OPEN\" 2>&1") From 081a3c1fbec0bc4743442a131ac25b31d0bdc434 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 036/114] nixos/tests/iftop.nix: get rid of `with lib` --- nixos/tests/iftop.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/iftop.nix b/nixos/tests/iftop.nix index 6d0090b39463..933f115a8a5a 100644 --- a/nixos/tests/iftop.nix +++ b/nixos/tests/iftop.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: -with lib; - { name = "iftop"; - meta.maintainers = with pkgs.lib.maintainers; [ ma27 ]; + meta.maintainers = with lib.maintainers; [ ma27 ]; nodes = { withIftop = { From cb95162f89fa71d71d00efd566bbf4126b7abd0e Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 037/114] nixos/tests/jackett.nix: get rid of `with lib` --- nixos/tests/jackett.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/jackett.nix b/nixos/tests/jackett.nix index 0a706c99b999..bc8b724e8b4b 100644 --- a/nixos/tests/jackett.nix +++ b/nixos/tests/jackett.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "jackett"; - meta.maintainers = with maintainers; [ etu ]; + meta.maintainers = with lib.maintainers; [ etu ]; nodes.machine = { pkgs, ... }: From 67fd24d50920ab63f7f54b27e016205b19a1a819 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 038/114] nixos/tests/jirafeau.nix: get rid of `with lib` --- nixos/tests/jirafeau.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/jirafeau.nix b/nixos/tests/jirafeau.nix index 0f5af7f718a4..dbfaf515e257 100644 --- a/nixos/tests/jirafeau.nix +++ b/nixos/tests/jirafeau.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "jirafeau"; - meta.maintainers = with maintainers; [ davidtwco ]; + meta.maintainers = with lib.maintainers; [ davidtwco ]; nodes.machine = { pkgs, ... }: { services.jirafeau = { From 80042b4cd3dd8f19bf3450b6ba4c99c1d8f4488a Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 039/114] nixos/tests/komga.nix: get rid of `with lib` --- nixos/tests/komga.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/komga.nix b/nixos/tests/komga.nix index 02db50ef25f7..d48d19bbbdd3 100644 --- a/nixos/tests/komga.nix +++ b/nixos/tests/komga.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "komga"; - meta.maintainers = with maintainers; [ govanify ]; + meta.maintainers = with lib.maintainers; [ govanify ]; nodes.machine = { pkgs, ... }: From 9f34f195e1bd8a96c58743ce526ebd98a9df5342 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 040/114] nixos/tests/libreddit.nix: get rid of `with lib` --- nixos/tests/libreddit.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/libreddit.nix b/nixos/tests/libreddit.nix index 82a44cb4e9cb..ecf347b9e12e 100644 --- a/nixos/tests/libreddit.nix +++ b/nixos/tests/libreddit.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "libreddit"; - meta.maintainers = with maintainers; [ fab ]; + meta.maintainers = with lib.maintainers; [ fab ]; nodes.machine = { services.libreddit.enable = true; From 635170328010cca3d9e84bd6d332d66053139114 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 041/114] nixos/tests/lidarr.nix: get rid of `with lib` --- nixos/tests/lidarr.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/lidarr.nix b/nixos/tests/lidarr.nix index 7fbaea62f80e..8230dda53736 100644 --- a/nixos/tests/lidarr.nix +++ b/nixos/tests/lidarr.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "lidarr"; - meta.maintainers = with maintainers; [ etu ]; + meta.maintainers = with lib.maintainers; [ etu ]; nodes.machine = { pkgs, ... }: From 13dc33c7ac8b292cabaeab3739179c2547893f39 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 042/114] nixos/tests/miniflux.nix: get rid of `with lib` --- nixos/tests/miniflux.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/tests/miniflux.nix b/nixos/tests/miniflux.nix index d905aea048a3..be3e7abb6abd 100644 --- a/nixos/tests/miniflux.nix +++ b/nixos/tests/miniflux.nix @@ -17,10 +17,9 @@ let ''; in -with lib; { name = "miniflux"; - meta.maintainers = with pkgs.lib.maintainers; [ ]; + meta.maintainers = [ ]; nodes = { default = From ca916d0f614d2cf505e7fcb0f8a65c348d851111 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:17 -0300 Subject: [PATCH 043/114] nixos/tests/misc.nix: get rid of `with lib` --- nixos/tests/misc.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index 0d5f0fe2f044..442b45948c60 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -1,20 +1,17 @@ # Miscellaneous small tests that don't warrant their own VM run. -import ./make-test-python.nix ({ pkgs, ...} : let +import ./make-test-python.nix ({ lib, pkgs, ...} : let foo = pkgs.writeText "foo" "Hello World"; in { name = "misc"; - meta = with pkgs.lib.maintainers; { - maintainers = [ eelco ]; - }; + meta.maintainers = with lib.maintainers; [ eelco ]; nodes.machine = { lib, ... }: - with lib; - { swapDevices = mkOverride 0 + { swapDevices = lib.mkOverride 0 [ { device = "/root/swapfile"; size = 128; } ]; - environment.variables.EDITOR = mkOverride 0 "emacs"; - documentation.nixos.enable = mkOverride 0 true; + environment.variables.EDITOR = lib.mkOverride 0 "emacs"; + documentation.nixos.enable = lib.mkOverride 0 true; systemd.tmpfiles.rules = [ "d /tmp 1777 root root 10d" ]; virtualisation.fileSystems = { "/tmp2" = { fsType = "tmpfs"; @@ -32,7 +29,7 @@ in { options = [ "bind" "rw" "noauto" ]; }; }; - systemd.automounts = singleton + systemd.automounts = lib.singleton { wantedBy = [ "multi-user.target" ]; where = "/tmp2"; }; From aa7d79c0f6784e367c311d7ee656a428b6dcd006 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 044/114] nixos/tests/mpv.nix: get rid of `with lib` --- nixos/tests/mpv.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/mpv.nix b/nixos/tests/mpv.nix index a4803f3cb5b5..32a81cbe2495 100644 --- a/nixos/tests/mpv.nix +++ b/nixos/tests/mpv.nix @@ -1,13 +1,11 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - let port = toString 4321; in { name = "mpv"; - meta.maintainers = with maintainers; [ zopieux ]; + meta.maintainers = with lib.maintainers; [ zopieux ]; nodes.machine = { pkgs, ... }: From 2e4a81b23ab08a60def6d9cc0861abc8f660fbfc Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 045/114] nixos/tests/n8n.nix: get rid of `with lib` --- nixos/tests/n8n.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/tests/n8n.nix b/nixos/tests/n8n.nix index 044240fbce7f..771296bf37a5 100644 --- a/nixos/tests/n8n.nix +++ b/nixos/tests/n8n.nix @@ -1,13 +1,10 @@ import ./make-test-python.nix ({ lib, ... }: - -with lib; - let port = 5678; in { name = "n8n"; - meta.maintainers = with maintainers; [ freezeboy k900 ]; + meta.maintainers = with lib.maintainers; [ freezeboy k900 ]; nodes.machine = { pkgs, ... }: From 757b9f1be6abac8674679617d2cfc64616205c66 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 046/114] nixos/tests/noto-fonts.nix: get rid of `with lib` --- nixos/tests/noto-fonts.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/noto-fonts.nix b/nixos/tests/noto-fonts.nix index e4c33fe26a9e..0515f16d101c 100644 --- a/nixos/tests/noto-fonts.nix +++ b/nixos/tests/noto-fonts.nix @@ -1,8 +1,6 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "noto-fonts"; - meta = { - maintainers = with lib.maintainers; [ nickcao midchildan ]; - }; + meta.maintainers = with lib.maintainers; [ nickcao midchildan ]; nodes.machine = { imports = [ ./common/x11.nix ]; From 98f50648847d0118359baecda8cdc9feda4bdffd Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 047/114] nixos/tests/nzbhydra2.nix: get rid of `with lib` --- nixos/tests/nzbhydra2.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/tests/nzbhydra2.nix b/nixos/tests/nzbhydra2.nix index c82c756c3a1c..e1d528cd9520 100644 --- a/nixos/tests/nzbhydra2.nix +++ b/nixos/tests/nzbhydra2.nix @@ -1,10 +1,7 @@ import ./make-test-python.nix ({ lib, ... }: - - with lib; - { name = "nzbhydra2"; - meta.maintainers = with maintainers; [ jamiemagee ]; + meta.maintainers = with lib.maintainers; [ jamiemagee ]; nodes.machine = { pkgs, ... }: { services.nzbhydra2.enable = true; }; From 56934ebec436a3baa375629977375a58bc7dcb82 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 048/114] nixos/tests/oci-containers.nix: get rid of `with lib` --- nixos/tests/oci-containers.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/tests/oci-containers.nix b/nixos/tests/oci-containers.nix index 1bcfb276dbee..1afa9df36dfa 100644 --- a/nixos/tests/oci-containers.nix +++ b/nixos/tests/oci-containers.nix @@ -11,9 +11,8 @@ let mkOCITest = backend: makeTest { name = "oci-containers-${backend}"; - meta = { - maintainers = with lib.maintainers; [ adisbladis benley mkaito ] ++ lib.teams.serokell.members; - }; + meta.maintainers = lib.teams.serokell.members + ++ (with lib.maintainers; [ adisbladis benley mkaito ]); nodes = { ${backend} = { pkgs, ... }: { From 196debcf296540849a639becb2916f70d92544ea Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 049/114] nixos/tests/odoo.nix: get rid of `with lib` --- nixos/tests/odoo.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/tests/odoo.nix b/nixos/tests/odoo.nix index 96e3405482b4..7c2cf31370f9 100644 --- a/nixos/tests/odoo.nix +++ b/nixos/tests/odoo.nix @@ -1,8 +1,6 @@ -import ./make-test-python.nix ({ pkgs, lib, ...} : with lib; { +import ./make-test-python.nix ({ pkgs, lib, ...} : { name = "odoo"; - meta = with pkgs.lib.maintainers; { - maintainers = [ mkg20001 ]; - }; + meta.maintainers = with lib.maintainers; [ mkg20001 ]; nodes = { server = { ... }: { From 4e9cdcb64ee36d68acc2f6ab013c5aecb9526942 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:18 -0300 Subject: [PATCH 050/114] nixos/tests/ombi.nix: get rid of `with lib` --- nixos/tests/ombi.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/ombi.nix b/nixos/tests/ombi.nix index ce3064ce6ac6..fb3a37c978e3 100644 --- a/nixos/tests/ombi.nix +++ b/nixos/tests/ombi.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "ombi"; - meta.maintainers = with maintainers; [ woky ]; + meta.maintainers = with lib.maintainers; [ woky ]; nodes.machine = { pkgs, ... }: From 8cc0632c464c0390c16a8e32c8b59b5ade6c2899 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 051/114] nixos/tests/please.nix: get rid of `with lib` --- nixos/tests/please.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/tests/please.nix b/nixos/tests/please.nix index 2437cfe16130..af825ae4b9b3 100644 --- a/nixos/tests/please.nix +++ b/nixos/tests/please.nix @@ -6,10 +6,10 @@ import ./make-test-python.nix ({ lib, ... }: nodes.machine = { ... }: { - users.users = with lib; mkMerge [ - (listToAttrs (map - (n: nameValuePair n { isNormalUser = true; }) - (genList (x: "user${toString x}") 6))) + users.users = lib.mkMerge [ + (lib.listToAttrs (map + (n: lib.nameValuePair n { isNormalUser = true; }) + (lib.genList (x: "user${toString x}") 6))) { user0.extraGroups = [ "wheel" ]; } From a8790192f3634328236924a9ba41cd459a38322b Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 052/114] nixos/tests/polaris.nix: get rid of `with lib` --- nixos/tests/polaris.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/polaris.nix b/nixos/tests/polaris.nix index fb2e67f075aa..bb105d600032 100644 --- a/nixos/tests/polaris.nix +++ b/nixos/tests/polaris.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "polaris"; - meta.maintainers = with maintainers; [ pbsds ]; + meta.maintainers = with lib.maintainers; [ pbsds ]; nodes.machine = { pkgs, ... }: { From cb47374b5e187bbc3ef8d97f1e528db3f94d2f78 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 053/114] nixos/tests/prowlarr.nix: get rid of `with lib` --- nixos/tests/prowlarr.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/prowlarr.nix b/nixos/tests/prowlarr.nix index 144cbd5fc95d..af669afd5700 100644 --- a/nixos/tests/prowlarr.nix +++ b/nixos/tests/prowlarr.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "prowlarr"; - meta.maintainers = with maintainers; [ jdreaver ]; + meta.maintainers = with lib.maintainers; [ jdreaver ]; nodes.machine = { pkgs, ... }: From 2f459bb0c48fdea41137c78b1efa3ce6f1bb9f3d Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 054/114] nixos/tests/radarr.nix: get rid of `with lib` --- nixos/tests/radarr.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/radarr.nix b/nixos/tests/radarr.nix index 85fd6572f061..bf9eb11c2b12 100644 --- a/nixos/tests/radarr.nix +++ b/nixos/tests/radarr.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "radarr"; - meta.maintainers = with maintainers; [ etu ]; + meta.maintainers = with lib.maintainers; [ etu ]; nodes.machine = { pkgs, ... }: From 1b26f82eede5dd6ac3af663f6dde9b3cc1d430c5 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 055/114] nixos/tests/readarr.nix: get rid of `with lib` --- nixos/tests/readarr.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nixos/tests/readarr.nix b/nixos/tests/readarr.nix index bb7dd8529848..7c144e2ee02f 100644 --- a/nixos/tests/readarr.nix +++ b/nixos/tests/readarr.nix @@ -1,10 +1,6 @@ -import ./make-test-python.nix ({ lib, ... }: - -with lib; - -{ +import ./make-test-python.nix ({ lib, ... }: { name = "readarr"; - meta.maintainers = with maintainers; [ jocelynthode ]; + meta.maintainers = with lib.maintainers; [ jocelynthode ]; nodes.machine = { pkgs, ... }: From 5f00f1f49c38ded052d6e76853ebd21fa3b48dba Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 056/114] nixos/tests/sonarr.nix: get rid of `with lib` --- nixos/tests/sonarr.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/sonarr.nix b/nixos/tests/sonarr.nix index bdfc8916cb7f..57e6b72db3a3 100644 --- a/nixos/tests/sonarr.nix +++ b/nixos/tests/sonarr.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "sonarr"; - meta.maintainers = with maintainers; [ etu ]; + meta.maintainers = with lib.maintainers; [ etu ]; nodes.machine = { pkgs, ... }: From bef35b3b88b0b3072d6a971d3e155d3055bc1ec9 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 057/114] nixos/tests/sudo.nix: get rid of `with lib` --- nixos/tests/sudo.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nixos/tests/sudo.nix b/nixos/tests/sudo.nix index 661fe9989e7a..3b6028c6f0b0 100644 --- a/nixos/tests/sudo.nix +++ b/nixos/tests/sudo.nix @@ -2,17 +2,13 @@ let password = "helloworld"; - in - import ./make-test-python.nix ({ pkgs, ...} : { + import ./make-test-python.nix ({ lib, pkgs, ...} : { name = "sudo"; - meta = with pkgs.lib.maintainers; { - maintainers = [ lschuermann ]; - }; + meta.maintainers = with lib.maintainers; [ lschuermann ]; nodes.machine = { lib, ... }: - with lib; { users.groups = { foobar = {}; barfoo = {}; baz = { gid = 1337; }; }; users.users = { From 07b75a58e1664dc0913c2a1a5d0a6635987fe9ce Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:19 -0300 Subject: [PATCH 058/114] nixos/tests/systemd-timesyncd.nix: get rid of `with lib` --- nixos/tests/systemd-timesyncd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/systemd-timesyncd.nix b/nixos/tests/systemd-timesyncd.nix index ad5b9a47383b..43abd36c47d9 100644 --- a/nixos/tests/systemd-timesyncd.nix +++ b/nixos/tests/systemd-timesyncd.nix @@ -11,11 +11,11 @@ in { name = "systemd-timesyncd"; nodes = { current = mkVM {}; - pre1909 = mkVM ({lib, ... }: with lib; { + pre1909 = mkVM ({lib, ... }: { # create the path that should be migrated by our activation script when # upgrading to a newer nixos version system.stateVersion = "19.03"; - system.activationScripts.simulate-old-timesync-state-dir = mkBefore '' + system.activationScripts.simulate-old-timesync-state-dir = lib.mkBefore '' rm -f /var/lib/systemd/timesync mkdir -p /var/lib/systemd /var/lib/private/systemd/timesync ln -s /var/lib/private/systemd/timesync /var/lib/systemd/timesync From de2927e336fd653cb805afe8af8ed3006ff2dedf Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:20 -0300 Subject: [PATCH 059/114] nixos/tests/tor.nix: get rid of `with lib` --- nixos/tests/tor.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/tests/tor.nix b/nixos/tests/tor.nix index 71ec9df4641f..b55fbf91232c 100644 --- a/nixos/tests/tor.nix +++ b/nixos/tests/tor.nix @@ -1,15 +1,13 @@ -import ./make-test-python.nix ({ lib, ... }: with lib; - -{ +import ./make-test-python.nix ({ lib, ... }: { name = "tor"; - meta.maintainers = with maintainers; [ joachifm ]; + meta.maintainers = with lib.maintainers; [ joachifm ]; nodes.client = { pkgs, ... }: { boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ]; networking.firewall.enable = false; networking.useDHCP = false; - environment.systemPackages = with pkgs; [ netcat ]; + environment.systemPackages = [ pkgs.netcat ]; services.tor.enable = true; services.tor.client.enable = true; services.tor.settings.ControlPort = 9051; From 9fe5926b1553272ed34a5ed99aa141870ab6d960 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:21 -0300 Subject: [PATCH 060/114] nixos/tests/uptime-kuma.nix: get rid of `with lib` --- nixos/tests/uptime-kuma.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/tests/uptime-kuma.nix b/nixos/tests/uptime-kuma.nix index 3d588d73cdb5..00e2008a5257 100644 --- a/nixos/tests/uptime-kuma.nix +++ b/nixos/tests/uptime-kuma.nix @@ -1,10 +1,8 @@ import ./make-test-python.nix ({ lib, ... }: -with lib; - { name = "uptime-kuma"; - meta.maintainers = with maintainers; [ julienmalka ]; + meta.maintainers = with lib.maintainers; [ julienmalka ]; nodes.machine = { pkgs, ... }: From 21b0935d38efb2ade3bf6d9a08ab9211eeef4497 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:21 -0300 Subject: [PATCH 061/114] nixos/tests/xss-lock.nix: get rid of `with lib` --- nixos/tests/xss-lock.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nixos/tests/xss-lock.nix b/nixos/tests/xss-lock.nix index c927d9274e65..e4e41a5aa797 100644 --- a/nixos/tests/xss-lock.nix +++ b/nixos/tests/xss-lock.nix @@ -1,10 +1,6 @@ -import ./make-test-python.nix ({ pkgs, lib, ... }: - -with lib; - -{ +import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "xss-lock"; - meta.maintainers = with pkgs.lib.maintainers; [ ]; + meta.maintainers = [ ]; nodes = { simple = { From 6955c0c03b1736a5fa57730f56085cb1f5703038 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:21 -0300 Subject: [PATCH 062/114] nixos/tests/yabar.nix: get rid of `with lib` --- nixos/tests/yabar.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/nixos/tests/yabar.nix b/nixos/tests/yabar.nix index ff7a47ae6370..212a8ce4bbf5 100644 --- a/nixos/tests/yabar.nix +++ b/nixos/tests/yabar.nix @@ -1,12 +1,6 @@ -import ./make-test-python.nix ({ pkgs, lib, ... }: - -with lib; - -{ +import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "yabar"; - meta = with pkgs.lib.maintainers; { - maintainers = [ ]; - }; + meta.maintainers = [ ]; nodes.machine = { imports = [ ./common/x11.nix ./common/user-account.nix ]; From aec8dddef7af66a7a4dc93449a23bdf638d342b6 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH 063/114] nixos/tests/gitlab.nix: get rid of `with lib` --- nixos/tests/gitlab.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix index 672b497e7ec6..d4e7603c20ca 100644 --- a/nixos/tests/gitlab.nix +++ b/nixos/tests/gitlab.nix @@ -11,8 +11,6 @@ { pkgs, lib, ... }: -with lib; - let inherit (import ./ssh-keys.nix pkgs) snakeOilPrivateKey snakeOilPublicKey; initialRootPassword = "notproduction"; @@ -30,9 +28,7 @@ let bobProjectId = "3"; in { name = "gitlab"; - meta = with pkgs.lib.maintainers; { - maintainers = [ globin yayayayaka ]; - }; + meta.maintainers = with lib.maintainers; [ globin yayayayaka ]; nodes = { gitlab = { ... }: { @@ -43,10 +39,10 @@ in { virtualisation.useNixStoreImage = true; virtualisation.writableStore = false; - systemd.services.gitlab.serviceConfig.Restart = mkForce "no"; - systemd.services.gitlab-workhorse.serviceConfig.Restart = mkForce "no"; - systemd.services.gitaly.serviceConfig.Restart = mkForce "no"; - systemd.services.gitlab-sidekiq.serviceConfig.Restart = mkForce "no"; + systemd.services.gitlab.serviceConfig.Restart = lib.mkForce "no"; + systemd.services.gitlab-workhorse.serviceConfig.Restart = lib.mkForce "no"; + systemd.services.gitaly.serviceConfig.Restart = lib.mkForce "no"; + systemd.services.gitlab-sidekiq.serviceConfig.Restart = lib.mkForce "no"; services.nginx = { enable = true; @@ -195,7 +191,7 @@ in { gitlab.succeed( "echo \"Authorization: Bearer $(curl -X POST -H 'Content-Type: application/json' -d @${auth} http://gitlab/oauth/token | ${pkgs.jq}/bin/jq -r '.access_token')\" >/tmp/headers" ) - '' + optionalString doSetup '' + '' + lib.optionalString doSetup '' with subtest("Create user Alice"): gitlab.succeed( """[ "$(curl -o /dev/null -w '%{http_code}' -X POST -H 'Content-Type: application/json' -H @/tmp/headers -d @${createUserAlice} http://gitlab/api/v4/users)" = "201" ]""" From 14a440a59818ae5ee1b3a3caeb0d85b85ba0eb36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Finance?= Date: Sat, 13 May 2023 14:37:18 +0200 Subject: [PATCH 064/114] python310Packages.bayespy: add patch to fix deprecated numpy types --- .../python-modules/bayespy/default.nix | 4 + .../pr127-Fix-deprecated-numpy-types.patch | 129 ++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 pkgs/development/python-modules/bayespy/pr127-Fix-deprecated-numpy-types.patch diff --git a/pkgs/development/python-modules/bayespy/default.nix b/pkgs/development/python-modules/bayespy/default.nix index ff3d8cfce2c3..7ec5dc5ec7d5 100644 --- a/pkgs/development/python-modules/bayespy/default.nix +++ b/pkgs/development/python-modules/bayespy/default.nix @@ -23,6 +23,10 @@ buildPythonPackage rec { url = "https://github.com/bayespy/bayespy/commit/9be53bada763e19c2b6086731a6aa542ad33aad0.patch"; hash = "sha256-KYt/0GcaNWR9K9/uS2OXgK7g1Z+Bayx9+IQGU75Mpuo="; }) + + # Fix deprecated numpy types + # https://sources.debian.org/src/python-bayespy/0.5.22-5/debian/patches/pr127-Fix-deprecated-numpy-types.patch/ + ./pr127-Fix-deprecated-numpy-types.patch ]; nativeCheckInputs = [ pytestCheckHook nose glibcLocales ]; diff --git a/pkgs/development/python-modules/bayespy/pr127-Fix-deprecated-numpy-types.patch b/pkgs/development/python-modules/bayespy/pr127-Fix-deprecated-numpy-types.patch new file mode 100644 index 000000000000..160a15eddb0b --- /dev/null +++ b/pkgs/development/python-modules/bayespy/pr127-Fix-deprecated-numpy-types.patch @@ -0,0 +1,129 @@ +Description: Fix deprecated numpy types +From: Antti Mäkinen +Bug: https://github.com/bayespy/bayespy/pull/127 +Bug-Debian: https://bugs.debian.org/1027220 + +--- a/bayespy/inference/vmp/nodes/categorical_markov_chain.py ++++ b/bayespy/inference/vmp/nodes/categorical_markov_chain.py +@@ -171,7 +171,7 @@ class CategoricalMarkovChainDistribution + # Explicit broadcasting + P = P * np.ones(plates)[...,None,None,None] + # Allocate memory +- Z = np.zeros(plates + (self.N,), dtype=np.int) ++ Z = np.zeros(plates + (self.N,), dtype=np.int64) + # Draw initial state + Z[...,0] = random.categorical(p0, size=plates) + # Create [0,1,2,...,len(plate_axis)] indices for each plate axis and +--- a/bayespy/inference/vmp/nodes/concatenate.py ++++ b/bayespy/inference/vmp/nodes/concatenate.py +@@ -70,7 +70,7 @@ class Concatenate(Deterministic): + ) + + # Compute start indices for each parent on the concatenated plate axis +- self._indices = np.zeros(len(nodes)+1, dtype=np.int) ++ self._indices = np.zeros(len(nodes)+1, dtype=np.int64) + self._indices[1:] = np.cumsum([int(parent.plates[axis]) + for parent in self.parents]) + self._lengths = [parent.plates[axis] for parent in self.parents] +--- a/bayespy/inference/vmp/nodes/tests/test_binomial.py ++++ b/bayespy/inference/vmp/nodes/tests/test_binomial.py +@@ -43,7 +43,7 @@ class TestBinomial(TestCase): + X = Binomial(10, 0.7*np.ones((4,3))) + self.assertEqual(X.plates, + (4,3)) +- n = np.ones((4,3), dtype=np.int) ++ n = np.ones((4,3), dtype=np.int64) + X = Binomial(n, 0.7) + self.assertEqual(X.plates, + (4,3)) +--- a/bayespy/inference/vmp/nodes/tests/test_multinomial.py ++++ b/bayespy/inference/vmp/nodes/tests/test_multinomial.py +@@ -43,7 +43,7 @@ class TestMultinomial(TestCase): + X = Multinomial(10, 0.25*np.ones((2,3,4))) + self.assertEqual(X.plates, + (2,3)) +- n = 10 * np.ones((3,4), dtype=np.int) ++ n = 10 * np.ones((3,4), dtype=np.int64) + X = Multinomial(n, [0.1, 0.3, 0.6]) + self.assertEqual(X.plates, + (3,4)) +--- a/bayespy/inference/vmp/nodes/tests/test_take.py ++++ b/bayespy/inference/vmp/nodes/tests/test_take.py +@@ -89,7 +89,7 @@ class TestTake(TestCase): + + # Test matrix indices, no shape + X = GaussianARD(1, 1, plates=(3,), shape=(2,)) +- Y = Take(X, np.ones((4, 5), dtype=np.int)) ++ Y = Take(X, np.ones((4, 5), dtype=np.int64)) + self.assertEqual( + Y.plates, + (4, 5), +@@ -113,7 +113,7 @@ class TestTake(TestCase): + + # Test vector indices with more plate axes + X = GaussianARD(1, 1, plates=(4, 2), shape=()) +- Y = Take(X, np.ones(3, dtype=np.int)) ++ Y = Take(X, np.ones(3, dtype=np.int64)) + self.assertEqual( + Y.plates, + (4, 3), +@@ -125,7 +125,7 @@ class TestTake(TestCase): + + # Test take on other plate axis + X = GaussianARD(1, 1, plates=(4, 2), shape=()) +- Y = Take(X, np.ones(3, dtype=np.int), plate_axis=-2) ++ Y = Take(X, np.ones(3, dtype=np.int64), plate_axis=-2) + self.assertEqual( + Y.plates, + (3, 2), +@@ -141,7 +141,7 @@ class TestTake(TestCase): + ValueError, + Take, + X, +- np.ones(3, dtype=np.int), ++ np.ones(3, dtype=np.int64), + plate_axis=0, + ) + +--- a/bayespy/utils/tests/test_linalg.py ++++ b/bayespy/utils/tests/test_linalg.py +@@ -126,7 +126,7 @@ class TestBandedSolve(misc.TestCase): + # Random sizes of the blocks + #D = np.random.randint(5, 10, size=N) + # Fixed sizes of the blocks +- D = 5*np.ones(N, dtype=np.int) ++ D = 5*np.ones(N, dtype=np.int64) + + # Some helpful variables to create the covariances + W = [np.random.randn(D[i], 2*D[i]) +--- a/bayespy/utils/misc.py ++++ b/bayespy/utils/misc.py +@@ -355,7 +355,7 @@ class TestCase(unittest.TestCase): + ] + ) + ] +- ).astype(np.int) ++ ).astype(int) + + def pack(x): + return [ +--- a/bayespy/utils/random.py ++++ b/bayespy/utils/random.py +@@ -284,7 +284,7 @@ def categorical(p, size=None): + for ind in inds: + z[ind] = np.searchsorted(P[ind], x[ind]) + +- return z.astype(np.int) ++ return z.astype(int) + + + def multinomial(n, p, size=None): +@@ -313,7 +313,7 @@ def multinomial(n, p, size=None): + for i in misc.nested_iterator(size): + x[i] = np.random.multinomial(n[i], p[i]) + +- return x.astype(np.int) ++ return x.astype(int) + + + def gamma(a, b, size=None): From be9c774c1472c0f2e8bf8c570af53449998702b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Finance?= Date: Sat, 13 May 2023 16:20:19 +0200 Subject: [PATCH 065/114] python311Packages.brian2: add patch to fix deprecated numpy types --- .../python-modules/brian2/default.nix | 6 ++++++ .../python-modules/brian2/numpy1.24.patch | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/brian2/numpy1.24.patch diff --git a/pkgs/development/python-modules/brian2/default.nix b/pkgs/development/python-modules/brian2/default.nix index 40276980b4b6..6ebd89a7b346 100644 --- a/pkgs/development/python-modules/brian2/default.nix +++ b/pkgs/development/python-modules/brian2/default.nix @@ -22,6 +22,12 @@ buildPythonPackage rec { hash = "sha256-x1EcS7PFCsjPYsq3Lt87SJRW4J5DE/OfdFs3NuyHiLw="; }; + patches = [ + # Fix deprecated numpy types + # https://sources.debian.org/data/main/b/brian/2.5.1-3/debian/patches/numpy1.24.patch + ./numpy1.24.patch + ]; + propagatedBuildInputs = [ cython jinja2 diff --git a/pkgs/development/python-modules/brian2/numpy1.24.patch b/pkgs/development/python-modules/brian2/numpy1.24.patch new file mode 100644 index 000000000000..01af8f77c0ed --- /dev/null +++ b/pkgs/development/python-modules/brian2/numpy1.24.patch @@ -0,0 +1,18 @@ +Description: Remove deprecated use of np.float +Author: Marcel Stimberg +Bug-Debian: https://bugs.debian.org/1027193 +Applied-Upstream: 61ef84b316a3d0a892298adf51abd8ac50900758 +Last-Update: 2023-01-06 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- brian.orig/brian2/units/fundamentalunits.py ++++ brian/brian2/units/fundamentalunits.py +@@ -1597,7 +1597,7 @@ + unitless = np.array(self / best_unit, copy=False) + threshold = np.get_printoptions()['threshold'] // 100 + if unitless.ndim == 0: +- sympy_quantity = np.float(unitless) ++ sympy_quantity = float(unitless) + elif unitless.ndim == 1: + array_str = np.array2string(unitless, separator=" & ", threshold=threshold, + max_line_width=sys.maxsize) From 90237f910af764922d2241eeaeece0d6940fb886 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 May 2023 06:17:55 +0000 Subject: [PATCH 066/114] libpkgconf: 1.9.4 -> 1.9.5 --- pkgs/development/tools/misc/pkgconf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/pkgconf/default.nix b/pkgs/development/tools/misc/pkgconf/default.nix index 0aefac801360..f92e7930c4f9 100644 --- a/pkgs/development/tools/misc/pkgconf/default.nix +++ b/pkgs/development/tools/misc/pkgconf/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation rec { pname = "pkgconf"; - version = "1.9.4"; + version = "1.9.5"; src = fetchurl { url = "https://distfiles.dereferenced.org/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-2szxu+WjDRSbVWx9L//+r9dte1FOJJJxq91QFTPB2K4="; + hash = "sha256-GsFlbeuydJdWMDb3v/woFJD4P5uEV8DWC8+2OPtrYXE="; }; outputs = [ "out" "lib" "dev" "man" "doc" ]; From 01ddcaa879471f82eb5f8e704897e272a8206786 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 13 May 2023 17:51:01 +0900 Subject: [PATCH 067/114] bwa: 0.7.17 -> unstable-2022-09-23 Diff: https://github.com/lh3/bwa/compare/v0.7.17...139f68fc4c3747813783a488aef2adc86626b01b --- .../science/biology/bwa/default.nix | 26 +++++++------------ 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/pkgs/applications/science/biology/bwa/default.nix b/pkgs/applications/science/biology/bwa/default.nix index d9ae226027a0..aeea7ed26465 100644 --- a/pkgs/applications/science/biology/bwa/default.nix +++ b/pkgs/applications/science/biology/bwa/default.nix @@ -1,24 +1,16 @@ -{ lib, stdenv, fetchurl, fetchpatch, zlib }: +{ lib, stdenv, fetchFromGitHub, zlib }: -stdenv.mkDerivation rec { +stdenv.mkDerivation { pname = "bwa"; - version = "0.7.17"; + version = "unstable-2022-09-23"; - src = fetchurl { - url = "mirror://sourceforge/bio-bwa/${pname}-${version}.tar.bz2"; - sha256 = "1zfhv2zg9v1icdlq4p9ssc8k01mca5d1bd87w71py2swfi74s6yy"; + src = fetchFromGitHub { + owner = "lh3"; + repo = "bwa"; + rev = "139f68fc4c3747813783a488aef2adc86626b01b"; + hash = "sha256-8u35lTK6gBKeapYoIkG9MuJ/pyy/HFA2OiPn+Ml2C6c="; }; - patches = [ - # Pull upstream patch for -fno-common toolchain support like upstream - # gcc-10: https://github.com/lh3/bwa/pull/267 - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/lh3/bwa/commit/2a1ae7b6f34a96ea25be007ac9d91e57e9d32284.patch"; - sha256 = "1lihfxai6vcshv5vr3m7yhk833bdivkja3gld6ilwrc4z28f6wqy"; - }) - ]; - buildInputs = [ zlib ]; # Avoid hardcoding gcc to allow environments with a different @@ -45,6 +37,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3; homepage = "https://bio-bwa.sourceforge.net/"; maintainers = with maintainers; [ luispedro ]; - platforms = platforms.x86_64; + platforms = platforms.unix; }; } From c85dced23e4d0a0a860371880aad0d8bca83ed6f Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 13 May 2023 17:55:53 +0900 Subject: [PATCH 068/114] bwa: update license --- pkgs/applications/science/biology/bwa/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/biology/bwa/default.nix b/pkgs/applications/science/biology/bwa/default.nix index aeea7ed26465..36bf2288c540 100644 --- a/pkgs/applications/science/biology/bwa/default.nix +++ b/pkgs/applications/science/biology/bwa/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A software package for mapping low-divergent sequences against a large reference genome, such as the human genome"; - license = licenses.gpl3; + license = licenses.gpl3Plus; homepage = "https://bio-bwa.sourceforge.net/"; maintainers = with maintainers; [ luispedro ]; platforms = platforms.unix; From 04dd7f41e720c10c48ba65f60a3063740fe081c8 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 13 May 2023 17:57:16 +0900 Subject: [PATCH 069/114] bwa: add runHook --- pkgs/applications/science/biology/bwa/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/biology/bwa/default.nix b/pkgs/applications/science/biology/bwa/default.nix index 36bf2288c540..4786f25beb50 100644 --- a/pkgs/applications/science/biology/bwa/default.nix +++ b/pkgs/applications/science/biology/bwa/default.nix @@ -24,12 +24,16 @@ stdenv.mkDerivation { # it's unclear which headers are intended to be part of the public interface # so we may find ourselves having to add more here over time installPhase = '' + runHook preInstall + install -vD -t $out/bin bwa install -vD -t $out/lib libbwa.a install -vD -t $out/include bntseq.h install -vD -t $out/include bwa.h install -vD -t $out/include bwamem.h install -vD -t $out/include bwt.h + + runHook postInstall ''; meta = with lib; { From 9b10c55355bc0f9c7b7ec5a6ebc6f46da45474ce Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 15 May 2023 17:53:48 -0700 Subject: [PATCH 070/114] libressl: disable tests on powerpc --- pkgs/development/libraries/libressl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libressl/default.nix b/pkgs/development/libraries/libressl/default.nix index ed12158fc081..2ee2c0ce9f44 100644 --- a/pkgs/development/libraries/libressl/default.nix +++ b/pkgs/development/libraries/libressl/default.nix @@ -62,7 +62,7 @@ let ''} ''; - doCheck = true; + doCheck = !stdenv.hostPlatform.isPower64; preCheck = '' export PREVIOUS_${ldLibPathEnvName}=$${ldLibPathEnvName} export ${ldLibPathEnvName}="$${ldLibPathEnvName}:$(realpath tls/):$(realpath ssl/):$(realpath crypto/)" From b50c20fd67c461ec34871296d7de74b0e01df926 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 16 May 2023 08:48:25 +0200 Subject: [PATCH 071/114] python3Packages.pylsp-rope: init at 0.1.11 --- .../python-modules/pylsp-rope/default.nix | 40 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/development/python-modules/pylsp-rope/default.nix diff --git a/pkgs/development/python-modules/pylsp-rope/default.nix b/pkgs/development/python-modules/pylsp-rope/default.nix new file mode 100644 index 000000000000..1199f40eaeec --- /dev/null +++ b/pkgs/development/python-modules/pylsp-rope/default.nix @@ -0,0 +1,40 @@ +{ lib +, buildPythonPackage +, fetchPypi +, rope +, pytestCheckHook +, python-lsp-server +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pylsp-rope"; + version = "0.1.11"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-SKrfmT2vpej8oRCLSlQxMUz4C8eM/91WQA6tnEB1U74="; + }; + + propagatedBuildInputs = [ + rope + python-lsp-server + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "pylsp_rope" + ]; + + meta = with lib; { + description = "Extended refactoring capabilities for Python LSP Server using Rope"; + homepage = "https://github.com/python-rope/pylsp-rope"; + license = licenses.mit; + maintainers = with maintainers; [ GaetanLepage ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 348b9e913e3d..75882933ed29 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8712,6 +8712,8 @@ self: super: with self; { pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { }; + pylsp-rope = callPackage ../development/python-modules/pylsp-rope { }; + pylpsd = callPackage ../development/python-modules/pylpsd { }; pylti = callPackage ../development/python-modules/pylti { }; From 076a93efc688d9b34b77e268be6735672cd82a2f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 16 May 2023 09:05:57 +0200 Subject: [PATCH 072/114] python3Packages.memestra: init at 0.2.1 --- .../python-modules/memestra/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/memestra/default.nix diff --git a/pkgs/development/python-modules/memestra/default.nix b/pkgs/development/python-modules/memestra/default.nix new file mode 100644 index 000000000000..3bcae8336a89 --- /dev/null +++ b/pkgs/development/python-modules/memestra/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, fetchPypi +, beniget +, frilouz +, gast +, nbconvert +, nbformat +, pythonOlder +, pyyaml +}: + +buildPythonPackage rec { + pname = "memestra"; + version = "0.2.1"; + + disabled = pythonOlder "3.4"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-6shwf9BoDfZMy0itP8esNP4ov6fw6LJpO3Y5ZahwDZw="; + }; + + propagatedBuildInputs = [ + gast + beniget + frilouz + nbconvert + nbformat + pyyaml + ]; + + # Tests are not detected and so the checkPhase fails + doCheck = false; + + pythonImportsCheck = [ + "memestra" + ]; + + meta = with lib; { + description = "A linter that tracks reference to deprecated functions."; + homepage = "https://github.com/QuantStack/memestra"; + license = licenses.bsd3; + maintainers = with maintainers; [ GaetanLepage ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 75882933ed29..1810fc039c51 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6109,6 +6109,8 @@ self: super: with self; { meld3 = callPackage ../development/python-modules/meld3 { }; + memestra = callPackage ../development/python-modules/memestra { }; + memory-allocator = callPackage ../development/python-modules/memory-allocator { }; memory_profiler = callPackage ../development/python-modules/memory_profiler { }; From 2eb41462b5e848de0c6c6d10f1821b2ca43eff0b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 16 May 2023 09:06:11 +0200 Subject: [PATCH 073/114] python3Packages.pyls-memestra: init at 0.0.16 --- .../python-modules/pyls-memestra/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/pyls-memestra/default.nix diff --git a/pkgs/development/python-modules/pyls-memestra/default.nix b/pkgs/development/python-modules/pyls-memestra/default.nix new file mode 100644 index 000000000000..62ae057613a6 --- /dev/null +++ b/pkgs/development/python-modules/pyls-memestra/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, deprecated +, memestra +, python-lsp-server +}: + +buildPythonPackage rec { + pname = "pyls-memestra"; + version = "0.0.16"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-zMVDd2uB4znw38z3yb0Nt7qQH5dGHTbQBIZO/qo1/t8="; + }; + + propagatedBuildInputs = [ + deprecated + memestra + python-lsp-server + ]; + + # Tests fail because they rely on writting to read-only files + doCheck = false; + + pythonImportsCheck = [ + "pyls_memestra" + ]; + + meta = with lib; { + description = "Memestra plugin for the Python Language Server"; + homepage = "https://github.com/QuantStack/pyls-memestra"; + license = licenses.bsd3; + maintainers = with maintainers; [ GaetanLepage ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1810fc039c51..3dbf49c2679a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8710,6 +8710,8 @@ self: super: with self; { pyls-isort = callPackage ../development/python-modules/pyls-isort { }; + pyls-memestra = callPackage ../development/python-modules/pyls-memestra { }; + pyls-spyder = callPackage ../development/python-modules/pyls-spyder { }; pylsp-mypy = callPackage ../development/python-modules/pylsp-mypy { }; From 783a8712f2e18a06b13a2663005a349625264c40 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 May 2023 03:56:47 +0000 Subject: [PATCH 074/114] tektoncd-cli: 0.30.1 -> 0.31.0 --- .../networking/cluster/tektoncd-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/tektoncd-cli/default.nix b/pkgs/applications/networking/cluster/tektoncd-cli/default.nix index aee268f0a709..3968b9a65e66 100644 --- a/pkgs/applications/networking/cluster/tektoncd-cli/default.nix +++ b/pkgs/applications/networking/cluster/tektoncd-cli/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tektoncd-cli"; - version = "0.30.1"; + version = "0.31.0"; src = fetchFromGitHub { owner = "tektoncd"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-tn7nK5YTdEYJf9UBajOZEc8fQ0cx3qM0X/7UYnDklj8="; + sha256 = "sha256-LJEdeYVwcmxd7DU/HI0TpWtZ1xUJz4WEnjEfvx5HsZQ="; }; - vendorSha256 = null; + vendorHash = null; ldflags = [ "-s" "-w" "-X github.com/tektoncd/cli/pkg/cmd/version.clientVersion=${version}" ]; From 793d3463045d1167fa72bff627d1f7655dd243c8 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 17 May 2023 04:20:00 +0000 Subject: [PATCH 075/114] nodejs_20: 20.1.0 -> 20.2.0 https://github.com/nodejs/node/releases/tag/v20.2.0 --- pkgs/development/web/nodejs/v20.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v20.nix b/pkgs/development/web/nodejs/v20.nix index f760045e783a..90bb75bb2a93 100644 --- a/pkgs/development/web/nodejs/v20.nix +++ b/pkgs/development/web/nodejs/v20.nix @@ -9,8 +9,8 @@ let in buildNodejs { inherit enableNpm; - version = "20.1.0"; - sha256 = "sha256-YA+eEYYJlYFLkSKxrFMY9q1WQnR4Te7ZjYqSBmSUNrU="; + version = "20.2.0"; + sha256 = "sha256-IlI98jFsNVaXFP8fabBTwuKGztRgiYQX3uRpRe/N+Yk="; patches = [ ./revert-arm64-pointer-auth.patch ./disable-darwin-v8-system-instrumentation-node19.patch From b1c0f3bec2698cdce9f8be93072f7bf39c8e854e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 17 May 2023 04:20:00 +0000 Subject: [PATCH 076/114] nodejs_19: drop Node.js 19 reaches End-of-Life on 2023-06-01. --- pkgs/development/web/nodejs/v19.nix | 19 ------------------- pkgs/top-level/aliases.nix | 2 -- pkgs/top-level/all-packages.nix | 4 ---- 3 files changed, 25 deletions(-) delete mode 100644 pkgs/development/web/nodejs/v19.nix diff --git a/pkgs/development/web/nodejs/v19.nix b/pkgs/development/web/nodejs/v19.nix deleted file mode 100644 index ba6c1af3cb6f..000000000000 --- a/pkgs/development/web/nodejs/v19.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ callPackage, openssl, fetchpatch, python3, enableNpm ? true }: - -let - buildNodejs = callPackage ./nodejs.nix { - inherit openssl; - python = python3; - }; - -in -buildNodejs { - inherit enableNpm; - version = "19.9.0"; - sha256 = "sha256-x/zp1Gymzg2JkEM8v2AbuSecDq7YcFs1cBjPUL6b7Sk="; - patches = [ - ./revert-arm64-pointer-auth.patch - ./disable-darwin-v8-system-instrumentation-node19.patch - ./bypass-darwin-xcrun-node16.patch - ]; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 10a24928b78b..2396d7530e88 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1146,8 +1146,6 @@ mapAliases ({ nodejs-slim-16_x = nodejs-slim_16; # Added 2022-11-06 nodejs-18_x = nodejs_18; # Added 2022-11-06 nodejs-slim-18_x = nodejs-slim_18; # Added 2022-11-06 - nodejs-19_x = nodejs_19; # Added 2022-11-06 - nodejs-slim-19_x = nodejs-slim_19; # Added 2022-11-06 nologin = throw "'nologin' has been renamed to/replaced by 'shadow'"; # Converted to throw 2022-02-22 nomad_1_1 = throw "nomad_1_1 has been removed because it's outdated. Use a a newer version instead"; # Added 2022-05-22 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # Added 2021-05-27 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 76195c002c9d..97ed76d27e76 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9484,10 +9484,6 @@ with pkgs; nodejs-slim_18 = callPackage ../development/web/nodejs/v18.nix { enableNpm = false; }; - nodejs_19 = callPackage ../development/web/nodejs/v19.nix { }; - nodejs-slim_19 = callPackage ../development/web/nodejs/v19.nix { - enableNpm = false; - }; nodejs_20 = callPackage ../development/web/nodejs/v20.nix { }; nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix { enableNpm = false; From ed3e3d8aa36fb381566a018dfee193e696924903 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 May 2023 06:12:39 +0000 Subject: [PATCH 077/114] python310Packages.pyjnius: 1.4.2 -> 1.5.0 --- pkgs/development/python-modules/pyjnius/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyjnius/default.nix b/pkgs/development/python-modules/pyjnius/default.nix index 5d8d7f7da01c..786312ae9379 100644 --- a/pkgs/development/python-modules/pyjnius/default.nix +++ b/pkgs/development/python-modules/pyjnius/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "pyjnius"; - version = "1.4.2"; + version = "1.5.0"; src = fetchPypi { inherit pname version; - hash = "sha256-/AY3zaSuEo7EqWrDJ9NS6H6oZnZLAdliZyhwvlOana4="; + hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4="; }; propagatedBuildInputs = [ six From a98b9e251bf191c4de9a12b0490472779a3dd334 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 May 2023 09:53:25 +0200 Subject: [PATCH 078/114] python310Packages.pyjnius: add changelog to meta --- .../python-modules/pyjnius/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyjnius/default.nix b/pkgs/development/python-modules/pyjnius/default.nix index 786312ae9379..52915a7c4a95 100644 --- a/pkgs/development/python-modules/pyjnius/default.nix +++ b/pkgs/development/python-modules/pyjnius/default.nix @@ -1,8 +1,8 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , cython , fetchPypi , jdk -, lib , six }: @@ -14,17 +14,24 @@ buildPythonPackage rec { inherit pname version; hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4="; }; + propagatedBuildInputs = [ six ]; - nativeBuildInputs = [ jdk cython ]; + nativeBuildInputs = [ + jdk + cython + ]; - pythonImportsCheck = [ "jnius" ]; + pythonImportsCheck = [ + "jnius" + ]; meta = with lib; { description = "A Python module to access Java classes as Python classes using the Java Native Interface (JNI)"; homepage = "https://github.com/kivy/pyjnius"; + changelog = "https://github.com/kivy/pyjnius/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ifurther ]; }; From d52c763b99ca324c10c91d245b9b57a81d6d342b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 May 2023 09:55:01 +0200 Subject: [PATCH 079/114] python310Packages.pyjnius: disable on unsupported Python releases - add format --- pkgs/development/python-modules/pyjnius/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pyjnius/default.nix b/pkgs/development/python-modules/pyjnius/default.nix index 52915a7c4a95..292c5f1c116a 100644 --- a/pkgs/development/python-modules/pyjnius/default.nix +++ b/pkgs/development/python-modules/pyjnius/default.nix @@ -3,22 +3,21 @@ , cython , fetchPypi , jdk -, six +, pythonOlder }: buildPythonPackage rec { pname = "pyjnius"; version = "1.5.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-ZjRuJk8eIghrh8XINonqvP7xRQrGR2/YVr6kmLLhNz4="; }; - propagatedBuildInputs = [ - six - ]; - nativeBuildInputs = [ jdk cython From a94631c6a80bc389f7b1e314a9d23461e32d7b37 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 May 2023 10:21:05 +0000 Subject: [PATCH 080/114] python310Packages.wn: 0.9.3 -> 0.9.4 --- pkgs/development/python-modules/wn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/wn/default.nix b/pkgs/development/python-modules/wn/default.nix index 1bdb096f7b57..b2540d0b2d68 100644 --- a/pkgs/development/python-modules/wn/default.nix +++ b/pkgs/development/python-modules/wn/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "wn"; - version = "0.9.3"; + version = "0.9.4"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-rqrzGUiF1XQZzE6xicwJ7CJsI7SvWlFT4nDCrhtQUWg="; + hash = "sha256-n03hFoGMAqLu57gw52tY2jkE8uuLFAbwTZ63sHG2168="; }; nativeBuildInputs = [ From 6119afdc428b1c9a2e0a6d6076fe6ea1f1e989ca Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 17 May 2023 12:51:24 +0200 Subject: [PATCH 081/114] python310Packages.django-context-decorator: 1.5.0 -> 1.6.0 https://github.com/rixx/django-context-decorator/compare/v1.5.0...v1.6.0 --- .../python-modules/django-context-decorator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-context-decorator/default.nix b/pkgs/development/python-modules/django-context-decorator/default.nix index 44d96fa9ad33..a23f5c874a76 100644 --- a/pkgs/development/python-modules/django-context-decorator/default.nix +++ b/pkgs/development/python-modules/django-context-decorator/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "django-context-decorator"; - version = "1.5.0"; + version = "1.6.0"; format = "setuptools"; src = fetchFromGitHub { owner = "rixx"; repo = "django-context-decorator"; rev = "v${version}"; - hash = "sha256-wgVZadI+4gK9snLfy/9FgFJJHqMyxndcxXwqIkMH29k="; + hash = "sha256-/FDGWGC1Pdu+RLyazDNZv+CMf5vscXprLdN8ELjUFNo="; }; pythonImportsCheck = [ From 82c71e671ea49c521c3f863bf13c47230c1ca056 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 May 2023 13:11:58 +0200 Subject: [PATCH 082/114] python3Packages.torch-bin: 2.0.0 -> 2.0.1 --- pkgs/development/python-modules/torch/bin.nix | 2 +- .../python-modules/torch/binary-hashes.nix | 98 +++++++++---------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/pkgs/development/python-modules/torch/bin.nix b/pkgs/development/python-modules/torch/bin.nix index bac2169332f8..b830b41527fd 100644 --- a/pkgs/development/python-modules/torch/bin.nix +++ b/pkgs/development/python-modules/torch/bin.nix @@ -25,7 +25,7 @@ let pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; srcs = import ./binary-hashes.nix version; unsupported = throw "Unsupported system"; - version = "2.0.0"; + version = "2.0.1"; in buildPythonPackage { inherit version; diff --git a/pkgs/development/python-modules/torch/binary-hashes.nix b/pkgs/development/python-modules/torch/binary-hashes.nix index e5daac6d44ee..7b1cc4e18011 100644 --- a/pkgs/development/python-modules/torch/binary-hashes.nix +++ b/pkgs/development/python-modules/torch/binary-hashes.nix @@ -6,86 +6,86 @@ # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. version : builtins.getAttr version { - "2.0.0" = { + "2.0.1" = { x86_64-linux-38 = { - name = "torch-2.0.0-cp38-cp38-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp38-cp38-linux_x86_64.whl"; - hash = "sha256-H4766/y7fsOWL9jHw74CxmZu/1OhIEMAanSdZHZWFj4="; + name = "torch-2.0.1-cp38-cp38-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp38-cp38-linux_x86_64.whl"; + hash = "sha256-LOOKbk6nxLf1uqUeZSQ6X2h/bhmreRW6WypDEQX1C74="; }; x86_64-linux-39 = { - name = "torch-2.0.0-cp39-cp39-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp39-cp39-linux_x86_64.whl"; - hash = "sha256-6rl6n+WefjHWVisYb0NecXsd8zMcrcd25sBzIjmp7Tk="; + name = "torch-2.0.1-cp39-cp39-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp39-cp39-linux_x86_64.whl"; + hash = "sha256-61XynbV0TtqKlvVZTmN9rtDVIngnMAXedZlw5nz6alo="; }; x86_64-linux-310 = { - name = "torch-2.0.0-cp310-cp310-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp310-cp310-linux_x86_64.whl"; - hash = "sha256-S2kOK3fyEHNQDGXYu56pZWuMtOlp81c3C7yZKjsHR2Q="; + name = "torch-2.0.1-cp310-cp310-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl"; + hash = "sha256-p6SdRZv0hi9k97waaL7M+IgcL6nz4FaWCOFrpvhev3s="; }; x86_64-linux-311 = { - name = "torch-2.0.0-cp311-cp311-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp311-cp311-linux_x86_64.whl"; - hash = "sha256-I4Vz02LFZBE0UQRvZwjDuBWP5rG39sA7cnMyfZVd61Q="; + name = "torch-2.0.1-cp311-cp311-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp311-cp311-linux_x86_64.whl"; + hash = "sha256-FDtsZYwX1DN24t+6osEG01Y51hXl6N7EQpzx5RDdjWE="; }; x86_64-darwin-38 = { - name = "torch-2.0.0-cp38-none-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp38-none-macosx_10_9_x86_64.whl"; - hash = "sha256-zHiMu7vG60yQ5SxVDv0GdYbCaTCSzzZ8E1s0iTpkrng="; + name = "torch-2.0.1-cp38-none-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp38-none-macosx_10_9_x86_64.whl"; + hash = "sha256-Gttg02nyZQysjpqVsdV1jiXVJqNICPdEjQvVmeSukHI="; }; x86_64-darwin-39 = { - name = "torch-2.0.0-cp39-none-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp39-none-macosx_10_9_x86_64.whl"; - hash = "sha256-bguXvrA3oWVmnDElkfJCOC6RCaJA4gBU1aV4LZI2ytA="; + name = "torch-2.0.1-cp39-none-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp39-none-macosx_10_9_x86_64.whl"; + hash = "sha256-xi35k1K9buWlqNGDJFIRBDXReLUWTeRQgxo6jMFNxoA="; }; x86_64-darwin-310 = { - name = "torch-2.0.0-cp310-none-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp310-none-macosx_10_9_x86_64.whl"; - hash = "sha256-zptaSb1RPf95UKWgfW4mWU3VGYnO4FujiLA+jjZv1dU="; + name = "torch-2.0.1-cp310-none-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp310-none-macosx_10_9_x86_64.whl"; + hash = "sha256-Vn+E1lftxVgtcWkAVD5uYjU9videYc3DbtpJKeRt+ec="; }; x86_64-darwin-311 = { - name = "torch-2.0.0-cp311-none-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp311-none-macosx_10_9_x86_64.whl"; - hash = "sha256-AYWGIPJfJeep7EtUf/OOXifJLTjsTMupz7+zHXBx7Zw="; + name = "torch-2.0.1-cp311-none-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp311-none-macosx_10_9_x86_64.whl"; + hash = "sha256-72VEJ9kWABKYZGRONd7qdh+x/hMXEBgLlSpvLiIHB14="; }; aarch64-darwin-38 = { - name = "torch-2.0.0-cp38-none-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp38-none-macosx_11_0_arm64.whl"; - hash = "sha256-0pJkDw/XK3oxsqbjtjXrUGX8vt1EePnK0aHnqeyGHTU="; + name = "torch-2.0.1-cp38-none-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp38-none-macosx_11_0_arm64.whl"; + hash = "sha256-G8/8FrieKWgmszuY21Fm+ZDjtyZUorkGc+gXsWxQ4ys="; }; aarch64-darwin-39 = { - name = "torch-2.0.0-cp39-none-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp39-none-macosx_11_0_arm64.whl"; - hash = "sha256-KXpJGa/xwPmKWOvpaSAPcTUKHU1PmG2/1gwC/854Dpk="; + name = "torch-2.0.1-cp39-none-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp39-none-macosx_11_0_arm64.whl"; + hash = "sha256-ZxolZeP2O4/o5Crj42rSSf5eVnQ16ie5TtqmcqfQxBY="; }; aarch64-darwin-310 = { - name = "torch-2.0.0-cp310-none-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp310-none-macosx_11_0_arm64.whl"; - hash = "sha256-U+HDPGiWWDzbmlg2k+IumSZkRMSkM5Ld3FYmQNOeVCs="; + name = "torch-2.0.1-cp310-none-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp310-none-macosx_11_0_arm64.whl"; + hash = "sha256-eHtaeKp5F0Zem5Y5m4g5IMiKCPTrY7Wl0tGhbifS+Js="; }; aarch64-darwin-311 = { - name = "torch-2.0.0-cp311-none-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torch-2.0.0-cp311-none-macosx_11_0_arm64.whl"; - hash = "sha256-mi5TtXg+9YlqavM4s214LyjoPI3fwqxEtnsGbZ129Jg="; + name = "torch-2.0.1-cp311-none-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torch-2.0.1-cp311-none-macosx_11_0_arm64.whl"; + hash = "sha256-JapDyoDc3zLxPaBMUD7Hr9+Od+OgGD3YXNPlOyhC5Sc="; }; aarch64-linux-38 = { - name = "torch-2.0.0-cp38-cp38-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torch-2.0.0-cp38-cp38-manylinux2014_aarch64.whl"; - hash = "sha256-EbA4T+PBjAG4/FmS5w/FGc3mXkTFHMh74YOMGAPa9C8="; + name = "torch-2.0.1-cp38-cp38-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torch-2.0.1-cp38-cp38-manylinux2014_aarch64.whl"; + hash = "sha256-CIIkN1X/KIlejm3GvCbrz1qgkR7YGyoS8kH8SwkHWxM="; }; aarch64-linux-39 = { - name = "torch-2.0.0-cp39-cp39-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torch-2.0.0-cp39-cp39-manylinux2014_aarch64.whl"; - hash = "sha256-qDsmvWrjb79f7j1Wlz2YFuIALoo7fZIFUxFnwoqqOKc="; + name = "torch-2.0.1-cp39-cp39-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torch-2.0.1-cp39-cp39-manylinux2014_aarch64.whl"; + hash = "sha256-Qj4K4le3VrtFpLSQcgRnctGtDFkiZcUIAHDgdn2k5JA="; }; aarch64-linux-310 = { - name = "torch-2.0.0-cp310-cp310-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torch-2.0.0-cp310-cp310-manylinux2014_aarch64.whl"; - hash = "sha256-nwH+H2Jj8xvQThdXlG/WOtUxrjfyi7Lb9m9cgm7gifQ="; + name = "torch-2.0.1-cp310-cp310-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torch-2.0.1-cp310-cp310-manylinux2014_aarch64.whl"; + hash = "sha256-NZv6rZTRzaAqt3XcHMOG1YVxIym7R7h0FgfvbvSVB0c="; }; aarch64-linux-311 = { - name = "torch-2.0.0-cp311-cp311-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torch-2.0.0-cp311-cp311-manylinux2014_aarch64.whl"; - hash = "sha256-1Dmuw0nJjxKBnoVkuMVACORhPdRChYKvDm4UwkyoWHA="; + name = "torch-2.0.1-cp311-cp311-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torch-2.0.1-cp311-cp311-manylinux2014_aarch64.whl"; + hash = "sha256-tgGbHeSXjpbaoh1qPrtB6IoLR0iY/iUf2WGJWHQIhz4="; }; }; } From 85598f4cd3d69971a078381280e32d12f34cf249 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 May 2023 13:14:47 +0200 Subject: [PATCH 083/114] python3Packages.torchaudio-bin: 2.0.1 -> 2.0.2 --- .../python-modules/torchaudio/bin.nix | 2 +- .../torchaudio/binary-hashes.nix | 98 +++++++++---------- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/pkgs/development/python-modules/torchaudio/bin.nix b/pkgs/development/python-modules/torchaudio/bin.nix index 5dc15d9b0222..ec2e680e948e 100644 --- a/pkgs/development/python-modules/torchaudio/bin.nix +++ b/pkgs/development/python-modules/torchaudio/bin.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "torchaudio"; - version = "2.0.1"; + version = "2.0.2"; format = "wheel"; src = diff --git a/pkgs/development/python-modules/torchaudio/binary-hashes.nix b/pkgs/development/python-modules/torchaudio/binary-hashes.nix index 7578dc23b4cb..35bc1cfce930 100644 --- a/pkgs/development/python-modules/torchaudio/binary-hashes.nix +++ b/pkgs/development/python-modules/torchaudio/binary-hashes.nix @@ -6,86 +6,86 @@ # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. version : builtins.getAttr version { - "2.0.1" = { + "2.0.2" = { x86_64-linux-38 = { - name = "torchaudio-2.0.1-cp38-cp38-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.1%2Bcu118-cp38-cp38-linux_x86_64.whl"; - hash = "sha256-lLDpx2ypHR4CiYlZIPv+jBF0ZNdXtktd+tsTCM+ZBPk="; + name = "torchaudio-2.0.2-cp38-cp38-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.2%2Bcu118-cp38-cp38-linux_x86_64.whl"; + hash = "sha256-lU3njk8Gb+lvpvQYtfHX1Y0bD7z2otNzDwQaL9eW93I="; }; x86_64-linux-39 = { - name = "torchaudio-2.0.1-cp39-cp39-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.1%2Bcu118-cp39-cp39-linux_x86_64.whl"; - hash = "sha256-Bws4SWlhQr49keCycHbaHz+MtDKrzONc2VbRkfwNgYc="; + name = "torchaudio-2.0.2-cp39-cp39-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.2%2Bcu118-cp39-cp39-linux_x86_64.whl"; + hash = "sha256-MixBw26OYv03qzURSmeSGuVCvNlA1YPNE+DhUUHISPk="; }; x86_64-linux-310 = { - name = "torchaudio-2.0.1-cp310-cp310-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl"; - hash = "sha256-GcTvkBIyTE+4DqZpNFUbeAfZcUjChTji6rr+FqtQ6Rw="; + name = "torchaudio-2.0.2-cp310-cp310-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.2%2Bcu118-cp310-cp310-linux_x86_64.whl"; + hash = "sha256-JmkmReoGGgBcV+xYGi0EJSEKxrqfkj7fEcybDvOhEek="; }; x86_64-linux-311 = { - name = "torchaudio-2.0.1-cp311-cp311-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.1%2Bcu118-cp311-cp311-linux_x86_64.whl"; - hash = "sha256-GicitvZleO3FY+d7TMB6ItZjorte5cneJTlmGpihTbk="; + name = "torchaudio-2.0.2-cp311-cp311-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.2%2Bcu118-cp311-cp311-linux_x86_64.whl"; + hash = "sha256-e8C1Cg2DokvcORYnDCOTQ0WshDUd92vTuwiDS9snHfY="; }; x86_64-darwin-38 = { - name = "torchaudio-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl"; - hash = "sha256-AiyhuqS7gZt4NDvUe1f/bcb5/Bn6TvJplGqt9+Yts8A="; + name = "torchaudio-2.0.2-cp38-cp38-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp38-cp38-macosx_10_9_x86_64.whl"; + hash = "sha256-qCg91hxXnqWxTWdzu8C/hFc7ErN/BfArtLJCXXd2coQ="; }; x86_64-darwin-39 = { - name = "torchaudio-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl"; - hash = "sha256-48bI+eqfDi33oLk3Ww3PlVkG44/BL6tUK3KoYVZK+Oc="; + name = "torchaudio-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl"; + hash = "sha256-ETihw52iRFocrKIN3OHnfJZX6SJj6zQ3YCT1F/UoTUs="; }; x86_64-darwin-310 = { - name = "torchaudio-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl"; - hash = "sha256-tdIeu7VecEDUGNUGKw6IL5Zg1otHezj9Q2+mySzLtSo="; + name = "torchaudio-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl"; + hash = "sha256-gMZNq7nYwzvG8qjgx+vhfqh/UCiTHA1qL3O54WtSctA="; }; x86_64-darwin-311 = { - name = "torchaudio-2.0.1-cp311-cp311-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp311-cp311-macosx_10_9_x86_64.whl"; - hash = "sha256-4qBHZ1STwKolj+xiHvQOiwGr49jbyHIVLktZmEGKo8U="; + name = "torchaudio-2.0.2-cp311-cp311-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp311-cp311-macosx_10_9_x86_64.whl"; + hash = "sha256-psuoDZqzouwTF83Fy8BlShiaJuPYso75+DM2FZ/V5ek="; }; aarch64-darwin-38 = { - name = "torchaudio-2.0.1-cp38-cp38-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp38-cp38-macosx_11_0_arm64.whl"; - hash = "sha256-oVOtXNti3o7J/RNgoNCAu6851XiuBOeI2yEVceZ1t+A="; + name = "torchaudio-2.0.2-cp38-cp38-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp38-cp38-macosx_11_0_arm64.whl"; + hash = "sha256-KMm+gwYI+TyQZ3Dre0iAli+P75vVJ1rFtIyFDzzEvDI="; }; aarch64-darwin-39 = { - name = "torchaudio-2.0.1-cp39-cp39-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp39-cp39-macosx_11_0_arm64.whl"; - hash = "sha256-HQzwd5ozTsGGHp+ii862amM8Quj2szIuLjf/nyDQroE="; + name = "torchaudio-2.0.2-cp39-cp39-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp39-cp39-macosx_11_0_arm64.whl"; + hash = "sha256-3l2Uy4MFwAJo37xXbKfkRfQIkeAkqeXijGOtn4UeVBo="; }; aarch64-darwin-310 = { - name = "torchaudio-2.0.1-cp310-cp310-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp310-cp310-macosx_11_0_arm64.whl"; - hash = "sha256-bbzZOynXGi9QDzajTqXkZ/UQ93PahTIgmOa92MncmUg="; + name = "torchaudio-2.0.2-cp310-cp310-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp310-cp310-macosx_11_0_arm64.whl"; + hash = "sha256-FhlnNQD+CK6WtxlS8D7Px059CEPNmIIZPQZCqCck9Tc="; }; aarch64-darwin-311 = { - name = "torchaudio-2.0.1-cp311-cp311-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.1-cp311-cp311-macosx_11_0_arm64.whl"; - hash = "sha256-kaKOWH9wigMyDt28xKfdGtcVCz1IRrbBVX2FzImo0Gw="; + name = "torchaudio-2.0.2-cp311-cp311-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchaudio-2.0.2-cp311-cp311-macosx_11_0_arm64.whl"; + hash = "sha256-FTJxMrKPNJY7qm/hgTAwpjTSWBqpyhIPcwwej6vcEQI="; }; aarch64-linux-38 = { - name = "torchaudio-2.0.1-cp38-cp38-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torchaudio-2.0.1-cp38-cp38-manylinux2014_aarch64.whl"; - hash = "sha256-qlsjzsMVcWRKpn1s1QGzl/QmVX3F8y6NtuzbJ7GUClg="; + name = "torchaudio-2.0.2-cp38-cp38-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torchaudio-2.0.2-cp38-cp38-manylinux2014_aarch64.whl"; + hash = "sha256-7gjsMDBQQFmY50oKNkmu5NFkCMLrS7H4x6cmMYsc4bc="; }; aarch64-linux-39 = { - name = "torchaudio-2.0.1-cp39-cp39-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torchaudio-2.0.1-cp39-cp39-manylinux2014_aarch64.whl"; - hash = "sha256-ry16SysebkDnnA7d0Qezu0MVkdBJTX+X7ffBhkN7XBo="; + name = "torchaudio-2.0.2-cp39-cp39-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torchaudio-2.0.2-cp39-cp39-manylinux2014_aarch64.whl"; + hash = "sha256-p08z2gs8U7dw9YOgLKvVkZbwift3pl6znNXYEbWiHWM="; }; aarch64-linux-310 = { - name = "torchaudio-2.0.1-cp310-cp310-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torchaudio-2.0.1-cp310-cp310-manylinux2014_aarch64.whl"; - hash = "sha256-6f/6Y0Gbxl7Pg5Vo3QS+O6VibF9bJsmlZsA4KtKXcck="; + name = "torchaudio-2.0.2-cp310-cp310-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torchaudio-2.0.2-cp310-cp310-manylinux2014_aarch64.whl"; + hash = "sha256-2t8je0/RVaPSE73+/+3tR/WlU9ODgXUAQ4tE8k+lOFE="; }; aarch64-linux-311 = { - name = "torchaudio-2.0.1-cp311-cp311-manylinux2014_aarch64.whl"; - url = "https://download.pytorch.org/whl/torchaudio-2.0.1-cp311-cp311-manylinux2014_aarch64.whl"; - hash = "sha256-MkQuKxHfwJxMW2zEuSTT84wslGPuKOSGUi+fSLCbf7c="; + name = "torchaudio-2.0.2-cp311-cp311-manylinux2014_aarch64.whl"; + url = "https://download.pytorch.org/whl/torchaudio-2.0.2-cp311-cp311-manylinux2014_aarch64.whl"; + hash = "sha256-sirOqh7FozEMwVZC0Z3QDVOnzjmbkJatHeoLJOUJevM="; }; }; } From feb404e7c02f9e8f5108603ce87ad7555c25dcb5 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 May 2023 13:16:49 +0200 Subject: [PATCH 084/114] python3Packages.torchvision-bin: 0.15.1 -> 0.15.2 --- .../python-modules/torchvision/bin.nix | 2 +- .../torchvision/binary-hashes.nix | 74 +++++++++---------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/pkgs/development/python-modules/torchvision/bin.nix b/pkgs/development/python-modules/torchvision/bin.nix index 1c3ea77c1df4..bc33961c097b 100644 --- a/pkgs/development/python-modules/torchvision/bin.nix +++ b/pkgs/development/python-modules/torchvision/bin.nix @@ -16,7 +16,7 @@ let pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; srcs = import ./binary-hashes.nix version; unsupported = throw "Unsupported system"; - version = "0.15.1"; + version = "0.15.2"; in buildPythonPackage { inherit version; diff --git a/pkgs/development/python-modules/torchvision/binary-hashes.nix b/pkgs/development/python-modules/torchvision/binary-hashes.nix index 0ad76d21ecc0..abcb5780bf47 100644 --- a/pkgs/development/python-modules/torchvision/binary-hashes.nix +++ b/pkgs/development/python-modules/torchvision/binary-hashes.nix @@ -6,66 +6,66 @@ # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. version : builtins.getAttr version { - "0.15.1" = { + "0.15.2" = { x86_64-linux-38 = { - name = "torchvision-0.15.1-cp38-cp38-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.1%2Bcu118-cp38-cp38-linux_x86_64.whl"; - hash = "sha256-kQRzDWVavygsKEXUzUcrsIk288hQg6KK79dq2e6v8mE="; + name = "torchvision-0.15.2-cp38-cp38-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp38-cp38-linux_x86_64.whl"; + hash = "sha256-r2gH1eWZ/lOByRYjWlWBQH6FDrd8PUOJnzehUR/4HMA="; }; x86_64-linux-39 = { - name = "torchvision-0.15.1-cp39-cp39-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.1%2Bcu118-cp39-cp39-linux_x86_64.whl"; - hash = "sha256-Xs4nnI9SH49jc7+XHyrcY6lh1pTErO1TjfgSlCEO5Lo="; + name = "torchvision-0.15.2-cp39-cp39-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp39-cp39-linux_x86_64.whl"; + hash = "sha256-8sb1oQC8+QILgvXUyHzX4mrwQJzzO5D7eXsRJ9zULeY="; }; x86_64-linux-310 = { - name = "torchvision-0.15.1-cp310-cp310-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.1%2Bcu118-cp310-cp310-linux_x86_64.whl"; - hash = "sha256-mmefo3p0EBjIBCNGk7usPUh/s91V7nP2szZ3sXfIwHo="; + name = "torchvision-0.15.2-cp310-cp310-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp310-cp310-linux_x86_64.whl"; + hash = "sha256-GcpKtdYXm75Tz/ed8ahV7mUzwoYd3HOJ9oNJ2Ln4MCo="; }; x86_64-linux-311 = { - name = "torchvision-0.15.1-cp311-cp311-linux_x86_64.whl"; - url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.1%2Bcu118-cp311-cp311-linux_x86_64.whl"; - hash = "sha256-nO0skO54K7tBWw3mW8wQ1P6BETGGRnm3B0QsnZ6Kqv0="; + name = "torchvision-0.15.2-cp311-cp311-linux_x86_64.whl"; + url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp311-cp311-linux_x86_64.whl"; + hash = "sha256-3vmvR+vCytVcWqLa0SMNz0Jhgz7W34pz6Dm8Izdk8J4="; }; x86_64-darwin-38 = { - name = "torchvision-0.15.1-cp38-cp38-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp38-cp38-macosx_10_9_x86_64.whl"; - hash = "sha256-5YYbqu6ofRm2/X0THhGkpr0XvhQjTEkKJZuzYHdelSA="; + name = "torchvision-0.15.2-cp38-cp38-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp38-cp38-macosx_10_9_x86_64.whl"; + hash = "sha256-jxJBW2htuohPsIb1OsgD9pK+WlzdinWPUIErMP/+ouQ="; }; x86_64-darwin-39 = { - name = "torchvision-0.15.1-cp39-cp39-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp39-cp39-macosx_10_9_x86_64.whl"; - hash = "sha256-Hf3sfH35ZzMLujNBp4HgwEfU4BY+ZxZKmRhQA2K/fZE="; + name = "torchvision-0.15.2-cp39-cp39-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp39-cp39-macosx_10_9_x86_64.whl"; + hash = "sha256-R5AmD89HikHH7MYKbVIAqIFZ/djXVunynw+MWcSmemg="; }; x86_64-darwin-310 = { - name = "torchvision-0.15.1-cp310-cp310-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp310-cp310-macosx_10_9_x86_64.whl"; - hash = "sha256-vBDUjppg0AbQwbSN6ofx7Jtj2FZzfVkvfFxEzYfz9Lc="; + name = "torchvision-0.15.2-cp310-cp310-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp310-cp310-macosx_10_9_x86_64.whl"; + hash = "sha256-d1QIh3ToEMVnKxQqRdzyCxvZhqWn2pD4ZgxD3EP7hQw="; }; x86_64-darwin-311 = { - name = "torchvision-0.15.1-cp311-cp311-macosx_10_9_x86_64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp311-cp311-macosx_10_9_x86_64.whl"; - hash = "sha256-l7kOs7czOjHQScTM/RBkNh6EkYdJWdOPRmr2TWdBjO8="; + name = "torchvision-0.15.2-cp311-cp311-macosx_10_9_x86_64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp311-cp311-macosx_10_9_x86_64.whl"; + hash = "sha256-XzX2vVvMRWjmUi5BN/pg/McvT6PmFTIcJs2H6FWs05g="; }; aarch64-darwin-38 = { - name = "torchvision-0.15.1-cp38-cp38-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp38-cp38-macosx_11_0_arm64.whl"; - hash = "sha256-5xTzYrnYIXz01oUJtnnryd3xKM/oD2wd744/ihhGbnU="; + name = "torchvision-0.15.2-cp38-cp38-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp38-cp38-macosx_11_0_arm64.whl"; + hash = "sha256-MSEcAfi47DO4pjgye1RjIS55oD5DyJX4gEn5evG9Ev0="; }; aarch64-darwin-39 = { - name = "torchvision-0.15.1-cp39-cp39-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp39-cp39-macosx_11_0_arm64.whl"; - hash = "sha256-wVNxAYbOwDONT/9BFFmlfdvIUEQ2EjynOz8L3Cb/kYw="; + name = "torchvision-0.15.2-cp39-cp39-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp39-cp39-macosx_11_0_arm64.whl"; + hash = "sha256-mHq2IiW0FRoR5T/QYVDFJYztJKydfFR+Dkq2+8qSpc4="; }; aarch64-darwin-310 = { - name = "torchvision-0.15.1-cp310-cp310-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp310-cp310-macosx_11_0_arm64.whl"; - hash = "sha256-NwjTQQ/cr2KA41jNqd4qSrBswLTA/ZrurFUOwlY6iH4="; + name = "torchvision-0.15.2-cp310-cp310-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp310-cp310-macosx_11_0_arm64.whl"; + hash = "sha256-N+sTjhP2ISU3owCawhhpVIOmNcQEtswdjg0Nl4AmqG0="; }; aarch64-darwin-311 = { - name = "torchvision-0.15.1-cp311-cp311-macosx_11_0_arm64.whl"; - url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.1-cp311-cp311-macosx_11_0_arm64.whl"; - hash = "sha256-a2DhyDmuKgcb77ummxdGjWf+r99XbpD/lkW/vumY3hc="; + name = "torchvision-0.15.2-cp311-cp311-macosx_11_0_arm64.whl"; + url = "https://download.pytorch.org/whl/cpu/torchvision-0.15.2-cp311-cp311-macosx_11_0_arm64.whl"; + hash = "sha256-dXUFoKsr5wlsudK/RyMgLJcczt23LHlSp+h393PeD4o="; }; }; } From 1b2e8915e2e389f64771c08e6035437b8328d08e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 17 May 2023 13:26:27 +0200 Subject: [PATCH 085/114] esphome: 2023.4.4 -> 2023.5.0 https://github.com/esphome/esphome/releases/tag/2023.5.0 --- pkgs/tools/misc/esphome/dashboard.nix | 4 ++-- pkgs/tools/misc/esphome/default.nix | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix index b9b5bfcc021b..a1293767adf4 100644 --- a/pkgs/tools/misc/esphome/dashboard.nix +++ b/pkgs/tools/misc/esphome/dashboard.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "esphome-dashboard"; - version = "20230214.0"; + version = "20230516.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-TfQIvvLLsYubLbai2RNJkCu96nYFEWbdZU8WaJbpUwU="; + hash = "sha256-Mkh31ip7xzG8e4qgIVc+HFN310SnuTGRp4HYbFqKa/A="; }; # no tests diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index f3f4003ccd5d..c643ca312479 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -16,14 +16,14 @@ let in python.pkgs.buildPythonApplication rec { pname = "esphome"; - version = "2023.4.4"; + version = "2023.5.0"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-zRzojc2cmBTpvP3yOADWTTK0MOsgCvUcr6idGiRovXo="; + hash = "sha256-prbFCetgHhPsuiXI3bhfGpOpYHPusECC8zuPhT1ZCSU="; }; postPatch = '' @@ -49,12 +49,12 @@ python.pkgs.buildPythonApplication rec { colorama cryptography esphome-dashboard - ifaddr kconfiglib paho-mqtt pillow platformio protobuf + pyparsing pyserial pyyaml requests From 41f73b7fc70cbd421ce213c03df6b6570eba275c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 May 2023 14:01:46 +0200 Subject: [PATCH 086/114] python3Packages.torch: 2.0.0 -> 2.0.1 --- pkgs/development/python-modules/torch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index 576e6b1bfac9..c71c036b2e1c 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -133,7 +133,7 @@ let in buildPythonPackage rec { pname = "torch"; # Don't forget to update torch-bin to the same version. - version = "2.0.0"; + version = "2.0.1"; format = "setuptools"; disabled = pythonOlder "3.8.0"; @@ -149,7 +149,7 @@ in buildPythonPackage rec { repo = "pytorch"; rev = "refs/tags/v${version}"; fetchSubmodules = true; - hash = "sha256-cSw7+AYBUcZLz3UyK/+JWWjQxKwVBXcFvBq0XAcL3tE="; + hash = "sha256-xUj77yKz3IQ3gd/G32pI4OhL3LoN1zS7eFg0/0nZp5I="; }; patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ From ce1398cad8b5813117b36f085a2bea371d57d35a Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 May 2023 14:03:14 +0200 Subject: [PATCH 087/114] python3Packages.torchaudio: 2.0.1 -> 2.0.2 --- pkgs/development/python-modules/torchaudio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/torchaudio/default.nix b/pkgs/development/python-modules/torchaudio/default.nix index 7bfd684b1e4a..3bd8003890d7 100644 --- a/pkgs/development/python-modules/torchaudio/default.nix +++ b/pkgs/development/python-modules/torchaudio/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "torchaudio"; - version = "2.0.1"; + version = "2.0.2"; src = fetchFromGitHub { owner = "pytorch"; repo = "audio"; rev = "v${version}"; - hash = "sha256-qrDWFY+6eVV9prUzUzb5yzyFYtEvaSyEW0zeKqAg2Vk="; + hash = "sha256-9lB4gLXq0nXHT1+DNOlbJQqNndt2I6kVoNwhMO/2qlE="; }; postPatch = '' From 6c9fe0bea0b7347ff5e8f46558a29ee40bf03f7f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 May 2023 14:05:20 +0200 Subject: [PATCH 088/114] python3Packages.torchvision: 0.15.1 -> 0.15.2 --- pkgs/development/python-modules/torchvision/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/torchvision/default.nix b/pkgs/development/python-modules/torchvision/default.nix index f4db7d16b84f..401e415e2812 100644 --- a/pkgs/development/python-modules/torchvision/default.nix +++ b/pkgs/development/python-modules/torchvision/default.nix @@ -40,7 +40,7 @@ let }; pname = "torchvision"; - version = "0.15.1"; + version = "0.15.2"; in buildPythonPackage { inherit pname version; @@ -49,7 +49,7 @@ buildPythonPackage { owner = "pytorch"; repo = "vision"; rev = "refs/tags/v${version}"; - hash = "sha256-CQS2IXb8YSLrrkn/7BsO4Me5Cv0eXgMAKXM4rGzr0Bw="; + hash = "sha256-KNbOgd6PCINZqZ24c/Ev+ODux3ik5iUlzem9uUfQArM="; }; nativeBuildInputs = [ libpng ninja which ] ++ lib.optionals cudaSupport [ cuda-native-redist ]; From 44110aeb1198882555abc0084c9bb743d48574fa Mon Sep 17 00:00:00 2001 From: Andreas Vollert Date: Wed, 17 May 2023 17:24:33 +0200 Subject: [PATCH 089/114] isabelle-linter: unstable-2022-09-05 -> 1.2.1 --- .../science/logic/isabelle/components/isabelle-linter.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix b/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix index 565537cf439c..d5d71a95e374 100644 --- a/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix +++ b/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "isabelle-linter"; - version = "unstable-2022-09-05"; + version = "1.2.1"; src = fetchFromGitHub { owner = "isabelle-prover"; repo = "isabelle-linter"; - rev = "0424fc05426d5f7a23adf19ad08c690c17184e86"; - sha256 = "02afbgmi195ibichjkpni2wjgjkszv7i6qkmmprwrmb4jd2wdvd5"; + rev = "Isabelle2022-v${version}"; + sha256 = "sha256-qlojNCsm3/49TtAVq6J31BbQipdIoDcn71pBotZyquY="; }; nativeBuildInputs = [ isabelle ]; From 092f89bc39fb2d704facbfbc82e31529ce0a0c17 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 18:48:55 +0300 Subject: [PATCH 090/114] wordpress: update languages and plugins --- .../web-apps/wordpress/packages/languages.json | 12 ++++++------ .../servers/web-apps/wordpress/packages/plugins.json | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/web-apps/wordpress/packages/languages.json b/pkgs/servers/web-apps/wordpress/packages/languages.json index bcd9e0e43431..d48681583b5e 100644 --- a/pkgs/servers/web-apps/wordpress/packages/languages.json +++ b/pkgs/servers/web-apps/wordpress/packages/languages.json @@ -1,20 +1,20 @@ { "de_DE": { "path": "de_DE", - "rev": "1119825", - "sha256": "061shaaidc97h03nq8kd0q36xx6y7h7zr3jnd3p5zdniy6ja6vbm", + "rev": "1125866", + "sha256": "1igf7zlws3l1vw8pvmdfzpqaarc4yjdcgz2qkzi14wnf3sna66p9", "version": "6.2" }, "fr_FR": { "path": "fr_FR", - "rev": "1120221", - "sha256": "13g0p3l9jrmwqrrync4ga73mfywycas2gk4nxqkmiin7ny9bpb30", + "rev": "1124123", + "sha256": "1830p1fyjij31ilvdaqyjvbgjkaavkqq18ckmmg7mswl6ij9zigs", "version": "6.2" }, "ro_RO": { "path": "ro_RO", - "rev": "1123381", - "sha256": "02x9y7qy0v7wgvwxclx5i67la720vdqnib3wkwk0yg7r1jj6wp7c", + "rev": "1124117", + "sha256": "0cgpwm8wrmj68b2q3g4nq5dnvmx4g7qh11nq0yq5hgnlwrb8dx5g", "version": "6.2" } } diff --git a/pkgs/servers/web-apps/wordpress/packages/plugins.json b/pkgs/servers/web-apps/wordpress/packages/plugins.json index 97186d879a19..384e8acf10de 100644 --- a/pkgs/servers/web-apps/wordpress/packages/plugins.json +++ b/pkgs/servers/web-apps/wordpress/packages/plugins.json @@ -96,10 +96,10 @@ "version": "2.06" }, "mailpoet": { - "path": "mailpoet/tags/4.15.0", - "rev": "2910098", - "sha256": "1qqm784ikq5jdvnas1a67xzrj6hq8aa54bi1xh20fq9b9jwpv5na", - "version": "4.15.0" + "path": "mailpoet/tags/4.16.0", + "rev": "2912930", + "sha256": "0ij8g9bnni0ki4ks5sdq83pd8nqqfj3yf6by1v44splq2a5ix81g", + "version": "4.16.0" }, "merge-minify-refresh": { "path": "merge-minify-refresh/trunk", From 1071529f67f12823924bc37cefaaa0eabd6c75d1 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 17 May 2023 16:59:34 +0100 Subject: [PATCH 091/114] linuxKernel.kernels: remove CVE-2023-32233 patch from up-to-date kernels --- pkgs/top-level/linux-kernels.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index c44b5b3e7384..59678b6bab2f 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -54,11 +54,6 @@ let }; kernelPatches = kernel.kernelPatches ++ [ kernelPatches.hardened.${kernel.meta.branch} - ] ++ lib.optionals (lib.versionAtLeast version "5.15") [ - # Needed as long as hardened kernels are behind the first patch release - # containing the fix for CVE-2023-32233. Can most likely be removed after the - # next hardened kernel update. - kernelPatches.CVE-2023-32233 ]; isHardened = true; }; @@ -120,7 +115,6 @@ in { [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.modinst_arg_list_too_long - kernelPatches.CVE-2023-32233 ]; }; @@ -129,7 +123,6 @@ in { kernelPatches.bridge_stp_helper kernelPatches.request_key_helper kernelPatches.rtl8761b_support - kernelPatches.CVE-2023-32233 ]; }; @@ -145,7 +138,6 @@ in { kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.request_key_helper - kernelPatches.CVE-2023-32233 ]; }; @@ -190,7 +182,6 @@ in { kernelPatches.make-maple-state-reusable-after-mas_empty_area kernelPatches.fix-em-ice-bonding kernelPatches.export-rt-sched-migrate - kernelPatches.CVE-2023-32233 ]; }; From a8a453caf8f93c6d72383f6844d3519d5a39ab5c Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 19:01:34 +0300 Subject: [PATCH 092/114] python310Packages.torch: restrict platforms --- pkgs/development/python-modules/torch/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index 576e6b1bfac9..ba1da5844b17 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -414,7 +414,7 @@ in buildPythonPackage rec { homepage = "https://pytorch.org/"; license = licenses.bsd3; maintainers = with maintainers; [ teh thoughtpolice tscholak ]; # tscholak esp. for darwin-related builds - platforms = with platforms; linux ++ lib.optionals (!cudaSupport || !rocmSupport) darwin; + platforms = with platforms; linux ++ lib.optionals (!cudaSupport && !rocmSupport) darwin; broken = rocmSupport && cudaSupport; # CUDA and ROCm are mutually exclusive }; } From 5907564df065fd0e63cd0b6070a48fa9829ed0b3 Mon Sep 17 00:00:00 2001 From: Tom Cumming Date: Mon, 15 May 2023 23:33:36 +0100 Subject: [PATCH 093/114] purescript: Add aarch64-darwin target --- .../compilers/purescript/purescript/default.nix | 17 ++++++++++++----- .../compilers/purescript/purescript/update.sh | 5 +++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/purescript/purescript/default.nix b/pkgs/development/compilers/purescript/purescript/default.nix index 2e0eb9534f4f..d7c8394a57b1 100644 --- a/pkgs/development/compilers/purescript/purescript/default.nix +++ b/pkgs/development/compilers/purescript/purescript/default.nix @@ -24,10 +24,17 @@ in stdenv.mkDerivation rec { src = if stdenv.isDarwin then - fetchurl { - url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz"; - sha256 = "1xxg79rlf7li9f73wdbwif1dyy4hnzpypy6wx4zbnvap53habq9f"; - } + (if stdenv.isAarch64 + then + fetchurl { + url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos-arm64.tar.gz"; + sha256 = "16ci26pgrw0zmnyn1zj129y9624cqwzrhqglc8mgfg4k7rxvqy2a"; + } + else + fetchurl { + url = "https://123.github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz"; + sha256 = "1xxg79rlf7li9f73wdbwif1dyy4hnzpypy6wx4zbnvap53habq9f"; + }) else fetchurl { url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz"; @@ -63,7 +70,7 @@ in stdenv.mkDerivation rec { license = licenses.bsd3; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; maintainers = with maintainers; [ justinwoo mbbx6spp cdepillabout ]; - platforms = [ "x86_64-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; mainProgram = "purs"; changelog = "https://github.com/purescript/purescript/releases/tag/v${version}"; }; diff --git a/pkgs/development/compilers/purescript/purescript/update.sh b/pkgs/development/compilers/purescript/purescript/update.sh index 1dfb4607affb..259fb8aa5610 100755 --- a/pkgs/development/compilers/purescript/purescript/update.sh +++ b/pkgs/development/compilers/purescript/purescript/update.sh @@ -29,11 +29,16 @@ old_darwin_version_hash="$(nix-prefetch-url "https://github.com/purescript/pures echo "v${old_version} darwin tarball hash (current version): $old_darwin_version_hash" new_darwin_version_hash="$(nix-prefetch-url "https://github.com/purescript/purescript/releases/download/v${new_version}/macos.tar.gz")" echo "v${new_version} darwin tarball hash: $new_darwin_version_hash" +old_darwin_arm_version_hash="$(nix-prefetch-url "https://github.com/purescript/purescript/releases/download/v${old_version}/macos-arm64.tar.gz")" +echo "v${old_version} darwin arm tarball hash (current version): $old_darwin_arm_version_hash" +new_darwin_arm_version_hash="$(nix-prefetch-url "https://github.com/purescript/purescript/releases/download/v${new_version}/macos-arm64.tar.gz")" +echo "v${new_version} darwin arm tarball hash: $new_darwin_arm_version_hash" echo echo "Replacing version and hashes in ${purescript_derivation_file}." sed -i -e "s/${old_linux_version_hash}/${new_linux_version_hash}/" "$purescript_derivation_file" sed -i -e "s/${old_darwin_version_hash}/${new_darwin_version_hash}/" "$purescript_derivation_file" +sed -i -e "s/${old_darwin_arm_version_hash}/${new_darwin_arm_version_hash}/" "$purescript_derivation_file" sed -i -e "s/${old_version}/${new_version}/" "$purescript_derivation_file" echo From af4a1982edb5bf8792b9e64fcc642106403a56fa Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 13:00:08 -0400 Subject: [PATCH 094/114] joplin: fix build on darwin --- pkgs/development/node-packages/overrides.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix index 41aea0550ec1..daba46db9e43 100644 --- a/pkgs/development/node-packages/overrides.nix +++ b/pkgs/development/node-packages/overrides.nix @@ -229,7 +229,11 @@ final: prev: { }); joplin = prev.joplin.override { - nativeBuildInputs = [ pkgs.pkg-config ]; + nativeBuildInputs = [ + pkgs.pkg-config + ] ++ lib.optionals stdenv.isDarwin [ + pkgs.xcbuild + ]; buildInputs = with pkgs; [ # required by sharp # https://sharp.pixelplumbing.com/install From 954fb6b75b785cbd209092dce5d3bdfc534a0536 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 12:45:04 -0400 Subject: [PATCH 095/114] git-mit: fix build on darwin, adopt --- .../version-management/git-mit/default.nix | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/version-management/git-mit/default.nix b/pkgs/applications/version-management/git-mit/default.nix index 513045436ed9..4c96bc13b44c 100644 --- a/pkgs/applications/version-management/git-mit/default.nix +++ b/pkgs/applications/version-management/git-mit/default.nix @@ -1,12 +1,12 @@ { lib -, stdenv -, fetchFromGitHub , rustPlatform -, openssl -, libgit2 -, libssh2 -, zlib +, fetchFromGitHub , pkg-config +, libgit2_1_5 +, openssl +, zlib +, stdenv +, darwin }: let @@ -25,15 +25,21 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-YtUuRLjmehG+5kUiCo4LK0PkKAckr28UahlrAjm9MYw="; - doCheck = true; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl libgit2 libssh2 zlib ]; + buildInputs = [ + libgit2_1_5 + openssl + zlib + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.AppKit + ]; - meta = { + meta = with lib; { description = "Minimalist set of hooks to aid pairing and link commits to issues"; homepage = "https://github.com/PurpleBooth/git-mit"; - license = lib.licenses.cc0; + changelog = "https://github.com/PurpleBooth/git-mit/releases/tag/v${version}"; + license = licenses.cc0; + maintainers = with maintainers; [ figsoda ]; }; } From c089534da5c928ea6f376672b0c828eb340d5cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 17 May 2023 10:52:24 -0700 Subject: [PATCH 096/114] imagemagick: 7.1.1-8 -> 7.1.1-9 Diff: https://github.com/ImageMagick/ImageMagick/compare/7.1.1-8...7.1.1-9 --- pkgs/applications/graphics/ImageMagick/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index 7a7967d98873..b841a72660e6 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -47,13 +47,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "imagemagick"; - version = "7.1.1-8"; + version = "7.1.1-9"; src = fetchFromGitHub { owner = "ImageMagick"; repo = "ImageMagick"; rev = finalAttrs.version; - hash = "sha256-2wAm2y8YQwhgsPNqxGGJ65emL/kMYoVvF2phZMXTpZc="; + hash = "sha256-xTrkQpd4UYHEmHosb7ZLoqnDFSutrikjXPmuU5R9jQo="; }; outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big From 2b47cedec6e807e0906f60cf685840f066fb94cd Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 13:32:53 -0400 Subject: [PATCH 097/114] python310Packages.cx_Freeze: fix build --- .../python-modules/cx_freeze/default.nix | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/cx_freeze/default.nix b/pkgs/development/python-modules/cx_freeze/default.nix index bee15a5e38d1..0681b727b220 100644 --- a/pkgs/development/python-modules/cx_freeze/default.nix +++ b/pkgs/development/python-modules/cx_freeze/default.nix @@ -1,4 +1,12 @@ -{ stdenv, lib, buildPythonPackage, pythonOlder, fetchPypi, ncurses, importlib-metadata }: +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, ncurses +, importlib-metadata +, setuptools +, patchelf +}: buildPythonPackage rec { pname = "cx-freeze"; @@ -15,23 +23,33 @@ buildPythonPackage rec { propagatedBuildInputs = [ importlib-metadata # upstream has this for 3.8 as well ncurses + setuptools ]; - # timestamp need to come after 1980 for zipfiles and nix store is set to epoch postPatch = '' - substituteInPlace cx_Freeze/freezer.py --replace "os.stat(module.file).st_mtime" "time.time()" + # timestamp need to come after 1980 for zipfiles and nix store is set to epoch + substituteInPlace cx_Freeze/freezer.py --replace "st.st_mtime" "time.time()" - substituteInPlace setup.cfg \ - --replace "setuptools>=59.0.1,<=60.10.0" "setuptools>=59.0.1" + sed -i /patchelf/d pyproject.toml + substituteInPlace pyproject.toml \ + --replace 'setuptools>=61.2,<67' setuptools ''; + makeWrapperArgs = [ + "--prefix" + "PATH" + ":" + (lib.makeBinPath [ patchelf ]) + ]; + # fails to find Console even though it exists on python 3.x doCheck = false; meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64); description = "A set of scripts and modules for freezing Python scripts into executables"; homepage = "https://marcelotduarte.github.io/cx_Freeze/"; license = licenses.psfl; + maintainers = with maintainers; [ ]; + mainProgram = "cxfreeze"; }; } From e61d73c29febbc2557a1996f364a2421ed4aaea7 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 14:09:18 -0400 Subject: [PATCH 098/114] python310Packages.finalfusion: fix build --- pkgs/development/python-modules/finalfusion/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/finalfusion/default.nix b/pkgs/development/python-modules/finalfusion/default.nix index 18a8e5e56536..f079dbe77bc8 100644 --- a/pkgs/development/python-modules/finalfusion/default.nix +++ b/pkgs/development/python-modules/finalfusion/default.nix @@ -36,6 +36,10 @@ buildPythonPackage rec { postPatch = '' patchShebangs tests/integration + + # `np.float` was a deprecated alias of the builtin `float` + substituteInPlace tests/test_storage.py \ + --replace 'dtype=np.float)' 'dtype=float)' ''; checkPhase = '' From 30af8270c8ac24a3ee4adfd1727270efdbdc3695 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 14:22:47 -0400 Subject: [PATCH 099/114] python310Packages.k5test: fix build --- .../python-modules/k5test/default.nix | 10 +- .../python-modules/k5test/fix-paths.patch | 122 +++++++++--------- pkgs/top-level/python-packages.nix | 2 +- 3 files changed, 63 insertions(+), 71 deletions(-) diff --git a/pkgs/development/python-modules/k5test/default.nix b/pkgs/development/python-modules/k5test/default.nix index 640a80d700d8..7b5889692bef 100644 --- a/pkgs/development/python-modules/k5test/default.nix +++ b/pkgs/development/python-modules/k5test/default.nix @@ -1,12 +1,11 @@ -{ stdenv -, lib +{ lib , buildPythonPackage +, pythonOlder , fetchPypi , substituteAll -, krb5 , findutils -, which -, pythonOlder +, krb5 +, stdenv }: buildPythonPackage rec { @@ -26,7 +25,6 @@ buildPythonPackage rec { inherit findutils krb5; # krb5-config is in dev output krb5Dev = krb5.dev; - which = "${which}/bin/which"; }) ]; diff --git a/pkgs/development/python-modules/k5test/fix-paths.patch b/pkgs/development/python-modules/k5test/fix-paths.patch index c455ecf00ef7..04103df36d53 100644 --- a/pkgs/development/python-modules/k5test/fix-paths.patch +++ b/pkgs/development/python-modules/k5test/fix-paths.patch @@ -1,23 +1,21 @@ -diff --git a/k5test/_utils.py b/k5test/_utils.py -index e289fac..e2f486a 100644 --- a/k5test/_utils.py +++ b/k5test/_utils.py -@@ -65,12 +65,12 @@ def find_plugin_dir(): +@@ -63,12 +63,12 @@ def find_plugin_dir(): # if there was no LD_LIBRARY_PATH, or the above failed if _PLUGIN_DIR is None: -- lib_dir = os.path.join(get_output('krb5-config --prefix'), 'lib64') -+ lib_dir = os.path.join(get_output('@krb5Dev@/bin/krb5-config --prefix'), 'lib64') +- lib_dir = os.path.join(get_output("krb5-config --prefix"), "lib64") ++ lib_dir = os.path.join(get_output("@krb5Dev@/bin/krb5-config --prefix"), "lib64") _PLUGIN_DIR = _decide_plugin_dir(_find_plugin_dirs_installed(lib_dir)) # /usr/lib64 seems only to be distinct on Fedora/RHEL/Centos family if _PLUGIN_DIR is None: -- lib_dir = os.path.join(get_output('krb5-config --prefix'), 'lib') -+ lib_dir = os.path.join(get_output('@krb5Dev@/bin/krb5-config --prefix'), 'lib') +- lib_dir = os.path.join(get_output("krb5-config --prefix"), "lib") ++ lib_dir = os.path.join(get_output("@krb5Dev@/bin/krb5-config --prefix"), "lib") _PLUGIN_DIR = _decide_plugin_dir(_find_plugin_dirs_installed(lib_dir)) if _PLUGIN_DIR is not None: -@@ -89,7 +89,7 @@ def _decide_plugin_dir(dirs): +@@ -87,7 +87,7 @@ def _decide_plugin_dir(dirs): for path in shortest_first: # check to see if it actually contains .so files @@ -26,97 +24,93 @@ index e289fac..e2f486a 100644 return path return None -@@ -97,7 +97,7 @@ def _decide_plugin_dir(dirs): - +@@ -96,7 +96,7 @@ def _decide_plugin_dir(dirs): def _find_plugin_dirs_installed(search_path): try: -- options_raw = get_output('find %s/ -type d \( ! -executable -o ! -readable \) ' -+ options_raw = get_output('@findutils@/bin/find %s/ -type d \( ! -executable -o ! -readable \) ' - '-prune -o ' - '-type d -path "*/krb5/plugins" -print' % search_path, - stderr=subprocess.STDOUT) + options_raw = get_output( +- "find %s/ -type d \( ! -executable -o ! -readable \) " ++ "@findutils@/bin/find %s/ -type d \( ! -executable -o ! -readable \) " + "-prune -o " + '-type d -path "*/krb5/plugins" -print' % search_path, + stderr=subprocess.STDOUT, @@ -111,7 +111,7 @@ def _find_plugin_dirs_installed(search_path): def _find_plugin_dirs_src(search_path): -- options_raw = get_output('find %s/../ -type d -name plugins' % search_path) -+ options_raw = get_output('@findutils@/bin/find %s/../ -type d -name plugins' % search_path) +- options_raw = get_output("find %s/../ -type d -name plugins" % search_path) ++ options_raw = get_output("@findutils@/bin/find %s/../ -type d -name plugins" % search_path) if options_raw: - return options_raw.split('\n') -diff --git a/k5test/realm.py b/k5test/realm.py -index 161e5ad..9f50049 100644 + return options_raw.split("\n") --- a/k5test/realm.py +++ b/k5test/realm.py -@@ -90,7 +90,7 @@ class K5Realm(metaclass=abc.ABCMeta): +@@ -84,7 +84,7 @@ class K5Realm(metaclass=abc.ABCMeta): + provider_cls = cls if provider_cls == K5Realm: - krb5_config = _discover_path('krb5-config', -- '/usr/bin/krb5-config', kwargs) -+ '@krb5@/bin/krb5-config', kwargs) +- krb5_config = _discover_path("krb5-config", "/usr/bin/krb5-config", kwargs) ++ krb5_config = _discover_path("krb5-config", "@krb5@/bin/krb5-config", kwargs) try: krb5_version = subprocess.check_output( -@@ -101,7 +101,7 @@ class K5Realm(metaclass=abc.ABCMeta): +@@ -96,7 +96,7 @@ class K5Realm(metaclass=abc.ABCMeta): + # macOS output doesn't contain Heimdal - if 'heimdal' in krb5_version.lower() or ( - sys.platform == 'darwin' and -- krb5_config == '/usr/bin/krb5-config'): -+ krb5_config == '@krb5@/bin/krb5-config'): + if "heimdal" in krb5_version.lower() or ( +- sys.platform == "darwin" and krb5_config == "/usr/bin/krb5-config" ++ sys.platform == "darwin" and krb5_config == "@krb5@/bin/krb5-config" + ): provider_cls = HeimdalRealm else: - provider_cls = MITRealm -@@ -434,14 +434,14 @@ class MITRealm(K5Realm): +@@ -457,14 +457,14 @@ class MITRealm(K5Realm): @property def _default_paths(self): return [ -- ('kdb5_util', 'kdb5_util', '/usr/sbin/kdb5_util'), -- ('krb5kdc', 'krb5kdc', '/usr/sbin/kdb5kdc'), -- ('kadmin', 'kadmin', '/usr/bin/admin'), -- ('kadmin_local', 'kadmin.local', '/usr/sbin/kadmin.local'), -- ('kadmind', 'kadmind', '/usr/sbin/kadmind'), -- ('kprop', 'kprop', '/usr/sbin/kprop'), -- ('_kinit', 'kinit', '/usr/bin/kinit'), -- ('_klist', 'klist', '/usr/bin/klist'), -+ ('kdb5_util', 'kdb5_util', '@krb5@/bin/kdb5_util'), -+ ('krb5kdc', 'krb5kdc', '@krb5@/bin/kdb5kdc'), -+ ('kadmin', 'kadmin', '@krb5@/bin/admin'), -+ ('kadmin_local', 'kadmin.local', '@krb5@/bin/kadmin.local'), -+ ('kadmind', 'kadmind', '@krb5@/bin/kadmind'), -+ ('kprop', 'kprop', '@krb5@/bin/kprop'), -+ ('_kinit', 'kinit', '@krb5@/bin/kinit'), -+ ('_klist', 'klist', '@krb5@/bin/klist'), +- ("kdb5_util", "kdb5_util", "/usr/sbin/kdb5_util"), +- ("krb5kdc", "krb5kdc", "/usr/sbin/krb5kdc"), +- ("kadmin", "kadmin", "/usr/bin/kadmin"), +- ("kadmin_local", "kadmin.local", "/usr/sbin/kadmin.local"), +- ("kadmind", "kadmind", "/usr/sbin/kadmind"), +- ("kprop", "kprop", "/usr/sbin/kprop"), +- ("_kinit", "kinit", "/usr/bin/kinit"), +- ("_klist", "klist", "/usr/bin/klist"), ++ ("kdb5_util", "kdb5_util", "@krb5@/bin/kdb5_util"), ++ ("krb5kdc", "krb5kdc", "@krb5@/bin/krb5kdc"), ++ ("kadmin", "kadmin", "@krb5@/bin/kadmin"), ++ ("kadmin_local", "kadmin.local", "@krb5@/bin/kadmin.local"), ++ ("kadmind", "kadmind", "@krb5@/bin/kadmind"), ++ ("kprop", "kprop", "@krb5@/bin/kprop"), ++ ("_kinit", "kinit", "@krb5@/bin/kinit"), ++ ("_klist", "klist", "@krb5@/bin/klist"), ] @property -@@ -585,12 +585,12 @@ class HeimdalRealm(K5Realm): +@@ -625,12 +625,12 @@ class HeimdalRealm(K5Realm): return [ - ('krb5kdc', 'kdc', os.path.join(base, 'kdc')), -- ('kadmin', 'kadmin', '/usr/bin/kadmin'), -- ('kadmin_local', 'kadmin', '/usr/bin/kadmin'), -+ ('kadmin', 'kadmin', '@krb5@/bin/kadmin'), -+ ('kadmin_local', 'kadmin', '@krb5@/bin/kadmin'), - ('kadmind', 'kadmind', os.path.join(base, 'kadmind')), -- ('_kinit', 'kinit', '/usr/bin/kinit'), -- ('_klist', 'klist', '/usr/bin/klist'), -- ('_ktutil', 'ktutil', '/usr/bin/ktutil'), -+ ('_kinit', 'kinit', '@krb5@/bin/kinit'), -+ ('_klist', 'klist', '@krb5@/bin/klist'), -+ ('_ktutil', 'ktutil', '@krb5@/bin/ktutil'), + ("krb5kdc", "kdc", os.path.join(base, "kdc")), +- ("kadmin", "kadmin", "/usr/bin/kadmin"), +- ("kadmin_local", "kadmin", "/usr/bin/kadmin"), ++ ("kadmin", "kadmin", "@krb5@/bin/kadmin"), ++ ("kadmin_local", "kadmin", "@krb5@/bin/kadmin"), + ("kadmind", "kadmind", os.path.join(base, "kadmind")), +- ("_kinit", "kinit", "/usr/bin/kinit"), +- ("_klist", "klist", "/usr/bin/klist"), +- ("_ktutil", "ktutil", "/usr/bin/ktutil"), ++ ("_kinit", "kinit", "@krb5@/bin/kinit"), ++ ("_klist", "klist", "@krb5@/bin/klist"), ++ ("_ktutil", "ktutil", "@krb5@/bin/ktutil"), ] @property -diff --git a/k5test/unit.py b/k5test/unit.py -index 3c64b9e..59da1ab 100644 --- a/k5test/unit.py +++ b/k5test/unit.py -@@ -38,7 +38,7 @@ _KRB_VERSION = None +@@ -39,7 +39,7 @@ _KRB_VERSION = None def krb_minversion_test(target_version, problem, provider=None): global _KRB_VERSION if _KRB_VERSION is None: - _KRB_VERSION = _utils.get_output("krb5-config --version") + _KRB_VERSION = _utils.get_output("@krb5Dev@/bin/krb5-config --version") - _KRB_VERSION = _KRB_VERSION.split(' ')[-1].split('.') + _KRB_VERSION = _KRB_VERSION.split(" ")[-1].split(".") def make_ext_test(func): diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 54e547458708..c13c931152f4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5321,7 +5321,7 @@ self: super: with self; { jxmlease = callPackage ../development/python-modules/jxmlease { }; k5test = callPackage ../development/python-modules/k5test { - inherit (pkgs) krb5 findutils which; + inherit (pkgs) krb5 findutils; }; kaa-base = callPackage ../development/python-modules/kaa-base { }; From a7dc576a248d2e59780e9d299ece2d01403bd359 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 14:43:14 -0400 Subject: [PATCH 100/114] python310Packages.pyshark: fix build on darwin --- pkgs/development/python-modules/pyshark/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyshark/default.nix b/pkgs/development/python-modules/pyshark/default.nix index 272672c2db34..52a0b55aaf8d 100644 --- a/pkgs/development/python-modules/pyshark/default.nix +++ b/pkgs/development/python-modules/pyshark/default.nix @@ -1,14 +1,15 @@ { lib , buildPythonPackage -, fetchpatch +, pythonOlder , fetchFromGitHub +, fetchpatch , appdirs , lxml , packaging , py , pytestCheckHook -, pythonOlder , wireshark-cli +, stdenv }: buildPythonPackage rec { @@ -48,6 +49,12 @@ buildPythonPackage rec { nativeCheckInputs = [ py pytestCheckHook wireshark-cli ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # fails on darwin + # _pickle.PicklingError: logger cannot be pickled + "test_iterate_empty_psml_capture" + ]; + pythonImportsCheck = [ "pyshark" ]; pytestFlagsArray = [ "../tests/" ]; From 2ae406b5200e19d1e51421c340e00e70bb3e79cb Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 14:54:52 -0400 Subject: [PATCH 101/114] python310Packages.repoze_who: skip failing test --- pkgs/development/python-modules/repoze_who/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/repoze_who/default.nix b/pkgs/development/python-modules/repoze_who/default.nix index 680e86526009..3231eafb0fc9 100644 --- a/pkgs/development/python-modules/repoze_who/default.nix +++ b/pkgs/development/python-modules/repoze_who/default.nix @@ -16,10 +16,17 @@ buildPythonPackage rec { propagatedBuildInputs = [ zope_interface webob ]; + # skip failing test + # OSError: [Errno 22] Invalid argument + preCheck = '' + rm repoze/who/plugins/tests/test_htpasswd.py + ''; + meta = with lib; { description = "WSGI Authentication Middleware / API"; homepage = "http://www.repoze.org"; + changelog = "https://github.com/repoze/repoze.who/blob/${version}/CHANGES.rst"; license = licenses.bsd0; + maintainers = with maintainers; [ ]; }; - } From 9775ce1bd39d7fc8b4d6a9ecb67ba8b67ce45988 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 22:01:44 +0300 Subject: [PATCH 102/114] python310Packages.torchWithCuda: add platform check --- pkgs/development/python-modules/torch/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/torch/default.nix b/pkgs/development/python-modules/torch/default.nix index ba1da5844b17..09732e5e78e9 100644 --- a/pkgs/development/python-modules/torch/default.nix +++ b/pkgs/development/python-modules/torch/default.nix @@ -55,6 +55,7 @@ let inherit (cudaPackages) cudatoolkit cudaFlags cudnn nccl; in +assert cudaSupport -> stdenv.isLinux; assert cudaSupport -> (cudaPackages.cudaMajorVersion == "11"); # confirm that cudatoolkits are sync'd across dependencies From 776fbde672a2158a5407f12d41435292a9d6e2e0 Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 17 May 2023 21:07:42 +0200 Subject: [PATCH 103/114] goflow2: init at 1.3.3 (#232430) Co-authored-by: figsoda --- pkgs/tools/networking/goflow2/default.nix | 31 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/networking/goflow2/default.nix diff --git a/pkgs/tools/networking/goflow2/default.nix b/pkgs/tools/networking/goflow2/default.nix new file mode 100644 index 000000000000..f77ca9e7981e --- /dev/null +++ b/pkgs/tools/networking/goflow2/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "goflow2"; + version = "1.3.3"; + + src = fetchFromGitHub { + owner = "netsampler"; + repo = pname; + rev = "v${version}"; + hash = "sha256-YZuF3O1/Ycn2gFK9i1D/W8F16B6NEift5PYbv8yqUHk="; + }; + + ldflags = [ + "-s" + "-w" + "-X=main.version=${version}" + ]; + + vendorHash = "sha256-c40N6SAym9dpCuGb5I7t9sJBde2r552obot3drYCjB4="; + + meta = with lib; { + description = "High performance sFlow/IPFIX/NetFlow Collector"; + homepage = "https://github.com/netsampler/goflow2"; + license = licenses.bsd3; + maintainers = with maintainers; [ yuka ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1fa85865a376..b891b2e7217c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1567,6 +1567,8 @@ with pkgs; goflow = callPackage ../tools/networking/goflow { }; + goflow2 = callPackage ../tools/networking/goflow2 { }; + gofu = callPackage ../applications/misc/gofu { }; godns = callPackage ../tools/networking/godns { }; From 84d5e9b1236959b053ac7525016e9ebcc6ab44cd Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 17 May 2023 22:25:47 +0300 Subject: [PATCH 104/114] release-notes: Mention services.syncthing changes due to RFC 42 Fixup to #226088 and #232439. --- nixos/doc/manual/release-notes/rl-2305.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md index 9fc49400235b..c5a29ed9f202 100644 --- a/nixos/doc/manual/release-notes/rl-2305.section.md +++ b/nixos/doc/manual/release-notes/rl-2305.section.md @@ -176,6 +176,8 @@ In addition to numerous new and upgraded packages, this release has the followin - The `ssh` client tool now disables the `~C` escape sequence by default. This can be re-enabled by setting `EnableEscapeCommandline yes` +- Many `services.syncthing` options have been moved to `services.syncthing.settings`, as part of [RFC 42](https://github.com/NixOS/rfcs/pull/42)'s implementation, see [#226088](https://github.com/NixOS/nixpkgs/pull/226088). + - The `ssh` module does not read `/etc/ssh/ssh_known_hosts2` anymore since this location is [deprecated since 2001](https://marc.info/?l=openssh-unix-dev&m=100508718416162&w=2). - The openssh module does not read `~/.ssh/authorized_keys2` anymore since this location is [deprecated since 2001](https://marc.info/?l=openssh-unix-dev&m=100508718416162&w=2). From 1d2e6b872cfa778e37466ada0c1b835d6253a102 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 17 May 2023 13:20:27 -0400 Subject: [PATCH 105/114] python310Packages.conda: disable on python 3.10+ --- pkgs/development/python-modules/conda/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/conda/default.nix b/pkgs/development/python-modules/conda/default.nix index 5f1b56cbcde4..5439bde10040 100644 --- a/pkgs/development/python-modules/conda/default.nix +++ b/pkgs/development/python-modules/conda/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, pythonAtLeast , fetchPypi , pycosat , requests @@ -15,6 +16,9 @@ buildPythonPackage rec { pname = "conda"; version = "4.3.16"; + # this is a very outdated version of conda that isn't compatible with python 3.10+ + disabled = pythonAtLeast "3.10"; + src = fetchPypi { inherit pname version; sha256 = "a91ef821343dea3ba9670f3d10b36c1ace4f4c36d70c175d8fc8886e94285953"; @@ -30,5 +34,4 @@ buildPythonPackage rec { homepage = "https://github.com/conda/conda"; license = lib.licenses.bsd3; }; - } From b2b89dc3680d00f7b748a118ed191002d0fa3c54 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 May 2023 19:29:16 +0000 Subject: [PATCH 106/114] iosevka-bin: 22.1.1 -> 22.1.2 --- pkgs/data/fonts/iosevka/bin.nix | 2 +- pkgs/data/fonts/iosevka/variants.nix | 184 +++++++++++++-------------- 2 files changed, 93 insertions(+), 93 deletions(-) diff --git a/pkgs/data/fonts/iosevka/bin.nix b/pkgs/data/fonts/iosevka/bin.nix index 875f7cb71d17..07b214bd9136 100644 --- a/pkgs/data/fonts/iosevka/bin.nix +++ b/pkgs/data/fonts/iosevka/bin.nix @@ -11,7 +11,7 @@ let (builtins.attrNames (builtins.removeAttrs variantHashes [ "iosevka" ])); in stdenv.mkDerivation rec { pname = "${name}-bin"; - version = "22.1.1"; + version = "22.1.2"; src = fetchurl { url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-${name}-${version}.zip"; diff --git a/pkgs/data/fonts/iosevka/variants.nix b/pkgs/data/fonts/iosevka/variants.nix index 7085b5d9d381..ab1fd3395d35 100644 --- a/pkgs/data/fonts/iosevka/variants.nix +++ b/pkgs/data/fonts/iosevka/variants.nix @@ -1,95 +1,95 @@ # This file was autogenerated. DO NOT EDIT! { - iosevka = "1j9yn7kb7g2yyw1dm9bmgblarfaf8fb4vdm7i7iif0kplxr7dgqj"; - iosevka-aile = "0babmr9gjsgcmlag0pay7dg954h3x9d7g43c8kzgzwsl6xvsgwhn"; - iosevka-curly = "0xjwk30df2dczypnqzs0jdvdn0wm9x5jb9akqcgm45dpbjmsy2cm"; - iosevka-curly-slab = "12m6avk1wpajjqfs0wabgjkgmyp72nsx1wb4pa87hi6xrs0z55gs"; - iosevka-etoile = "1a7ag0xk0vc1rsiys7j9pmrfg8ayrg9wqglmqq3gzdnl9z71hhzn"; - iosevka-slab = "142k5acg3c67jgprdxj7nhhg6blwj781w655452l3h9i6pvzvqd2"; - iosevka-ss01 = "01l1a2hqn2rnhyg5dv1nvqpx638dbvqsc1fm969ki03zfxq6q1qq"; - iosevka-ss02 = "02cfy693p283k6w80fkmsldmnqa34rb1pf5mvnx7712gqksc2wd7"; - iosevka-ss03 = "102aaypkayj87x7qfswqm6298dvqnjj5rcwmfwb8vnjaisk7rdaw"; - iosevka-ss04 = "0fc7hd1xjlbm8yknbdmxjhz29bmmpyj8c36ziz2wbbn5f2zf26j3"; - iosevka-ss05 = "0imsnl012ga9vsri3ghi060h2xpmcv846ap2w2j26rwgknii10gk"; - iosevka-ss06 = "02yf2vgxgqzx9hjwyvkvwvmyjna12d3sd9h7gfmph9sk0p0m7mss"; - iosevka-ss07 = "1w1ssy096h9jfhxmwa7gnhrgnvlqvacfb1nip2995v82h44q2fi6"; - iosevka-ss08 = "1ijy9lm1wm3ckyh17kvcycgpxqnjdyqz52w0q9pw7lqdfgpdq1ai"; - iosevka-ss09 = "0wymk5gahkr0dv1b0zxkifx4lah0468lrz2k7j919pg93j2ab1an"; - iosevka-ss10 = "064sqi7y3ypbs7j4cay37hk14qflmmgvpnwrpm637bgnxdh9pd6i"; - iosevka-ss11 = "15wlc86mnnkfhj66l1j3fvd74ks0ag74zss4893bghiaj3wcfnzx"; - iosevka-ss12 = "1al9rskiqcsh978x9fgpzrd4zayr6a8bias520gch3vid16mq776"; - iosevka-ss13 = "0vbjvx0rkzs6wdpb8y35z7a4v6gj06zn5jcbpma6r849kkj1iy0a"; - iosevka-ss14 = "1qchkd15l532i7y1mwqvsapa7yfh4i393ix5yp4w7hwhf81jd4j5"; - iosevka-ss15 = "11x4cfqs4ra9xz284s293bzm8x3mwf0sm0bbv4jgz72ab34qbbix"; - iosevka-ss16 = "1gp7zhlf3mrmrp9vr1yzkwwn86iyvi7fhgb494lyzvivvlrd88hy"; - iosevka-ss17 = "0i2fnn7afxmngfma0baarp9116sk36h7nx9g8ij1lkp4z2p16bnm"; - iosevka-ss18 = "1lwj3qz9127z7qqbgls9bswbknzk931yb2akacz64x3qgbm93d5w"; - sgr-iosevka = "02mzydyy7waihfgwsm2pycn3k75qvdb5q376rn4qb7ibzyv7kvi0"; - sgr-iosevka-aile = "0l0vipmx0bvqs05wp61ar2nkq3lx2ihkrvskgkdh68v6rxg2na4g"; - sgr-iosevka-curly = "0bgzaja7nx4p44cs681k1jkffq0pwpc738gh3vjqqcccwhdicg79"; - sgr-iosevka-curly-slab = "04adkwr6gb1ca9f8a64ai7wlfiy8j198zwfxka64rm19mdv1gva7"; - sgr-iosevka-etoile = "14svwdrczyphmp97ka0w6496dwym6dkasmqvqqyd51f2crzb76mb"; - sgr-iosevka-fixed = "1h6w0p8hv8ipkxmyky7frfykakwhkbqkylzbfgiikaad41q230sh"; - sgr-iosevka-fixed-curly = "1xhgllg93z4x7s623hyl4537v2cqd1z1p8bskxrfg2fhms2848la"; - sgr-iosevka-fixed-curly-slab = "09zzgia019r5szlcyqv79kka0p76d1gxdnqmpg8nzkw9m3xwps7g"; - sgr-iosevka-fixed-slab = "0ikzn6vmsdkd737g337kga81pa079bx467rq4ql81ydd66v0dxd9"; - sgr-iosevka-fixed-ss01 = "1srb1ncmk9zffkwap0qa2n7dyam73qymlxm12kq1x3f26c4j48rd"; - sgr-iosevka-fixed-ss02 = "0668b6r722qbgnm1mb3grx4psczs1lfvjca2lvqw32rc1fjksr1n"; - sgr-iosevka-fixed-ss03 = "09irdlxjg0c85vbcmr8jpb1n51ml6kkbq3hmv6rzh2y737if13bm"; - sgr-iosevka-fixed-ss04 = "07r37m809z45hqv97zpdrhrfdbc1rn5jx1375wf3nrdl14y08d5b"; - sgr-iosevka-fixed-ss05 = "0in2f0999jh3zks8ymppqsxmk8fhlyixpf6lyjlxrli5g4ls63jm"; - sgr-iosevka-fixed-ss06 = "1rcjp005wa1qhz1lbp95gjxynqbsaa5y3lcxjrlyp5117xrbckwl"; - sgr-iosevka-fixed-ss07 = "1whn6mhlz5y6p0pz5a24r2avdxgknkd09iiksq5z55l3jifq6w5a"; - sgr-iosevka-fixed-ss08 = "18k50bf3ki5kwrlm7i81ycyhgibps1abfddv6431sidb953dw5h4"; - sgr-iosevka-fixed-ss09 = "1gxiipbqnvq4l9i5z9jvrkha6d15pdnnyzv8dpgr2wb90d9kkc6y"; - sgr-iosevka-fixed-ss10 = "1d81qgylgq1jgasi5spahazjw0pkid1w0hanxbj0yrmmd2w7r8h7"; - sgr-iosevka-fixed-ss11 = "19qjs9gars612792mg163smmggbyrmbrnz94ixiy40k321zr29sa"; - sgr-iosevka-fixed-ss12 = "0ys5piwqsvmln1h4wp1dminhparcba7z08p91vvdwnzdkgywqnlh"; - sgr-iosevka-fixed-ss13 = "19br5vfwngnwg7y00iidw3ga9brabd5xppbwiqs5zysdlybb4pwp"; - sgr-iosevka-fixed-ss14 = "1nshbbap612f2x4b6m3bj1d99rwym5nxi0a2rajpg8mxf4ha5w57"; - sgr-iosevka-fixed-ss15 = "1zyv1prndjm6bixqr0pzhw0j86jg75ldxppyxf9r0ybw3pm132nv"; - sgr-iosevka-fixed-ss16 = "0b7f29hg4jzzi63xbb78m8rrf2kavvlp4nfgl2rnm7gckk5yfl70"; - sgr-iosevka-fixed-ss17 = "1vhfa79bjvpig6vbnmr52lmpsn5kkqcib4gqz875sgj4q557plxk"; - sgr-iosevka-fixed-ss18 = "1s3k12xz2506bi545nb9b9g6wd6jhlp1jf5sf40my2b8j721dr6s"; - sgr-iosevka-slab = "18f14g3yhs9rzj3njxn99m6zilp5xh3xdmycqza3cpcm9bxy61qp"; - sgr-iosevka-ss01 = "1rnnaxla2q0wd2wgn4ixg6z0n3yhaw0fwxxii1pip8bnvmfhg1hv"; - sgr-iosevka-ss02 = "0mkrvc2kjindvjnvp009b3b8z0ci0v5x5rjk94ynwnxw0yi0d209"; - sgr-iosevka-ss03 = "1h2ygx71ajx56p14xr8y0rw13dm6aml2r7whi0nicx67q3yqmmxg"; - sgr-iosevka-ss04 = "1h0ji0lpadfhx8sir9m19zjykqqlvgvq7cg37a4l6xxf716bh2l2"; - sgr-iosevka-ss05 = "1f8j8zjr5ja9x444pcrwimzv46sp5kls1k6ca9q8lax2jj4dpx32"; - sgr-iosevka-ss06 = "05l5i76lv8w5qdwwbn05r4zykaczgq940jcrw49f7kjc47rvd8mi"; - sgr-iosevka-ss07 = "03833pxrczwy8c38sqgbpszq5s5s9kpfmamjb9qjgnfcpzy99w60"; - sgr-iosevka-ss08 = "02iihwlkm4jasmwa33waxa8pj032w2xviw84ffgh4qvl3qhric22"; - sgr-iosevka-ss09 = "04cf7hgghd32wv21x9f8rrb9kfn9d3542rjfsqj5ydh68rq2jz66"; - sgr-iosevka-ss10 = "1g4i2h024jw93n7q6qacsnhhbrin7m8amqvp6535d51j74rblbxy"; - sgr-iosevka-ss11 = "0az3drdy6b812zkjp6if78v3952sxjyk2ncpsi7riij84ckb35p4"; - sgr-iosevka-ss12 = "1f5zhsxa68jhvv07s4g2clk7bs5gfhfwg4cpand1w6pk263bvzhx"; - sgr-iosevka-ss13 = "0sdrxyf7kr6ys3zpb4vrfkhr0dx2na9ip9dj43sh55ld6ppbh0r0"; - sgr-iosevka-ss14 = "09pwhq09mml5la4dhd0xyl0nm63rdl30chcyzj2d7j6i0qfih3z6"; - sgr-iosevka-ss15 = "08mjhs9g2yxy7drl8jn2f7qw66vmh4i61x5c6n22bml8y67cfzfc"; - sgr-iosevka-ss16 = "0wq6d7fsy7rdhdms83401srm0ij11yk2458fgxmgr9cj8nfykzpm"; - sgr-iosevka-ss17 = "0v04afwg8qryh2s3096amh7mj9cnn112j4wgx3jgqqhwmsb0h6s0"; - sgr-iosevka-ss18 = "0mczg8glhvvfin2q62vcpxci0pgmh5f9mswn8ys3fh7mkk4hag7x"; - sgr-iosevka-term = "15yb718fb6f3ywc32875zd7pglnlrnmh9hzrhynl1lba71pq59c4"; - sgr-iosevka-term-curly = "1fs4infd0ps4v3fcij9c8jw1nz48rblq2hq2v5f8qsj1xn2k69x4"; - sgr-iosevka-term-curly-slab = "0na07g2bcd173j6gzwlqziw4blbf92j0kx4m1y2x1k4ss606fzd5"; - sgr-iosevka-term-slab = "125wvyrf8mly7a51p705df4nryzh17rm7pc9zhydngxfmmaxrmcw"; - sgr-iosevka-term-ss01 = "1lmb0b2wzwq298kww3d3656xr67dmn8gz43582y3armggdxsgp8x"; - sgr-iosevka-term-ss02 = "06mfxiazkab55ddqxd3k3mklwcjavn9567b4bk5n6n38krilmfd4"; - sgr-iosevka-term-ss03 = "1if3kxas3j287x0pl5q18j255c30rv24fbv8500s4a0min8n5315"; - sgr-iosevka-term-ss04 = "1q5zxhgzsgg2fzyjmp4mp63957jhf6xp66qlkp59iwzixc46lk8a"; - sgr-iosevka-term-ss05 = "1vln43l0sps02badcvfpxkr9vy80fzy7bcknza4axihf5dsfl233"; - sgr-iosevka-term-ss06 = "1z2i26qh5krp4y0nh3hvlf60wnwzkkvh2b9q69f1pqlxmhnc3c2f"; - sgr-iosevka-term-ss07 = "1zx71hyygg2f7pma65zdymvdz4lbqzh9iiflpl4a2knhl50s3wk2"; - sgr-iosevka-term-ss08 = "08wqn6pqrmr5523nshvmlwmlkv4x4chbp2inr5n6v1wpsr7m3zfz"; - sgr-iosevka-term-ss09 = "1iqicymw6dwxanrv9xb2jcnxw84bj5v4bk9gzc33l3mf5kqfywi7"; - sgr-iosevka-term-ss10 = "1hl06vryvfy69b5q2rdhxv8acz8haj076xlicg8wpvmiwnbli6p8"; - sgr-iosevka-term-ss11 = "1nzd49866v43zm1hv1bb5pn9gf0mhk1ay2c90jl32s1yk0lj3drr"; - sgr-iosevka-term-ss12 = "0y356mvs29yz8kxh32w39hv8vm9c6m6i4hmkic4hnxdm13qbq32i"; - sgr-iosevka-term-ss13 = "094scl6hhdm7kpkmlv9r7ss1f0w4dn621iz179lg4kx7h7a1x018"; - sgr-iosevka-term-ss14 = "06dr1sbb5awzncgk84bi2l1649ssnb8h8zzydgg040v5jc2y63v4"; - sgr-iosevka-term-ss15 = "0bksrj3xkhy5w0d4nv86lbc2pjx3fm8sjpkc86ybda958s8kw4ks"; - sgr-iosevka-term-ss16 = "0bqr23cpa3a6vid1hr9dxn0fg69900hdlyr84lcyv49qmppls9ix"; - sgr-iosevka-term-ss17 = "0mawzcb1474k4x67y4rs6q1mf3dch3mm7is5zj7shmm5gchf4v70"; - sgr-iosevka-term-ss18 = "1afzrxw9clmi77rczd4rx6i1c3548wci13m66r69j6a5rcxyzk2b"; + iosevka = "081fh4526mp6xpjr7jf4s238wz7qfwm6ycdvajwd2nxii0ax4ybq"; + iosevka-aile = "0c43dyy1j0yh43sxxy0z8gz0v959vmpkvcfg78dy6qnj0f4mx6q4"; + iosevka-curly = "0nlh89adp4ikq6kkcw5bswlphdyfjadxz84wdq4snaf8b16a3pla"; + iosevka-curly-slab = "0zdzbc0v91xnbxp419vh060asfic3prdwx50ynx44551kscjf23l"; + iosevka-etoile = "1chz7j5dp6fjz73pa9xv1miaf4q4knm1rs0jxlxb6wspbs6x2b9f"; + iosevka-slab = "1hmljgbxlclp0hn7z5m4zq8m0zixwrxf551z4xxgc5s7756phfhm"; + iosevka-ss01 = "1i6p0vrqq3371j9xp7j336fn0hg0g5gwnkbjixhkyv69dphci56f"; + iosevka-ss02 = "0ad8829ndx1gmszknw86ym0kksn2jasa1qnbinavnx9jb4wgacma"; + iosevka-ss03 = "04rmrsb5x7if084x61ggvf173zvvldwa1qqvgcrm5jv901ga9ihw"; + iosevka-ss04 = "000r785jnkzd9fh41pcfh5frx540lcmarjmc04g9q2mzvdf3j6pf"; + iosevka-ss05 = "08frna6l600bb60rhyjl97n6ld9c7idbf88yq0nbr95bsa5vsvlm"; + iosevka-ss06 = "0vfbw0bx3q2q5vr18d1f20wlw5sbiprfcvmy4yvm005kg8vm5dbf"; + iosevka-ss07 = "1yfvkhbdyfl4hb59xrcnk7z3pw2a3s0840ghpmb08dx31zrqw22i"; + iosevka-ss08 = "0b5f54c6xr4ls33cjdxbyk8f5mlp4xl2rgbgfdyrg090sjqv1k91"; + iosevka-ss09 = "03npw4iwyyv13vfsjr8hh9587b5mhq55wnj9k38f6wjdbzp6lqb3"; + iosevka-ss10 = "1f2zzcz0adwlvfr846a9wiqac1zhq1fm0dccw9z5j3v9x5mv6370"; + iosevka-ss11 = "00if9x4i2p2kxi083jxy92h7m2vp87vaac8vbaqmgvcvs689bywk"; + iosevka-ss12 = "0jnsqysmqav1q3gfcbaz529p3ksrld7kp99wi38nfggzjzs06kqr"; + iosevka-ss13 = "0fwpq69k154kk1ycmckw56yggz425imk01bnbmwnciv31aqpaa4r"; + iosevka-ss14 = "03h0ddqxra2mygabm07w4cs3i8yyrjcvj5cnlbhnjkyipinxg8fz"; + iosevka-ss15 = "1a71y64g5hf8pwknsgibvi404673cgfd8y3nrl6k54j0vh6iv1j9"; + iosevka-ss16 = "0ykir676rf94m2h0dvc6s8bwi4zic7rjyrj0lvbfjbb7fd48k50q"; + iosevka-ss17 = "1n4qxqql2mr9g5391y17x9lbiy3wxfa48skq8ql11rpad2n75bbl"; + iosevka-ss18 = "0rhbj2cyjahaaba0fh4rz79b03r5zz8l98v3na2im3fzmpzrvvjd"; + sgr-iosevka = "1wfr3n4xc8wc1hflww5fvy3a1595bbyd5lw6dphki8kfr6zhx7gv"; + sgr-iosevka-aile = "1h6pmz589f60hxhb8inpjkf099l1cpx5j4c6avgj2kssy8gyfmrq"; + sgr-iosevka-curly = "1zqggj0q3dynf8x9lgw2hmzncgpi4vdj3ipyl4cbc8fvlfnvvjp3"; + sgr-iosevka-curly-slab = "1avr1760ilbwjkpvh8jm2kgh3lxd79m6zxynwjxiinaksnnj7rz4"; + sgr-iosevka-etoile = "0cw86y669qhz9fla3syi77x0kgdpnk8gnch897nrnj5qhl07236l"; + sgr-iosevka-fixed = "07ns51g4fyyxcmwpra6m1k808n5c8ydywfdq10y8nvbyawkvi5gy"; + sgr-iosevka-fixed-curly = "00nz8cnli4f6h4bw0i6fs9yhl2hpq51q044zxrz9ahc5fab0nxpy"; + sgr-iosevka-fixed-curly-slab = "19lv662gj66zr1r4si0l2i7m4isgfsd2g1q9p15ivp3lnmk8d7sm"; + sgr-iosevka-fixed-slab = "0gw7j7jrjivpnibajmg6mhfvf4i7sqpw2prixsmxqd6azjypyjll"; + sgr-iosevka-fixed-ss01 = "0ji9iyfqmhhl1pp0kf9pvskqsda57fdr73lhviikls3wdlfk84kp"; + sgr-iosevka-fixed-ss02 = "08z3anr3109f5msf25dpq7ln548i86q2ng332hxpv1h6z1v43lv1"; + sgr-iosevka-fixed-ss03 = "1j6qgak2jmihjmybqwm540kd6jnjv5snnprl2q8lj0cgwrbr9g78"; + sgr-iosevka-fixed-ss04 = "1vj9s195jdzyf3n7lzwdfgl6k6v1v4iry5bf7bwa5q8mfnyqjkb2"; + sgr-iosevka-fixed-ss05 = "0xknsf9gzk1qxrzq7ppsgm4skbhmrb9mfjqqjbyyqz3qqmz1db29"; + sgr-iosevka-fixed-ss06 = "0inxlcylli0kns3kplg6ylwy3pai2hamz806x39f49w1ymngvm9q"; + sgr-iosevka-fixed-ss07 = "0vy5v7czx7sb0d9fkbfqg6ipnn6fadxlgkk1r4cz98ash6iffvl2"; + sgr-iosevka-fixed-ss08 = "01vk0kn32i41dmjcc2smqp08732rcahyp9rwk7i71q18s43z81hd"; + sgr-iosevka-fixed-ss09 = "0fqcnwfd619fjshfgdc6rwr84mjkq1spfcrri8fgb985gn8han4p"; + sgr-iosevka-fixed-ss10 = "0wy3qj8q429z4qp9344blw86q2s8djcpx68fk2528dfkdgc0qdcj"; + sgr-iosevka-fixed-ss11 = "0w10p1i8d6xb5ab1rjljxrad33cvadv11hmn4xhd4rid5w4c4000"; + sgr-iosevka-fixed-ss12 = "1h9yifc07yrg0bbzy93az1qrbjsgl4hak336dvgr1y106r998n84"; + sgr-iosevka-fixed-ss13 = "11lj7f7njax2l7vcj30wphdpl15s4ldbgr89050can8gkix8nynp"; + sgr-iosevka-fixed-ss14 = "0bsybrkw145ba30k3g28js6v1jnn49virj2j27kjvdgrvqcwsczl"; + sgr-iosevka-fixed-ss15 = "1r8klnfy1d31kzv51vgwlalg7q72izmcg0875055g17i58sh18rp"; + sgr-iosevka-fixed-ss16 = "0lkss8vwzndg9pppx384jc0l5y8njzh66gjf8v8i08635wa2k7gc"; + sgr-iosevka-fixed-ss17 = "0v79km9gnmaszsny60hl5psczqc6ccnis86l5k30j2rir1n7iyic"; + sgr-iosevka-fixed-ss18 = "0jj8028xlabidll3fznx9c1n3czapz0p8bwf7d5ydslz5byyd2sc"; + sgr-iosevka-slab = "0rn52fkgqcxa7661mzjk2m82qy61aacf3yll39kssgyd76h084vv"; + sgr-iosevka-ss01 = "0pc0zgmq0l8283xwzsck8mm3qyd9hqn4h0dvr1nm1pp5sx7i393b"; + sgr-iosevka-ss02 = "1y7jxs73jx82gss0jbqfdqxbs3rzgaa5w1pcbf33jyj635shqkzm"; + sgr-iosevka-ss03 = "1764hcmzy6k89fyqfqgz1jp5wy4xdm8xnvz5pwmbv299kvnp7dqi"; + sgr-iosevka-ss04 = "1xhs5b5njlidg9b4m08c6n7s1lrhc099k57497zpy343ghspiwf3"; + sgr-iosevka-ss05 = "1alss532acynp1rzdkqi66f2b7635n56qlwj9lnl707q52s1y7z0"; + sgr-iosevka-ss06 = "1mif5gqf7ixgjj2r0lgsh6sz4wa81xfq5zyn5vd31sd11ary2r0f"; + sgr-iosevka-ss07 = "04x7knvganhjlc3qdr1w2vx6ba0yr2lip19jy1fymz5mlhq25rzz"; + sgr-iosevka-ss08 = "104k95d3fw0yfkyicasda6ml7kz2pg875xnpkaq3s75hyap37h77"; + sgr-iosevka-ss09 = "0qmw3dwx7rqp244yr0mwx9s8dqq8aq4iflw3c2zfbrbfn063ibh5"; + sgr-iosevka-ss10 = "14cj8fap1rifa3wc1d4bwncvdf064fg23vpn0h1y3ckwc29zcx70"; + sgr-iosevka-ss11 = "03jj5gc7687r0gijsdg5d76890pvn6jhbla2742mi5nvdalyq6cn"; + sgr-iosevka-ss12 = "06i5xaqwlni42alyalibfm9g1158xflzm5v3fdsd9niwrjdisq40"; + sgr-iosevka-ss13 = "12p1lb12cdk4mackmygrvkffpa7dyapys5dcmnxszk8z4pm4flfl"; + sgr-iosevka-ss14 = "1dvh7jz4qz2zkizks2cdmmgh5jgbij5alkqhjcc39crdbwzccsx4"; + sgr-iosevka-ss15 = "15ap02918nbbmbsrfm5gvf89aj1679wlh4nhbpjyfhd9swn0dys3"; + sgr-iosevka-ss16 = "1abff39i5gpx8xi6l6kfwmb0p4sysg11zcbr94rik6s02fyq8y6v"; + sgr-iosevka-ss17 = "1kmrsvd6xbzn0i5mvr84kxcl882yzyr8jbwbkxghshds8q7yxkwd"; + sgr-iosevka-ss18 = "1xil3gsdq4p1r72d1qdykkdyacvx9l75k02idjid6sqj6lv982mr"; + sgr-iosevka-term = "1rlnv7yjjy03pifbbbxlxkkswsgyfai1bgxq4iz1z9fhb10k6iqw"; + sgr-iosevka-term-curly = "1qy7q4savijcrqicf5llpl8p87w3ai872zwbd2dwv54ia2r7ixsj"; + sgr-iosevka-term-curly-slab = "02722sdizc4pvam0kc2sf23ywzwwp6nwbskbgmr3syridxkcpdri"; + sgr-iosevka-term-slab = "1xcnwr59s8a32zcg4gd0dh8a1fj1jqvw7900d9phj39ym1hd3wyr"; + sgr-iosevka-term-ss01 = "0fv8217chh5qfp4m1s0ar9jmkg9mqhc6rwfk15g9z79m0jrphq44"; + sgr-iosevka-term-ss02 = "1y8zxv0pch1xn2izsbkzy3489rib2cy3j49fdk7mh4q525j07v84"; + sgr-iosevka-term-ss03 = "1404ng2g8fc7bhs02qlca642va0y427p9vcbl7y9h40migpl595w"; + sgr-iosevka-term-ss04 = "0d0fffp5zj9vhhxpxf58s5fklcwb5kmwsm885idiq0rqx20d0igw"; + sgr-iosevka-term-ss05 = "0jf5p431ml05ppbbppi7mpwx05ms90yfhgyqy4i49nlvb73rzm5n"; + sgr-iosevka-term-ss06 = "189bvzgvqk3dms2xjrp4mcn8r8k57r56d9vb4r8y6kxnvhr6sn2g"; + sgr-iosevka-term-ss07 = "0smm363cmf5r5m5bw05v8lfahfy2qb8yf3j9cs99qzdn0p5jj1mz"; + sgr-iosevka-term-ss08 = "17f3zbag6g5y0akw4fw7y245k6p5iam4k3iwh6d6c0qdaxww0rjr"; + sgr-iosevka-term-ss09 = "0cvnqmcmf398rkjjm8qaigz9bsza3mfwjlaw5jknshwfiwn69lcc"; + sgr-iosevka-term-ss10 = "0w1skzys1jlvidlbcs5q47iwvndsf4ag28f35zdgcp3mwaksvb38"; + sgr-iosevka-term-ss11 = "1ga2saw9340dbgk3da12d2ncafyidp3cfxprainpdj47k6zxvk6s"; + sgr-iosevka-term-ss12 = "0s1fgmgwgdwnbxr0xs1hgrxkiv3zbm2hk4whh96wxfc14z7ksn1i"; + sgr-iosevka-term-ss13 = "0xyajzh2zw37nk2v2d64fm5ck1blw6ry4221aylgrfd2i2qk35dc"; + sgr-iosevka-term-ss14 = "1an2abigqs6fs1rdyyhhnpmkymx1aic6isjb53qdk04yr0zg2zq9"; + sgr-iosevka-term-ss15 = "1wmwlfhbvfkaxwrgfprck8iivqxw9plsbxd6ylihfznpx05a1pl4"; + sgr-iosevka-term-ss16 = "1xzixkinrj61p98ajrmknzxl9xwgcfd45w6jkczqccpszjl48843"; + sgr-iosevka-term-ss17 = "1wvfms17dl8hgyaiqwnhvikkj36b1491lzw4m5c5hicryhqgmnyb"; + sgr-iosevka-term-ss18 = "19as67n70dh0j15b3war0va8fpqva7qj6dys101jxij70cjgdvwc"; } From 55e5de416f19973a821606e92818ab4981eefc50 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 23:01:48 +0300 Subject: [PATCH 107/114] isabelle-components.isabelle-linter: add platforms --- .../science/logic/isabelle/components/isabelle-linter.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix b/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix index d5d71a95e374..7587c4638c18 100644 --- a/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix +++ b/pkgs/applications/science/logic/isabelle/components/isabelle-linter.nix @@ -30,5 +30,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/isabelle-prover/isabelle-linter"; maintainers = with maintainers; [ jvanbruegge ]; license = licenses.mit; + platforms = platforms.all; }; } From f3562ea26a4121163a56606e12fe2eef38acf4df Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 May 2023 20:39:14 +0000 Subject: [PATCH 108/114] python311Packages.google-cloud-pubsub: 2.16.1 -> 2.17.0 --- .../python-modules/google-cloud-pubsub/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-pubsub/default.nix b/pkgs/development/python-modules/google-cloud-pubsub/default.nix index 39c1673cf270..b3d4c29a97cf 100644 --- a/pkgs/development/python-modules/google-cloud-pubsub/default.nix +++ b/pkgs/development/python-modules/google-cloud-pubsub/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "google-cloud-pubsub"; - version = "2.16.1"; + version = "2.17.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-MeJxvnVe1xQ64M3+0FBvr0DXUEtG+lyLW6tLki9sPTs="; + hash = "sha256-gojQMjgA8mszGxVP0fsxzpL+mibz+Eg3NyCce/5Qrek="; }; propagatedBuildInputs = [ From 6d74051119387348fc7a2c600ef24ae5e1710d0b Mon Sep 17 00:00:00 2001 From: Daniyal Suri Date: Wed, 17 May 2023 22:49:15 +0500 Subject: [PATCH 109/114] maintainers: add daniyalsuri --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 047fe343043f..ab528ec347e4 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3484,6 +3484,12 @@ githubId = 1298344; name = "Daniel Fullmer"; }; + daniyalsuri6 = { + email = "daniyal.suri@gmail.com"; + github = "daniyalsuri6"; + githubId = 107034852; + name = "Daniyal Suri"; + }; dansbandit = { github = "dansbandit"; githubId = 4530687; From 5439fa8e440044788219bfbd904c571812680a9b Mon Sep 17 00:00:00 2001 From: Daniyal Suri Date: Tue, 16 May 2023 02:26:45 +0500 Subject: [PATCH 110/114] okta-aws-cli: init at version 1.0.1 --- pkgs/tools/admin/okta-aws-cli/default.nix | 26 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/admin/okta-aws-cli/default.nix diff --git a/pkgs/tools/admin/okta-aws-cli/default.nix b/pkgs/tools/admin/okta-aws-cli/default.nix new file mode 100644 index 000000000000..7906837fe059 --- /dev/null +++ b/pkgs/tools/admin/okta-aws-cli/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "okta-aws-cli"; + version = "1.0.1"; + + subPackages = [ "cmd/okta-aws-cli" ]; + + src = fetchFromGitHub { + owner = "okta"; + repo = "okta-aws-cli"; + rev = "v${version}"; + sha256 = "1qlc04fydcqnifbhrzdw63wq3ndzsyzp4s1bdvfhvizbhdi03mpp"; + }; + + vendorSha256 = "1gzaadpf9zrci7yv88f434mvc7gralb7dj6wl6r4vsv3qk291680"; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "A CLI for having Okta as the IdP for AWS CLI operations"; + homepage = "https://github.com/okta/okta-aws-cli"; + license = licenses.asl20; + maintainers = with maintainers; [ daniyalsuri6 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8eea39db3800..0523ebdd703e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2934,6 +2934,8 @@ with pkgs; awscli2 = callPackage ../tools/admin/awscli2 { }; + okta-aws-cli = callPackage ../tools/admin/okta-aws-cli { }; + awsebcli = callPackage ../tools/virtualization/awsebcli { }; awslimitchecker = callPackage ../tools/admin/awslimitchecker { }; From 73424fa2eb27fe8cabb246fc00d4db8d89e1719b Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 23:43:11 +0300 Subject: [PATCH 111/114] vtk: fix egg-info --- pkgs/development/libraries/vtk/vtk.egg-info | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/vtk/vtk.egg-info b/pkgs/development/libraries/vtk/vtk.egg-info index a244450ad767..c932fce54070 100644 --- a/pkgs/development/libraries/vtk/vtk.egg-info +++ b/pkgs/development/libraries/vtk/vtk.egg-info @@ -1,4 +1,5 @@ Metadata-Version: 2.1 +Name: vtk Version: @VTK_VER@ Summary: VTK is an open-source toolkit for 3D computer graphics, image processing, and visualization Platform: UNKNOWN From d98541f668e89691009311997fa711655884cab1 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 17 May 2023 23:43:33 +0300 Subject: [PATCH 112/114] python311Packages.pyvista: 0.39.0 -> 0.39.1 --- pkgs/development/python-modules/pyvista/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvista/default.nix b/pkgs/development/python-modules/pyvista/default.nix index 1c40d504ad94..0ecbea866b14 100644 --- a/pkgs/development/python-modules/pyvista/default.nix +++ b/pkgs/development/python-modules/pyvista/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyvista"; - version = "0.39.0"; + version = "0.39.1"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-PQOkwpyaKZ0oubDCzIKHXylpk1HWH39O0zonJ7Gfly4="; + hash = "sha256-N+1FfTKDITBmLaOjKZsahMd6s26W19ObcWXk8gGQ0QI="; }; propagatedBuildInputs = [ From 50c75a58260a10439f2d808260d6bbbd1255a664 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 17 May 2023 20:13:06 +0000 Subject: [PATCH 113/114] python310Packages.uproot: 5.0.3 -> 5.0.7 --- pkgs/development/python-modules/uproot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix index 42934f41749e..36f2a3c8b6ce 100644 --- a/pkgs/development/python-modules/uproot/default.nix +++ b/pkgs/development/python-modules/uproot/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "uproot"; - version = "5.0.3"; + version = "5.0.7"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "scikit-hep"; repo = "uproot5"; rev = "refs/tags/v${version}"; - hash = "sha256-5XR92e3rQJbKojfQX+MjaF4SCKvV1xBu7hezaFrtJwc="; + hash = "sha256-Ql5Hk2Cd/TB9k7CVrffV5vi70wps+y9SE10Sb2NMaeg="; }; nativeBuildInputs = [ From 1d77f3b72756ca36f16440c59e6b89a957908647 Mon Sep 17 00:00:00 2001 From: Yureka Date: Thu, 18 May 2023 00:51:12 +0200 Subject: [PATCH 114/114] goose: init at 3.11.2 (#232485) --- pkgs/tools/misc/goose/default.nix | 47 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 49 insertions(+) create mode 100644 pkgs/tools/misc/goose/default.nix diff --git a/pkgs/tools/misc/goose/default.nix b/pkgs/tools/misc/goose/default.nix new file mode 100644 index 000000000000..46fa2f2d2ccf --- /dev/null +++ b/pkgs/tools/misc/goose/default.nix @@ -0,0 +1,47 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, stdenv +}: + +buildGoModule rec { + pname = "goose"; + version = "3.11.2"; + + src = fetchFromGitHub { + owner = "pressly"; + repo = pname; + rev = "v${version}"; + hash = "sha256-D/mWzDsGNftl0ldNpWt/98b2o5fWk4Jxb5zEIAqTPs0="; + }; + + proxyVendor = true; + vendorHash = "sha256-6KqYafXtTLmiYrKabuPaszzkN5P3uZDl4LWo1tat/Bk="; + + # end-to-end tests require a docker daemon + postPatch = '' + rm -r tests/e2e + rm -r tests/gomigrations + rm -r tests/vertica + ''; + + ldflags = [ + "-s" + "-w" + "-X=main.gooseVersion=${version}" + ]; + + checkFlags = [ + # these also require a docker daemon + "-skip=TestClickUpDown|TestClickHouseFirstThree" + ]; + + doCheck = !stdenv.isDarwin; + + meta = with lib; { + description = "Database migration tool which supports SQL migrations and Go functions"; + homepage = "https://pressly.github.io/goose/"; + license = licenses.bsd3; + maintainers = with maintainers; [ yuka ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f6f52a246d63..d3e835c3be42 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1575,6 +1575,8 @@ with pkgs; godspeed = callPackage ../tools/networking/godspeed { }; + goose = callPackage ../tools/misc/goose { }; + gp-saml-gui = python3Packages.callPackage ../tools/networking/gp-saml-gui { }; guestfs-tools = callPackage ../tools/virtualization/guestfs-tools { };