From 1c73a0773caa843fe16ff6e31eb2fcf7c7362695 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 9 May 2022 12:23:15 +0200 Subject: [PATCH 01/35] doc: clarify what a 'mass rebuild' is --- doc/contributing/submitting-changes.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing/submitting-changes.chapter.md b/doc/contributing/submitting-changes.chapter.md index d428f00eea5..6f87e015b9c 100644 --- a/doc/contributing/submitting-changes.chapter.md +++ b/doc/contributing/submitting-changes.chapter.md @@ -236,7 +236,7 @@ The `master` branch is the main development branch. It should only see non-break ### Staging branch {#submitting-changes-staging-branch} -The `staging` branch is a development branch where mass-rebuilds go. It should only see non-breaking mass-rebuild commits. That means it is not to be used for testing, and changes must have been well tested already. If the branch is already in a broken state, please refrain from adding extra new breakages. +The `staging` branch is a development branch where mass-rebuilds go. Mass rebuilds are commits that cause rebuilds for many packages, like more than 500 (or perhaps, if it's 'light' packages, 1000). It should only see non-breaking mass-rebuild commits. That means it is not to be used for testing, and changes must have been well tested already. If the branch is already in a broken state, please refrain from adding extra new breakages. ### Staging-next branch {#submitting-changes-staging-next-branch} From 04c57e28c15a599b32704077b34eecf54ae898c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 12 May 2022 15:18:25 +0200 Subject: [PATCH 02/35] Revert "python3Packages.napalm: disable python 3.9 onwards (#172643)" This reverts commit dea7e48d74e292d75146fdb42fa433269fa3f3e3. --- pkgs/development/python-modules/napalm/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/napalm/default.nix b/pkgs/development/python-modules/napalm/default.nix index ef59a33a956..2266283cc53 100644 --- a/pkgs/development/python-modules/napalm/default.nix +++ b/pkgs/development/python-modules/napalm/default.nix @@ -1,14 +1,10 @@ { lib, buildPythonPackage, fetchFromGitHub, callPackage, setuptools, cffi , paramiko, requests, future, textfsm, jinja2, netaddr, pyyaml, pyeapi, netmiko -, junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock -, pythonOlder, pythonAtLeast }: +, junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock }: buildPythonPackage rec { pname = "napalm"; version = "3.3.1"; - format = "setuptools"; - - disabled = pythonOlder "3.6" || pythonAtLeast "3.9"; src = fetchFromGitHub { owner = "napalm-automation"; From 75eff269f76f6aa01ecc0e08a7958f80846747f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 12 May 2022 00:30:56 +0200 Subject: [PATCH 03/35] python310Packages.netmiko: 4.0.0 -> 4.1.0 --- pkgs/development/python-modules/netmiko/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/netmiko/default.nix b/pkgs/development/python-modules/netmiko/default.nix index 3081b5a6b7c..482c298a90e 100644 --- a/pkgs/development/python-modules/netmiko/default.nix +++ b/pkgs/development/python-modules/netmiko/default.nix @@ -3,16 +3,15 @@ buildPythonPackage rec { pname = "netmiko"; - version = "4.0.0"; + version = "4.1.0"; src = fetchPypi { inherit pname version; - sha256 = "sha256-fVhBkiO1JpqMIFl32xlwSjeCd7aObocXPAr069fKdmc="; + sha256 = "sha256-VwUZdHr82WsEprB7rk5d62AwaCxzngftDgjeBZW4OWQ="; }; buildInputs = [ setuptools ]; - propagatedBuildInputs = - [ paramiko scp tenacity textfsm ntc-templates pyserial ]; + propagatedBuildInputs = [ paramiko scp tenacity pyyaml textfsm ntc-templates pyserial ]; # tests require closed-source pyats and genie packages doCheck = false; From 104bc12c7395f45789ab415e5f8e9bf50c2bfa8e Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 12 May 2022 13:54:32 -0400 Subject: [PATCH 04/35] nomad-pack: 2022-04-12 -> 2022-05-12 --- .../networking/cluster/nomad-pack/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/nomad-pack/default.nix b/pkgs/applications/networking/cluster/nomad-pack/default.nix index 394e75f9112..5c5cb7c4a61 100644 --- a/pkgs/applications/networking/cluster/nomad-pack/default.nix +++ b/pkgs/applications/networking/cluster/nomad-pack/default.nix @@ -5,17 +5,17 @@ buildGoModule rec { pname = "nomad-pack"; - version = "2022-04-12"; - rev = "50ad747d2a5a2b90af1b3564483510cb04fefbea"; + version = "2022-05-12"; + rev = "bee6e8e078ff31fee916b864fbf3648294dbcdf5"; src = fetchFromGitHub { owner = "hashicorp"; repo = pname; inherit rev; - sha256 = "sha256-VG6Dmx5WD2AzKReMbmrpzXCNhrJqaZY3aQV9P+4ET68="; + sha256 = "sha256-28Dx9z7T+4WXl4voAzlSR2h3HcZMSzOuX7FHLJ4q9Sc="; }; - vendorSha256 = "sha256-7ovR2F9N94iFK/B5OXRcqfykOYHST3354+Ge2L8yzq0="; + vendorSha256 = "sha256-hPsO842gmk77qc27slV2TiYNI7Ofw1RqGgcLP1gdgJ0="; # skip running go tests as they require network access doCheck = false; From 72ffe3a604d37f8d5581c62870fe0678d9011613 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 14 May 2022 12:50:45 +0100 Subject: [PATCH 05/35] _9pfs: add -fcommon workaround Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: lib/auth_rpc.o:/build/source/lib/../9pfs.h:35: multiple definition of `logfile'; 9pfs.o:/build/source/9pfs.h:35: first defined here --- pkgs/tools/filesystems/9pfs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/filesystems/9pfs/default.nix b/pkgs/tools/filesystems/9pfs/default.nix index 03f082a4038..d9c609d7c0a 100644 --- a/pkgs/tools/filesystems/9pfs/default.nix +++ b/pkgs/tools/filesystems/9pfs/default.nix @@ -24,6 +24,12 @@ stdenv.mkDerivation { buildInputs = [ fuse ]; + # Workaround build failure on -fno-common toolchains like upstream + # gcc-10. Otherwise build fails as: + # ld: lib/auth_rpc.o:/build/source/lib/../9pfs.h:35: multiple definition of + # `logfile'; 9pfs.o:/build/source/9pfs.h:35: first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + enableParallelBuilding = true; meta = { From 5ce31ec2fda36614a42fe80b0744da78de8a16b7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 14 May 2022 15:19:14 +0200 Subject: [PATCH 06/35] nix-fallback-paths.nix: Update to 2.8.1 --- nixos/modules/installer/tools/nix-fallback-paths.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/modules/installer/tools/nix-fallback-paths.nix b/nixos/modules/installer/tools/nix-fallback-paths.nix index 1707935ad5b..8fc8cc4baad 100644 --- a/nixos/modules/installer/tools/nix-fallback-paths.nix +++ b/nixos/modules/installer/tools/nix-fallback-paths.nix @@ -1,7 +1,7 @@ { - x86_64-linux = "/nix/store/yx36yzxpw1hn4fz8iyf1rfyd56jg3yf4-nix-2.8.0"; - i686-linux = "/nix/store/c0hg806zvwg800qbszzj8ff4a224kjgf-nix-2.8.0"; - aarch64-linux = "/nix/store/wic2832ll53q392r2wks4xr2nrk7p8p5-nix-2.8.0"; - x86_64-darwin = "/nix/store/5yqdvnkmkrhl36xh0qy31pymdphjimdd-nix-2.8.0"; - aarch64-darwin = "/nix/store/izc9592szrnpv8n86hr88bhpyc9g6b4s-nix-2.8.0"; + x86_64-linux = "/nix/store/6mjgljq8sm9bsz6k22as5ar3jw78644m-nix-2.8.1"; + i686-linux = "/nix/store/c4yjv4l8wncdla6ycicvsjrdf40xjkpp-nix-2.8.1"; + aarch64-linux = "/nix/store/qkgvks80mdibq7m86hqasgr5lpixbnmh-nix-2.8.1"; + x86_64-darwin = "/nix/store/riz4mzb1xhp36088ffnp40lz52bpxz01-nix-2.8.1"; + aarch64-darwin = "/nix/store/dirm8hsnmvvzjs21hrx8i84w8k453jzp-nix-2.8.1"; } From aa61d40652db53fae17fd1a3b677e4ab336296c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 12 May 2022 00:30:08 +0200 Subject: [PATCH 07/35] python310Packages.napalm: 3.3.1 -> 3.4.1 --- .../python-modules/napalm/default.nix | 31 ++++++++++++++++--- .../python-modules/napalm/hp-procurve.nix | 6 ++-- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/napalm/default.nix b/pkgs/development/python-modules/napalm/default.nix index 2266283cc53..09d38875db8 100644 --- a/pkgs/development/python-modules/napalm/default.nix +++ b/pkgs/development/python-modules/napalm/default.nix @@ -1,19 +1,42 @@ -{ lib, buildPythonPackage, fetchFromGitHub, callPackage, setuptools, cffi +{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, setuptools, cffi , paramiko, requests, future, textfsm, jinja2, netaddr, pyyaml, pyeapi, netmiko -, junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock }: +, junos-eznc, ciscoconfparse, scp, lxml, ncclient, pytestCheckHook, ddt, mock +, pythonOlder }: buildPythonPackage rec { pname = "napalm"; - version = "3.3.1"; + version = "3.4.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "napalm-automation"; repo = "napalm"; rev = version; - sha256 = "15h1h1a3avv48i14x96b8v7zkhmwg7dnzxycxr18f9530j237rq6"; + sha256 = "sha256-TNWRJtc6+VS6wgJGGvCPDoFQmOKQAyXdjFQo9bPJ2F8="; }; + patches = [ + # netmiko 4.0.0 support + (fetchpatch{ + url = "https://github.com/napalm-automation/napalm/commit/4b8cc85db3236099a04f742cf71773e74d9dd70e.patch"; + excludes = [ "requirements.txt" ]; + sha256 = "sha256-DBKp+wiKd+/j2xAqaQL3UCcGQd6wnWcNTsNXBBt9c98="; + }) + (fetchpatch{ + url = "https://github.com/napalm-automation/napalm/commit/4a8b5b1823335dd79aa5269c038a1f08ecd35cdd.patch"; + sha256 = "sha256-uiou/rzmnFf4wAvXwmUsGJx99GeHWKJB2JrMM1kLakM="; + }) + ]; + + postPatch = '' + substituteInPlace requirements.txt \ + --replace "netmiko>=3.3.0,<4.0.0" "netmiko" + ''; + buildInputs = [ setuptools ]; + propagatedBuildInputs = [ cffi paramiko diff --git a/pkgs/development/python-modules/napalm/hp-procurve.nix b/pkgs/development/python-modules/napalm/hp-procurve.nix index 774fdd2299c..f6ebfa980e6 100644 --- a/pkgs/development/python-modules/napalm/hp-procurve.nix +++ b/pkgs/development/python-modules/napalm/hp-procurve.nix @@ -30,12 +30,14 @@ buildPythonPackage rec { "test_method_signatures" # AttributeError: 'PatchedProcurveDriver' object has no attribute 'platform' "test_get_config_filtered" + # AssertionError + "test_get_interfaces" ]; meta = with lib; { description = "HP ProCurve Driver for NAPALM automation frontend"; - homepage = - "https://github.com/napalm-automation-community/napalm-hp-procurve"; + homepage = "https://github.com/napalm-automation-community/napalm-hp-procurve"; license = licenses.asl20; + maintainers = with maintainers; [ ]; }; } From a23fbeb6e8d5c7f35c9feba25da0061ebcf79efe Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 14 May 2022 03:09:20 +0300 Subject: [PATCH 08/35] testers.testVersion: if grep failed then print the output of the command --- pkgs/build-support/testers/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/build-support/testers/default.nix b/pkgs/build-support/testers/default.nix index 3ab97760e72..020352836c8 100644 --- a/pkgs/build-support/testers/default.nix +++ b/pkgs/build-support/testers/default.nix @@ -9,10 +9,19 @@ version ? package.version, }: runCommand "${package.name}-test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } '' if output=$(${command} 2>&1); then - grep -Fw "${version}" - <<< "$output" - touch $out + if grep -Fw "${version}" - <<< "$output"; then + touch $out + else + echo "Version string '${version}' not found!" >&2 + echo "The output was:" >&2 + echo "$output" >&2 + exit 1 + fi else - echo "$output" >&2 && exit 1 + echo -n ${lib.escapeShellArg command} >&2 + echo " returned a non-zero exit code." >&2 + echo "$output" >&2 + exit 1 fi ''; From 83523b81152536eaa35d409cfe6e0a1da80cef94 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 17 May 2022 09:54:06 +0100 Subject: [PATCH 09/35] konstraint: 0.19.1 -> 0.20.0 --- pkgs/development/tools/konstraint/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/konstraint/default.nix b/pkgs/development/tools/konstraint/default.nix index 94578591003..ed11ab5b666 100644 --- a/pkgs/development/tools/konstraint/default.nix +++ b/pkgs/development/tools/konstraint/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "konstraint"; - version = "0.19.1"; + version = "0.20.0"; src = fetchFromGitHub { owner = "plexsystems"; repo = pname; rev = "v${version}"; - sha256 = "sha256-MQ9Rb8U1CGbEgNtkOdK879dr8uOro6CAl4wGMbuT+wo="; + sha256 = "sha256-xSJxBJzLfZhBcXqKs8EZRHTpgb1YeKDTzrOiBtGBwTI="; }; vendorSha256 = "sha256-gUuceNwOI+ss2YDiIF+zxyOj53iV6kGtVhNCd5KQomo="; From fdf74c7741465d8d1da7a910cd17d38068c74ff1 Mon Sep 17 00:00:00 2001 From: Armando Santos Date: Fri, 13 May 2022 11:57:16 +0100 Subject: [PATCH 10/35] maintainers/create-amis.sh: Add more AWS regions Add all currently available AWS regions --- nixos/maintainers/scripts/ec2/create-amis.sh | 30 ++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/nixos/maintainers/scripts/ec2/create-amis.sh b/nixos/maintainers/scripts/ec2/create-amis.sh index 797fe03e209..0c1656efaf1 100755 --- a/nixos/maintainers/scripts/ec2/create-amis.sh +++ b/nixos/maintainers/scripts/ec2/create-amis.sh @@ -26,12 +26,32 @@ var ${home_region:=eu-west-1} var ${bucket:=nixos-amis} var ${service_role_name:=vmimport} -var ${regions:=eu-west-1 eu-west-2 eu-west-3 eu-central-1 eu-north-1 - us-east-1 us-east-2 us-west-1 us-west-2 +# Output of the command: +# > aws ec2 describe-regions --all-regions --query "Regions[].{Name:RegionName}" --output text | sort +var ${regions:= + af-south-1 + ap-east-1 + ap-northeast-1 + ap-northeast-2 + ap-northeast-3 + ap-south-1 + ap-southeast-1 + ap-southeast-2 + ap-southeast-3 ca-central-1 - ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 - ap-south-1 ap-east-1 - sa-east-1} + eu-central-1 + eu-north-1 + eu-south-1 + eu-west-1 + eu-west-2 + eu-west-3 + me-south-1 + sa-east-1 + us-east-1 + us-east-2 + us-west-1 + us-west-2 + } regions=($regions) From 6f0d3c8ec71dfca5a6bde1d57d85bd48483476ad Mon Sep 17 00:00:00 2001 From: DarkOnion0 Date: Tue, 17 May 2022 18:03:47 +0200 Subject: [PATCH 11/35] drawio: 18.0.4 -> 18.0.6 --- pkgs/applications/graphics/drawio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index 2f3728fa9bd..3e4ea214c47 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { pname = "drawio"; - version = "18.0.4"; + version = "18.0.6"; src = fetchurl { url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; - sha256 = "0ln9vs2zyqq0pz3af6i8ynjbg59j0y6y7f5qkrgk2yv2mpnncl3m"; + sha256 = "939d23f45f82bc4978ff3cb5d15d096f8af9658fb9f9211d3849998f6a0bd3a9"; }; nativeBuildInputs = [ From cc975df49c31c220e0c012250cb5dc91e6e19eb6 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 17 May 2022 19:37:55 +0200 Subject: [PATCH 12/35] xml-tooling-c: fix build Moved back to C++14 where dynamic exception specifications are deprecated but still present. --- pkgs/development/libraries/xml-tooling-c/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/xml-tooling-c/default.nix b/pkgs/development/libraries/xml-tooling-c/default.nix index 9cf3ddb9219..39e25241c94 100644 --- a/pkgs/development/libraries/xml-tooling-c/default.nix +++ b/pkgs/development/libraries/xml-tooling-c/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { buildInputs = [ boost curl openssl log4shib xercesc xml-security-c ]; nativeBuildInputs = [ autoreconfHook pkg-config ]; + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; + enableParallelBuilding = true; meta = with lib; { From 8a1e40c96bc21e055383297297267a8cc9443d9f Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 17 May 2022 19:43:22 +0200 Subject: [PATCH 13/35] opensaml-cpp: fix build Moved back to C++14 where dynamic exception specifications are deprecated but still present. --- pkgs/development/libraries/opensaml-cpp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/opensaml-cpp/default.nix b/pkgs/development/libraries/opensaml-cpp/default.nix index 4f83f22856e..1f4ad96c297 100644 --- a/pkgs/development/libraries/opensaml-cpp/default.nix +++ b/pkgs/development/libraries/opensaml-cpp/default.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ]; + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; + enableParallelBuilding = true; meta = with lib; { From 6e63244762f1083bc4fd74a61033dbd485f1a574 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 17 May 2022 19:45:59 +0200 Subject: [PATCH 14/35] shibboleth-sp: fix build Moved back to C++14 where dynamic exception specifications are deprecated but still present. --- pkgs/development/libraries/shibboleth-sp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/shibboleth-sp/default.nix b/pkgs/development/libraries/shibboleth-sp/default.nix index f3b80c0b548..5dd997352f1 100644 --- a/pkgs/development/libraries/shibboleth-sp/default.nix +++ b/pkgs/development/libraries/shibboleth-sp/default.nix @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { "--with-fastcgi" ]; + NIX_CFLAGS_COMPILE = [ "-std=c++14" ]; + enableParallelBuilding = true; meta = with lib; { From 520ca935405c108b02cad79be66f7f842effbdca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 17 May 2022 20:47:29 +0200 Subject: [PATCH 15/35] python310Packages.marshmallow: 3.13.0 -> 3.15.0 --- .../python-modules/marshmallow/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/marshmallow/default.nix b/pkgs/development/python-modules/marshmallow/default.nix index a4f60d8202a..c08916e4368 100644 --- a/pkgs/development/python-modules/marshmallow/default.nix +++ b/pkgs/development/python-modules/marshmallow/default.nix @@ -1,15 +1,16 @@ { lib , buildPythonPackage -, pythonOlder , fetchFromGitHub , pytestCheckHook +, pythonOlder , pytz , simplejson }: buildPythonPackage rec { pname = "marshmallow"; - version = "3.13.0"; + version = "3.15.0"; + format = "setuptools"; disabled = pythonOlder "3.6"; @@ -17,7 +18,7 @@ buildPythonPackage rec { owner = "marshmallow-code"; repo = pname; rev = version; - sha256 = "sha256-tP/RKo2Hzxz2bT7ybRs9wGzq7TpsmzmOPi3BGuSLDA0="; + hash = "sha256-ZqMrMNfP/RKW2jQDNPgfhyeqmSc40pZbnrcXHbw2emc="; }; checkInputs = [ @@ -31,10 +32,7 @@ buildPythonPackage rec { ]; meta = with lib; { - description = '' - A lightweight library for converting complex objects to and from - simple Python datatypes. - ''; + description = "Library for converting complex objects to and from simple Python datatypes"; homepage = "https://github.com/marshmallow-code/marshmallow"; license = licenses.mit; maintainers = with maintainers; [ cript0nauta ]; From 6a6cfdc9f8e53b03fc9e7cdccbe537ffbb536fcc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 08:28:56 +0200 Subject: [PATCH 16/35] python310Packages.marshmallow: add missing input --- pkgs/development/python-modules/marshmallow/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/marshmallow/default.nix b/pkgs/development/python-modules/marshmallow/default.nix index c08916e4368..50e7e71cc9e 100644 --- a/pkgs/development/python-modules/marshmallow/default.nix +++ b/pkgs/development/python-modules/marshmallow/default.nix @@ -5,6 +5,7 @@ , pythonOlder , pytz , simplejson +, packaging }: buildPythonPackage rec { @@ -21,6 +22,10 @@ buildPythonPackage rec { hash = "sha256-ZqMrMNfP/RKW2jQDNPgfhyeqmSc40pZbnrcXHbw2emc="; }; + propagatedBuildInputs = [ + packaging + ]; + checkInputs = [ pytestCheckHook pytz From 1bd9ff368f1b59f405a7cd950fd43bc336e29016 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 08:34:55 +0200 Subject: [PATCH 17/35] python310Packages.marshmallow-oneofschema: enable tests --- .../marshmallow-oneofschema/default.nix | 37 +++++++++++++++---- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/marshmallow-oneofschema/default.nix b/pkgs/development/python-modules/marshmallow-oneofschema/default.nix index a4b15ce9a54..8fc946305bc 100644 --- a/pkgs/development/python-modules/marshmallow-oneofschema/default.nix +++ b/pkgs/development/python-modules/marshmallow-oneofschema/default.nix @@ -1,22 +1,43 @@ -{ lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }: +{ lib +, buildPythonPackage +, fetchFromGitHub +, marshmallow +, pytestCheckHook +, pythonOlder +, setuptools +}: buildPythonPackage rec { pname = "marshmallow-oneofschema"; version = "3.0.1"; + format = "setuptools"; - src = fetchPypi { - inherit pname version; - sha256 = "62cd2099b29188c92493c2940ee79d1bf2f2619a71721664e5a98ec2faa58237"; + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "marshmallow-code"; + repo = pname; + rev = version; + hash = "sha256-x0v8WkfjGkP2668QIQiewQViYFDIS2zBWMULcDThWas="; }; - propagatedBuildInputs = [ marshmallow setuptools ]; + propagatedBuildInputs = [ + marshmallow + setuptools + ]; + + checkInputs = [ + pytestCheckHook + ]; - pythonImportsCheck = [ "marshmallow_oneofschema" ]; + pythonImportsCheck = [ + "marshmallow_oneofschema" + ]; meta = with lib; { - homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema"; description = "Marshmallow library extension that allows schema (de)multiplexing"; + homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema"; license = licenses.mit; - maintainers = [ maintainers.ivan-tkatchev ]; + maintainers = with maintainers; [ ivan-tkatchev ]; }; } From b96c7caea612ea494806f109b76e05e81220dcbb Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 18 May 2022 09:48:45 +0300 Subject: [PATCH 18/35] mxnet: mark cuda build as broken --- pkgs/applications/science/math/mxnet/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/science/math/mxnet/default.nix b/pkgs/applications/science/math/mxnet/default.nix index 8353226cefe..abff55413ce 100644 --- a/pkgs/applications/science/math/mxnet/default.nix +++ b/pkgs/applications/science/math/mxnet/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { buildInputs = [ opencv3 gtest blas.provider ] ++ lib.optional stdenv.cc.isGNU gomp ++ lib.optional stdenv.cc.isClang llvmPackages.openmp + # FIXME: when cuda build is fixed, remove nvidia_x11, and use /run/opengl-driver/lib ++ lib.optionals cudaSupport [ cudatoolkit nvidia_x11 ] ++ lib.optional cudnnSupport cudnn; @@ -78,5 +79,7 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ abbradar ]; license = licenses.asl20; platforms = platforms.unix; + # Build failures when linking mxnet_unit_tests: https://gist.github.com/6d17447ee3557967ec52c50d93b17a1d + broken = cudaSupport; }; } From 53466092bf227d5de3e4b581c58fea4d63c44525 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 12:57:17 +0200 Subject: [PATCH 19/35] python310Packages.deepdiff: 5.7.0 -> 5.8.2 --- .../python-modules/deepdiff/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/deepdiff/default.nix b/pkgs/development/python-modules/deepdiff/default.nix index 2601eedc2fa..cba0ac56396 100644 --- a/pkgs/development/python-modules/deepdiff/default.nix +++ b/pkgs/development/python-modules/deepdiff/default.nix @@ -8,19 +8,20 @@ , numpy , pytestCheckHook , pyyaml +, pythonOlder }: buildPythonPackage rec { pname = "deepdiff"; - version = "5.7.0"; + version = "5.8.2"; format = "setuptools"; - # pypi source does not contain all fixtures required for tests + disabled = pythonOlder "3.6"; + src = fetchFromGitHub { owner = "seperman"; repo = "deepdiff"; - # 5.7.0 release not tagged https://github.com/seperman/deepdiff/issues/300 - rev = "f2ffdb83b2993f4f0bb7e854620f0acd0bf6339e"; + rev = "v${version}"; hash = "sha256-0UBx7sH2iMrLVl5FtHNTwoecLHi8GbInn75G3FSg4gk="; }; @@ -48,10 +49,15 @@ buildPythonPackage rec { pyyaml ]; + disabledTests = [ + # Assertion issue with the decimal places + "test_get_numeric_types_distance" + ]; + meta = with lib; { description = "Deep Difference and Search of any Python object/data"; homepage = "https://github.com/seperman/deepdiff"; license = licenses.mit; - maintainers = [ maintainers.mic92 ]; + maintainers = with maintainers; [ mic92 ]; }; } From 0cbc836279417fed35c3fece22265160d4fdd5ca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:01:30 +0200 Subject: [PATCH 20/35] python310Packages.archinfo: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/archinfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/archinfo/default.nix b/pkgs/development/python-modules/archinfo/default.nix index 59a2f9ad9c9..da139209577 100644 --- a/pkgs/development/python-modules/archinfo/default.nix +++ b/pkgs/development/python-modules/archinfo/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "archinfo"; - version = "9.2.3"; + version = "9.2.4"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-r0cZXyj47HmgFVyQ3POGexeQxBiQ1xx/ptsPMwCRjHY="; + hash = "sha256-d5SP9pnDWXEzjBXKeqnuKK6+lrFRWYwmiV4MjfqORwk="; }; checkInputs = [ From 47436a6114e6284b11b8761e2c7eb79ea3865b47 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:01:36 +0200 Subject: [PATCH 21/35] python310Packages.ailment: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/ailment/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ailment/default.nix b/pkgs/development/python-modules/ailment/default.nix index 498caa2045d..2a66a332c39 100644 --- a/pkgs/development/python-modules/ailment/default.nix +++ b/pkgs/development/python-modules/ailment/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "ailment"; - version = "9.2.3"; + version = "9.2.4"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-R8AaQj/Rdz8SSN2L8v8ZzIxnPQqdg/SKUB6FV9uYFLs="; + hash = "sha256-YsH9QAKoM4WILabgLvEZMJXPfpkfn/h4tofNIcGJY+k="; }; propagatedBuildInputs = [ From 5fb91d9fda3289a2b20267f423428bb5aad00dad Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:01:51 +0200 Subject: [PATCH 22/35] python310Packages.pyvex: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/pyvex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix index 682bc0d80ac..095de81b261 100644 --- a/pkgs/development/python-modules/pyvex/default.nix +++ b/pkgs/development/python-modules/pyvex/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyvex"; - version = "9.2.3"; + version = "9.2.4"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-uGZlWDTDczBiNCd4D4y6Umz44G8Zn3Zr8/R7Kn+4aS8="; + hash = "sha256-r+dmf5qIjiN5vmdzBmPORnPWPrjLKGks+OAdZXdAbOc="; }; propagatedBuildInputs = [ From be5eaac3be82235ece1fbdb90857dbf6aaeaf3a2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:02:00 +0200 Subject: [PATCH 23/35] python310Packages.claripy: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/claripy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/claripy/default.nix b/pkgs/development/python-modules/claripy/default.nix index e37f1ee8dbd..49d82215e7c 100644 --- a/pkgs/development/python-modules/claripy/default.nix +++ b/pkgs/development/python-modules/claripy/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "claripy"; - version = "9.2.3"; + version = "9.2.4"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-O2nkGIQfjGmhrqBPoMI97DsCvOUZix0VcUHwmDyF40Q="; + hash = "sha256-nP2mqBmgpn7zFtMd9suH3kfEqKtzIjaZl6ALsvihVgE="; }; propagatedBuildInputs = [ From 078f43200cc82ea5d843c4ca7773530f8e276064 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:02:08 +0200 Subject: [PATCH 24/35] python310Packages.cle: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/cle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cle/default.nix b/pkgs/development/python-modules/cle/default.nix index f626e62db0d..2c7b80b524d 100644 --- a/pkgs/development/python-modules/cle/default.nix +++ b/pkgs/development/python-modules/cle/default.nix @@ -15,7 +15,7 @@ let # The binaries are following the argr projects release cycle - version = "9.2.3"; + version = "9.2.4"; # Binary files from https://github.com/angr/binaries (only used for testing and only here) binaries = fetchFromGitHub { @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-gyWeE4sF9Bmk2CNmXh90xMtXlaz/Agm7wX6sWr0Fyco="; + hash = "sha256-SlYayKfosSicMxMZszZpxJ3ewKScyLpv6s5ayoVE9Ko="; }; propagatedBuildInputs = [ From 4b8062edf809fe39b286ea37597cfbd55e742956 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:02:18 +0200 Subject: [PATCH 25/35] python310Packages.angr: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/angr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angr/default.nix b/pkgs/development/python-modules/angr/default.nix index f8e3ac530f1..bbfdcb43732 100644 --- a/pkgs/development/python-modules/angr/default.nix +++ b/pkgs/development/python-modules/angr/default.nix @@ -46,7 +46,7 @@ in buildPythonPackage rec { pname = "angr"; - version = "9.2.3"; + version = "9.2.4"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -55,7 +55,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-RcAiPzz2JUlNIGU7+6WCd5JskRYmlMee8wOcOclfb0Q="; + hash = "sha256-3iw1tk2r6Ee302AMjgsRi6EL5py+4Blf47EWrWyiqNk="; }; propagatedBuildInputs = [ From 56891b17091fb1bb4dc00d118307d453e9aedcca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 18 May 2022 13:02:27 +0200 Subject: [PATCH 26/35] python310Packages.angrop: 9.2.3 -> 9.2.4 --- pkgs/development/python-modules/angrop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angrop/default.nix b/pkgs/development/python-modules/angrop/default.nix index d46c18f6d17..8c40a51ff43 100644 --- a/pkgs/development/python-modules/angrop/default.nix +++ b/pkgs/development/python-modules/angrop/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "angrop"; - version = "9.2.3"; + version = "9.2.4"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - hash = "sha256-bhdn3uomvegpvynR0ts4KdwFapX2xGfuwp4e57Xtcoo="; + hash = "sha256-EMW2RxImYoPSnkBG027g5o5K3WT40F/Dj+GzqS8/K6g="; }; propagatedBuildInputs = [ From 561381b146feaa50db9941e930de6534909f7dc3 Mon Sep 17 00:00:00 2001 From: Max Hille Date: Wed, 18 May 2022 11:40:21 +0200 Subject: [PATCH 27/35] ledger-live-desktop: 2.40.4 -> 2.41.3 --- pkgs/applications/blockchains/ledger-live-desktop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/ledger-live-desktop/default.nix b/pkgs/applications/blockchains/ledger-live-desktop/default.nix index 59166149e6a..84f6df6350f 100644 --- a/pkgs/applications/blockchains/ledger-live-desktop/default.nix +++ b/pkgs/applications/blockchains/ledger-live-desktop/default.nix @@ -2,12 +2,12 @@ let pname = "ledger-live-desktop"; - version = "2.40.4"; + version = "2.41.3"; name = "${pname}-${version}"; src = fetchurl { url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage"; - hash = "sha256-ktmGXEWoCrhx9hGau2VkQi0GMa53EqHV1wGtUk6kicc="; + hash = "sha256-Bh3wB5AAgY6l1W3UtWUHW+lJgJ0w6gw23WvEe3/Xs1g="; }; appimageContents = appimageTools.extractType2 { From f4033eeeafc0c180a45c9e17b9577e6ce2c93681 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 18 May 2022 08:12:51 -0400 Subject: [PATCH 28/35] go: Fix build when targetting MinGW --- pkgs/development/compilers/go/1.17.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/go/1.17.nix b/pkgs/development/compilers/go/1.17.nix index 1483660d1ec..2c673b7dd4e 100644 --- a/pkgs/development/compilers/go/1.17.nix +++ b/pkgs/development/compilers/go/1.17.nix @@ -18,8 +18,12 @@ , buildPackages , pkgsBuildTarget , callPackage +, threadsCross ? null # for MinGW }: +# threadsCross is just for MinGW +assert threadsCross != null -> stdenv.targetPlatform.isWindows; + let go_bootstrap = buildPackages.callPackage ./bootstrap.nix { }; @@ -50,6 +54,8 @@ let # We need a target compiler which is still runnable at build time, # to handle the cross-building case where build != host == target targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; + + isCross = stdenv.buildPlatform != stdenv.targetPlatform; in stdenv.mkDerivation rec { @@ -71,6 +77,10 @@ stdenv.mkDerivation rec { depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ]; + depsBuildTarget = lib.optional isCross targetCC; + + depsTargetTarget = lib.optional (threadsCross != null) threadsCross; + hardeningDisable = [ "all" ]; prePatch = '' @@ -194,12 +204,12 @@ stdenv.mkDerivation rec { # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those # to be different from CC/CXX CC_FOR_TARGET = - if (stdenv.buildPlatform != stdenv.targetPlatform) then + if isCross then "${targetCC}/bin/${targetCC.targetPrefix}cc" else null; CXX_FOR_TARGET = - if (stdenv.buildPlatform != stdenv.targetPlatform) then + if isCross then "${targetCC}/bin/${targetCC.targetPrefix}c++" else null; @@ -223,7 +233,7 @@ stdenv.mkDerivation rec { export PATH=$(pwd)/bin:$PATH - ${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) '' + ${lib.optionalString isCross '' # Independent from host/target, CC should produce code for the building system. # We only set it when cross-compiling. export CC=${buildPackages.stdenv.cc}/bin/cc From 5726b8faec7e5d1cbb08debd26f8ea0063f33abe Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 18 May 2022 08:13:11 -0400 Subject: [PATCH 29/35] go_1_18: Fix build when targetting MinGW --- pkgs/development/compilers/go/1.18.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/go/1.18.nix b/pkgs/development/compilers/go/1.18.nix index aad9c27fc56..48ca47321cd 100644 --- a/pkgs/development/compilers/go/1.18.nix +++ b/pkgs/development/compilers/go/1.18.nix @@ -18,8 +18,12 @@ , buildPackages , pkgsBuildTarget , callPackage +, threadsCross ? null # for MinGW }: +# threadsCross is just for MinGW +assert threadsCross != null -> stdenv.targetPlatform.isWindows; + let go_bootstrap = buildPackages.callPackage ./bootstrap.nix { }; @@ -50,6 +54,8 @@ let # We need a target compiler which is still runnable at build time, # to handle the cross-building case where build != host == target targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; + + isCross = stdenv.buildPlatform != stdenv.targetPlatform; in stdenv.mkDerivation rec { @@ -71,6 +77,10 @@ stdenv.mkDerivation rec { depsTargetTargetPropagated = lib.optionals stdenv.isDarwin [ Security Foundation ]; + depsBuildTarget = lib.optional isCross targetCC; + + depsTargetTarget = lib.optional (threadsCross != null) threadsCross; + hardeningDisable = [ "all" ]; prePatch = '' @@ -188,12 +198,12 @@ stdenv.mkDerivation rec { # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those # to be different from CC/CXX CC_FOR_TARGET = - if (stdenv.buildPlatform != stdenv.targetPlatform) then + if isCross then "${targetCC}/bin/${targetCC.targetPrefix}cc" else null; CXX_FOR_TARGET = - if (stdenv.buildPlatform != stdenv.targetPlatform) then + if isCross then "${targetCC}/bin/${targetCC.targetPrefix}c++" else null; @@ -217,7 +227,7 @@ stdenv.mkDerivation rec { export PATH=$(pwd)/bin:$PATH - ${lib.optionalString (stdenv.buildPlatform != stdenv.targetPlatform) '' + ${lib.optionalString isCross '' # Independent from host/target, CC should produce code for the building system. # We only set it when cross-compiling. export CC=${buildPackages.stdenv.cc}/bin/cc From 121a26897fa38c709197987c3eb82836463726c8 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 18 May 2022 08:15:04 -0400 Subject: [PATCH 30/35] npiperelay: init at 0.1.0 --- pkgs/os-specific/windows/default.nix | 2 ++ .../windows/npiperelay/default.nix | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/os-specific/windows/npiperelay/default.nix diff --git a/pkgs/os-specific/windows/default.nix b/pkgs/os-specific/windows/default.nix index 15e3d7f89ab..c34f97a17db 100644 --- a/pkgs/os-specific/windows/default.nix +++ b/pkgs/os-specific/windows/default.nix @@ -37,6 +37,8 @@ lib.makeScope newScope (self: with self; { stdenv = crossThreadsStdenv; }; + npiperelay = callPackage ./npiperelay { }; + pthreads = callPackage ./pthread-w32 { }; wxMSW = callPackage ./wxMSW-2.8 { }; diff --git a/pkgs/os-specific/windows/npiperelay/default.nix b/pkgs/os-specific/windows/npiperelay/default.nix new file mode 100644 index 00000000000..edc83a27e55 --- /dev/null +++ b/pkgs/os-specific/windows/npiperelay/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "npiperelay"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "jstarks"; + repo = "npiperelay"; + rev = "v${version}"; + sha256 = "sha256-cg4aZmpTysc8m1euxIO2XPv8OMnBk1DwhFcuIFHF/1o="; + }; + + vendorSha256 = null; + + meta = { + description = "Access Windows named pipes from WSL"; + homepage = "https://github.com/jstarks/npiperelay"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.shlevy ]; + platforms = lib.platforms.windows; + }; +} From 0a449d8fffd274987262c8eb34e1dbb5dcacabcb Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Mon, 25 Apr 2022 16:38:19 +0200 Subject: [PATCH 31/35] lean: 3.42.0 -> 3.42.1 --- pkgs/applications/science/logic/lean/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/lean/default.nix b/pkgs/applications/science/logic/lean/default.nix index b5e5ca8723d..75461e1bf2e 100644 --- a/pkgs/applications/science/logic/lean/default.nix +++ b/pkgs/applications/science/logic/lean/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "lean"; - version = "3.42.0"; + version = "3.42.1"; src = fetchFromGitHub { owner = "leanprover-community"; @@ -11,8 +11,8 @@ stdenv.mkDerivation rec { # from. this is then used to check whether an olean file should be # rebuilt. don't use a tag as rev because this will get replaced into # src/githash.h.in in preConfigure. - rev = "b35d4695da88139a9168f2ad7acf0782e66dc4f0"; - sha256 = "02rpigw6lnyjw8ccrlp2mcvswawkhl5y6kqa3zq76qp1fdjqjrbp"; + rev = "68455b087d87e9dc3f736da0de95807e05260460"; + sha256 = "11kq5mf63p0vgjh94friir45djx5dl46smkxx0lcwp0h8d7han41"; }; nativeBuildInputs = [ cmake ]; From 39cc8048a2fb5c82aa0452431d713c62b3fdd169 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 May 2022 14:30:23 +0000 Subject: [PATCH 32/35] python310Packages.mailchecker: 4.1.16 -> 4.1.17 --- pkgs/development/python-modules/mailchecker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mailchecker/default.nix b/pkgs/development/python-modules/mailchecker/default.nix index b62d4a67e75..ca5b0d3184e 100644 --- a/pkgs/development/python-modules/mailchecker/default.nix +++ b/pkgs/development/python-modules/mailchecker/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "mailchecker"; - version = "4.1.16"; + version = "4.1.17"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-A+lh+BggMSJ/PIcYMfX3u/YlKVqhG5IxbrHPb1U6Ll4="; + hash = "sha256-NfgLI490/9YoHIXTVD890RTe+qP9rrwAFv8Xkc1IY5s="; }; # Module has no tests From 4b37f1623235324e9b7225e20aaff5126fce2d8f Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Wed, 18 May 2022 10:28:39 -0400 Subject: [PATCH 33/35] lean: 3.42.1 -> 3.43.0 --- pkgs/applications/science/logic/lean/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/lean/default.nix b/pkgs/applications/science/logic/lean/default.nix index 75461e1bf2e..cbd09b2a1a8 100644 --- a/pkgs/applications/science/logic/lean/default.nix +++ b/pkgs/applications/science/logic/lean/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "lean"; - version = "3.42.1"; + version = "3.43.0"; src = fetchFromGitHub { owner = "leanprover-community"; @@ -11,8 +11,8 @@ stdenv.mkDerivation rec { # from. this is then used to check whether an olean file should be # rebuilt. don't use a tag as rev because this will get replaced into # src/githash.h.in in preConfigure. - rev = "68455b087d87e9dc3f736da0de95807e05260460"; - sha256 = "11kq5mf63p0vgjh94friir45djx5dl46smkxx0lcwp0h8d7han41"; + rev = "bfce34363b0efe86e93e3fe75de76ab3740c772d"; + sha256 = "100mb003zkgrv1wd2agbk41aipk3j78k8zcjbj7pv9ixh02c7ss8"; }; nativeBuildInputs = [ cmake ]; From c5f9c896c5ebf7dfea099510a40121b0c23108c3 Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Tue, 17 May 2022 19:43:05 +0300 Subject: [PATCH 34/35] nextcloud-client: 3.5.0 -> 3.5.1 --- .../networking/nextcloud-client/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix index 52e2e083ca1..d2850b176f4 100644 --- a/pkgs/applications/networking/nextcloud-client/default.nix +++ b/pkgs/applications/networking/nextcloud-client/default.nix @@ -1,7 +1,6 @@ { lib , mkDerivation , fetchFromGitHub -, fetchpatch , cmake , extra-cmake-modules , inotify-tools @@ -27,7 +26,7 @@ mkDerivation rec { pname = "nextcloud-client"; - version = "3.5.0"; + version = "3.5.1"; outputs = [ "out" "dev" ]; @@ -35,18 +34,13 @@ mkDerivation rec { owner = "nextcloud"; repo = "desktop"; rev = "v${version}"; - sha256 = "sha256-eFtBdnwHaLirzZaHDw6SRfmsqO3dmBB8Y9csJuiTf1A="; + sha256 = "sha256-/Bz3vkV4+ZFlGBNtkLIGsBk51a3wxy32U1KYcA3awcw="; }; patches = [ # Explicitly move dbus configuration files to the store path rather than `/etc/dbus-1/services`. ./0001-Explicitly-copy-dbus-files-into-the-store-dir.patch ./0001-When-creating-the-autostart-entry-do-not-use-an-abso.patch - # don't write cacheDir into home directory - (fetchpatch { - url = "https://github.com/nextcloud/desktop/commit/3a8aa8a2a88bc9b68098b7866e2a07aa23d3a33c.patch"; - sha256 = "sha256-OviPANvXap3mg4haxRir/CK1aq8maWZDM/IVsN+OHgk="; - }) ]; postPatch = '' From 1cf8b6d6b14a43753c3b9aea5d974df930a85e30 Mon Sep 17 00:00:00 2001 From: Shaun Smiley Date: Wed, 18 May 2022 07:43:18 -0700 Subject: [PATCH 35/35] anki-bin: 2.1.51 -> 2.1.52 --- pkgs/games/anki/bin.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix index aade2aaae9e..45ec432dc7b 100644 --- a/pkgs/games/anki/bin.nix +++ b/pkgs/games/anki/bin.nix @@ -3,22 +3,22 @@ let pname = "anki-bin"; # Update hashes for both Linux and Darwin! - version = "2.1.51"; + version = "2.1.52"; sources = { linux = fetchurl { url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst"; - sha256 = "sha256-ZKVc+TvkNu5mGgibhRIuoLuIfvyoVDy+c4h+Apz9P+0="; + sha256 = "sha256-+eRflNMxutoSY9yQfnhIjfLg9b9CNv+7UuYyg4jgfK4="; }; # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version darwin-x86_64 = fetchurl { url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg"; - sha256 = "sha256-wZMJEbcpezVAuBSKlwNTHlqjp0FfmyDB7XD6BBuJhyA="; + sha256 = "sha256-keQxaf0KOQjCb22dQD/1VytW2fk35OPUJyJ42kaoAr8="; }; darwin-aarch64 = fetchurl { url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg"; - sha256 = "sha256-6RDTYKoisX5DJ9VPWrP9VH9DCABabb9MB3nG4S8jtR0="; + sha256 = "sha256-mYPSOjXh18nWpZjXLAjEodoxopr6rxadESMAf/t9SlI="; }; }; @@ -44,7 +44,7 @@ let meta = with lib; { inherit (anki.meta) license homepage description longDescription; - platforms = [ "x86_64-linux" "x86_64-darwin" ]; + platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; maintainers = with maintainers; [ atemu ]; };