From 912071c4cafcf09ca99b7865f82ba3152648960f Mon Sep 17 00:00:00 2001 From: Axel Forsman Date: Wed, 20 Sep 2023 15:32:31 +0200 Subject: [PATCH 01/56] croaring: 0.2.61 -> 2.0.3 --- .../libraries/croaring/default.nix | 32 +++++++++++++------ .../libraries/croaring/fix-pkg-config.patch | 14 ++++++++ 2 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 pkgs/development/libraries/croaring/fix-pkg-config.patch diff --git a/pkgs/development/libraries/croaring/default.nix b/pkgs/development/libraries/croaring/default.nix index 5c1afcbf1365..88643c00195a 100644 --- a/pkgs/development/libraries/croaring/default.nix +++ b/pkgs/development/libraries/croaring/default.nix @@ -1,28 +1,40 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }: +{ lib, stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { pname = "croaring"; - version = "0.2.61"; + version = "2.0.3"; src = fetchFromGitHub { owner = "RoaringBitmap"; repo = "CRoaring"; rev = "v${version}"; - sha256 = "14y8iwv6b6gg7hgs00yqg8rwx4vwbb1zs2s99lxa51zx9vp1alcn"; + hash = "sha256-WaFyJ/6zstJ05e3vfrwhaZKQsjRAEvVTs688Hw0fr94="; }; - patches = fetchpatch { - url = "https://github.com/RoaringBitmap/CRoaring/commit/8d8c60736f506b2b8f1c365148a8a541b26a55f2.patch"; - sha256 = "1y2mbn4i8lj3lkn5s8zziyr9pl1fq9hndzz9c01dkv3s8sn7f55s"; - }; + # roaring.pc.in cannot handle absolute CMAKE_INSTALL_*DIRs, nor + # overridden CMAKE_INSTALL_FULL_*DIRs. With Nix, they are guaranteed + # to be absolute so the following patch suffices (see #144170). + patches = [ ./fix-pkg-config.patch ]; nativeBuildInputs = [ cmake ]; + doCheck = true; + + preConfigure = '' + mkdir -p dependencies/.cache + ln -s ${fetchFromGitHub { + owner = "clibs"; + repo = "cmocka"; + rev = "f5e2cd7"; + hash = "sha256-Oq0nFsZhl8IF7kQN/LgUq8VBy+P7gO98ep/siy5A7Js="; + }} dependencies/.cache/cmocka + ''; + meta = with lib; { description = "Compressed bitset library for C and C++"; - homepage = "http://roaringbitmap.org/"; - license = licenses.asl20; - maintainers = with maintainers; [ orivej ]; + homepage = "https://roaringbitmap.org/"; + license = with licenses; [ asl20 mit ]; + maintainers = [ maintainers.orivej ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/croaring/fix-pkg-config.patch b/pkgs/development/libraries/croaring/fix-pkg-config.patch new file mode 100644 index 000000000000..f5cfcf308cf8 --- /dev/null +++ b/pkgs/development/libraries/croaring/fix-pkg-config.patch @@ -0,0 +1,14 @@ +diff --git a/roaring.pc.in b/roaring.pc.in +index e3b2391..c29adc3 100644 +--- a/roaring.pc.in ++++ b/roaring.pc.in +@@ -1,7 +1,7 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} +-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ ++libdir=@CMAKE_INSTALL_FULL_LIBDIR@ ++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ + + Name: roaring + Description: Roaring bitmap implementation in C From 0b5b3863fafa019484e6b6d3d5f58b8fef4a1de6 Mon Sep 17 00:00:00 2001 From: guangtao Date: Tue, 12 Dec 2023 00:25:36 -0800 Subject: [PATCH 02/56] inspec: 5.21.29 -> 6.6.0 --- pkgs/tools/misc/inspec/Gemfile.lock | 449 +++++++++++-------- pkgs/tools/misc/inspec/gemset.nix | 659 ++++++++++++++++++---------- 2 files changed, 691 insertions(+), 417 deletions(-) diff --git a/pkgs/tools/misc/inspec/Gemfile.lock b/pkgs/tools/misc/inspec/Gemfile.lock index 503207134db0..d0f1255960b4 100644 --- a/pkgs/tools/misc/inspec/Gemfile.lock +++ b/pkgs/tools/misc/inspec/Gemfile.lock @@ -1,204 +1,207 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.0.4.3) + activesupport (7.0.8) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.4) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) - aws-eventstream (1.2.0) - aws-partitions (1.749.0) - aws-sdk-alexaforbusiness (1.58.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-eventstream (1.3.0) + aws-partitions (1.864.0) + aws-sdk-account (1.20.0) + aws-sdk-core (~> 3, >= 3.188.0) + aws-sigv4 (~> 1.1) + aws-sdk-alexaforbusiness (1.67.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-amplify (1.32.0) aws-sdk-core (~> 3, >= 3.120.0) aws-sigv4 (~> 1.1) - aws-sdk-apigateway (1.81.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-apigateway (1.90.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-apigatewayv2 (1.44.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-apigatewayv2 (1.53.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-applicationautoscaling (1.51.0) aws-sdk-core (~> 3, >= 3.112.0) aws-sigv4 (~> 1.1) - aws-sdk-athena (1.64.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-athena (1.79.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-autoscaling (1.63.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-autoscaling (1.92.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-batch (1.47.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-batch (1.73.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-budgets (1.52.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-budgets (1.62.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudformation (1.77.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudformation (1.97.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudfront (1.76.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudfront (1.86.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudhsm (1.41.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudhsm (1.50.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudhsmv2 (1.44.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudhsmv2 (1.53.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudtrail (1.58.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudtrail (1.74.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudwatch (1.72.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudwatch (1.84.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudwatchevents (1.46.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-cloudwatchevents (1.62.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-cloudwatchlogs (1.62.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-cloudwatchlogs (1.75.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-codecommit (1.53.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-codecommit (1.62.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-codedeploy (1.52.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-codedeploy (1.63.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-codepipeline (1.55.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-codepipeline (1.67.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-cognitoidentity (1.31.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-cognitoidentity (1.45.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-cognitoidentityprovider (1.53.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-cognitoidentityprovider (1.76.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-configservice (1.89.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-configservice (1.103.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-core (3.171.0) - aws-eventstream (~> 1, >= 1.0.2) + aws-sdk-core (3.190.0) + aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.5) + aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-costandusagereportservice (1.43.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-costandusagereportservice (1.53.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-databasemigrationservice (1.53.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-databasemigrationservice (1.80.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-dynamodb (1.84.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-dynamodb (1.98.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-ec2 (1.375.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-ec2 (1.430.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-ecr (1.58.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-ecr (1.68.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-ecrpublic (1.16.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-ecrpublic (1.25.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-ecs (1.114.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-ecs (1.135.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-efs (1.59.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-efs (1.71.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-eks (1.83.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-eks (1.95.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-elasticache (1.84.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-elasticache (1.95.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-elasticbeanstalk (1.54.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-elasticbeanstalk (1.63.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-elasticloadbalancing (1.42.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-elasticloadbalancing (1.51.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-elasticloadbalancingv2 (1.84.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-elasticloadbalancingv2 (1.96.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-elasticsearchservice (1.69.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-elasticsearchservice (1.79.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-emr (1.53.0) aws-sdk-core (~> 3, >= 3.121.2) aws-sigv4 (~> 1.1) - aws-sdk-eventbridge (1.24.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-eventbridge (1.46.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-firehose (1.51.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-firehose (1.60.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-glue (1.88.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-glue (1.145.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) - aws-sdk-guardduty (1.67.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-guardduty (1.85.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-iam (1.77.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-iam (1.92.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-kafka (1.54.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-kafka (1.67.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-kinesis (1.45.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-kinesis (1.54.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-kms (1.63.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-kms (1.74.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-lambda (1.95.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-lambda (1.113.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-mq (1.40.0) aws-sdk-core (~> 3, >= 3.120.0) aws-sigv4 (~> 1.1) - aws-sdk-networkfirewall (1.26.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-networkfirewall (1.39.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-networkmanager (1.30.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-networkmanager (1.40.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-organizations (1.59.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-organizations (1.77.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) aws-sdk-ram (1.26.0) aws-sdk-core (~> 3, >= 3.112.0) aws-sigv4 (~> 1.1) - aws-sdk-rds (1.176.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-rds (1.208.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-redshift (1.91.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-redshift (1.107.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-route53 (1.71.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-route53 (1.83.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-route53domains (1.43.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-route53domains (1.54.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-route53resolver (1.40.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-route53resolver (1.51.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.120.1) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-s3 (1.141.0) + aws-sdk-core (~> 3, >= 3.189.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.4) + aws-sigv4 (~> 1.8) aws-sdk-s3control (1.43.0) aws-sdk-core (~> 3, >= 3.122.0) aws-sigv4 (~> 1.1) aws-sdk-secretsmanager (1.46.0) aws-sdk-core (~> 3, >= 3.112.0) aws-sigv4 (~> 1.1) - aws-sdk-securityhub (1.79.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-securityhub (1.99.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-servicecatalog (1.60.0) aws-sdk-core (~> 3, >= 3.112.0) @@ -206,8 +209,8 @@ GEM aws-sdk-ses (1.41.0) aws-sdk-core (~> 3, >= 3.120.0) aws-sigv4 (~> 1.1) - aws-sdk-shield (1.51.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-shield (1.60.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-signer (1.32.0) aws-sdk-core (~> 3, >= 3.120.0) @@ -215,17 +218,17 @@ GEM aws-sdk-simpledb (1.29.0) aws-sdk-core (~> 3, >= 3.120.0) aws-sigv2 (~> 1.0) - aws-sdk-sms (1.43.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-sms (1.52.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-sns (1.60.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-sns (1.70.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-sqs (1.53.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-sqs (1.69.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-ssm (1.150.0) - aws-sdk-core (~> 3, >= 3.165.0) + aws-sdk-ssm (1.162.0) + aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) aws-sdk-states (1.39.0) aws-sdk-core (~> 3, >= 3.112.0) @@ -233,14 +236,14 @@ GEM aws-sdk-synthetics (1.19.0) aws-sdk-core (~> 3, >= 3.121.2) aws-sigv4 (~> 1.1) - aws-sdk-transfer (1.34.0) - aws-sdk-core (~> 3, >= 3.112.0) + aws-sdk-transfer (1.73.0) + aws-sdk-core (~> 3, >= 3.176.0) aws-sigv4 (~> 1.1) aws-sdk-waf (1.43.0) aws-sdk-core (~> 3, >= 3.122.0) aws-sigv4 (~> 1.1) - aws-sigv2 (1.1.0) - aws-sigv4 (1.5.2) + aws-sigv2 (1.2.0) + aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) azure_graph_rbac (0.17.2) ms_rest_azure (~> 0.12.0) @@ -254,17 +257,24 @@ GEM ms_rest_azure (~> 0.12.0) bson (4.15.0) builder (3.2.4) - chef-config (18.2.7) + chef-config (18.3.0) addressable - chef-utils (= 18.2.7) + chef-utils (= 18.3.0) fuzzyurl mixlib-config (>= 2.2.12, < 4.0) mixlib-shellout (>= 2.0, < 4.0) tomlrb (~> 1.2) + chef-licensing (0.7.5) + activesupport (~> 7.0, < 7.1) + chef-config (>= 15) + faraday (>= 1, < 3) + faraday-http-cache + tty-prompt (~> 0.23) + tty-spinner (~> 0.9.3) chef-telemetry (1.1.1) chef-config concurrent-ruby (~> 1.0) - chef-utils (18.2.7) + chef-utils (18.3.0) concurrent-ruby coderay (1.1.3) concurrent-ruby (1.2.2) @@ -275,10 +285,34 @@ GEM docker-api (2.2.0) excon (>= 0.47.0) multi_json - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20231109) + dry-configurable (0.13.0) + concurrent-ruby (~> 1.0) + dry-core (~> 0.6) + dry-container (0.11.0) + concurrent-ruby (~> 1.0) + dry-core (0.9.1) + concurrent-ruby (~> 1.0) + zeitwerk (~> 2.6) + dry-inflector (0.3.0) + dry-logic (1.3.0) + concurrent-ruby (~> 1.0) + dry-core (~> 0.9, >= 0.9) + zeitwerk (~> 2.6) + dry-struct (1.5.2) + dry-core (~> 0.9, >= 0.9) + dry-types (~> 1.6) + ice_nine (~> 0.11) + zeitwerk (~> 2.6) + dry-types (1.6.1) + concurrent-ruby (~> 1.0) + dry-container (~> 0.3) + dry-core (~> 0.9, >= 0.9) + dry-inflector (~> 0.1, >= 0.1.2) + dry-logic (~> 1.3, >= 1.3) + zeitwerk (~> 2.6) erubi (1.12.0) - excon (0.99.0) + excon (0.105.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -299,6 +333,8 @@ GEM faraday-excon (1.1.0) faraday-follow_redirects (0.3.0) faraday (>= 1, < 3) + faraday-http-cache (2.5.0) + faraday (>= 0.8) faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) @@ -309,7 +345,7 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.0.0) faraday (~> 1.0) - ffi (1.15.5) + ffi (1.16.3) fuzzyurl (0.9.0) google-api-client (0.52.0) addressable (~> 2.5, >= 2.5.1) @@ -332,33 +368,37 @@ GEM gyoku (1.4.0) builder (>= 2.1.2) rexml (~> 3.0) - hashie (4.1.0) + hashdiff (1.0.1) + hashie (5.0.0) highline (2.1.0) http-cookie (1.0.5) domain_name (~> 0.5) httpclient (2.8.3) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) + ice_nine (0.11.2) inifile (3.0.0) - inspec (5.21.29) + inspec (6.6.0) cookstyle faraday_middleware (>= 0.12.2, < 1.1) - inspec-core (= 5.21.29) + inspec-core (= 6.6.0) mongo (= 2.13.2) progress_bar (~> 1.3.3) rake train (~> 3.10) train-aws (~> 0.2) train-habitat (~> 0.1) + train-kubernetes (~> 0.1) train-winrm (~> 0.2) - inspec-bin (5.21.29) - inspec (= 5.21.29) - inspec-core (5.21.29) + inspec-bin (6.6.0) + inspec (= 6.6.0) + inspec-core (6.6.0) addressable (~> 2.4) + chef-licensing (>= 0.7.5) chef-telemetry (~> 1.0, >= 1.0.8) faraday (>= 1, < 3) faraday-follow_redirects (~> 0.3) - hashie (>= 3.4, < 5.0) + hashie (>= 3.4, < 6.0) license-acceptance (>= 0.2.13, < 3.0) method_source (>= 0.8, < 2.0) mixlib-log (~> 3.0) @@ -366,19 +406,32 @@ GEM parallel (~> 1.9) parslet (>= 1.5, < 2.0) pry (~> 0.13) - rspec (>= 3.9, <= 3.11) + rspec (>= 3.9, <= 3.12) rspec-its (~> 1.2) rubyzip (>= 1.2.2, < 3.0) semverse (~> 3.0) sslshake (~> 1.2) - thor (>= 0.20, < 2.0) + thor (>= 0.20, < 1.3.0) tomlrb (>= 1.2, < 2.1) - train-core (~> 3.10) + train-core (>= 3.11.0) tty-prompt (~> 0.17) tty-table (~> 0.10) jmespath (1.6.2) - json (2.6.3) - jwt (2.7.0) + json (2.7.1) + jsonpath (0.9.9) + multi_json + to_regexp (~> 0.2.1) + jwt (2.7.1) + k8s-ruby (0.14.0) + dry-configurable (~> 0.13.0) + dry-struct (<= 1.6.0) + dry-types (<= 1.7.0) + excon (~> 0.71) + hashdiff (~> 1.0.0) + jsonpath (~> 0.9.5) + recursive-open-struct (~> 1.1.3) + yajl-ruby (~> 1.4.0) + yaml-safe_load_stream3 license-acceptance (2.1.13) pastel (~> 0.7) tomlrb (>= 1.2, < 3.0) @@ -390,8 +443,8 @@ GEM multi_json (~> 1.14) memoist (0.16.2) method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.18.0) + mini_mime (1.1.5) + minitest (5.20.0) mixlib-config (3.0.27) tomlrb mixlib-log (3.0.9) @@ -412,13 +465,14 @@ GEM multipart-post (2.3.0) net-scp (4.0.0) net-ssh (>= 2.6.5, < 8.0.0) - net-ssh (7.1.0) + net-ssh (7.2.0) nori (2.6.0) options (2.3.2) os (1.1.4) parallel (1.23.0) - parser (3.2.2.0) + parser (3.2.2.4) ast (~> 2.4.1) + racc parslet (1.8.2) pastel (0.8.0) tty-color (~> 0.5) @@ -428,32 +482,34 @@ GEM pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - public_suffix (5.0.1) + public_suffix (5.0.4) + racc (1.7.3) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.8.0) + rake (13.1.0) + recursive-open-struct (1.1.3) + regexp_parser (2.8.3) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.5) - rspec (3.11.0) - rspec-core (~> 3.11.0) - rspec-expectations (~> 3.11.0) - rspec-mocks (~> 3.11.0) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.1) + rexml (3.2.6) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.2) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) + rspec-support (~> 3.12.0) rspec-its (1.3.0) rspec-core (>= 3.0.0) rspec-expectations (>= 3.0.0) - rspec-mocks (3.11.2) + rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-support (3.11.1) + rspec-support (~> 3.12.0) + rspec-support (3.12.1) rubocop (1.25.1) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -463,14 +519,14 @@ GEM rubocop-ast (>= 1.15.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.28.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) rubyntlm (0.6.3) rubyzip (2.3.2) semverse (3.0.2) - signet (0.17.0) + signet (0.18.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) @@ -481,11 +537,12 @@ GEM unicode-display_width (>= 1.5, < 3.0) unicode_utils (~> 1.4) strings-ansi (0.2.0) - thor (1.2.1) + thor (1.2.2) timeliness (0.3.10) + to_regexp (0.2.1) tomlrb (1.3.0) trailblazer-option (0.1.2) - train (3.10.7) + train (3.11.0) activesupport (>= 6.0.3.1) azure_graph_rbac (~> 0.16) azure_mgmt_key_vault (~> 0.17) @@ -496,17 +553,18 @@ GEM google-api-client (>= 0.23.9, <= 0.52.0) googleauth (>= 0.6.6, <= 0.14.0) inifile (~> 3.0) - train-core (= 3.10.7) + train-core (= 3.11.0) train-winrm (~> 0.2) - train-aws (0.2.24) + train-aws (0.2.36) + aws-sdk-account (~> 1.14) aws-sdk-alexaforbusiness (~> 1.0) aws-sdk-amplify (~> 1.32.0) aws-sdk-apigateway (~> 1.0) aws-sdk-apigatewayv2 (~> 1.0) aws-sdk-applicationautoscaling (>= 1.46, < 1.52) aws-sdk-athena (~> 1.0) - aws-sdk-autoscaling (>= 1.22, < 1.64) - aws-sdk-batch (>= 1.36, < 1.48) + aws-sdk-autoscaling (>= 1.22, < 1.93) + aws-sdk-batch (>= 1.36, < 1.74) aws-sdk-budgets (~> 1.0) aws-sdk-cloudformation (~> 1.0) aws-sdk-cloudfront (~> 1.0) @@ -514,17 +572,17 @@ GEM aws-sdk-cloudhsmv2 (~> 1.0) aws-sdk-cloudtrail (~> 1.8) aws-sdk-cloudwatch (~> 1.13) - aws-sdk-cloudwatchevents (>= 1.36, < 1.47) + aws-sdk-cloudwatchevents (>= 1.36, < 1.63) aws-sdk-cloudwatchlogs (~> 1.13) aws-sdk-codecommit (~> 1.0) aws-sdk-codedeploy (~> 1.0) aws-sdk-codepipeline (~> 1.0) - aws-sdk-cognitoidentity (>= 1.26, < 1.32) - aws-sdk-cognitoidentityprovider (>= 1.46, < 1.54) + aws-sdk-cognitoidentity (>= 1.26, < 1.46) + aws-sdk-cognitoidentityprovider (>= 1.46, < 1.77) aws-sdk-configservice (~> 1.21) aws-sdk-core (~> 3.0) aws-sdk-costandusagereportservice (~> 1.6) - aws-sdk-databasemigrationservice (>= 1.42, < 1.54) + aws-sdk-databasemigrationservice (>= 1.42, < 1.81) aws-sdk-dynamodb (~> 1.31) aws-sdk-ec2 (~> 1.70) aws-sdk-ecr (~> 1.18) @@ -538,9 +596,9 @@ GEM aws-sdk-elasticloadbalancingv2 (~> 1.0) aws-sdk-elasticsearchservice (~> 1.0) aws-sdk-emr (~> 1.53.0) - aws-sdk-eventbridge (~> 1.24.0) + aws-sdk-eventbridge (>= 1.24, < 1.47) aws-sdk-firehose (~> 1.0) - aws-sdk-glue (>= 1.71, < 1.89) + aws-sdk-glue (>= 1.71, < 1.146) aws-sdk-guardduty (~> 1.31) aws-sdk-iam (~> 1.13) aws-sdk-kafka (~> 1.0) @@ -550,7 +608,7 @@ GEM aws-sdk-mq (~> 1.40.0) aws-sdk-networkfirewall (>= 1.6.0) aws-sdk-networkmanager (>= 1.13.0) - aws-sdk-organizations (>= 1.17, < 1.60) + aws-sdk-organizations (>= 1.17, < 1.78) aws-sdk-ram (>= 1.21, < 1.27) aws-sdk-rds (~> 1.43) aws-sdk-redshift (~> 1.0) @@ -572,9 +630,9 @@ GEM aws-sdk-ssm (~> 1.0) aws-sdk-states (>= 1.35, < 1.40) aws-sdk-synthetics (~> 1.19.0) - aws-sdk-transfer (>= 1.26, < 1.35) + aws-sdk-transfer (>= 1.26, < 1.74) aws-sdk-waf (~> 1.43.0) - train-core (3.10.7) + train-core (3.11.0) addressable (~> 2.5) ffi (!= 1.13.0) json (>= 1.8, < 3.0) @@ -582,6 +640,9 @@ GEM net-scp (>= 1.2, < 5.0) net-ssh (>= 2.9, < 8.0) train-habitat (0.2.22) + train-kubernetes (0.1.12) + k8s-ruby (~> 0.14.0) + train (~> 3.0) train-winrm (0.2.13) winrm (>= 2.3.6, < 3.0) winrm-elevated (~> 1.2.2) @@ -600,6 +661,8 @@ GEM tty-screen (~> 0.8) wisper (~> 2.0) tty-screen (0.8.1) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) tty-table (0.12.0) pastel (~> 0.8) strings (~> 0.2.0) @@ -607,10 +670,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) unicode_utils (1.4.0) winrm (2.3.6) builder (>= 2.1.2) @@ -631,13 +691,16 @@ GEM rubyzip (~> 2.0) winrm (~> 2.0) wisper (2.0.1) + yajl-ruby (1.4.3) + yaml-safe_load_stream3 (0.1.2) + zeitwerk (2.6.12) PLATFORMS ruby DEPENDENCIES - inspec! - inspec-bin! + inspec + inspec-bin BUNDLED WITH - 2.1.4 + 2.4.22 diff --git a/pkgs/tools/misc/inspec/gemset.nix b/pkgs/tools/misc/inspec/gemset.nix index ac2a8914427f..583b3023c6f5 100644 --- a/pkgs/tools/misc/inspec/gemset.nix +++ b/pkgs/tools/misc/inspec/gemset.nix @@ -5,10 +5,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15m0b1im6i401ab51vzr7f8nk8kys1qa0snnl741y3sir3xd07jp"; + sha256 = "188kbwkn1lbhz40ala8ykp20jzqphgc68g3d8flin8cqa2xid0s5"; type = "gem"; }; - version = "7.0.4.3"; + version = "7.0.8"; }; addressable = { dependencies = ["public_suffix"]; @@ -16,10 +16,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15s8van7r2ad3dq6i03l3z4hqnvxcq75a3h72kxvf9an53sqma20"; + sha256 = "0irbdwkkjwzajq1ip6ba46q49sxnrl2cw7ddkdhsfhb6aprnm3vr"; type = "gem"; }; - version = "2.8.4"; + version = "2.8.6"; }; ast = { groups = ["default"]; @@ -36,20 +36,31 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1pyis1nvnbjxk12a43xvgj2gv0mvp4cnkc1gzw0v1018r61399gz"; + sha256 = "0gvdg4yx4p9av2glmp7vsxhs0n8fj1ga9kq2xdb8f95j7b04qhzi"; type = "gem"; }; - version = "1.2.0"; + version = "1.3.0"; }; aws-partitions = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12n41py8jfxf9p3gy62ikw8n7wd0cmczk3i2fzxb4ms2xvkxv7b0"; + sha256 = "16n1d0bh3zy925y4f8flrnkfir2smsj0j31zslfaz6vf6cvi9qjs"; type = "gem"; }; - version = "1.749.0"; + version = "1.864.0"; + }; + aws-sdk-account = { + dependencies = ["aws-sdk-core" "aws-sigv4"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1h6fqfq5pgsmnchmg4w4l9mypv2ggix1d0a8b8w66a9xvsk8bkxd"; + type = "gem"; + }; + version = "1.20.0"; }; aws-sdk-alexaforbusiness = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -57,10 +68,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1hbb2fpmxb77bp4mm3z24k8vhcc8y9ngjz9jarb54v4lbs8cmlq6"; + sha256 = "1ps37857dgnydnih2gxrl3a5fr571242006l9634jzm8w91jpb80"; type = "gem"; }; - version = "1.58.0"; + version = "1.67.0"; }; aws-sdk-amplify = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -79,10 +90,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1m3vxlx20hjd14hc90k4lvqvhblh4c9m14pbnqp3k271zpaljnzx"; + sha256 = "0gqd04rdzz487bgy64gq2fqm20wcdd2zk8rnl51nyq6cfxsslbvw"; type = "gem"; }; - version = "1.81.0"; + version = "1.90.0"; }; aws-sdk-apigatewayv2 = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -90,10 +101,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0lq2qzxk396kbmbxcsx8ic61758zl3ynxymwia1wzdxwkpsxks71"; + sha256 = "1dq11njjh05dm6dc2gjrbhl6ga6a9mxaisr7bgk0gv295b5nfiwp"; type = "gem"; }; - version = "1.44.0"; + version = "1.53.0"; }; aws-sdk-applicationautoscaling = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -112,10 +123,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0qzdnv42x0q2f53zsvj7i56b49n82zbx3qikcf9mp2bgxsbddvg8"; + sha256 = "19fs835xm7pls49yryayh80m6dap44g4r2qk94ssvck5paxyylk3"; type = "gem"; }; - version = "1.64.0"; + version = "1.79.0"; }; aws-sdk-autoscaling = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -123,10 +134,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0wr9dkf88h46s9n173imvbm6233a8d3cmcnvbm2s3bz0glzp0k4c"; + sha256 = "1hv9nfzbn478vjv88c6jybf4nsii1c04vzqckgh4pajm5mc8kk7p"; type = "gem"; }; - version = "1.63.0"; + version = "1.92.0"; }; aws-sdk-batch = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -134,10 +145,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xd8yvvxdmha951h8b1qjijx3l21c9pwjr6nifaxjylpx5897fc0"; + sha256 = "06lxajqdjwxdc9wx17igsdxj608charbpwhnfnb83dcrfaavkqms"; type = "gem"; }; - version = "1.47.0"; + version = "1.73.0"; }; aws-sdk-budgets = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -145,10 +156,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1qmlqplc5l72p3mgpin3wjcdny4fbnq9lwcn55vphp8kgdzvv74p"; + sha256 = "0689sck8d49smzavhipl2i3nrr5lrw3miam88a7h7qckwmlsp098"; type = "gem"; }; - version = "1.52.0"; + version = "1.62.0"; }; aws-sdk-cloudformation = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -156,10 +167,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1634skrhc9nj46smvclx3767qvj02ydqjw15rkww1pigqvh46mcz"; + sha256 = "0sgsyzsyjdw795k81sc0qy1h4rd3ksxszcxp93wx07vrl8nv5i0a"; type = "gem"; }; - version = "1.77.0"; + version = "1.97.0"; }; aws-sdk-cloudfront = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -167,10 +178,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0jfrqwrvp9iv7sf24w0bbw094nz87w1gvrbq1725b0d0bry66ydy"; + sha256 = "1fxrv7zqlp61cpazd3i3slbyv10fgd6xk9wsb0p5fshm64zg0s16"; type = "gem"; }; - version = "1.76.0"; + version = "1.86.0"; }; aws-sdk-cloudhsm = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -178,10 +189,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1gis7ggljdsygb64knxfg6vxn8rbk5zfgcxqrjhvf4812hqzv4sp"; + sha256 = "1ijcid6qpz49vmsp7zig0h7qzgx5rc027iqwl4bnyic6vmgir6ai"; type = "gem"; }; - version = "1.41.0"; + version = "1.50.0"; }; aws-sdk-cloudhsmv2 = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -189,10 +200,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "10fcy73lvivjdywklkqhp70jik2fscp0cz54qdzjpdhwvvpvgnfk"; + sha256 = "0hmjkz09xldacq12l1b924gkfyzx6s0zvigmw2dvbxf3v1imainn"; type = "gem"; }; - version = "1.44.0"; + version = "1.53.0"; }; aws-sdk-cloudtrail = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -200,10 +211,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0zfppjsasqbdhv9vvvjqif3b4mxgchw0i66hyxpc2gswk2a5803j"; + sha256 = "03nr4qpv6678b3lpgbfvlaxydg7m72r1l2ml0mv14z5h066i964s"; type = "gem"; }; - version = "1.58.0"; + version = "1.74.0"; }; aws-sdk-cloudwatch = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -211,10 +222,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vls66mnkmxd05wqadgh7hfknj7yhnsfdms43cy607jv057lcqn4"; + sha256 = "18865fsj24pf6z0rn1n94b7q4299hclbi7h085484am7g0v1gfnx"; type = "gem"; }; - version = "1.72.0"; + version = "1.84.0"; }; aws-sdk-cloudwatchevents = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -222,10 +233,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1xfyviddwll6n4lxl3g57x86gic9ycppnmpnl90jsbgy2dp12632"; + sha256 = "1dbafxhkp3x5fgibc3i663mnf44kbmfh9ia9cq6fwn45cw2bpfik"; type = "gem"; }; - version = "1.46.0"; + version = "1.62.0"; }; aws-sdk-cloudwatchlogs = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -233,10 +244,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1paqyv0m55ag25liwmgqdj1vwi3yd231hvn419i0y1wg5ffcsg7j"; + sha256 = "01mvckn874662bl9vfphgn2s983hxsp53bsf07y809kkksw4mipr"; type = "gem"; }; - version = "1.62.0"; + version = "1.75.0"; }; aws-sdk-codecommit = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -244,10 +255,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vzpfsnnvwp21d9rsdaaml8fsigbwj344ghqw9834m4y3g7xax80"; + sha256 = "0blk86gvg74s7imhz07brrgc4q71ddnwd5nf1a86vyn8rdcq0dxx"; type = "gem"; }; - version = "1.53.0"; + version = "1.62.0"; }; aws-sdk-codedeploy = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -255,10 +266,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1g8lp4ci1b40rx754hf2vfpzl4v9zi5vjakzmc1r9fg58x0v9wyv"; + sha256 = "0v4gv1ycw0b12an6002qz0vspzqhxzc1719ylshr7zxlc4yy7ndi"; type = "gem"; }; - version = "1.52.0"; + version = "1.63.0"; }; aws-sdk-codepipeline = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -266,10 +277,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1kvzsssfas7m2sxmfirnl0bp49m079bgj8lg5rlj2gri3wdgkx3f"; + sha256 = "0d0finvyv46h9bqyds092pnjspg6hcr2rakk54w3y84smyzaawp3"; type = "gem"; }; - version = "1.55.0"; + version = "1.67.0"; }; aws-sdk-cognitoidentity = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -277,10 +288,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0k7d4riiczkkxi4l3nh8nd2sn449j73s9cwcbk6b37lnkvq81kq2"; + sha256 = "1hhhnlipplr9fv8lvq612y49n4xasqdjkkxd7m002drp2zm7rzbj"; type = "gem"; }; - version = "1.31.0"; + version = "1.45.0"; }; aws-sdk-cognitoidentityprovider = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -288,10 +299,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0j2v3m0d5d756nm98xgf10kz4cz68a8m9xlwzlqh86smqcml6v25"; + sha256 = "1v2lf191jinkl3kfbl6zdv29cn7xbpyksshww1mz29a323j5bm4x"; type = "gem"; }; - version = "1.53.0"; + version = "1.76.0"; }; aws-sdk-configservice = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -299,10 +310,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0lky7k2fqzqs8lpm3wqa5vw1b7np8g82hi39m6fsk1wvahx6kiwa"; + sha256 = "11xb46y5glq0bqlhbhpkr9mf1p17jsxb5l0wq3hpvzxw376ip6hl"; type = "gem"; }; - version = "1.89.0"; + version = "1.103.0"; }; aws-sdk-core = { dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"]; @@ -310,10 +321,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0732vv8zi67z25fss1sdvqx0vv1ap3w6hz1avxzwznkjp002vj39"; + sha256 = "19nglxz49nlzgsvnivb3bdm17vxjn1ng2br8659xv48nzjrmyid3"; type = "gem"; }; - version = "3.171.0"; + version = "3.190.0"; }; aws-sdk-costandusagereportservice = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -321,10 +332,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0l9df1dji0m1sj6w5gjmxd0bjv7q858pnhwjhfkr0mfdk1dnsjbj"; + sha256 = "0jps30r7l5g7j4b1lss9m1isyk5h8k469hq9dp4yljis0jdlmy3c"; type = "gem"; }; - version = "1.43.0"; + version = "1.53.0"; }; aws-sdk-databasemigrationservice = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -332,10 +343,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0kppbmbd26bmbwy1f803symy36kbigf5mdgd91jh5r2l63418m46"; + sha256 = "1ss4x2syf6c5ray6g61cxxcx2q7mzqv0gk00d1dl7g4c5z9avhwi"; type = "gem"; }; - version = "1.53.0"; + version = "1.80.0"; }; aws-sdk-dynamodb = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -343,10 +354,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1h7sl8236mgq0q6mzbznrq3wksr3jd4m8lwj6bkz678z6mxa0fal"; + sha256 = "1ib8iwgp7ddhcgmqmzjq9js0kw8m5mm4mi7klrl84925lgvlvk65"; type = "gem"; }; - version = "1.84.0"; + version = "1.98.0"; }; aws-sdk-ec2 = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -354,10 +365,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1zj67jzg81nr3da2mwh27b22ps2waz41fhvc2f2khdfjazi7knqv"; + sha256 = "1zyazx97nskgl9xzspg2q1rji02p2jv789v8qd1qz6hknz0z6r5f"; type = "gem"; }; - version = "1.375.0"; + version = "1.430.0"; }; aws-sdk-ecr = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -365,10 +376,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1cyscy0v5xsk8x946r125bidrzx7y4fam09ra8pl8xjp5a0706ig"; + sha256 = "103ycwxv367bkrqzdpypd0p650r62ka3azw2pzdwc38pj5r3nxl6"; type = "gem"; }; - version = "1.58.0"; + version = "1.68.0"; }; aws-sdk-ecrpublic = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -376,10 +387,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15iz3wnc2z3n0f9lnbfgqyyi0bg6l65dyn5wc09p8wilg6jlib5c"; + sha256 = "1a5j7v70gwwy1md4awz37k77qlwgls390xlwbri8lkcxmaw2x5bp"; type = "gem"; }; - version = "1.16.0"; + version = "1.25.0"; }; aws-sdk-ecs = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -387,10 +398,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1pkz2fy63wr6wfzmwyscfzsjn4443cp7y4kzvirg1gcyq1cpyxgy"; + sha256 = "0s4yyi22v0vv3pyskpz4qzahngfxawxjx8x4ch2aj8c8wffkfclk"; type = "gem"; }; - version = "1.114.0"; + version = "1.135.0"; }; aws-sdk-efs = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -398,10 +409,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0r16nqsqhlc429p9hd1j226fkd9xq6x4ybm01sj482vjg4wsq4qg"; + sha256 = "1m8ymz0wq1p6iz126qcdsrz0ss730p1inb6g1w07r9ganjdzbplx"; type = "gem"; }; - version = "1.59.0"; + version = "1.71.0"; }; aws-sdk-eks = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -409,10 +420,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12k9i7syfmxlk5dracwvin03bjhy8abyd58180z4zmq77al0dn24"; + sha256 = "13aac0gpyxm660pbcbpvpcpw20db28p5lbwjs45rczc9l3yl9aw1"; type = "gem"; }; - version = "1.83.0"; + version = "1.95.0"; }; aws-sdk-elasticache = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -420,10 +431,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0wydzznzk4zhy3bh4ra8b2dsdhhib4ahnppni72zhr3dvda0pxfg"; + sha256 = "061zg2k3kvayrnih0qiilcdarwjap37bzf1a0v5n6a57606hc40s"; type = "gem"; }; - version = "1.84.0"; + version = "1.95.0"; }; aws-sdk-elasticbeanstalk = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -431,10 +442,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "13haliasq2k74xhk0sl2rb9x14vk980rnp2rzm5d0jls42mkkzsm"; + sha256 = "0ysn5cj4rwqj2jvsg02i8qs9j3z6c6lwhici58q09m62xzrhr3qg"; type = "gem"; }; - version = "1.54.0"; + version = "1.63.0"; }; aws-sdk-elasticloadbalancing = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -442,10 +453,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1jf2mcb1lqqm5dpmrhrlszmf9hb98kj6i7yw118lqn5dkb1mjjy1"; + sha256 = "09zvryq7121c05cswzwv337qylza33dwlqd97c11ii3y8pg2bsla"; type = "gem"; }; - version = "1.42.0"; + version = "1.51.0"; }; aws-sdk-elasticloadbalancingv2 = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -453,10 +464,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1yzyk4q2g3hx74fhr7y37n8zp349g71micwzix5gwbjhfpjizy72"; + sha256 = "1mgik7lhch27j4q4nzxci0rhrgybh0bx7bzcq48c5sggpm999qkr"; type = "gem"; }; - version = "1.84.0"; + version = "1.96.0"; }; aws-sdk-elasticsearchservice = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -464,10 +475,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rz8hs78cd1lxcha29y751hxrv6yhcw6q9rvpcg24bgf81d4n4ag"; + sha256 = "1nqrx6vm4yi1amk7677rw6jvwrdhv7pj4g507r5hqcfmilr5z1gx"; type = "gem"; }; - version = "1.69.0"; + version = "1.79.0"; }; aws-sdk-emr = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -486,10 +497,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1cj1pwvhwal1qvmaiwi42lhsak7mb61bmm7j1g4gmscxg36l3bj2"; + sha256 = "1mnpcklsm8dicz35yj89jr870xii1xghfdjfqif1lxii4vvhlqba"; type = "gem"; }; - version = "1.24.0"; + version = "1.46.0"; }; aws-sdk-firehose = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -497,10 +508,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0z0dvga01xg6pahy5p4bfc8s73n3ycjr0h3cxvhy8kcymynswn1k"; + sha256 = "0n4iz5bv80gd7m070jyr5kv36yx8qyq1i8ljh5bfj3cr57vvdw89"; type = "gem"; }; - version = "1.51.0"; + version = "1.60.0"; }; aws-sdk-glue = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -508,10 +519,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1608aiav3iz6jcxdlprcax5984gq5m20dyg8w8caqjkgrrgkyd3f"; + sha256 = "1pjw4vfniswiprjr5vivgq3vilw05gqqr5mkkwhx38y6xc8kr7ga"; type = "gem"; }; - version = "1.88.0"; + version = "1.145.0"; }; aws-sdk-guardduty = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -519,10 +530,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12wvpgzqw7lswxchsbwmn0csp5lj521a1fx6f0dv8s26swnmhdsk"; + sha256 = "0ya8q0hgh7293jlz1pchci5qvywnmg87h3x3k9hsbqf1023bz9nz"; type = "gem"; }; - version = "1.67.0"; + version = "1.85.0"; }; aws-sdk-iam = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -530,10 +541,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0crb3m1apj6kszp9aqmc2lqw99i1xkxbp5fl1s5748718kld4s8v"; + sha256 = "0whclpcvbdy7gzvqpk8734nxjfxs3362k197xl1wnrpixklkacyz"; type = "gem"; }; - version = "1.77.0"; + version = "1.92.0"; }; aws-sdk-kafka = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -541,10 +552,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0pxzjmdb5bqrqnivmw7li2qliam0dm6v56idv50slds96q6jck61"; + sha256 = "0gg28ixfr681sxjffp28wy47siz7jypvm04ldqarlcvgaqnk08ds"; type = "gem"; }; - version = "1.54.0"; + version = "1.67.0"; }; aws-sdk-kinesis = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -552,10 +563,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0k14773dyzwcjcb9a1pqbh0vqzjlb19cwf0ydw7pch5g8x5fs5g2"; + sha256 = "19xzw7i6i4f0yn604is07w3zf3q6lch2ki29bg31m0jd2jdj2rn0"; type = "gem"; }; - version = "1.45.0"; + version = "1.54.0"; }; aws-sdk-kms = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -563,10 +574,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0v87zi28dfmrv7bv91yfldccnpd63n295siirbz7wqv1rajn8n02"; + sha256 = "1isrj19kzy9sb7a76a1c2n5x0d9lg1h2n7fp7cn13xjis0hpnlxj"; type = "gem"; }; - version = "1.63.0"; + version = "1.74.0"; }; aws-sdk-lambda = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -574,10 +585,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1a0l6yxmvc1hxlmhg4lcsh6yljmsav8p1rprlnnjvhgszhp3gcv3"; + sha256 = "1gfysixcf5wsaqk0cycg3zryybs9zwvg0v6j9hn7zc99x27qjca4"; type = "gem"; }; - version = "1.95.0"; + version = "1.113.0"; }; aws-sdk-mq = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -596,10 +607,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ai74sc8q0vvnkicl4dyq1xikclpmdd0rbzlqpww64wd5q2i6myp"; + sha256 = "02bq2flz4kqcr9fvk09mvn6r7h1arnjjw87l0qkgyr94x8ngidpy"; type = "gem"; }; - version = "1.26.0"; + version = "1.39.0"; }; aws-sdk-networkmanager = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -607,10 +618,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ldlvhcvbs5r2dzfa2wglacywnqgijbr9iqalq0jhbv4aknmgfjy"; + sha256 = "0qpi693cjnzy91yyavmhgj6047kk04hslbqb7hgiqvz1ki4qr9q9"; type = "gem"; }; - version = "1.30.0"; + version = "1.40.0"; }; aws-sdk-organizations = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -618,10 +629,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1b5zy7hc67k5pmmnv90p5skd12a61gk1swqlq4a5vn3kjlmg57al"; + sha256 = "169dz3ip2vz22mk6hczsd1v6lf2v428i0jhpllnay11zsficc6p1"; type = "gem"; }; - version = "1.59.0"; + version = "1.77.0"; }; aws-sdk-ram = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -640,10 +651,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15jril7gd5ax0pabbj6gxfnh30x2c9ffw4dv31vb8k7rpdrzkzj8"; + sha256 = "1yrc7ivykdcrq8s6isd368gr02jclwc140pckf1vyii2f2g79k30"; type = "gem"; }; - version = "1.176.0"; + version = "1.208.0"; }; aws-sdk-redshift = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -651,10 +662,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1smv2621gzrhk0wbnmyb2kdqcjp8z8wldy1vfypdcpgvlj9m2wvk"; + sha256 = "08rgpxknp11q4dxzncn4x30bpqkd4ssi78wq2j0kfgl5qbid48y8"; type = "gem"; }; - version = "1.91.0"; + version = "1.107.0"; }; aws-sdk-route53 = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -662,10 +673,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xcg7rl6lllm4syxgw496976dnsmfwvxw4131klaycfx9dixz1kc"; + sha256 = "1p7py5g5bk9yxlg6h04rkvgzgbysj7zm63bpdrswxwzhynmb8p9v"; type = "gem"; }; - version = "1.71.0"; + version = "1.83.0"; }; aws-sdk-route53domains = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -673,10 +684,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "12in1rcjnni4xza6mdmp3avrb4hgkfk8dzsiqp97yvpywd1dbara"; + sha256 = "15v2fbm9563kad3hnac5372xr7lvhxdyggrjzx1rbn56kf7bcb6n"; type = "gem"; }; - version = "1.43.0"; + version = "1.54.0"; }; aws-sdk-route53resolver = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -684,10 +695,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0vcwh47pgr745wyl0zwjjhr29yynjgl9w8d0qpnqn1i8ywbnxn9b"; + sha256 = "0i57m3vysjlbvfrf0jpyi343bi8nw1j9gjcm50sv3lzx0ix66bpi"; type = "gem"; }; - version = "1.40.0"; + version = "1.51.0"; }; aws-sdk-s3 = { dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"]; @@ -695,10 +706,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1mapdzm97rv22pca1hvvshwsafa12gd2yv2fcy63dfjn5vjjq893"; + sha256 = "0bnhpmi0iiaj88rqc5lhhnp2gyrk4fs8xz51lj36wwzng94qinya"; type = "gem"; }; - version = "1.120.1"; + version = "1.141.0"; }; aws-sdk-s3control = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -728,10 +739,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0vp8hkmwl0p7xasbzhgnsk3ikj6l34vgyd3g9yg5nfsr4098almv"; + sha256 = "1z63plqdq0hhl6g78dlxvr04g8a81smxn223wqsz2macf8c96wgl"; type = "gem"; }; - version = "1.79.0"; + version = "1.99.0"; }; aws-sdk-servicecatalog = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -761,10 +772,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1xd1baasgazrfc1b2pr196jycj14rb6kdkxjkqa0rnd0ml9xwiwj"; + sha256 = "1gk003vj7gs7a3rs79rs5bv5wcsyk9fsf3cc6ci3kbj5y5kbzabc"; type = "gem"; }; - version = "1.51.0"; + version = "1.60.0"; }; aws-sdk-signer = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -794,10 +805,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1z40zf3v3isqsc6ipmv8v6f28a0bsrba2rivgya98hk1wyivxn4w"; + sha256 = "17rmy3hzs3cv3vzr5j2swninwqdxf33hcci96pmy88wrcx4nav5x"; type = "gem"; }; - version = "1.43.0"; + version = "1.52.0"; }; aws-sdk-sns = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -805,10 +816,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "10kn9nsh7jn0ikmxybhxh3wgczlpp3pcanqvmc3cjh1sahy8sb1n"; + sha256 = "0zbn3gfksbszgdk806l96fmqa9npqm2gqgvjrqm4x44hl1a5cf8z"; type = "gem"; }; - version = "1.60.0"; + version = "1.70.0"; }; aws-sdk-sqs = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -816,10 +827,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rp62fmz4lc32qj2phqmrdic4j4la34xp2a6vlg4v6lqz2y2fjhs"; + sha256 = "1nsr4q2g7sfap9vx8vk5532mkyww8an25qabwplsdy9s625p8ahl"; type = "gem"; }; - version = "1.53.0"; + version = "1.69.0"; }; aws-sdk-ssm = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -827,10 +838,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "16p7l4mgzs6al3rpb35318gc06vp757vjb99brbkx8ppyg78cdir"; + sha256 = "0xz10344dwm4pj8qnl19bnh99arxp7cd9mn2alslrnw7y2gipzz1"; type = "gem"; }; - version = "1.150.0"; + version = "1.162.0"; }; aws-sdk-states = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -860,10 +871,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "017zpcqssv138y7nqzwqpvcnsbq2jws6g22996n64kcr2azj28gn"; + sha256 = "087y19nzkh26a7rac5ci7d792mdjfwg1mfm884r118g89y4imcdf"; type = "gem"; }; - version = "1.34.0"; + version = "1.73.0"; }; aws-sdk-waf = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -881,10 +892,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1bnsw26vd0z3gayrqxhjg94ccjdygpk00bmhdjhzagmgngmdbhrk"; + sha256 = "1zams698qxn5ws4f8basqp895b206pclsxsja5cnxkhrmj2n781j"; type = "gem"; }; - version = "1.1.0"; + version = "1.2.0"; }; aws-sigv4 = { dependencies = ["aws-eventstream"]; @@ -892,10 +903,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "11hkna2av47bl0yprgp8k4ya70rc3m2ib5w10fn0piplgkkmhz7m"; + sha256 = "1g3w27wzjy4si6kp49w10as6ml6g6zl3xrfqs5ikpfciidv9kpc4"; type = "gem"; }; - version = "1.5.2"; + version = "1.8.0"; }; azure_graph_rbac = { dependencies = ["ms_rest_azure"]; @@ -978,10 +989,21 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "13581xgpdvdyd0zvdankharj9aahs99vmihcknm66v03a37q7y6x"; + sha256 = "1pvjf3qbb3apg9vdy4zykamm7801qz4m6256wjqn73fs87zs50y1"; type = "gem"; }; - version = "18.2.7"; + version = "18.3.0"; + }; + chef-licensing = { + dependencies = ["activesupport" "chef-config" "faraday" "faraday-http-cache" "tty-prompt" "tty-spinner"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1inm01nrkxsdvf0fak2qkpva1k7d4fpi8z9xf646bsgrjz2761rb"; + type = "gem"; + }; + version = "0.7.5"; }; chef-telemetry = { dependencies = ["chef-config" "concurrent-ruby"]; @@ -1000,10 +1022,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1q5by0q1i443lds626cyq78jhzkwb6b1f8vcbv82q790q06vg1w9"; + sha256 = "0087jwhqslfm3ygj507dmmdp3k0589j5jl54mkwgbabbwan7lzw2"; type = "gem"; }; - version = "18.2.7"; + version = "18.3.0"; }; coderay = { groups = ["default"]; @@ -1068,15 +1090,90 @@ version = "2.2.0"; }; domain_name = { - dependencies = ["unf"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0lcqjsmixjp52bnlgzh4lg9ppsk52x9hpwdjd53k8jnbah2602h0"; + sha256 = "1gpciaifmxql8h01ci12qq08dnqrdlzkkz6fmia9v9yc3r9a29si"; type = "gem"; }; - version = "0.5.20190701"; + version = "0.6.20231109"; + }; + dry-configurable = { + dependencies = ["concurrent-ruby" "dry-core"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1qzq7aaw020qq06d2lpjq03a3gqnkyya040fjgyfp5q3dlr9c44v"; + type = "gem"; + }; + version = "0.13.0"; + }; + dry-container = { + dependencies = ["concurrent-ruby"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0aaj0ffwkbdagrry127x1gd4m6am88mhhfzi7czk8isdcj0r7gi3"; + type = "gem"; + }; + version = "0.11.0"; + }; + dry-core = { + dependencies = ["concurrent-ruby" "zeitwerk"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1dpm9dk11x2zcjsymkl5jcz5nxhffsg7qqy5p6h92cppzbwmm656"; + type = "gem"; + }; + version = "0.9.1"; + }; + dry-inflector = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1rw0xxx1yga8r8bwgpywgshvqwd0w6shy0s4y1qrsz0cjxfwga0i"; + type = "gem"; + }; + version = "0.3.0"; + }; + dry-logic = { + dependencies = ["concurrent-ruby" "dry-core" "zeitwerk"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "12ikf5j5n7bhwd0mzi27ikwdr944l78sp86ndvkbqpfq607335ys"; + type = "gem"; + }; + version = "1.3.0"; + }; + dry-struct = { + dependencies = ["dry-core" "dry-types" "ice_nine" "zeitwerk"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "177jvjlkjshv80cmy54jnfd18lryzaigd8mbm39iaigah7afhwf4"; + type = "gem"; + }; + version = "1.5.2"; + }; + dry-types = { + dependencies = ["concurrent-ruby" "dry-container" "dry-core" "dry-inflector" "dry-logic" "zeitwerk"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0xpbh437hw16h8qxw7454vkabnq7w9g51sh4qs3z82xl8qvkhdqy"; + type = "gem"; + }; + version = "1.6.1"; }; erubi = { groups = ["default"]; @@ -1093,10 +1190,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0j826kfvzn7nc5pv950n270r0sx1702k988ad11cdlav3dcxxw09"; + sha256 = "138gi8b95nqv8m83dynpsszz11a6c5si1pym6y0b6bfb01r33pyi"; type = "gem"; }; - version = "0.99.0"; + version = "0.105.0"; }; faraday = { dependencies = ["faraday-em_http" "faraday-em_synchrony" "faraday-excon" "faraday-httpclient" "faraday-multipart" "faraday-net_http" "faraday-net_http_persistent" "faraday-patron" "faraday-rack" "faraday-retry" "ruby2_keywords"]; @@ -1161,6 +1258,17 @@ }; version = "0.3.0"; }; + faraday-http-cache = { + dependencies = ["faraday"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0qvl49xpl2mwxgcj6aj11qrjk94xrqhbnpl5vp1y2275crnkddv4"; + type = "gem"; + }; + version = "2.5.0"; + }; faraday-httpclient = { groups = ["default"]; platforms = []; @@ -1248,10 +1356,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1862ydmclzy1a0cjbvm8dz7847d9rch495ib0zb64y84d3xd4bkg"; + sha256 = "1yvii03hcgqj30maavddqamqy50h7y6xcn2wcyq72wn823zl4ckd"; type = "gem"; }; - version = "1.15.5"; + version = "1.16.3"; }; fuzzyurl = { groups = ["default"]; @@ -1307,15 +1415,25 @@ }; version = "1.4.0"; }; + hashdiff = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1nynpl0xbj0nphqx1qlmyggq58ms1phf5i03hk64wcc0a17x1m1c"; + type = "gem"; + }; + version = "1.0.1"; + }; hashie = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "02bsx12ihl78x0vdm37byp78jjw2ff6035y7rrmbd90qxjwxr43q"; + sha256 = "1nh3arcrbz1rc1cr59qm53sdhqm137b258y8rcb4cvd3y98lwv4x"; type = "gem"; }; - version = "4.1.0"; + version = "5.0.0"; }; highline = { groups = ["default"]; @@ -1354,10 +1472,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vdcchz7jli1p0gnc669a7bj3q1fv09y9ppf0y3k0vb1jwdwrqwi"; + sha256 = "0qaamqsh5f3szhcakkak8ikxlzxqnv49n2p7504hcz2l0f4nj0wx"; type = "gem"; }; - version = "1.12.0"; + version = "1.14.1"; + }; + ice_nine = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1nv35qg1rps9fsis28hz2cq2fx1i96795f91q4nmkm934xynll2x"; + type = "gem"; + }; + version = "0.11.2"; }; inifile = { groups = ["default"]; @@ -1370,15 +1498,15 @@ version = "3.0.0"; }; inspec = { - dependencies = ["cookstyle" "faraday_middleware" "inspec-core" "mongo" "progress_bar" "rake" "train" "train-aws" "train-habitat" "train-winrm"]; + dependencies = ["cookstyle" "faraday_middleware" "inspec-core" "mongo" "progress_bar" "rake" "train" "train-aws" "train-habitat" "train-kubernetes" "train-winrm"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1y2p1dm8b648gw6sabgq45mj0wvc683xq4jvh286vmfhkld8ibgh"; + sha256 = "0n1c3h1mrnw4059ih0n4gbi77qvwaigg6p8wmbpxkzya0jh45h55"; type = "gem"; }; - version = "5.21.29"; + version = "6.6.0"; }; inspec-bin = { dependencies = ["inspec"]; @@ -1386,21 +1514,21 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "02lq4qnmxdc3vn5wwrb5m526js14jvj5c3wczln2skmqg5yr6pbh"; + sha256 = "05g1sidv6grd9m7i85w4p5kpllds2jpvms6cmxs19948bm9abw91"; type = "gem"; }; - version = "5.21.29"; + version = "6.6.0"; }; inspec-core = { - dependencies = ["addressable" "chef-telemetry" "faraday" "faraday-follow_redirects" "hashie" "license-acceptance" "method_source" "mixlib-log" "multipart-post" "parallel" "parslet" "pry" "rspec" "rspec-its" "rubyzip" "semverse" "sslshake" "thor" "tomlrb" "train-core" "tty-prompt" "tty-table"]; + dependencies = ["addressable" "chef-licensing" "chef-telemetry" "faraday" "faraday-follow_redirects" "hashie" "license-acceptance" "method_source" "mixlib-log" "multipart-post" "parallel" "parslet" "pry" "rspec" "rspec-its" "rubyzip" "semverse" "sslshake" "thor" "tomlrb" "train-core" "tty-prompt" "tty-table"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1irzd4nms4fpv5llkqsx8mlgyhgsibkzk293w31yixarg3jbnvd7"; + sha256 = "0mlw0jbik3hpypnxx9bz4ymfzi8v9f875c73nql9m2j0zxb10hwa"; type = "gem"; }; - version = "5.21.29"; + version = "6.6.0"; }; jmespath = { groups = ["default"]; @@ -1417,20 +1545,42 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0nalhin1gda4v8ybk6lq8f407cgfrj6qzn234yra4ipkmlbfmal6"; + sha256 = "0r9jmjhg2ly3l736flk7r2al47b5c8cayh0gqkq0yhjqzc9a6zhq"; type = "gem"; }; - version = "2.6.3"; + version = "2.7.1"; + }; + jsonpath = { + dependencies = ["multi_json" "to_regexp"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1zim5bl7zsbccd502iy63f7c3b6dw0a820z7q8kpv66hncavb7gp"; + type = "gem"; + }; + version = "0.9.9"; }; jwt = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "09yj3z5snhaawh2z1w45yyihzmh57m6m7dp8ra8gxavhj5kbiq5p"; + sha256 = "16z11alz13vfc4zs5l3fk6n51n2jw9lskvc4h4prnww0y797qd87"; type = "gem"; }; - version = "2.7.0"; + version = "2.7.1"; + }; + k8s-ruby = { + dependencies = ["dry-configurable" "dry-struct" "dry-types" "excon" "hashdiff" "jsonpath" "recursive-open-struct" "yajl-ruby" "yaml-safe_load_stream3"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "09q2lxwcsdmnqi91c62gc89bvwlq0arn5nvrl6g1whg46zvmis5z"; + type = "gem"; + }; + version = "0.14.0"; }; license-acceptance = { dependencies = ["pastel" "tomlrb" "tty-box" "tty-prompt"]; @@ -1489,20 +1639,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0lbim375gw2dk6383qirz13hgdmxlan0vc5da2l072j3qw6fqjm5"; + sha256 = "1vycif7pjzkr29mfk4dlqv3disc5dn0va04lkwajlpr1wkibg0c6"; type = "gem"; }; - version = "1.1.2"; + version = "1.1.5"; }; minitest = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ic7i5z88zcaqnpzprf7saimq2f6sad57g5mkkqsrqrcd6h3mx06"; + sha256 = "0bkmfi9mb49m0fkdhl2g38i3xxa02d411gg0m8x0gvbwfmmg5ym3"; type = "gem"; }; - version = "5.18.0"; + version = "5.20.0"; }; mixlib-config = { dependencies = ["tomlrb"]; @@ -1605,10 +1755,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0yx0pb5fmziz92bw8qzbh8vf20lr56nd3s6q8h0gsgr307lki687"; + sha256 = "1jyj6j7w9zpj2zhp4dyhdjiwsn9rqwksj7s7fzpnn7rx2xvz2a1a"; type = "gem"; }; - version = "7.1.0"; + version = "7.2.0"; }; nori = { groups = ["default"]; @@ -1651,15 +1801,15 @@ version = "1.23.0"; }; parser = { - dependencies = ["ast"]; + dependencies = ["ast" "racc"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0s5afi89p76k8vpwiqvh343pm5l23ijqlpszhz65afym3zpkxhzx"; + sha256 = "0r69dbh6h6j4d54isany2ir4ni4gf2ysvk3k44awi6amz18nggpd"; type = "gem"; }; - version = "3.2.2.0"; + version = "3.2.2.4"; }; parslet = { groups = ["default"]; @@ -1709,10 +1859,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0hz0bx2qs2pwb0bwazzsah03ilpf3aai8b7lk7s35jsfzwbkjq35"; + sha256 = "1bni4qjrsh2q49pnmmd6if4iv3ak36bd2cckrs6npl111n769k9m"; type = "gem"; }; - version = "5.0.1"; + version = "5.0.4"; + }; + racc = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "01b9662zd2x9bp4rdjfid07h09zxj7kvn7f5fghbqhzc625ap1dp"; + type = "gem"; + }; + version = "1.7.3"; }; rainbow = { groups = ["default"]; @@ -1729,20 +1889,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w"; + sha256 = "1ilr853hawi09626axx0mps4rkkmxcs54mapz9jnqvpnlwd3wsmy"; type = "gem"; }; - version = "13.0.6"; + version = "13.1.0"; + }; + recursive-open-struct = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0nnyr6qsqrcszf6c10n4zfjs8h9n67zvsmx6mp8brkigamr8llx3"; + type = "gem"; + }; + version = "1.1.3"; }; regexp_parser = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "17xizkw5ryw8hhq64iqxmzdrrdxpc5lhkqc1fgm1aj0zsk1r2950"; + sha256 = "1xrghj2vka7girycp1m88kvl4qxkm4mj4djz4w1jzywb4v97fclm"; type = "gem"; }; - version = "2.8.0"; + version = "2.8.3"; }; representable = { dependencies = ["declarative" "trailblazer-option" "uber"]; @@ -1770,10 +1940,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; + sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; type = "gem"; }; - version = "3.2.5"; + version = "3.2.6"; }; rspec = { dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"]; @@ -1781,10 +1951,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "19dyb6rcvgi9j2mksd29wfdhfdyzqk7yjhy1ai77559hbhpg61w9"; + sha256 = "171rc90vcgjl8p1bdrqa92ymrj8a87qf6w20x05xq29mljcigi6c"; type = "gem"; }; - version = "3.11.0"; + version = "3.12.0"; }; rspec-core = { dependencies = ["rspec-support"]; @@ -1792,10 +1962,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "118hkfw9b11hvvalr7qlylwal5h8dihagm9xg7k4gskg7587hca6"; + sha256 = "0l95bnjxdabrn79hwdhn2q1n7mn26pj7y1w5660v5qi81x458nqm"; type = "gem"; }; - version = "3.11.0"; + version = "3.12.2"; }; rspec-expectations = { dependencies = ["diff-lcs" "rspec-support"]; @@ -1803,10 +1973,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0l1bzk6a68i1b2qix83vs40r0pbjawv67hixiq2qxsja19bbq3bc"; + sha256 = "05j44jfqlv7j2rpxb5vqzf9hfv7w8ba46wwgxwcwd8p0wzi1hg89"; type = "gem"; }; - version = "3.11.1"; + version = "3.12.3"; }; rspec-its = { dependencies = ["rspec-core" "rspec-expectations"]; @@ -1825,20 +1995,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vsqp9dij2rj9aapcn3sz7qzw0d8ln7x9p46h9rzd3jzb7his9kk"; + sha256 = "1gq7gviwpck7fhp4y5ibljljvxgjklza18j62qf6zkm2icaa8lfy"; type = "gem"; }; - version = "3.11.2"; + version = "3.12.6"; }; rspec-support = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1c01iicvrjk6vv744jgh0y4kk9d0kg2rd2ihdyzvg5p06xm2fpzq"; + sha256 = "1ky86j3ksi26ng9ybd7j0qsdf1lpr8mzrmn98yy9gzv801fvhsgr"; type = "gem"; }; - version = "3.11.1"; + version = "3.12.1"; }; rubocop = { dependencies = ["parallel" "parser" "rainbow" "regexp_parser" "rexml" "rubocop-ast" "ruby-progressbar" "unicode-display_width"]; @@ -1857,10 +2027,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0n2gsafg6p7nr1z8i1hkvp2qqkkbg842ba183dnl0h08xd9ms6q5"; + sha256 = "1cs9cc5p9q70valk4na3lki4xs88b52486p2v46yx3q1n5969bgs"; type = "gem"; }; - version = "1.28.0"; + version = "1.30.0"; }; ruby-progressbar = { groups = ["default"]; @@ -1918,10 +2088,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0100rclkhagf032rg3r0gf3f4znrvvvqrimy6hpa73f21n9k2a0x"; + sha256 = "0fzakk5y7zzii76zlkynpp1c764mzkkfg4mpj18f5pf2xp1aikb6"; type = "gem"; }; - version = "0.17.0"; + version = "0.18.0"; }; sslshake = { groups = ["default"]; @@ -1959,10 +2129,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0inl77jh4ia03jw3iqm5ipr76ghal3hyjrd6r8zqsswwvi9j2xdi"; + sha256 = "0k7j2wn14h1pl4smibasw0bp66kg626drxb59z7rzflch99cd4rg"; type = "gem"; }; - version = "1.2.1"; + version = "1.2.2"; }; timeliness = { groups = ["default"]; @@ -1974,6 +2144,16 @@ }; version = "0.3.10"; }; + to_regexp = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1rgabfhnql6l4fx09mmj5d0vza924iczqf2blmn82l782b6qqi9v"; + type = "gem"; + }; + version = "0.2.1"; + }; tomlrb = { groups = ["default"]; platforms = []; @@ -2000,21 +2180,21 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "04ixvxhpv33h8wcirplzgp5pix2xipx5hfxxlrjp579hrcs38sjy"; + sha256 = "18ghsakhnm4xjzfi53d1ij5a2vgr1nk8fgqrr05rbya7c9sbh8ns"; type = "gem"; }; - version = "3.10.7"; + version = "3.11.0"; }; train-aws = { - dependencies = ["aws-sdk-alexaforbusiness" "aws-sdk-amplify" "aws-sdk-apigateway" "aws-sdk-apigatewayv2" "aws-sdk-applicationautoscaling" "aws-sdk-athena" "aws-sdk-autoscaling" "aws-sdk-batch" "aws-sdk-budgets" "aws-sdk-cloudformation" "aws-sdk-cloudfront" "aws-sdk-cloudhsm" "aws-sdk-cloudhsmv2" "aws-sdk-cloudtrail" "aws-sdk-cloudwatch" "aws-sdk-cloudwatchevents" "aws-sdk-cloudwatchlogs" "aws-sdk-codecommit" "aws-sdk-codedeploy" "aws-sdk-codepipeline" "aws-sdk-cognitoidentity" "aws-sdk-cognitoidentityprovider" "aws-sdk-configservice" "aws-sdk-core" "aws-sdk-costandusagereportservice" "aws-sdk-databasemigrationservice" "aws-sdk-dynamodb" "aws-sdk-ec2" "aws-sdk-ecr" "aws-sdk-ecrpublic" "aws-sdk-ecs" "aws-sdk-efs" "aws-sdk-eks" "aws-sdk-elasticache" "aws-sdk-elasticbeanstalk" "aws-sdk-elasticloadbalancing" "aws-sdk-elasticloadbalancingv2" "aws-sdk-elasticsearchservice" "aws-sdk-emr" "aws-sdk-eventbridge" "aws-sdk-firehose" "aws-sdk-glue" "aws-sdk-guardduty" "aws-sdk-iam" "aws-sdk-kafka" "aws-sdk-kinesis" "aws-sdk-kms" "aws-sdk-lambda" "aws-sdk-mq" "aws-sdk-networkfirewall" "aws-sdk-networkmanager" "aws-sdk-organizations" "aws-sdk-ram" "aws-sdk-rds" "aws-sdk-redshift" "aws-sdk-route53" "aws-sdk-route53domains" "aws-sdk-route53resolver" "aws-sdk-s3" "aws-sdk-s3control" "aws-sdk-secretsmanager" "aws-sdk-securityhub" "aws-sdk-servicecatalog" "aws-sdk-ses" "aws-sdk-shield" "aws-sdk-signer" "aws-sdk-simpledb" "aws-sdk-sms" "aws-sdk-sns" "aws-sdk-sqs" "aws-sdk-ssm" "aws-sdk-states" "aws-sdk-synthetics" "aws-sdk-transfer" "aws-sdk-waf"]; + dependencies = ["aws-sdk-account" "aws-sdk-alexaforbusiness" "aws-sdk-amplify" "aws-sdk-apigateway" "aws-sdk-apigatewayv2" "aws-sdk-applicationautoscaling" "aws-sdk-athena" "aws-sdk-autoscaling" "aws-sdk-batch" "aws-sdk-budgets" "aws-sdk-cloudformation" "aws-sdk-cloudfront" "aws-sdk-cloudhsm" "aws-sdk-cloudhsmv2" "aws-sdk-cloudtrail" "aws-sdk-cloudwatch" "aws-sdk-cloudwatchevents" "aws-sdk-cloudwatchlogs" "aws-sdk-codecommit" "aws-sdk-codedeploy" "aws-sdk-codepipeline" "aws-sdk-cognitoidentity" "aws-sdk-cognitoidentityprovider" "aws-sdk-configservice" "aws-sdk-core" "aws-sdk-costandusagereportservice" "aws-sdk-databasemigrationservice" "aws-sdk-dynamodb" "aws-sdk-ec2" "aws-sdk-ecr" "aws-sdk-ecrpublic" "aws-sdk-ecs" "aws-sdk-efs" "aws-sdk-eks" "aws-sdk-elasticache" "aws-sdk-elasticbeanstalk" "aws-sdk-elasticloadbalancing" "aws-sdk-elasticloadbalancingv2" "aws-sdk-elasticsearchservice" "aws-sdk-emr" "aws-sdk-eventbridge" "aws-sdk-firehose" "aws-sdk-glue" "aws-sdk-guardduty" "aws-sdk-iam" "aws-sdk-kafka" "aws-sdk-kinesis" "aws-sdk-kms" "aws-sdk-lambda" "aws-sdk-mq" "aws-sdk-networkfirewall" "aws-sdk-networkmanager" "aws-sdk-organizations" "aws-sdk-ram" "aws-sdk-rds" "aws-sdk-redshift" "aws-sdk-route53" "aws-sdk-route53domains" "aws-sdk-route53resolver" "aws-sdk-s3" "aws-sdk-s3control" "aws-sdk-secretsmanager" "aws-sdk-securityhub" "aws-sdk-servicecatalog" "aws-sdk-ses" "aws-sdk-shield" "aws-sdk-signer" "aws-sdk-simpledb" "aws-sdk-sms" "aws-sdk-sns" "aws-sdk-sqs" "aws-sdk-ssm" "aws-sdk-states" "aws-sdk-synthetics" "aws-sdk-transfer" "aws-sdk-waf"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1vl7yfzcd6mq5lmjgagxbdhjhyv5rj2piap3w28zdwqkbyyhir8b"; + sha256 = "0b0p6ig4dfd2y1cfwdlzxj7wsbllwyzxd1wg87z1vs78v892ip5n"; type = "gem"; }; - version = "0.2.24"; + version = "0.2.36"; }; train-core = { dependencies = ["addressable" "ffi" "json" "mixlib-shellout" "net-scp" "net-ssh"]; @@ -2022,10 +2202,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1f0yxh5mpr7rdn3660jf5iwc3rhv4l82dd9mhcrm6v85901rvj9c"; + sha256 = "1j3pfsdrrqpcqp9qbqdh4j1557hww3q3gyjjpnzmgkw43vv685gb"; type = "gem"; }; - version = "3.10.7"; + version = "3.11.0"; }; train-habitat = { groups = ["default"]; @@ -2037,6 +2217,17 @@ }; version = "0.2.22"; }; + train-kubernetes = { + dependencies = ["k8s-ruby" "train"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "02gy54pybd53hbaay1kllk269pjwbjzfr3jlgxa6sd68ljy7s5w2"; + type = "gem"; + }; + version = "0.1.12"; + }; train-winrm = { dependencies = ["winrm" "winrm-elevated" "winrm-fs"]; groups = ["default"]; @@ -2111,6 +2302,17 @@ }; version = "0.8.1"; }; + tty-spinner = { + dependencies = ["tty-cursor"]; + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0hh5awmijnzw9flmh5ak610x1d00xiqagxa5mbr63ysggc26y0qf"; + type = "gem"; + }; + version = "0.9.3"; + }; tty-table = { dependencies = ["pastel" "strings" "tty-screen"]; groups = ["default"]; @@ -2143,36 +2345,15 @@ }; version = "0.1.0"; }; - unf = { - dependencies = ["unf_ext"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0bh2cf73i2ffh4fcpdn9ir4mhq8zi50ik0zqa1braahzadx536a9"; - type = "gem"; - }; - version = "0.1.4"; - }; - unf_ext = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1yj2nz2l101vr1x9w2k83a0fag1xgnmjwp8w8rw4ik2rwcz65fch"; - type = "gem"; - }; - version = "0.0.8.2"; - }; unicode-display_width = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1gi82k102q7bkmfi7ggn9ciypn897ylln1jk9q67kjhr39fj043a"; + sha256 = "1d0azx233nags5jx3fqyr23qa2rhgzbhv8pxp46dgbg1mpf82xky"; type = "gem"; }; - version = "2.4.2"; + version = "2.5.0"; }; unicode_utils = { groups = ["default"]; @@ -2227,4 +2408,34 @@ }; version = "2.0.1"; }; + yajl-ruby = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1lni4jbyrlph7sz8y49q84pb0sbj82lgwvnjnsiv01xf26f4v5wc"; + type = "gem"; + }; + version = "1.4.3"; + }; + yaml-safe_load_stream3 = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "10g4wy0vmggxnb3bz1zz74rfhhzqa50hc553sn7yqrbywpzn6kzx"; + type = "gem"; + }; + version = "0.1.2"; + }; + zeitwerk = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1gir0if4nryl1jhwi28669gjwhxb7gzrm1fcc8xzsch3bnbi47jn"; + type = "gem"; + }; + version = "2.6.12"; + }; } From 129208c5f73d79b4f65dbb13165e9112f726fed6 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 14 Dec 2023 12:50:58 +0800 Subject: [PATCH 03/56] bleachbit: 4.4.0 -> 4.6.0 --- pkgs/applications/misc/bleachbit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/bleachbit/default.nix b/pkgs/applications/misc/bleachbit/default.nix index c6e4adf8a560..a59b58383553 100644 --- a/pkgs/applications/misc/bleachbit/default.nix +++ b/pkgs/applications/misc/bleachbit/default.nix @@ -11,13 +11,13 @@ python3Packages.buildPythonApplication rec { pname = "bleachbit"; - version = "4.4.0"; + version = "4.6.0"; format = "other"; src = fetchurl { url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; - sha256 = "0kqqfzq6bh03n7kxb9vd483bqi1cklfvj35a7h4iqk96sq1xv8z6"; + sha256 = "sha256-UwUphuUeXFy71I+tmKnRH858dPrA2+xDxnG9h26a+kE="; }; nativeBuildInputs = [ From 0347fe6daa7ac992b955b3695683ff90c8f87079 Mon Sep 17 00:00:00 2001 From: Gabor Pihaj Date: Thu, 21 Dec 2023 13:11:17 +0000 Subject: [PATCH 04/56] scalafmt: 3.7.9 -> 3.7.17 --- pkgs/development/tools/scalafmt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/scalafmt/default.nix b/pkgs/development/tools/scalafmt/default.nix index db65c8f3b79c..588274bcab89 100644 --- a/pkgs/development/tools/scalafmt/default.nix +++ b/pkgs/development/tools/scalafmt/default.nix @@ -2,7 +2,7 @@ let baseName = "scalafmt"; - version = "3.7.9"; + version = "3.7.17"; deps = stdenv.mkDerivation { name = "${baseName}-deps-${version}"; buildCommand = '' @@ -12,7 +12,7 @@ let cp $(< deps) $out/share/java/ ''; outputHashMode = "recursive"; - outputHash = "sha256-r4vv62H0AryjZb+34fVHvqvndipOYyf6XpQC9u8Dxso="; + outputHash = "sha256-8gK+fOnqwPFBbSWltNKInzXRJQ3WZxPlLqpvuTxF4fk="; }; in stdenv.mkDerivation { From eb3e05dc8c6c76978f05f80183477c2de22621ba Mon Sep 17 00:00:00 2001 From: oluceps Date: Mon, 25 Dec 2023 00:13:09 +0800 Subject: [PATCH 05/56] phantomsocks: unstable-2023-04-05 -> unstable-2023-11-30 Diff: https://github.com/macronut/phantomsocks/compare/a54ae9f3611e8623f89e69273f2ded7f7c0a7abf...b1b13c5b88cf3bac54f39c37c0ffcb0b46e31049 --- pkgs/tools/networking/phantomsocks/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/networking/phantomsocks/default.nix b/pkgs/tools/networking/phantomsocks/default.nix index 6f3c3ad9a336..7c7b0db21132 100644 --- a/pkgs/tools/networking/phantomsocks/default.nix +++ b/pkgs/tools/networking/phantomsocks/default.nix @@ -3,26 +3,27 @@ , fetchFromGitHub , stdenv , libpcap -# Cann't be build with both pcap and rawsocket tags + # Cann't be build with both pcap and rawsocket tags , withPcap ? (!stdenv.isLinux && !withRawsocket) , withRawsocket ? (stdenv.isLinux && !withPcap) }: buildGoModule rec { pname = "phantomsocks"; - version = "unstable-2023-04-05"; + version = "unstable-2023-11-30"; src = fetchFromGitHub { owner = "macronut"; repo = pname; - rev = "a54ae9f3611e8623f89e69273f2ded7f7c0a7abf"; - hash = "sha256-ytTLwKlwbaiSWDRZBkOV7Hrl5ywWzLbv/fJ7nVlD++E="; + rev = "b1b13c5b88cf3bac54f39c37c0ffcb0b46e31049"; + hash = "sha256-ptCzd2/8dNHjAkhwA2xpZH8Ki/9DnblHI2gAIpgM+8E="; }; - vendorHash = "sha256-c0NQfZuMMWz1ASwFBcpMNjxZwXLo++gMYBiNgvT8ZLQ="; + vendorHash = "sha256-0MJlz7HAhRThn8O42yhvU3p5HgTG8AkPM0ksSjWYAC4="; ldflags = [ - "-s" "-w" + "-s" + "-w" ]; buildInputs = lib.optional withPcap libpcap; tags = lib.optional withPcap "pcap" From 01a2741e7ad33b86e0c8533568a85666af70a4bc Mon Sep 17 00:00:00 2001 From: dansbandit <4530687+dansbandit@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:19:58 +0100 Subject: [PATCH 06/56] k2pdfopt: 2.53 -> 2.55 --- .../misc/k2pdfopt/0001-Fix-CMakeLists.patch | 16 +----- pkgs/applications/misc/k2pdfopt/default.nix | 56 ++++++++++++------- 2 files changed, 39 insertions(+), 33 deletions(-) diff --git a/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch b/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch index 8f9271ac996b..e1ccea1458a3 100644 --- a/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch +++ b/pkgs/applications/misc/k2pdfopt/0001-Fix-CMakeLists.patch @@ -1,14 +1,5 @@ -From 2629af4ed00d7ca65359178203d80fb146901cdb Mon Sep 17 00:00:00 2001 -From: Daniel Fullmer -Date: Fri, 3 Jul 2020 21:00:45 -0700 -Subject: [PATCH 1/2] Fix CMakeLists - ---- - CMakeLists.txt | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - diff --git a/CMakeLists.txt b/CMakeLists.txt -index e218279..4341de9 100644 +index 365b835..4341de9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,7 @@ endif(JPEG_FOUND) @@ -39,11 +30,8 @@ index e218279..4341de9 100644 include_directories(SYSTEM ${MUPDF_INCLUDEDIR}) message(STATUS "mupdf libraries: ${MUPDF_LDFLAGS}") set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${MUPDF_LDFLAGS} -- -lmupdf-js-none -lopenjpeg -ljbig2dec -ljpeg -lfreetype +- -lmupdf-js-none -lopenjpeg -ljbig2dec -ljpeg -lfreetype -llcms -lgumbo + ) endif(MUPDF_FOUND) --- -2.27.0 - diff --git a/pkgs/applications/misc/k2pdfopt/default.nix b/pkgs/applications/misc/k2pdfopt/default.nix index 0bb01c38712f..32a0e31a315b 100644 --- a/pkgs/applications/misc/k2pdfopt/default.nix +++ b/pkgs/applications/misc/k2pdfopt/default.nix @@ -1,11 +1,22 @@ -{ lib, stdenv, runCommand, fetchzip, fetchurl, fetchFromGitHub -, cmake, pkg-config, zlib, libpng, makeWrapper +{ lib +, stdenv +, runCommand +, fetchzip +, fetchurl +, fetchFromGitHub +, cmake +, jbig2dec +, libjpeg_turbo +, libpng +, makeWrapper +, pkg-config +, zlib , enableGSL ? true, gsl , enableGhostScript ? true, ghostscript -, enableMuPDF ? true, mupdf_1_17 +, enableMuPDF ? true, mupdf , enableDJVU ? true, djvulibre , enableGOCR ? false, gocr # Disabled by default due to crashes -, enableTesseract ? true, leptonica, tesseract4 +, enableTesseract ? true, leptonica, tesseract }: # k2pdfopt is a pain to package. It requires modified versions of mupdf, @@ -50,10 +61,10 @@ let ''; pname = "k2pdfopt"; - version = "2.53"; + version = "2.55"; k2pdfopt_src = fetchzip { url = "http://www.willus.com/${pname}/src/${pname}_v${version}_src.zip"; - sha256 = "1fna8bg3pascjfc3hmc6xn0xi2yh7f1qp0d344mw9hqanbnykyy8"; + hash = "sha256-orQNDXQkkcCtlA8wndss6SiJk4+ImiFCG8XRLEg963k="; }; in stdenv.mkDerivation rec { inherit pname version; @@ -79,15 +90,15 @@ in stdenv.mkDerivation rec { mupdf_patch = mkPatch { name = "mupdf"; src = fetchurl { - url = "https://mupdf.com/downloads/archive/mupdf-1.17.0-source.tar.gz"; - sha256 = "13nl9nrcx2awz9l83mlv2psi1lmn3hdnfwxvwgwiwbxlkjl3zqq0"; + url = "https://mupdf.com/downloads/archive/mupdf-1.23.7-source.tar.gz"; + hash = "sha256-NaVJM/QA6JZnoImkJfHGXNadRiOU/tnAZ558Uu+6pWg="; }; patchCommands = '' cp ${k2pdfopt_src}/mupdf_mod/{filter-basic,font,stext-device,string}.c ./source/fitz/ cp ${k2pdfopt_src}/mupdf_mod/pdf-* ./source/pdf/ ''; }; - mupdf_modded = mupdf_1_17.overrideAttrs ({ patches ? [], ... }: { + mupdf_modded = mupdf.overrideAttrs ({ patches ? [], ... }: { patches = patches ++ [ mupdf_patch ]; # This function is missing in font.c, see font-win32.c postPatch = '' @@ -98,8 +109,8 @@ in stdenv.mkDerivation rec { leptonica_patch = mkPatch { name = "leptonica"; src = fetchurl { - url = "http://www.leptonica.org/source/leptonica-1.79.0.tar.gz"; - sha256 = "1n004gv1dj3pq1fcnfdclvvx5nang80336aa67nvs3nnqp4ncn84"; + url = "http://www.leptonica.org/source/leptonica-1.83.0.tar.gz"; + hash = "sha256-IGWR3VjPhO84CDba0TO1jJ0a+SSR9amCXDRqFiBEvP4="; }; patchCommands = "cp -r ${k2pdfopt_src}/leptonica_mod/. ./src/"; }; @@ -112,12 +123,16 @@ in stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "tesseract-ocr"; repo = "tesseract"; - rev = "4.1.1"; - sha256 = "1ca27zbjpx35nxh9fha410z3jskwyj06i5hqiqdc08s2d7kdivwn"; + rev = "5.3.3"; + hash = "sha256-/aGzwm2+0y8fheOnRi/OJXZy3o0xjY1cCq+B3GTzfos="; }; patchCommands = '' - cp ${k2pdfopt_src}/tesseract_mod/{baseapi,tesscapi,tesseract}.* src/api/ + cp ${k2pdfopt_src}/tesseract_mod/tesseract.* include/tesseract/ + cp ${k2pdfopt_src}/tesseract_mod/tesseract/baseapi.h include/tesseract/ + cp ${k2pdfopt_src}/tesseract_mod/{baseapi,config_auto,tesscapi,tesseract}.* src/api/ + cp ${k2pdfopt_src}/tesseract_mod/tesseract/baseapi.h src/api/ cp ${k2pdfopt_src}/tesseract_mod/{tesscapi,tessedit,tesseract}.* src/ccmain/ + cp ${k2pdfopt_src}/tesseract_mod/tesseract/baseapi.h src/ccmain/ cp ${k2pdfopt_src}/tesseract_mod/dotproduct{avx,fma,sse}.* src/arch/ cp ${k2pdfopt_src}/tesseract_mod/{intsimdmatrixsse,simddetect}.* src/arch/ cp ${k2pdfopt_src}/tesseract_mod/{errcode,genericvector,mainblk,params,serialis,tessdatamanager,tess_version,tprintf,unicharset}.* src/ccutil/ @@ -125,19 +140,21 @@ in stdenv.mkDerivation rec { cp ${k2pdfopt_src}/tesseract_mod/openclwrapper.* src/opencl/ ''; }; - tesseract_modded = tesseract4.override { - tesseractBase = tesseract4.tesseractBase.overrideAttrs ({ patches ? [], ... }: { + tesseract_modded = tesseract.override { + tesseractBase = tesseract.tesseractBase.overrideAttrs ({ patches ? [], ... }: { patches = patches ++ [ tesseract_patch ]; # Additional compilation fixes postPatch = '' - echo libtesseract_api_la_SOURCES += tesscapi.cpp >> src/api/Makefile.am + echo libtesseract_la_SOURCES += src/api/tesscapi.cpp >> Makefile.am substituteInPlace src/api/tesseract.h \ --replace "#include " "//#include " + substituteInPlace include/tesseract/tesseract.h \ + --replace "#include " "//#include " ''; }); }; in - [ zlib libpng ] ++ + [ jbig2dec libjpeg_turbo libpng zlib ] ++ lib.optional enableGSL gsl ++ lib.optional enableGhostScript ghostscript ++ lib.optional enableMuPDF mupdf_modded ++ @@ -156,12 +173,13 @@ in stdenv.mkDerivation rec { ''; preFixup = lib.optionalString enableTesseract '' - wrapProgram $out/bin/k2pdfopt --set-default TESSDATA_PREFIX ${tesseract4}/share/tessdata + wrapProgram $out/bin/k2pdfopt --set-default TESSDATA_PREFIX ${tesseract}/share/tessdata ''; meta = with lib; { description = "Optimizes PDF/DJVU files for mobile e-readers (e.g. the Kindle) and smartphones"; homepage = "http://www.willus.com/k2pdfopt"; + changelog = "https://www.willus.com/k2pdfopt/k2pdfopt_version.txt"; license = licenses.gpl3; platforms = platforms.linux; maintainers = with maintainers; [ bosu danielfullmer ]; From a9119a21ee8895da47d68a6b35fe7224fe56fd17 Mon Sep 17 00:00:00 2001 From: Naser Aleisa Date: Tue, 28 Nov 2023 06:38:06 +0300 Subject: [PATCH 07/56] thonny: add dependency dbus-next --- pkgs/applications/editors/thonny/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/thonny/default.nix b/pkgs/applications/editors/thonny/default.nix index 2eae992a36c6..53609df972c2 100644 --- a/pkgs/applications/editors/thonny/default.nix +++ b/pkgs/applications/editors/thonny/default.nix @@ -34,6 +34,7 @@ buildPythonApplication rec { pyperclip asttokens send2trash + dbus-next ]; preInstall = '' From 0cc0698bef6ca2606afa1605b0b3158550b88390 Mon Sep 17 00:00:00 2001 From: Hal Massey Date: Mon, 22 Jan 2024 19:01:07 -0600 Subject: [PATCH 08/56] fpm: 1.13.0 -> 1.15.1 https://github.com/jordansissel/fpm/blob/main/CHANGELOG.rst#L4-L63 --- .../tools/package-management/fpm/Gemfile.lock | 19 +++---- pkgs/tools/package-management/fpm/gemset.nix | 54 ++++--------------- 2 files changed, 17 insertions(+), 56 deletions(-) diff --git a/pkgs/tools/package-management/fpm/Gemfile.lock b/pkgs/tools/package-management/fpm/Gemfile.lock index b3e8b9d221a5..61c6a233e157 100644 --- a/pkgs/tools/package-management/fpm/Gemfile.lock +++ b/pkgs/tools/package-management/fpm/Gemfile.lock @@ -1,26 +1,20 @@ GEM remote: https://rubygems.org/ specs: - arr-pm (0.0.11) - cabin (> 0) - backports (3.21.0) + arr-pm (0.0.12) + backports (3.24.1) cabin (0.9.0) clamp (1.0.1) - dotenv (2.7.6) - fpm (1.13.0) + dotenv (2.8.1) + fpm (1.15.1) arr-pm (~> 0.0.11) backports (>= 2.6.2) cabin (>= 0.6.0) clamp (~> 1.0.0) - git (>= 1.3.0, < 2.0) - json (>= 1.7.7, < 3.0) pleaserun (~> 0.0.29) rexml stud - git (1.8.1) - rchardet (~> 1.8) insist (1.0.0) - json (2.5.1) mustache (0.99.8) pleaserun (0.0.32) cabin (> 0) @@ -29,8 +23,7 @@ GEM insist mustache (= 0.99.8) stud - rchardet (1.8.0) - rexml (3.2.5) + rexml (3.2.6) stud (0.0.23) PLATFORMS @@ -40,4 +33,4 @@ DEPENDENCIES fpm BUNDLED WITH - 2.1.4 + 2.5.3 diff --git a/pkgs/tools/package-management/fpm/gemset.nix b/pkgs/tools/package-management/fpm/gemset.nix index dca13598e8cc..195073f7546e 100644 --- a/pkgs/tools/package-management/fpm/gemset.nix +++ b/pkgs/tools/package-management/fpm/gemset.nix @@ -1,24 +1,23 @@ { arr-pm = { - dependencies = ["cabin"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "17qssricshzs2ml1jvn4bs2h85gxvrqm074pl5nl8vr74620iazi"; + sha256 = "0fddw0vwdrr7v3a0lfqbmnd664j48a9psrjd3wh3k4i3flplizzx"; type = "gem"; }; - version = "0.0.11"; + version = "0.0.12"; }; backports = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0xqvwj3mm28g1z4npya51zjcvxaniyyzn3fwgcdwmm8xrdbl8fgr"; + sha256 = "1f3zcy0q88rw3clk0r7bai7sp4r253lndf0qmdgczq1ykbm219w3"; type = "gem"; }; - version = "3.21.0"; + version = "3.24.1"; }; cabin = { groups = ["default"]; @@ -45,32 +44,21 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0iym172c5337sm1x2ykc2i3f961vj3wdclbyg1x6sxs3irgfsl94"; + sha256 = "1n0pi8x8ql5h1mijvm8lgn6bhq4xjb5a500p5r1krq4s6j9lg565"; type = "gem"; }; - version = "2.7.6"; + version = "2.8.1"; }; fpm = { - dependencies = ["arr-pm" "backports" "cabin" "clamp" "git" "json" "pleaserun" "rexml" "stud"]; + dependencies = ["arr-pm" "backports" "cabin" "clamp" "pleaserun" "rexml" "stud"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "03ss7yh628f0m6by23q3sniq660gm07mkz6wqjpvr118gc0h53sa"; + sha256 = "1grd0lb0mw1jvw6l8zqgh49m9gg2jxn98rifq2spzacwm11g7yqz"; type = "gem"; }; - version = "1.13.0"; - }; - git = { - dependencies = ["rchardet"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0vdcv93s33d9914a9nxrn2y2qv15xk7jx94007cmalp159l08cnl"; - type = "gem"; - }; - version = "1.8.1"; + version = "1.15.1"; }; insist = { groups = ["default"]; @@ -82,16 +70,6 @@ }; version = "1.0.0"; }; - json = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0lrirj0gw420kw71bjjlqkqhqbrplla61gbv1jzgsz6bv90qr3ci"; - type = "gem"; - }; - version = "2.5.1"; - }; mustache = { groups = ["default"]; platforms = []; @@ -113,25 +91,15 @@ }; version = "0.0.32"; }; - rchardet = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1isj1b3ywgg2m1vdlnr41lpvpm3dbyarf1lla4dfibfmad9csfk9"; - type = "gem"; - }; - version = "1.8.0"; - }; rexml = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; + sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; type = "gem"; }; - version = "3.2.5"; + version = "3.2.6"; }; stud = { groups = ["default"]; From 0dfdc9a874789b2848eb9ccb3aa4eafb5da6be7b Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sat, 15 Apr 2023 14:27:56 +0200 Subject: [PATCH 09/56] gfxreconstruct: wrap properly Wrap the capture app so that it works from nix-shell, without installing gfxreconstruct (the layer needs to be available to Vulkan). --- pkgs/tools/graphics/gfxreconstruct/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/graphics/gfxreconstruct/default.nix b/pkgs/tools/graphics/gfxreconstruct/default.nix index 633c1202fafc..b8e57cf5b786 100644 --- a/pkgs/tools/graphics/gfxreconstruct/default.nix +++ b/pkgs/tools/graphics/gfxreconstruct/default.nix @@ -50,10 +50,17 @@ stdenv.mkDerivation rec { --replace "scriptdir, '..', cmd" 'scriptdir' ''; - # Fix the path to the layer library + # Fix the paths to load the layer. + # Also remove the .py suffix on files so that gfxrecon + # does not try to start the wrapper bash scripts with python. postInstall = '' substituteInPlace $out/share/vulkan/explicit_layer.d/VkLayer_gfxreconstruct.json \ --replace 'libVkLayer_gfxreconstruct.so' "$out/lib/libVkLayer_gfxreconstruct.so" + for f in $out/bin/*.py; do + mv -- "$f" "''${f%%.py}" + done + wrapProgram $out/bin/gfxrecon-capture-vulkan \ + --prefix VK_ADD_LAYER_PATH : "$out/share/vulkan/explicit_layer.d" wrapProgram $out/bin/gfxrecon-replay \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} ''; @@ -61,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphics API Capture and Replay Tools"; homepage = "https://github.com/LunarG/gfxreconstruct/"; + changelog = "https://github.com/LunarG/gfxreconstruct/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ Flakebi ]; platforms = platforms.linux; From 110df92da3015d14cf303419e524afd21df94d2d Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Sat, 3 Feb 2024 17:44:49 +0000 Subject: [PATCH 10/56] latte-dock: unstable-2023-03-31 -> unstable-2024-01-31 Update latte-dock, the KDE Plasma dock utility to the commit from 2024-01-31. Signed-off-by: Rafael Kitover --- pkgs/applications/misc/latte-dock/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/latte-dock/default.nix b/pkgs/applications/misc/latte-dock/default.nix index 6562cd7b4a29..f61ea5320af1 100644 --- a/pkgs/applications/misc/latte-dock/default.nix +++ b/pkgs/applications/misc/latte-dock/default.nix @@ -4,14 +4,14 @@ mkDerivation rec { pname = "latte-dock"; - version = "unstable-2023-03-31"; + version = "unstable-2024-01-31"; src = fetchFromGitLab { domain = "invent.kde.org"; owner = "plasma"; repo = "latte-dock"; - rev = "4f93251d8c635c6150483ecb321eb276f34d4280"; - sha256 = "sha256-oEfKfsVIAmYgQ7+WyBEQfVpI4IndWhYXWBsJE8bNNyI="; + rev = "131ee4d39ce8913b2de8f9a673903225345c7a38"; + sha256 = "sha256-C1FvgkdxCzny+F6igS2YjsHOpkK34wl6je2tHlGQwU0="; }; buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ]; From 4f6ceb1ac7357713eb00aa3731eb8938dddba963 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Fri, 16 Feb 2024 07:54:28 -0800 Subject: [PATCH 11/56] swaywsr: 1.1.1 -> 1.3.0 --- pkgs/by-name/sw/swaywsr/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/sw/swaywsr/package.nix b/pkgs/by-name/sw/swaywsr/package.nix index 23a82bd2df08..121d8537b317 100644 --- a/pkgs/by-name/sw/swaywsr/package.nix +++ b/pkgs/by-name/sw/swaywsr/package.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "swaywsr"; - version = "1.1.1"; + version = "1.3.0"; src = fetchFromGitHub { owner = "pedroscaff"; repo = pname; - rev = "0276b43824af5c40085248c1275feaa372c412a5"; - sha256 = "sha256-KCMsn9uevmmjHkP4zwfaWSUI10JgT3M91iqmXI9Cv2Y="; + rev = "521fbf92738f44be438d3be6bdd665f02ac9d35c"; + hash = "sha256-6hGEcJz+zGfwz1q+XKQYfyJJK7lr+kCgk2/uiq1xP0M="; }; - cargoSha256 = "sha256-j/9p28ezy8m5NXReOmG1oryWd+GcY/fNW6i7OrEvjSc="; + cargoHash = "sha256-zoV2vy41fVsX8BtddURqQymMX4Zpso+GOBBqoVr3tYo="; nativeBuildInputs = [ python3 ]; buildInputs = [ libxcb ]; From 097ce68cc6aebee63dac435d0152a1d104854762 Mon Sep 17 00:00:00 2001 From: Brad Langhorst Date: Sun, 4 Sep 2022 23:32:03 -0400 Subject: [PATCH 12/56] openzwave: 1.6 -> 1.6-unstable-2022-11-17 --- .../libraries/openzwave/default.nix | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/pkgs/development/libraries/openzwave/default.nix b/pkgs/development/libraries/openzwave/default.nix index 07fe1db82925..f45eacfd157f 100644 --- a/pkgs/development/libraries/openzwave/default.nix +++ b/pkgs/development/libraries/openzwave/default.nix @@ -4,28 +4,15 @@ stdenv.mkDerivation rec { pname = "openzwave"; - version = "1.6"; + version = "1.6-unstable-2022-11-17"; src = fetchFromGitHub { owner = "OpenZWave"; repo = "open-zwave"; - rev = "v${version}"; - sha256 = "0xgs4mmr0480c269wx9xkk67ikjzxkh8xcssrdx0f5xcl1lyd333"; + rev = "3fff11d246a0d558d26110e1db6bd634a1b347c0"; + hash = "sha256-CLK2MeoTmZ8GMKb1OAZFNLyc4C+k+REK2w+WQxZv0/E="; }; - patches = [ - (fetchpatch { - name = "fix-strncat-build-failure.patch"; - url = "https://github.com/OpenZWave/open-zwave/commit/601e5fb16232a7984885e67fdddaf5b9c9dd8105.patch"; - sha256 = "1n1k5arwk1dyc12xz6xl4n8yw28vghzhv27j65z1nca4zqsxgza1"; - }) - (fetchpatch { - name = "fix-text-uninitialized.patch"; - url = "https://github.com/OpenZWave/open-zwave/commit/3b029a467e83bc7f0054e4dbba1e77e6eac7bc7f.patch"; - sha256 = "183mrzjh1zx2b2wzkj4jisiw8br7g7bbs167afls4li0fm01d638"; - }) - ]; - outputs = [ "out" "doc" ]; nativeBuildInputs = [ doxygen fontconfig graphviz-nox libxml2 pkg-config which ]; @@ -46,6 +33,8 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace cpp/src/Options.cpp \ --replace /etc/openzwave $out/etc/openzwave + substituteInPlace cpp/build/Makefile \ + --replace "-Werror" "-Werror -Wno-format" ''; meta = with lib; { From f9844ba120ada24b4a2dc0da9aa66bf38479ddb3 Mon Sep 17 00:00:00 2001 From: Heitham Omar Date: Sun, 24 Mar 2024 11:01:41 +0000 Subject: [PATCH 13/56] rusty-psn: 0.3.0 -> 0.3.7 --- pkgs/applications/misc/rusty-psn/default.nix | 11 ++++++++--- .../misc/rusty-psn/fix-cargo-lock.patch | 13 +++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 pkgs/applications/misc/rusty-psn/fix-cargo-lock.patch diff --git a/pkgs/applications/misc/rusty-psn/default.nix b/pkgs/applications/misc/rusty-psn/default.nix index c9968f7257f8..058e4a9c028a 100644 --- a/pkgs/applications/misc/rusty-psn/default.nix +++ b/pkgs/applications/misc/rusty-psn/default.nix @@ -18,16 +18,21 @@ rustPlatform.buildRustPackage rec { pname = "rusty-psn"; - version = "0.3.0"; + version = "0.3.7"; src = fetchFromGitHub { owner = "RainbowCookie32"; repo = "rusty-psn"; rev = "v${version}"; - sha256 = "sha256-BsbuEsW6cQbWg8BLtEBnjoCfcUCy1xWz9u0wBa8BKtA="; + sha256 = "sha256-EGj9VVY+Zbmth7H1oTgq38KNLT/aWoTPn8k4sVkScgg="; }; - cargoSha256 = "sha256-TD5du7I6Hw1PC8s9NI19jYCXlaZMnsdVj/a0q+M8Raw="; + cargoPatches = [ ./fix-cargo-lock.patch ]; + + cargoSha256 = "sha256-8J92WtMmCTnghPqSmNYhG3IVdmpHsHEH7Fkod0UYKJU="; + + # Tests require network access + doCheck = false; nativeBuildInputs = [ pkg-config diff --git a/pkgs/applications/misc/rusty-psn/fix-cargo-lock.patch b/pkgs/applications/misc/rusty-psn/fix-cargo-lock.patch new file mode 100644 index 000000000000..8e9275366ced --- /dev/null +++ b/pkgs/applications/misc/rusty-psn/fix-cargo-lock.patch @@ -0,0 +1,13 @@ +diff --git a/Cargo.lock b/Cargo.lock +index 3b63c3d..38a0fc0 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -3141,7 +3141,7 @@ dependencies = [ + + [[package]] + name = "rusty-psn" +-version = "0.3.3" ++version = "0.3.7" + dependencies = [ + "bytesize", + "clap", From 1e0e5e072fa8842856cdb71ba11ec1f1f36455af Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 00:34:45 +0000 Subject: [PATCH 14/56] cue: 0.8.2 -> 0.9.0 --- pkgs/by-name/cu/cue/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/cu/cue/package.nix b/pkgs/by-name/cu/cue/package.nix index 97ad585ddcb5..99570c6f65f0 100644 --- a/pkgs/by-name/cu/cue/package.nix +++ b/pkgs/by-name/cu/cue/package.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "cue"; - version = "0.8.2"; + version = "0.9.0"; src = fetchFromGitHub { owner = "cue-lang"; repo = "cue"; rev = "v${version}"; - hash = "sha256-GU1PG5ciUqbRlAveq2ouqnBYIBEdMSSM0H/1eHL+zlo="; + hash = "sha256-gjuQ7sp6/GeKSqyyicOtH5Q/1xRy/7cta4KKMn2cfzQ="; }; - vendorHash = "sha256-0OZtKIDdEnQLnSj109EpGvaZvMIy7gPAZ+weHzYKGSg="; + vendorHash = "sha256-FsFignBh669E60S8l8siQHLzeSfB5X/XOHBXPMDX3Cg="; subPackages = [ "cmd/*" ]; From 111f133db422e5629e79aeda45c1166ebbfcaf04 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 7 Jun 2024 22:36:28 +0200 Subject: [PATCH 15/56] aws-assume-role: migrate to buildGoModule Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- pkgs/tools/admin/aws-assume-role/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/admin/aws-assume-role/default.nix b/pkgs/tools/admin/aws-assume-role/default.nix index 29dcac28c1e2..1e160919af4a 100644 --- a/pkgs/tools/admin/aws-assume-role/default.nix +++ b/pkgs/tools/admin/aws-assume-role/default.nix @@ -1,16 +1,14 @@ { lib , fetchFromGitHub -, buildGoPackage +, buildGoModule }: -buildGoPackage rec { +buildGoModule rec { pname = "aws-assume-role"; version = "0.3.2"; outputs = [ "out" "doc" ]; - goPackagePath = "github.com/remind101/assume-role"; - src = fetchFromGitHub { owner = "remind101"; repo = "assume-role"; @@ -18,8 +16,14 @@ buildGoPackage rec { sha256 = "sha256-7+9qi9lYzv1YCFhUyla+5Gqs5nBUiiazhFwiqHzMFd4="; }; + vendorHash = null; + + postPatch = '' + go mod init github.com/remind101/assume-role + ''; + postInstall = '' - install -Dm444 -t $out/share/doc/$name ./go/src/${goPackagePath}/README.md + install -Dm444 -t $out/share/doc/aws-assume-role README.md ''; meta = with lib; { From d30c7b6d42f7959a81b19bcd43a4830a0bc97f79 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 11:03:08 +0000 Subject: [PATCH 16/56] reindeer: 2024.05.27.00 -> 2024.06.03.00 --- pkgs/development/tools/reindeer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/reindeer/default.nix b/pkgs/development/tools/reindeer/default.nix index 18d907ab65d2..ca5646b19de0 100644 --- a/pkgs/development/tools/reindeer/default.nix +++ b/pkgs/development/tools/reindeer/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "reindeer"; - version = "2024.05.27.00"; + version = "2024.06.03.00"; src = fetchFromGitHub { owner = "facebookincubator"; repo = "reindeer"; rev = "refs/tags/v${version}"; - hash = "sha256-yXHBcb4/IsT39x4J5baJ8JdgG+riJACr8DKpDdi6ARw="; + hash = "sha256-YAWGNF4WN8/RV3GYmxjyARNk4VzTXJEa42/gaK5B4CE="; }; - cargoHash = "sha256-ujyhlMmojBDev45ZHIzTiEj1Zed4chN4u676XJqJAcY="; + cargoHash = "sha256-VURortaBxd6hLdsPbjHvqrXsjwMjmq7Ke0wGfoLPq8w="; nativeBuildInputs = [ pkg-config ]; buildInputs = From 70ec754878074cb76ae3a9e5c70e1c939e86b289 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Jun 2024 18:20:02 +0000 Subject: [PATCH 17/56] ols: 0-unstable-2024-06-04 -> 0-unstable-2024-06-05 --- pkgs/by-name/ol/ols/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ol/ols/package.nix b/pkgs/by-name/ol/ols/package.nix index 86d9db36c06c..46e0dec0d111 100644 --- a/pkgs/by-name/ol/ols/package.nix +++ b/pkgs/by-name/ol/ols/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation { pname = "ols"; - version = "0-unstable-2024-06-04"; + version = "0-unstable-2024-06-05"; src = fetchFromGitHub { owner = "DanielGavin"; repo = "ols"; - rev = "5805fd0b688446eeb23528497972b9f934208f1a"; - hash = "sha256-zvojGIxMGawddWx5vnBQMTybz+jL9LXfaShbof7wwq0="; + rev = "c4996b10d88aed9a0028c92ea54c42e4e9aeb39f"; + hash = "sha256-PnajCKfk4XVR1FwG5ySzL/ibpwie+Xhr6MxHeXZiKmg="; }; postPatch = '' From e2c826473ef518eb675bd59c6f597c820acd932a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 9 Jun 2024 19:07:04 +0000 Subject: [PATCH 18/56] nile: 1.0.3-unstable-2024-05-25 -> 1.0.3-unstable-2024-06-08 --- pkgs/games/nile/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/nile/default.nix b/pkgs/games/nile/default.nix index a0dc32db8621..f52c1ecb1f1f 100644 --- a/pkgs/games/nile/default.nix +++ b/pkgs/games/nile/default.nix @@ -15,14 +15,14 @@ buildPythonApplication rec { pname = "nile"; - version = "1.0.3-unstable-2024-05-25"; + version = "1.0.3-unstable-2024-06-08"; format = "pyproject"; src = fetchFromGitHub { owner = "imLinguin"; repo = "nile"; - rev = "6e6968c37aef59772248de8602374b4831202854"; - hash = "sha256-0UHXF9It/JjHMfBzQM5GRn4FU9rNrh3EM90M8Ki/fTE="; + rev = "fcf57a69d6f322e389a8c21b77215a488fa81132"; + hash = "sha256-zRuWJ0ziKxxOpGyR2IB8LncIFveIyz5PWYXhEHhQEM8="; }; disabled = pythonOlder "3.8"; From ec9239b78b728e4adad396edf7d7cc586e4bc813 Mon Sep 17 00:00:00 2001 From: Wanja Sipinski Date: Mon, 10 Jun 2024 14:52:27 +0200 Subject: [PATCH 19/56] infracost: 0.10.33 -> 0.10.37 removed additional tests which require networking and/or an API key --- pkgs/tools/misc/infracost/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/infracost/default.nix b/pkgs/tools/misc/infracost/default.nix index 51316f969ec1..16b0f64a2207 100644 --- a/pkgs/tools/misc/infracost/default.nix +++ b/pkgs/tools/misc/infracost/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "infracost"; - version = "0.10.33"; + version = "0.10.37"; src = fetchFromGitHub { owner = "infracost"; rev = "v${version}"; repo = "infracost"; - sha256 = "sha256-zIAf6lD9XFmrAgvVmIY+tXLn4FmkkdimjVCWasK7OCc="; + sha256 = "sha256-WcX/H0zGXbkf5mM5Xq07UuQixUCCUXRPmBVrf3V4TEM="; }; - vendorHash = "sha256-ji9TpUcq0aUAn5vV5dnaC15i0Uli2Qsz/BrOKB3/Rl4="; + vendorHash = "sha256-bLSj4/+7h0uHdR956VL4iLqRddKV5Ac+FIL1zJxPCW8="; ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ]; @@ -25,7 +25,8 @@ buildGoModule rec { unset subPackages # remove tests that require networking - rm cmd/infracost/{breakdown,diff,hcl,run}_test.go + rm cmd/infracost/{breakdown,comment,diff,hcl,run,upload}_test.go + rm cmd/infracost/comment_{azure_repos,bitbucket,github,gitlab}_test.go ''; checkFlags = [ From 11c487fdc5b39380864b7be456722dd8ea76e991 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 10 Jun 2024 15:39:48 +0000 Subject: [PATCH 20/56] containerlab: 0.54.2 -> 0.55.0 --- pkgs/tools/networking/containerlab/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/containerlab/default.nix b/pkgs/tools/networking/containerlab/default.nix index 9cf57276a2ea..aeaa2d044cb6 100644 --- a/pkgs/tools/networking/containerlab/default.nix +++ b/pkgs/tools/networking/containerlab/default.nix @@ -6,18 +6,18 @@ buildGoModule rec { pname = "containerlab"; - version = "0.54.2"; + version = "0.55.0"; src = fetchFromGitHub { owner = "srl-labs"; repo = "containerlab"; rev = "v${version}"; - hash = "sha256-XRFSfMe08w69oudCDGfnJxROA7ycZEMNbAWP6zJKTN0="; + hash = "sha256-g+42nvNR1sWrkeU/oOajtmqeDVjRiwp7i+hrZU+FE00="; }; nativeBuildInputs = [ installShellFiles ]; - vendorHash = "sha256-+buFaaUb4wCrlIBG+SwPXp/PqU/qvdfHTpEH4OrXsUs="; + vendorHash = "sha256-D0nZhw1YY+Ci7g6wTiUoPp8EoKcL0YIfWHsjDlLR/K8="; ldflags = [ "-s" From e9666f6a96f2fcca5469abd62260bc2c11b2b122 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 10 Jun 2024 16:40:31 +0000 Subject: [PATCH 21/56] ssh-to-pgp: 1.1.2 -> 1.1.3 --- pkgs/tools/security/ssh-to-pgp/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/ssh-to-pgp/default.nix b/pkgs/tools/security/ssh-to-pgp/default.nix index 15067063d328..c2cc76ef74b7 100644 --- a/pkgs/tools/security/ssh-to-pgp/default.nix +++ b/pkgs/tools/security/ssh-to-pgp/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "ssh-to-pgp"; - version = "1.1.2"; + version = "1.1.3"; src = fetchFromGitHub { owner = "Mic92"; repo = "ssh-to-pgp"; rev = version; - sha256 = "sha256-SoHKBuI3ROfWTI45rFdMNkHVYHa5nX1A0/ljgGpF8NY="; + sha256 = "sha256-EynI4YQ6yjhMIOSoMM7WgLwI//5moFgdhFLX82J+bSA="; }; - vendorHash = "sha256-sHvb6jRSMXIUv1D0dbTJWmETCaFr9BquNmcc8J06m/o="; + vendorHash = "sha256-ww1CDDGo2r8h0ePvU8PS2owzE1vLTz2m7Z9thsQle7s="; nativeCheckInputs = [ gnupg ]; checkPhase = '' From f75a8be082e7e468d84c7005b9913a21db4ef44b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 10 Jun 2024 17:15:35 +0000 Subject: [PATCH 22/56] seaweedfs: 3.67 -> 3.68 --- pkgs/applications/networking/seaweedfs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/seaweedfs/default.nix b/pkgs/applications/networking/seaweedfs/default.nix index 9dbff1221a5e..3913c98fea88 100644 --- a/pkgs/applications/networking/seaweedfs/default.nix +++ b/pkgs/applications/networking/seaweedfs/default.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "seaweedfs"; - version = "3.67"; + version = "3.68"; src = fetchFromGitHub { owner = "seaweedfs"; repo = "seaweedfs"; rev = version; - hash = "sha256-5XR0dT72t6Kn/io1knA8xol5nGnmaBF+izmFZVf3OGE="; + hash = "sha256-ncA6YXa/focfmPMdEQWbeUxrLhwCqQiPqjP0SovLB2c="; }; - vendorHash = "sha256-GBbbru7yWfwzVmRO1tuqE60kD8UJudX0rei7I02SYzw="; + vendorHash = "sha256-YgrDzfcp1Lh8bOI1FF7bTBquaShhgE9nZ/+7mvFiQCc="; subPackages = [ "weed" ]; From a269b980e929a1b39fa2f26428cb78a3dc78090d Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 10 Jun 2024 19:17:21 +0200 Subject: [PATCH 23/56] chromium: don't use pkgsBuildTarget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm pretty sure this was a mistake — in Nixpkgs the target platform is the platform that the program being built should output executables for — i.e., it's only relevant for a compiler, which Chromium is not. Tested that cross-compilation of Electron still works. --- pkgs/applications/networking/browsers/chromium/common.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index e7597249acdb..cfec6dab281d 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -3,7 +3,6 @@ , buildPackages , buildPlatform , pkgsBuildBuild -, pkgsBuildTarget # Channel data: , channel, upstream-info # Helper functions: @@ -382,8 +381,8 @@ let llvmCcAndBintools = symlinkJoin { name = "llvmCcAndBintools"; paths = [ - pkgsBuildTarget.${llvmPackages_attrName}.llvm - pkgsBuildTarget.${llvmPackages_attrName}.stdenv.cc + buildPackages.${llvmPackages_attrName}.llvm + buildPackages.${llvmPackages_attrName}.stdenv.cc ]; }; From a71762621bb17c2c19a31fa50926c78007907d76 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 10 Jun 2024 00:08:48 +0100 Subject: [PATCH 24/56] electron: fix build Just like with Firefox, we need to make sure there's only a single version of LLVM involved in building Chromium, or we get errors like this: ld.lld: error: Invalid record (Producer: 'LLVM18.1.7' Reader: 'LLVM 17.0.6') Fixes: 23d4f834536b ("cargo,clippy,rustc,rustfmt: 1.77.2 -> 1.78.0") --- .../applications/networking/browsers/chromium/common.nix | 9 ++++----- .../networking/browsers/chromium/default.nix | 8 ++------ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index cfec6dab281d..a7955b7e61f2 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -12,7 +12,6 @@ , ninja, pkg-config , python3, perl , which -, llvmPackages_attrName , libuuid , overrideCC # postPatch: @@ -131,7 +130,7 @@ let # https://github.com/NixOS/nixpkgs/issues/142901 buildPlatformLlvmStdenv = let - llvmPackages = pkgsBuildBuild.${llvmPackages_attrName}; + llvmPackages = pkgsBuildBuild.rustc.llvmPackages; in overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { @@ -164,7 +163,7 @@ let ninja pkg-config python3WithPackages perl which - buildPackages.${llvmPackages_attrName}.bintools + buildPackages.rustc.llvmPackages.bintools bison gperf ]; @@ -381,8 +380,8 @@ let llvmCcAndBintools = symlinkJoin { name = "llvmCcAndBintools"; paths = [ - buildPackages.${llvmPackages_attrName}.llvm - buildPackages.${llvmPackages_attrName}.stdenv.cc + buildPackages.rustc.llvmPackages.llvm + buildPackages.rustc.llvmPackages.stdenv.cc ]; }; diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index afd25b972d78..317cb7de1011 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -24,11 +24,7 @@ }: let - # Sometimes we access `llvmPackages` via `pkgs`, and other times - # via `pkgsFooBar`, so a string (attrname) is the only way to have - # a single point of control over the LLVM version used. - llvmPackages_attrName = "llvmPackages_17"; - stdenv = pkgs.${llvmPackages_attrName}.stdenv; + stdenv = pkgs.rustc.llvmPackages.stdenv; # Helper functions for changes that depend on specific versions: warnObsoleteVersionConditional = min-version: result: @@ -48,7 +44,7 @@ let callPackage = newScope chromium; chromium = rec { - inherit stdenv llvmPackages_attrName upstream-info; + inherit stdenv upstream-info; mkChromiumDerivation = callPackage ./common.nix ({ inherit channel chromiumVersionAtLeast versionRange; From 5c922605bb3faae9405ea6f6824b7f3efc845d05 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Mon, 10 Jun 2024 19:52:03 +0200 Subject: [PATCH 25/56] nixos/scrutiny: Default collector API url to configured host + port --- nixos/modules/services/monitoring/scrutiny.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/monitoring/scrutiny.nix b/nixos/modules/services/monitoring/scrutiny.nix index 031f5a30cada..c649d333e401 100644 --- a/nixos/modules/services/monitoring/scrutiny.nix +++ b/nixos/modules/services/monitoring/scrutiny.nix @@ -140,8 +140,8 @@ in options.api.endpoint = mkOption { type = str; - default = "http://localhost:${toString cfg.settings.web.listen.port}"; - defaultText = literalExpression ''"http://localhost:''${config.services.scrutiny.settings.web.listen.port}"''; + default = "http://${cfg.settings.web.listen.host}:${toString cfg.settings.web.listen.port}"; + defaultText = literalExpression ''"http://''${config.services.scrutiny.settings.web.listen.host}:''${config.services.scrutiny.settings.web.listen.port}"''; description = "Scrutiny app API endpoint for sending metrics to."; }; From d57b7c38d003ab5286c71f33d3ad8722f0a1ccd1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 10 Jun 2024 20:48:19 +0200 Subject: [PATCH 26/56] python312Packages.incomfort-client: 0.5.0 -> 0.6.1 Diff: https://github.com/zxdavb/incomfort-client/compare/refs/tags/v0.5.0...v0.6.1 Changelog: https://github.com/jbouwh/incomfort-client/releases/tag/v0.6.1 --- .../python-modules/incomfort-client/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/incomfort-client/default.nix b/pkgs/development/python-modules/incomfort-client/default.nix index d0db1936ba06..e208e47479be 100644 --- a/pkgs/development/python-modules/incomfort-client/default.nix +++ b/pkgs/development/python-modules/incomfort-client/default.nix @@ -7,29 +7,31 @@ pytest-asyncio, pytestCheckHook, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "incomfort-client"; - version = "0.5.0"; - format = "setuptools"; + version = "0.6.1"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "zxdavb"; - repo = pname; - rev = "refs/tags/${version}"; + repo = "incomfort-client"; + rev = "refs/tags/v${version}"; hash = "sha256-kdPue3IfF85O+0dgvX+dN6S4WoQmjxdCfwfv83SnO8E="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; - nativeCheckInputs = [ pytestCheckHook ]; + dependencies = [ aiohttp ]; - checkInputs = [ + nativeCheckInputs = [ aioresponses pytest-asyncio + pytestCheckHook ]; pythonImportsCheck = [ "incomfortclient" ]; @@ -37,6 +39,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to poll Intergas boilers via a Lan2RF gateway"; homepage = "https://github.com/zxdavb/incomfort-client"; + changelog = "https://github.com/jbouwh/incomfort-client/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From ab57ae6ebd33cbd0c50b40aba1fcede4c8bbe94e Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:19:23 +0200 Subject: [PATCH 27/56] ogre: 14.2.5 -> 14.2.6 --- pkgs/development/libraries/ogre/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ogre/default.nix b/pkgs/development/libraries/ogre/default.nix index fa0535ef8e9a..93db5470b0f7 100644 --- a/pkgs/development/libraries/ogre/default.nix +++ b/pkgs/development/libraries/ogre/default.nix @@ -112,8 +112,8 @@ let in { ogre_14 = common { - version = "14.2.5"; - hash = "sha256-FldHoMU8akRF6/vjwley9nJOTioE5nQXnTdQqyNlI2M="; + version = "14.2.6"; + hash = "sha256-kxvrRigSe6sPa3lAH+6zKTY4YEU9javlKHK8Zf6jxZE="; # https://github.com/OGRECave/ogre/blob/v14.2.5/Components/Overlay/CMakeLists.txt imguiVersion = "1.90.4"; imguiHash = "sha256-7+Ay7H97tIO6CUsEyaQv4i9q2FCw98eQUq/KYZyfTAw="; From dfa880f77f7d1bffbd42ecd25ae45c331b61ed73 Mon Sep 17 00:00:00 2001 From: Leah Amelia Chen Date: Tue, 2 Jan 2024 18:15:23 +0100 Subject: [PATCH 28/56] catppuccin-fcitx5: init at 2022-10-05 --- pkgs/by-name/ca/catppuccin-fcitx5/package.nix | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/ca/catppuccin-fcitx5/package.nix diff --git a/pkgs/by-name/ca/catppuccin-fcitx5/package.nix b/pkgs/by-name/ca/catppuccin-fcitx5/package.nix new file mode 100644 index 000000000000..879b14960b2a --- /dev/null +++ b/pkgs/by-name/ca/catppuccin-fcitx5/package.nix @@ -0,0 +1,31 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: +stdenvNoCC.mkDerivation { + pname = "catppuccin-fcitx5"; + version = "0-unstable-2022-10-05"; + + src = fetchFromGitHub { + owner = "catppuccin"; + repo = "fcitx5"; + rev = "ce244cfdf43a648d984719fdfd1d60aab09f5c97"; + hash = "sha256-uFaCbyrEjv4oiKUzLVFzw+UY54/h7wh2cntqeyYwGps="; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/fcitx5 + cp -r src $out/share/fcitx5/themes + runHook postInstall + ''; + + meta = { + description = "Soothing pastel theme for Fcitx5"; + homepage = "https://github.com/catppuccin/fcitx5"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ pluiedev ]; + platforms = lib.platforms.all; + }; +} From 2a461c2d93005bcb5e6fd0e45e574edec09c1e14 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Tue, 11 Jun 2024 00:06:38 +0200 Subject: [PATCH 29/56] haskell.packages.*.yesod-csp: unbreak builds fine since 2.6.0 --- .../haskell-modules/configuration-hackage2nix/broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index fe1e0b579ba3..7e743d3eacdf 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -6732,7 +6732,6 @@ broken-packages: - yesod-content-pdf # failure in job https://hydra.nixos.org/build/233210723 at 2023-09-02 - yesod-crud # failure in job https://hydra.nixos.org/build/233218383 at 2023-09-02 - yesod-crud-persist # failure in job https://hydra.nixos.org/build/233245131 at 2023-09-02 - - yesod-csp # failure in job https://hydra.nixos.org/build/233207134 at 2023-09-02 - yesod-datatables # failure in job https://hydra.nixos.org/build/233197763 at 2023-09-02 - yesod-dsl # failure in job https://hydra.nixos.org/build/233210879 at 2023-09-02 - yesod-fast-devel # failure in job https://hydra.nixos.org/build/233209381 at 2023-09-02 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 23f3c5c2b433..0a1efccb62a4 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -336489,7 +336489,6 @@ self: { description = "Add CSP headers to Yesod apps"; license = lib.licenses.mit; hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "yesod-datatables" = callPackage From ed94c1b7c24bc1c0426e57e3f29d0dc4be26543f Mon Sep 17 00:00:00 2001 From: jzbor Date: Tue, 11 Jun 2024 00:09:04 +0200 Subject: [PATCH 30/56] kermit-terminal: 3.8 -> 4.0 --- pkgs/by-name/ke/kermit-terminal/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ke/kermit-terminal/package.nix b/pkgs/by-name/ke/kermit-terminal/package.nix index a0c0008917a4..542d0c2746ec 100644 --- a/pkgs/by-name/ke/kermit-terminal/package.nix +++ b/pkgs/by-name/ke/kermit-terminal/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "kermit"; - version = "3.8"; + version = "4.0"; src = fetchFromGitHub { owner = "orhun"; repo = "kermit"; rev = finalAttrs.version; - hash = "sha256-XPHF33Nu+H8OcQFwsuUOhDBDWKm8sh5B36sfROeSWPg="; + hash = "sha256-rhlUnRfyd7PmtMSyP+tiu+TxZNb/YyS0Yc5IkWft7/4="; }; outputs = [ "out" "man" ]; From 38108805dac5a49526bc06032984482e5f38c81e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Jun 2024 02:57:19 +0000 Subject: [PATCH 31/56] xscreensaver: 6.08 -> 6.09 --- pkgs/by-name/xs/xscreensaver/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/xs/xscreensaver/package.nix b/pkgs/by-name/xs/xscreensaver/package.nix index 80f78e505210..3820409511e1 100644 --- a/pkgs/by-name/xs/xscreensaver/package.nix +++ b/pkgs/by-name/xs/xscreensaver/package.nix @@ -34,11 +34,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "xscreensaver"; - version = "6.08"; + version = "6.09"; src = fetchurl { url = "https://www.jwz.org/xscreensaver/xscreensaver-${finalAttrs.version}.tar.gz"; - hash = "sha256-XPUrpSXO7PlLLyvWNIXr3zGOEvzA8q2tfUwQbYVedqM="; + hash = "sha256-9GZ3Ba24zEP9LzlzqIobVLFvIBkK/pOyHiIfL1cyCwU="; }; outputs = [ "out" "man" ]; From a1545af0075cff12ed03453df998e055ed3974ef Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Jun 2024 04:18:48 +0000 Subject: [PATCH 32/56] kittysay: 0.6.0 -> 0.8.0 --- pkgs/by-name/ki/kittysay/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ki/kittysay/package.nix b/pkgs/by-name/ki/kittysay/package.nix index df36247ead0e..35f9dc99de5f 100644 --- a/pkgs/by-name/ki/kittysay/package.nix +++ b/pkgs/by-name/ki/kittysay/package.nix @@ -3,7 +3,7 @@ rustPlatform, fetchFromGitHub, }: let - version = "0.6.0"; + version = "0.8.0"; in rustPlatform.buildRustPackage { pname = "kittysay"; @@ -13,10 +13,10 @@ in owner = "uncenter"; repo = "kittysay"; rev = "v${version}"; - sha256 = "sha256-dJpbRPrpilaOFVPjAESk4DyZtH/hJm16p6pMRqrzOk4="; + sha256 = "sha256-ZYHrDBJ8cTqJAh2KUGSCsS1bY/emHRodPxZX2vxAhDs="; }; - cargoHash = "sha256-r1xdMczqVyX7ZPjkyDdgVW3BFOeKOw1Dp6mGHb2XzrM="; + cargoHash = "sha256-F0WAtpAjBwL5YfzGtPgn7WTL6lgx3bjZFBQdDpjCr3I="; meta = { description = "Cowsay, but with a cute kitty :3"; From 51194634adb83c0f03a2b86bd8bd4188377b6ac6 Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Tue, 11 Jun 2024 06:11:11 +0200 Subject: [PATCH 33/56] aws-env: drop This package is very unmaintained upstream. --- pkgs/tools/admin/aws-env/default.nix | 26 -------------------------- pkgs/tools/admin/aws-env/deps.nix | 12 ------------ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 4 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 pkgs/tools/admin/aws-env/default.nix delete mode 100644 pkgs/tools/admin/aws-env/deps.nix diff --git a/pkgs/tools/admin/aws-env/default.nix b/pkgs/tools/admin/aws-env/default.nix deleted file mode 100644 index c16d8374c9b0..000000000000 --- a/pkgs/tools/admin/aws-env/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ buildGoPackage, fetchFromGitHub, lib }: - -buildGoPackage rec { - pname = "aws-env"; - version = "0.5"; - rev = "v${version}"; - - goPackagePath = "github.com/Droplr/aws-env"; - - src = fetchFromGitHub { - owner = "Droplr"; - repo = pname; - inherit rev; - sha256 = "sha256-dzXgQW5noWT7u276tlwhvgvu2J8VYrOdW9vidZ3W3t0="; - }; - - goDeps = ./deps.nix; - - meta = with lib; { - description = "Secure way to handle environment variables in Docker and envfile with AWS Parameter Store"; - homepage = "https://github.com/Droplr/aws-env"; - license = licenses.mit; - maintainers = with maintainers; [ srhb ]; - mainProgram = "aws-env"; - }; -} diff --git a/pkgs/tools/admin/aws-env/deps.nix b/pkgs/tools/admin/aws-env/deps.nix deleted file mode 100644 index 891a6ecb5962..000000000000 --- a/pkgs/tools/admin/aws-env/deps.nix +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 -[ - { - goPackagePath = "github.com/aws/aws-sdk-go"; - fetch = { - type = "git"; - url = "https://github.com/aws/aws-sdk-go"; - rev = "5f03c87445c9dcd6aa831a76a77170919265aa97"; - sha256 = "146rwinw2x4r0f2pixv62b7mmhvnnfvvjmfaj6dqjxrhp0imcxdi"; - }; - } -] diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 104b13076b4c..afb36021bb9b 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -98,6 +98,7 @@ mapAliases ({ authy = throw "'authy' has been removed since it reached end of life"; # Added 2024-04-19 avldrums-lv2 = x42-avldrums; # Added 2020-03-29 awesome-4-0 = awesome; # Added 2022-05-05 + aws-env = throw "aws-env has been removed as the upstream project was unmaintained"; # Added 2024-06-11 ### B ### diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 67c3c0e2bf76..101bbf49a368 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3316,8 +3316,6 @@ with pkgs; aws-lambda-rie = callPackage ../tools/admin/aws-lambda-runtime-interface-emulator { }; - aws-env = callPackage ../tools/admin/aws-env { }; - aws-google-auth = python3Packages.callPackage ../tools/admin/aws-google-auth { }; aws-mfa = python3Packages.callPackage ../tools/admin/aws-mfa { }; From 2d6944161d9a45535d4751aa0e931d9acaefa666 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 11 Jun 2024 06:40:10 +0100 Subject: [PATCH 34/56] btrfs-progs: drop upstreamed patch Without the change `btrfs-progs` fails to build after `6.9` update on `staging-next` as: > Skipping patch. > 2 out of 2 hunks ignored -- saving rejects to file convert/source-ext2.c.rej The patch was already included in this release. Dropping. --- pkgs/tools/filesystems/btrfs-progs/default.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 4d416dbb0886..df328c942a1e 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, fetchpatch +{ lib, stdenv, fetchurl , buildPackages , pkg-config , zstd @@ -17,14 +17,6 @@ stdenv.mkDerivation rec { hash = "sha256-fhSl1ZfzI919G0U+Ok5mGn6fB+oGDvv/T3b/gxWRfeg="; }; - patches = [ - # backport fix build with e2fsprogs 1.47.1 - (fetchpatch { - url = "https://github.com/kdave/btrfs-progs/commit/bcb887a4de2c56426a7a7de8d440b6ad75579f10.patch"; - hash = "sha256-Ir5EiiU0E8GBnGex0Q/WTNexW9XTWFNceiLQvXygIoo="; - }) - ]; - nativeBuildInputs = [ pkg-config ] ++ [ From 6cfdf142df3be04e110709af9ae2a3931088e612 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 11 Jun 2024 07:47:14 +0200 Subject: [PATCH 35/56] python312Packages.yfinance: 0.2.38 -> 0.2.40 Changelog: https://github.com/ranaroussi/yfinance/blob/0.2.40/CHANGELOG.rst --- .../python-modules/yfinance/default.nix | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/yfinance/default.nix b/pkgs/development/python-modules/yfinance/default.nix index bc270fbb8e65..eb454cd9a4dc 100644 --- a/pkgs/development/python-modules/yfinance/default.nix +++ b/pkgs/development/python-modules/yfinance/default.nix @@ -1,6 +1,5 @@ { lib, - appdirs, beautifulsoup4, buildPythonPackage, cryptography, @@ -12,14 +11,19 @@ numpy, pandas, peewee, + platformdirs, pythonOlder, + pytz, + requests-cache, + requests-ratelimiter, requests, + scipy, setuptools, }: buildPythonPackage rec { pname = "yfinance"; - version = "0.2.38"; + version = "0.2.40"; pyproject = true; disabled = pythonOlder "3.7"; @@ -28,13 +32,12 @@ buildPythonPackage rec { owner = "ranaroussi"; repo = "yfinance"; rev = "refs/tags/${version}"; - hash = "sha256-ZGwtu2vLcE9pM73umhnFwSzjQnGjTOTtVF607ox7I6E="; + hash = "sha256-y3vcgPhksW8g0WpqVgJej7s+aIj9zaAjBjSm8d7yrjs="; }; build-system = [ setuptools ]; dependencies = [ - appdirs beautifulsoup4 cryptography frozendict @@ -44,9 +47,21 @@ buildPythonPackage rec { numpy pandas peewee + platformdirs + pytz requests ]; + passthru.optional-dependencies = { + nospam = [ + requests-cache + requests-ratelimiter + ]; + repair = [ + scipy + ]; + }; + # Tests require internet access doCheck = false; From 9ec35ed3c1bb668b84c8802d5731058fb79c0b8e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 11 Jun 2024 07:52:11 +0200 Subject: [PATCH 36/56] python312Packages.routeros-api: 0.17.0 -> 0.18.1 Diff: socialwifi/RouterOS-api@0.17.0...0.18.1 Changelog: https://github.com/socialwifi/RouterOS-api/blob/0.18.1/CHANGELOG.md --- .../python-modules/routeros-api/default.nix | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/routeros-api/default.nix b/pkgs/development/python-modules/routeros-api/default.nix index 1f5812b44c1a..2d6208ce27b1 100644 --- a/pkgs/development/python-modules/routeros-api/default.nix +++ b/pkgs/development/python-modules/routeros-api/default.nix @@ -2,36 +2,40 @@ lib, buildPythonPackage, fetchFromGitHub, - six, + pythonOlder, mock, + setuptools, tox, }: buildPythonPackage rec { pname = "routeros-api"; - version = "0.17.0"; - format = "setuptools"; + version = "0.18.1"; + pyproject = true; + + disabled = pythonOlder "3.9"; - # N.B. The version published on PyPI is missing tests. src = fetchFromGitHub { owner = "socialwifi"; - repo = pname; - rev = version; - sha256 = "wpIfeYZ1w/yoNCHLYFVjn0O4Rb+N5lfvYzhGuN+HDTA="; + repo = "routeros-api"; + rev = "refs/tags/${version}"; + hash = "sha256-6IpoByG3YhHh2dPS18ufaoI1vzTZBsZa9WNHS/fImrg="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ mock tox ]; - propagatedBuildInputs = [ six ]; + pythonImportsCheck = [ "routeros_api" ]; meta = with lib; { - description = "Python API to RouterBoard devices produced by MikroTik."; + description = "Python API to RouterBoard devices produced by MikroTik"; homepage = "https://github.com/socialwifi/RouterOS-api"; + changelog = "https://github.com/socialwifi/RouterOS-api/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ quentin ]; - platforms = platforms.all; }; } From cbf8486ad3e7f023bebf8b52c9a11af63eb0614d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 10 Jun 2024 12:23:27 +0200 Subject: [PATCH 37/56] open-webui: 0.2.5 -> 0.3.2 diff: https://github.com/open-webui/open-webui/compare/v0.2.5..v0.3.2 changelog: https://github.com/open-webui/open-webui/releases/tag/v0.3.2 I also added a new dependency `extract-msg` because of https://github.com/open-webui/open-webui/commit/f69bc57fed98b4c573836e2a31c354173fc08108 I also removed stuff from `pythonRemoveDeps` since they are now available: - https://github.com/NixOS/nixpkgs/pull/317142 - https://github.com/NixOS/nixpkgs/pull/317151 --- pkgs/by-name/op/open-webui/package.nix | 87 +++++++++++++------------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index a1d4e4cafc66..7f00dfbcb47c 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -7,19 +7,19 @@ }: let pname = "open-webui"; - version = "0.2.5"; + version = "0.3.2"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; rev = "v${version}"; - hash = "sha256-BqclBrkFmTUJZuUySyNsQFlfdyENaIhqjn50797zJHY="; + hash = "sha256-hUm4UUQUFoDRrAg+RqIo735iQs8304OUJlT91vILmXo="; }; frontend = buildNpmPackage { inherit pname version src; - npmDepsHash = "sha256-drMUcCUeyPEnaa1fSsfHJfInenyfH7NNJgBFeRsfOuE="; + npmDepsHash = "sha256-VdGneemYLMuMczjQB6I35Ry2kyIuAe2IaeDus/NvzK8="; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work. @@ -55,64 +55,63 @@ python3.pkgs.buildPythonApplication rec { pythonRelaxDeps = true; pythonRemoveDeps = [ - # using `psycopg2` instead - "psycopg2-binary" # using `opencv4` "opencv-python-headless" + # using `psycopg2` instead + "psycopg2-binary" # package request: https://github.com/NixOS/nixpkgs/issues/317065 "rapidocr-onnxruntime" - # package request: https://github.com/NixOS/nixpkgs/issues/317066 - "langfuse" - # package request: https://github.com/NixOS/nixpkgs/issues/317068 - "langchain-chroma" ]; dependencies = with python3.pkgs; [ + aiohttp + apscheduler + argon2-cffi + bcrypt beautifulsoup4 + black + boto3 + chromadb + docx2txt + extract-msg + fake-useragent fastapi - uvicorn - python-multipart + faster-whisper flask flask-cors - python-socketio - python-jose + fpdf2 + google-generativeai + langchain + langchain-chroma + langchain-community + langfuse + litellm + markdown + opencv4 + openpyxl + pandas passlib - requests - aiohttp peewee peewee-migrate psycopg2 - pymysql - bcrypt - litellm - boto3 - argon2-cffi - apscheduler - google-generativeai - langchain - langchain-community - fake-useragent - chromadb - sentence-transformers - pypdf - docx2txt - python-pptx - unstructured - markdown - pypandoc - pandas - openpyxl - pyxlsb - xlrd - validators - opencv4 - fpdf2 - rank-bm25 - faster-whisper pyjwt - black - youtube-transcript-api + pymysql + pypandoc + pypdf + python-jose + python-multipart + python-pptx + python-socketio pytube + pyxlsb + rank-bm25 + requests + sentence-transformers + unstructured + uvicorn + validators + xlrd + youtube-transcript-api ]; build-system = with python3.pkgs; [ From 23930cb86701bc673fb6c8615a5c9a4fc19ab87e Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Sun, 9 Jun 2024 18:40:52 +0200 Subject: [PATCH 38/56] containerpilot: remove Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --- .../cluster/containerpilot/default.nix | 25 --- .../cluster/containerpilot/deps.nix | 173 ------------------ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 4 files changed, 1 insertion(+), 200 deletions(-) delete mode 100644 pkgs/applications/networking/cluster/containerpilot/default.nix delete mode 100644 pkgs/applications/networking/cluster/containerpilot/deps.nix diff --git a/pkgs/applications/networking/cluster/containerpilot/default.nix b/pkgs/applications/networking/cluster/containerpilot/default.nix deleted file mode 100644 index eab6288dc65d..000000000000 --- a/pkgs/applications/networking/cluster/containerpilot/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoPackage, fetchFromGitHub }: - -buildGoPackage rec { - version = "3.9.0pre"; - pname = "containerpilot"; - - src = fetchFromGitHub { - owner = "joyent"; - repo = pname; - rev = "d999b632b0c96d9e27f092dc9f81a9d82dfe0106"; - sha256 = "0wsc8canr1c9wzr1lv40yixj9l10c66i6d14yrljsyagl2z02v4n"; - }; - - goPackagePath = "github.com/joyent/${pname}"; - goDeps = ./deps.nix; - - meta = with lib; { - homepage = "https://www.joyent.com/containerpilot"; - description = "Application centric micro-orchestrator"; - mainProgram = "containerpilot"; - platforms = platforms.unix; - license = licenses.mpl20; - maintainers = with maintainers; [ cpcloud ]; - }; -} diff --git a/pkgs/applications/networking/cluster/containerpilot/deps.nix b/pkgs/applications/networking/cluster/containerpilot/deps.nix deleted file mode 100644 index 9df154389cbc..000000000000 --- a/pkgs/applications/networking/cluster/containerpilot/deps.nix +++ /dev/null @@ -1,173 +0,0 @@ -# file generated from go.mod using vgo2nix (https://github.com/nix-community/vgo2nix) -[ - { - goPackagePath = "github.com/beorn7/perks"; - fetch = { - type = "git"; - url = "https://github.com/beorn7/perks"; - rev = "4c0e84591b9a"; - sha256 = "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/client9/reopen"; - fetch = { - type = "git"; - url = "https://github.com/client9/reopen"; - rev = "1a6ccbeaae3f"; - sha256 = "0iarv0sn9hb26sr75bwilz3m86kcfad4m5klmzixbd4yw1ipnffa"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/flynn/json5"; - fetch = { - type = "git"; - url = "https://github.com/flynn/json5"; - rev = "7620272ed633"; - sha256 = "1l3rqfis8b72mqwm88lx78d0mbdihyamj8cgg2pa5vfbq49cpydf"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/golang/protobuf"; - fetch = { - type = "git"; - url = "https://github.com/golang/protobuf"; - rev = "6a1fa9404c0a"; - sha256 = "0dsd6vlfdyarn3v822x9p2s94gfi5lhvqc2vm3bqmqjgcik3c51z"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/hashicorp/consul"; - fetch = { - type = "git"; - url = "https://github.com/hashicorp/consul"; - rev = "v1.0.1-rc1"; - sha256 = "10xqi86n2h39q3qlkxfhnrqwm1bgijs5n2kryaq9yalv5p3qxczg"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/hashicorp/go-cleanhttp"; - fetch = { - type = "git"; - url = "https://github.com/hashicorp/go-cleanhttp"; - rev = "3573b8b52aa7"; - sha256 = "1pbl6p7w5wp1c70x7fp94h4ynk2ajfa76rqin3d2hq1w2fcb7byr"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/hashicorp/go-rootcerts"; - fetch = { - type = "git"; - url = "https://github.com/hashicorp/go-rootcerts"; - rev = "6bb64b370b90"; - sha256 = "1a81fcm1i0ji2iva0dcimiichgwpbcb7lx0vyaks87zj5wf04qy9"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/hashicorp/serf"; - fetch = { - type = "git"; - url = "https://github.com/hashicorp/serf"; - rev = "91fd53b1d3e6"; - sha256 = "0p9mhv6w85cxxl95kvl3rk04yif6v5bhf5kxw8i1cphv5kddv7j9"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/matttproud/golang_protobuf_extensions"; - fetch = { - type = "git"; - url = "https://github.com/matttproud/golang_protobuf_extensions"; - rev = "v1.0.1"; - sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/mitchellh/go-homedir"; - fetch = { - type = "git"; - url = "https://github.com/mitchellh/go-homedir"; - rev = "b8bc1bf76747"; - sha256 = "13ry4lylalkh4g2vny9cxwvryslzyzwp9r92z0b10idhdq3wad1q"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/mitchellh/mapstructure"; - fetch = { - type = "git"; - url = "https://github.com/mitchellh/mapstructure"; - rev = "d2dd02622084"; - sha256 = "1idj9h0g9z3s21y2hivaf1dknxhpd7yy0kn6wk3311hlr7s543j5"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/prometheus/client_golang"; - fetch = { - type = "git"; - url = "https://github.com/prometheus/client_golang"; - rev = "v0.8.0"; - sha256 = "1xqny3147g12n4j03kxm8s9mvdbs3ln6i56c655mybrn9jjy48kd"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/prometheus/client_model"; - fetch = { - type = "git"; - url = "https://github.com/prometheus/client_model"; - rev = "6f3806018612"; - sha256 = "1413ibprinxhni51p0755dp57r9wvbw7xgj9nmdaxmhzlqhc86j4"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/prometheus/common"; - fetch = { - type = "git"; - url = "https://github.com/prometheus/common"; - rev = "0866df4b85a1"; - sha256 = "0zw4rxs6zh9vgxz5wwhjnwa6mgac8jh7mb63viircgh08r889chp"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/prometheus/procfs"; - fetch = { - type = "git"; - url = "https://github.com/prometheus/procfs"; - rev = "e645f4e5aaa8"; - sha256 = "18hwygbawbqilz7h8fl25xpbciwalkslb4igqn4cr9d8sqp7d3np"; - moduleDir = ""; - }; - } - { - goPackagePath = "github.com/sirupsen/logrus"; - fetch = { - type = "git"; - url = "https://github.com/sirupsen/logrus"; - rev = "v1.0.0"; - sha256 = "0kyvaa4m8w5wijjvrh0amd9bl3sci1vj4y9v9a97sx3rf7xww52l"; - moduleDir = ""; - }; - } - { - goPackagePath = "golang.org/x/sys"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/sys"; - rev = "94b76065f2d2"; - sha256 = "0lxd3gmkvza3mah5m8nncdsgd1y6r25vaz4wzdmrs3i1ikzknn93"; - moduleDir = ""; - }; - } -] diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 27ada3ceeafc..00ec088d4e9b 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -202,6 +202,7 @@ mapAliases ({ compton = throw "'compton' has been renamed to/replaced by 'picom'"; # Converted to throw 2023-09-10 concurrencykit = libck; # Added 2021-03 connmanPackages = throw "'connmanPackages' was removed and their subpackages/attributes were promoted to top level."; # Added 2023-10-08 + containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09 convoy = throw "'convoy' has been removed from nixpkgs, as it was archived upstream"; # Added 2023-12-27 crda = throw "'crda' has been removed from nixpkgs, as it is needed only for kernels before 4.16"; # Added 2024-02-06 cups-kyodialog3 = cups-kyodialog; # Added 2022-11-12 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1068f2ed4f21..92add8046720 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -525,8 +525,6 @@ with pkgs; containerlab = callPackage ../tools/networking/containerlab { }; - containerpilot = callPackage ../applications/networking/cluster/containerpilot { }; - coolercontrol = recurseIntoAttrs (callPackage ../applications/system/coolercontrol { }); confetty = callPackage ../applications/misc/confetty { }; From 942e30199856da87aedc7c6c825b837e9f6fd626 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 11 Jun 2024 08:54:22 +0200 Subject: [PATCH 39/56] open-webui: add missing `pydub` dependency --- pkgs/by-name/op/open-webui/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 7f00dfbcb47c..a4948115aa34 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -94,6 +94,7 @@ python3.pkgs.buildPythonApplication rec { peewee peewee-migrate psycopg2 + pydub pyjwt pymysql pypandoc From de7943c94280d85b918302757c48a4c908620791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 11 Jun 2024 09:25:08 +0200 Subject: [PATCH 40/56] tsmu: move to pkgs/by-name --- pkgs/{tools/filesystems => by-name/tm}/tmsu/deps.nix | 0 .../tmsu/default.nix => by-name/tm/tmsu/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 2 deletions(-) rename pkgs/{tools/filesystems => by-name/tm}/tmsu/deps.nix (100%) rename pkgs/{tools/filesystems/tmsu/default.nix => by-name/tm/tmsu/package.nix} (100%) diff --git a/pkgs/tools/filesystems/tmsu/deps.nix b/pkgs/by-name/tm/tmsu/deps.nix similarity index 100% rename from pkgs/tools/filesystems/tmsu/deps.nix rename to pkgs/by-name/tm/tmsu/deps.nix diff --git a/pkgs/tools/filesystems/tmsu/default.nix b/pkgs/by-name/tm/tmsu/package.nix similarity index 100% rename from pkgs/tools/filesystems/tmsu/default.nix rename to pkgs/by-name/tm/tmsu/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a1ebe974ef93..44f640d30b5a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13606,8 +13606,6 @@ with pkgs; pkgs = pkgs.__splicedPackages; }); - tmsu = callPackage ../tools/filesystems/tmsu { }; - tncattach = callPackage ../applications/radio/tncattach { }; to-html = callPackage ../tools/text/to-html { }; From d7fb6a3c961b20dde4ad8801db54baa683979769 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Tue, 11 Jun 2024 09:27:09 +0200 Subject: [PATCH 41/56] tmsu: migrate to buildGoModule --- pkgs/by-name/tm/tmsu/deps.nix | 39 ---------------------------- pkgs/by-name/tm/tmsu/package.nix | 44 +++++++++++++++++--------------- 2 files changed, 23 insertions(+), 60 deletions(-) delete mode 100644 pkgs/by-name/tm/tmsu/deps.nix diff --git a/pkgs/by-name/tm/tmsu/deps.nix b/pkgs/by-name/tm/tmsu/deps.nix deleted file mode 100644 index 7dee6324b672..000000000000 --- a/pkgs/by-name/tm/tmsu/deps.nix +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by https://github.com/kamilchm/go2nix v1.3.0 -[ - { - goPackagePath = "github.com/hanwen/go-fuse"; - fetch = { - type = "git"; - url = "https://github.com/hanwen/go-fuse"; - rev = "0f728ba15b38579efefc3dc47821882ca18ffea7"; - sha256 = "05ymw2pp58avf19wvi0cgdzqf3d88k1jdf6ldj4hmhbkm3waqf7l"; - }; - } - { - goPackagePath = "github.com/mattn/go-sqlite3"; - fetch = { - type = "git"; - url = "https://github.com/mattn/go-sqlite3"; - rev = "98a44bcf5949f178c8116fa30e62c9ac2ef65927"; - sha256 = "108rk74ringkkyx05zlq5khh32fsfi0przyzrpsr1r5j57xrhxj0"; - }; - } - { - goPackagePath = "golang.org/x/crypto"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/crypto"; - rev = "3c4aac89819a5fdc28d906456729d3423fd46969"; - sha256 = "16q9ay6bl28zrnb377p8lvrs2nd98h7i6y3yi8ccjwzg1czbfdsi"; - }; - } - { - goPackagePath = "golang.org/x/sys"; - fetch = { - type = "git"; - url = "https://go.googlesource.com/sys"; - rev = "1957bb5e6d1f523308b49060df02171d06ddfc77"; - sha256 = "0imqk4l9785rw7ddvywyf8zn7k3ga6f17ky8rmf8wrri7nknr03f"; - }; - } -] diff --git a/pkgs/by-name/tm/tmsu/package.nix b/pkgs/by-name/tm/tmsu/package.nix index 93fcbfd57b3e..9434f433a2c7 100644 --- a/pkgs/by-name/tm/tmsu/package.nix +++ b/pkgs/by-name/tm/tmsu/package.nix @@ -1,42 +1,44 @@ -{ lib, buildGoPackage, fetchFromGitHub, installShellFiles }: +{ + lib, + buildGoModule, + fetchFromGitHub, + installShellFiles, +}: -buildGoPackage rec { +buildGoModule { pname = "tmsu"; - version = "0.7.5"; - goPackagePath = "github.com/oniony/TMSU"; + version = "0.7.5-unstable-2024-06-08"; src = fetchFromGitHub { owner = "oniony"; repo = "tmsu"; - rev = "v${version}"; - sha256 = "0834hah7p6ad81w60ifnxyh9zn09ddfgrll04kwjxwp7ypbv38wq"; + rev = "0bf4b8031cbeffc0347007d85647062953e90571"; + sha256 = "sha256-5Rmelgiqs7YkdDBZNXZW4sBf0l/bwiq0xxB2tWpm1s8="; }; - goDeps = ./deps.nix; + vendorHash = "sha256-r2wzVkPTsxWdVPFLO84tJgl3VJonoU7kNKLOBgHHdF8="; nativeBuildInputs = [ installShellFiles ]; - preBuild = '' - mv go/src/${goPackagePath} src - mv src/src/${goPackagePath} go/src/${goPackagePath} - export GOPATH=$PWD:$GOPATH - ''; - postInstall = '' # can't do "mv TMSU tmsu" on case-insensitive filesystems mv $out/bin/{TMSU,tmsu.tmp} mv $out/bin/{tmsu.tmp,tmsu} - cp src/misc/bin/* $out/bin/ - installManPage src/misc/man/tmsu.1 - installShellCompletion --zsh src/misc/zsh/_tmsu + installManPage misc/man/tmsu.1 + installShellCompletion --bash misc/bash/tmsu + installShellCompletion --zsh misc/zsh/_tmsu ''; - meta = with lib; { - homepage = "http://www.tmsu.org"; + meta = { + homepage = "https://www.tmsu.org"; description = "Tool for tagging your files using a virtual filesystem"; - maintainers = with maintainers; [ pSub ]; - license = licenses.gpl3Plus; - platforms = platforms.unix; + maintainers = with lib.maintainers; [ + luftmensch-luftmensch + pSub + ]; + mainProgram = "tmsu"; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.unix; }; } From 9ff9bbdb34236dc00362a81da5d8985d275633d1 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Tue, 11 Jun 2024 03:51:03 -0500 Subject: [PATCH 42/56] doc: add stdenv passthru chapter (#315909) * doc: add stdenv passthru chapter Broad strokes: - create the chapter - move existing stdenv passthru coverage into it - move out-of-place coverage of passthru.tests from the stdenv meta chapter into it - (try to) apply 1-sentence-per-line to text I've touched - add legacy anchors for everything moved - update existing links to the new anchors - add tentative motivating text - make nixpkgs-internal links relative/branchless razor: if it is only ever needed by contributors, which is likely if links refer to the latest revision of the source code, then it's for the contributor guide Co-authored-by: Valentin Gagarin --- doc/build-helpers/fetchers.chapter.md | 6 +- .../images/dockertools.section.md | 6 +- doc/stdenv.md | 1 + doc/stdenv/meta.chapter.md | 101 ---------- doc/stdenv/passthru.chapter.md | 157 ++++++++++++++++ doc/stdenv/stdenv.chapter.md | 143 +------------- pkgs/README.md | 174 ++++++++++++++++++ pkgs/development/mobile/androidenv/README.md | 2 +- 8 files changed, 341 insertions(+), 249 deletions(-) create mode 100644 doc/stdenv/passthru.chapter.md diff --git a/doc/build-helpers/fetchers.chapter.md b/doc/build-helpers/fetchers.chapter.md index cb37dca06d48..0cc271f5db8c 100644 --- a/doc/build-helpers/fetchers.chapter.md +++ b/doc/build-helpers/fetchers.chapter.md @@ -365,8 +365,8 @@ If `pname` and `version` are specified, `fetchurl` will use those values and wil _Default value:_ `{}`. `passthru` (Attribute Set; _optional_) -: Specifies any extra [passthru](#var-stdenv-passthru) attributes for the derivation returned by `fetchurl`. - Note that `fetchurl` defines [passthru attributes of its own](#ssec-pkgs-fetchers-fetchurl-passthru-outputs). +: Specifies any extra [`passthru`](#chap-passthru) attributes for the derivation returned by `fetchurl`. + Note that `fetchurl` defines [`passthru` attributes of its own](#ssec-pkgs-fetchers-fetchurl-passthru-outputs). Attributes specified in `passthru` can override the default attributes returned by `fetchurl`. _Default value:_ `{}`. @@ -387,7 +387,7 @@ If `pname` and `version` are specified, `fetchurl` will use those values and wil ### Passthru outputs {#ssec-pkgs-fetchers-fetchurl-passthru-outputs} -`fetchurl` also defines its own [`passthru`](#var-stdenv-passthru) attributes: +`fetchurl` also defines its own [`passthru`](#chap-passthru) attributes: `url` (String) diff --git a/doc/build-helpers/images/dockertools.section.md b/doc/build-helpers/images/dockertools.section.md index 527e623e7898..aeb831c770c5 100644 --- a/doc/build-helpers/images/dockertools.section.md +++ b/doc/build-helpers/images/dockertools.section.md @@ -191,7 +191,7 @@ Similarly, if you encounter errors similar to `Error_Protocol ("certificate has ### Passthru outputs {#ssec-pkgs-dockerTools-buildImage-passthru-outputs} -`buildImage` defines a few [`passthru`](#var-stdenv-passthru) attributes: +`buildImage` defines a few [`passthru`](#chap-passthru) attributes: `buildArgs` (Attribute Set) @@ -576,13 +576,13 @@ This allows the function to produce reproducible images. `passthru` (Attribute Set; _optional_) -: Use this to pass any attributes as [passthru](#var-stdenv-passthru) for the resulting derivation. +: Use this to pass any attributes as [`passthru`](#chap-passthru) for the resulting derivation. _Default value:_ `{}` ### Passthru outputs {#ssec-pkgs-dockerTools-streamLayeredImage-passthru-outputs} -`streamLayeredImage` also defines its own [`passthru`](#var-stdenv-passthru) attributes: +`streamLayeredImage` also defines its own [`passthru`](#chap-passthru) attributes: `imageTag` (String) diff --git a/doc/stdenv.md b/doc/stdenv.md index 1ef81f84b514..d49f7cb2d100 100644 --- a/doc/stdenv.md +++ b/doc/stdenv.md @@ -3,6 +3,7 @@ ```{=include=} chapters stdenv/stdenv.chapter.md stdenv/meta.chapter.md +stdenv/passthru.chapter.md stdenv/multiple-output.chapter.md stdenv/cross-compilation.chapter.md stdenv/platform-notes.chapter.md diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index 6d9b61b0647c..b5955b96eeb6 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -110,107 +110,6 @@ Some packages use this to automatically detect the maximum set of features with For example, `systemd` [requires dynamic linking](https://github.com/systemd/systemd/issues/20600#issuecomment-912338965), and [has a `meta.badPlatforms` setting](https://github.com/NixOS/nixpkgs/blob/b03ac42b0734da3e7be9bf8d94433a5195734b19/pkgs/os-specific/linux/systemd/default.nix#L752) similar to the one above. Packages which can be built with or without `systemd` support will use `lib.meta.availableOn` to detect whether or not `systemd` is available on the [`hostPlatform`](#ssec-cross-platform-parameters) for which they are being built; if it is not available (e.g. due to a statically-linked host platform like `pkgsStatic`) this support will be disabled by default. -### `tests` {#var-meta-tests} - -::: {.warning} -This attribute is special in that it is not actually under the `meta` attribute set but rather under the `passthru` attribute set. This is due to how `meta` attributes work, and the fact that they are supposed to contain only metadata, not derivations. -::: - -An attribute set with tests as values. A test is a derivation that builds when the test passes and fails to build otherwise. - -You can run these tests with: - -```ShellSession -$ cd path/to/nixpkgs -$ nix-build -A your-package.tests -``` - -Note that Hydra and [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review) don't build these derivations by default, and that ([`@ofborg`](https://github.com/NixOS/ofborg)) only builds them when evaluating PRs for that particular package (or when manually instructed). - -#### Package tests {#var-meta-tests-packages} - -Tests that are part of the source package are often executed in the `installCheckPhase`. This phase is also suitable for performing a `--version` test for packages that support such flag. Here's an example: - -```nix -# Say the package is git -stdenv.mkDerivation(finalAttrs: { - pname = "git"; - version = "..."; - # ... - - doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck - - echo checking if 'git --version' mentions ${finalAttrs.version} - $out/bin/git --version | grep ${finalAttrs.version} - - runHook postInstallCheck - ''; - # ... -}) -``` - -Most programs distributed by Nixpkgs support such a `--version` flag, and it can help give confidence that the package at least got compiled properly. However, tests that are slightly non trivial will better fit into `passthru.tests`, because: - -* `passthru.tests` tests the 'real' package, independently from the environment in which it was built -* We can run and debug a `passthru.tests` independently, after the package was built (useful if it takes a long time). -* `installCheckPhase` adds overhead to each build - -It is also possible to still use `passthru.tests` to test the version, with [testVersion](#tester-testVersion). - -For more on how to write and run package tests, see [`pkgs/README.md`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests). - -#### NixOS tests {#var-meta-tests-nixos} - -The NixOS tests are available as `nixosTests` in parameters of derivations. For instance, the OpenSMTPD derivation includes lines similar to: - -```nix -{ /* ... , */ nixosTests }: -{ - # ... - passthru.tests = { - basic-functionality-and-dovecot-integration = nixosTests.opensmtpd; - }; -} -``` - -NixOS tests run in a VM, so they are slower than regular package tests. For more information see [NixOS module tests](https://nixos.org/manual/nixos/stable/#sec-nixos-tests). - -Alternatively, you can specify other derivations as tests. You can make use of -the optional parameter to inject the correct package without -relying on non-local definitions, even in the presence of `overrideAttrs`. -Here that's `finalAttrs.finalPackage`, but you could choose a different name if -`finalAttrs` already exists in your scope. - -`(mypkg.overrideAttrs f).passthru.tests` will be as expected, as long as the -definition of `tests` does not rely on the original `mypkg` or overrides it in -all places. - -```nix -# my-package/default.nix -{ stdenv, callPackage }: -stdenv.mkDerivation (finalAttrs: { - # ... - passthru.tests.example = callPackage ./example.nix { my-package = finalAttrs.finalPackage; }; -}) -``` - -```nix -# my-package/example.nix -{ runCommand, lib, my-package, ... }: -runCommand "my-package-test" { - nativeBuildInputs = [ my-package ]; - src = lib.sources.sourcesByRegex ./. [ ".*.in" ".*.expected" ]; -} '' - my-package --help - my-package example.actual - diff -U3 --color=auto example.expected example.actual - mkdir $out -'' -``` - - ### `timeout` {#var-meta-timeout} A timeout (in seconds) for building the derivation. If the derivation takes longer than this time to build, Hydra will fail it due to breaking the timeout. However, all computers do not have the same computing power, hence some builders may decide to apply a multiplicative factor to this value. When filling this value in, try to keep it approximately consistent with other values already present in `nixpkgs`. diff --git a/doc/stdenv/passthru.chapter.md b/doc/stdenv/passthru.chapter.md new file mode 100644 index 000000000000..008b908b2f48 --- /dev/null +++ b/doc/stdenv/passthru.chapter.md @@ -0,0 +1,157 @@ +# Passthru-attributes {#chap-passthru} +[]{#var-stdenv-passthru} []{#special-variables} + +As opposed to most other `mkDerivation` input attributes, `passthru` is not passed to the derivation's [`builder` executable](https://nixos.org/manual/nix/stable/expressions/derivations.html#attr-builder). +Changing it will not trigger a rebuild – it is "passed through". +Its value can be accessed as if it was set inside a derivation. + +::: {.note} +`passthru` attributes follow no particular schema, but there are a few [conventional patterns](#sec-common-passthru-attributes). +::: + +:::{.example #ex-accessing-passthru} + +## Setting and accessing `passthru` attributes + +```nix +{ stdenv, fetchGit }: +let + hello = stdenv.mkDerivation { + pname = "hello"; + src = fetchGit { /* ... */ }; + + passthru = { + foo = "bar"; + baz = { + value1 = 4; + value2 = 5; + }; + }; + }; +in +hello.baz.value1 +``` + +``` +4 +``` +::: + +## Common `passthru`-attributes {#sec-common-passthru-attributes} + +Many `passthru` attributes are situational, so this section only lists recurring patterns. +They fall in one of these categories: + +- Global conventions, which are applied almost universally in Nixpkgs. + + Generally these don't entail any special support built into the derivation they belong to. + Common examples of this type are [`passthru.tests`](#var-passthru-tests) and [`passthru.updateScript`](#var-passthru-updateScript). + +- Conventions for adding extra functionality to a derivation. + + These tend to entail support from the derivation or the `passthru` attribute in question. + Common examples of this type are `passthru.optional-dependencies`, `passthru.withPlugins`, and `passthru.withPackages`. + All of those allow associating the package with a set of components built for that specific package, such as when building Python runtime environments using (`python.withPackages`)[#python.withpackages-function]. + +Attributes that apply only to particular [build helpers](#part-builders) or [language ecosystems](#chap-language-support) are documented there. + +### `passthru.tests` {#var-passthru-tests} +[]{#var-meta-tests} + +An attribute set with tests as values. +A test is a derivation that builds when the test passes and fails to build otherwise. + +Run these tests with: + +```ShellSession +$ cd path/to/nixpkgs +$ nix-build -A your-package.tests +``` + +:::{.note} +The Nixpkgs systems for continuous integration [Hydra](https://hydra.nixos.org/) and [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review) don't build these derivations by default, and ([`@ofborg`](https://github.com/NixOS/ofborg)) only builds them when evaluating pull requests for that particular package, or when manually instructed. +::: + +#### Package tests {#var-passthru-tests-packages} +[]{#var-meta-tests-packages} + +Tests that are part of the source package, if they run quickly, are typically executed in the [`installCheckPhase`](#var-stdenv-phases). +This phase is also suitable for performing a `--version` test for packages that support such flag. +Most programs distributed by Nixpkgs support such a `--version` flag, and successfully calling the program with that flag indicates that the package at least got compiled properly. + +:::{.example #ex-checking-build-installCheckPhase} + +## Checking builds with `installCheckPhase` + +When building `git`, a rudimentary test for successful compilation would be running `git --version`: + +```nix +stdenv.mkDerivation (finalAttrs: { + pname = "git"; + version = "1.2.3"; + # ... + doInstallCheck = true; + installCheckPhase = '' + runHook preInstallCheck + echo checking if 'git --version' mentions ${finalAttrs.version} + $out/bin/git --version | grep ${finalAttrs.version} + runHook postInstallCheck + ''; + # ... +}) +``` +::: + +However, tests that are non-trivial will better fit into `passthru.tests` because they: + +- Access the package as consumers would, independently from the environment in which it was built +- Can be run and debugged without rebuilding the package, which is useful if that takes a long time +- Don't add overhad to each build, as opposed to `installCheckPhase` + +It is also possible to use `passthru.tests` to test the version with [`testVersion`](#tester-testVersion). + + +For more on how to write and run package tests for Nixpkgs, see the [testing section in the package contributor guide](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests). + +#### NixOS tests {#var-passthru-tests-nixos} +[]{#var-meta-tests-nixos} + +Tests written for NixOS are available as the `nixosTests` argument to package recipes. +For instance, the [OpenSMTPD derivation](https://search.nixos.org/packages?show=opensmtpd) includes lines similar to: + +```nix +{ nixosTests, ... }: +{ + # ... + passthru.tests = { + basic-functionality-and-dovecot-integration = nixosTests.opensmtpd; + }; +} +``` + +NixOS tests run in a virtual machine (VM), so they are slower than regular package tests. +For more information see the NixOS manual on [NixOS module tests](https://nixos.org/manual/nixos/stable/#sec-nixos-tests). + +### `passthru.updateScript` {#var-passthru-updateScript} + +[]{#var-passthru-updateScript-command} +[]{#var-passthru-updateScript-set-command} +[]{#var-passthru-updateScript-set-attrPath} +[]{#var-passthru-updateScript-set-supportedFeatures} +[]{#var-passthru-updateScript-env-UPDATE_NIX_NAME} +[]{#var-passthru-updateScript-env-UPDATE_NIX_PNAME} +[]{#var-passthru-updateScript-env-UPDATE_NIX_OLD_VERSION} +[]{#var-passthru-updateScript-env-UPDATE_NIX_ATTR_PATH} +[]{#var-passthru-updateScript-execution} +[]{#var-passthru-updateScript-supported-features} +[]{#var-passthru-updateScript-commit} +[]{#var-passthru-updateScript-commit-attrPath} +[]{#var-passthru-updateScript-commit-oldVersion} +[]{#var-passthru-updateScript-commit-newVersion} +[]{#var-passthru-updateScript-commit-files} +[]{#var-passthru-updateScript-commit-commitBody} +[]{#var-passthru-updateScript-commit-commitMessage} +[]{#var-passthru-updateScript-example-commit} + +Nixpkgs tries to automatically update all packages that have an `passthru.updateScript` attribute. +See the [section on automatic package updates in the package contributor guide](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#automatic-package-updates) for details. diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index f2bc7f71de38..400fa2de1e76 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -442,145 +442,6 @@ If set to `true`, `stdenv` will pass specific flags to `make` and other build to Unless set to `false`, some build systems with good support for parallel building including `cmake`, `meson`, and `qmake` will set it to `true`. -### Special variables {#special-variables} - -#### `passthru` {#var-stdenv-passthru} - -This is an attribute set which can be filled with arbitrary values. For example: - -```nix -{ - passthru = { - foo = "bar"; - baz = { - value1 = 4; - value2 = 5; - }; - }; -} -``` - -Values inside it are not passed to the builder, so you can change them without triggering a rebuild. However, they can be accessed outside of a derivation directly, as if they were set inside a derivation itself, e.g. `hello.baz.value1`. We don’t specify any usage or schema of `passthru` - it is meant for values that would be useful outside the derivation in other parts of a Nix expression (e.g. in other derivations). An example would be to convey some specific dependency of your derivation which contains a program with plugins support. Later, others who make derivations with plugins can use passed-through dependency to ensure that their plugin would be binary-compatible with built program. - -#### `passthru.updateScript` {#var-passthru-updateScript} - -A script to be run by `maintainers/scripts/update.nix` when the package is matched. The attribute can contain one of the following: - -- []{#var-passthru-updateScript-command} an executable file, either on the file system: - - ```nix - { - passthru.updateScript = ./update.sh; - } - ``` - - or inside the expression itself: - - ```nix - { - passthru.updateScript = writeScript "update-zoom-us" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p curl pcre2 common-updater-scripts - - set -eu -o pipefail - - version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcre2grep -o1 '/(([0-9]\.?)+)/')" - update-source-version zoom-us "$version" - ''; - } - ``` - -- a list, a script followed by arguments to be passed to it: - - ```nix - { - passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]; - } - ``` - -- an attribute set containing: - - [`command`]{#var-passthru-updateScript-set-command} – a string or list in the [format expected by `passthru.updateScript`](#var-passthru-updateScript-command). - - [`attrPath`]{#var-passthru-updateScript-set-attrPath} (optional) – a string containing the canonical attribute path for the package. If present, it will be passed to the update script instead of the attribute path on which the package was discovered during Nixpkgs traversal. - - [`supportedFeatures`]{#var-passthru-updateScript-set-supportedFeatures} (optional) – a list of the [extra features](#var-passthru-updateScript-supported-features) the script supports. - - ```nix - { - passthru.updateScript = { - command = [ ../../update.sh pname ]; - attrPath = pname; - supportedFeatures = [ /* ... */ ]; - }; - } - ``` - -::: {.tip} -A common pattern is to use the [`nix-update-script`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/nix-update.nix) attribute provided in Nixpkgs, which runs [`nix-update`](https://github.com/Mic92/nix-update): - -```nix -{ - passthru.updateScript = nix-update-script { }; -} -``` - -For simple packages, this is often enough, and will ensure that the package is updated automatically by [`nixpkgs-update`](https://ryantm.github.io/nixpkgs-update) when a new version is released. The [update bot](https://nix-community.org/update-bot) runs periodically to attempt to automatically update packages, and will run `passthru.updateScript` if set. While not strictly necessary if the project is listed on [Repology](https://repology.org), using `nix-update-script` allows the package to update via many more sources (e.g. GitHub releases). -::: - -##### How update scripts are executed? {#var-passthru-updateScript-execution} - -Update scripts are to be invoked by `maintainers/scripts/update.nix` script. You can run `nix-shell maintainers/scripts/update.nix` in the root of Nixpkgs repository for information on how to use it. `update.nix` offers several modes for selecting packages to update (e.g. select by attribute path, traverse Nixpkgs and filter by maintainer, etc.), and it will execute update scripts for all matched packages that have an `updateScript` attribute. - -Each update script will be passed the following environment variables: - -- [`UPDATE_NIX_NAME`]{#var-passthru-updateScript-env-UPDATE_NIX_NAME} – content of the `name` attribute of the updated package. -- [`UPDATE_NIX_PNAME`]{#var-passthru-updateScript-env-UPDATE_NIX_PNAME} – content of the `pname` attribute of the updated package. -- [`UPDATE_NIX_OLD_VERSION`]{#var-passthru-updateScript-env-UPDATE_NIX_OLD_VERSION} – content of the `version` attribute of the updated package. -- [`UPDATE_NIX_ATTR_PATH`]{#var-passthru-updateScript-env-UPDATE_NIX_ATTR_PATH} – attribute path the `update.nix` discovered the package on (or the [canonical `attrPath`](#var-passthru-updateScript-set-attrPath) when available). Example: `pantheon.elementary-terminal` - -::: {.note} -An update script will be usually run from the root of the Nixpkgs repository but you should not rely on that. Also note that `update.nix` executes update scripts in parallel by default so you should avoid running `git commit` or any other commands that cannot handle that. -::: - -::: {.tip} -While update scripts should not create commits themselves, `maintainers/scripts/update.nix` supports automatically creating commits when running it with `--argstr commit true`. If you need to customize commit message, you can have the update script implement [`commit`](#var-passthru-updateScript-commit) feature. -::: - -##### Supported features {#var-passthru-updateScript-supported-features} -###### `commit` {#var-passthru-updateScript-commit} - -This feature allows update scripts to *ask* `update.nix` to create Git commits. - -When support of this feature is declared, whenever the update script exits with `0` return status, it is expected to print a JSON list containing an object described below for each updated attribute to standard output. - -When `update.nix` is run with `--argstr commit true` arguments, it will create a separate commit for each of the objects. An empty list can be returned when the script did not update any files, for example, when the package is already at the latest version. - -The commit object contains the following values: - -- [`attrPath`]{#var-passthru-updateScript-commit-attrPath} – a string containing attribute path. -- [`oldVersion`]{#var-passthru-updateScript-commit-oldVersion} – a string containing old version. -- [`newVersion`]{#var-passthru-updateScript-commit-newVersion} – a string containing new version. -- [`files`]{#var-passthru-updateScript-commit-files} – a non-empty list of file paths (as strings) to add to the commit. -- [`commitBody`]{#var-passthru-updateScript-commit-commitBody} (optional) – a string with extra content to be appended to the default commit message (useful for adding changelog links). -- [`commitMessage`]{#var-passthru-updateScript-commit-commitMessage} (optional) – a string to use instead of the default commit message. - -If the returned array contains exactly one object (e.g. `[{}]`), all values are optional and will be determined automatically. - -::: {.example #var-passthru-updateScript-example-commit} -# Standard output of an update script using commit feature - -```json -[ - { - "attrPath": "volume_key", - "oldVersion": "0.3.11", - "newVersion": "0.3.12", - "files": [ - "/path/to/nixpkgs/pkgs/development/libraries/volume-key/default.nix" - ] - } -] -``` -::: - ### Fixed-point arguments of `mkDerivation` {#mkderivation-recursive-attributes} If you pass a function to `mkDerivation`, it will receive as its argument the final arguments, including the overrides when reinvoked via `overrideAttrs`. For example: @@ -633,7 +494,7 @@ in pkg Unlike the `pkg` binding in the above example, the `finalAttrs` parameter always references the final attributes. For instance `(pkg.overrideAttrs(x)).finalAttrs.finalPackage` is identical to `pkg.overrideAttrs(x)`, whereas `(pkg.overrideAttrs(x)).original` is the same as the original `pkg`. -See also the section about [`passthru.tests`](#var-meta-tests). +See also the section about [`passthru.tests`](#var-passthru-tests). ## Phases {#sec-stdenv-phases} @@ -1145,7 +1006,7 @@ This setup works as follows: The installCheck phase checks whether the package was installed correctly by running its test suite against the installed directories. The default `installCheck` calls `make installcheck`. It is often better to add tests that are not part of the source distribution to `passthru.tests` (see -[](#var-meta-tests)). This avoids adding overhead to every build and enables us to run them independently. +[](#var-passthru-tests)). This avoids adding overhead to every build and enables us to run them independently. #### Variables controlling the installCheck phase {#variables-controlling-the-installcheck-phase} diff --git a/pkgs/README.md b/pkgs/README.md index 0087439d04d4..7c79931ae445 100644 --- a/pkgs/README.md +++ b/pkgs/README.md @@ -599,6 +599,34 @@ buildGoModule rec { } ``` +Any derivaton can be specified as a test, even if it's in a different file. +Such a derivaton that implements a test can depend on the package under test, even in the presence of `overrideAttrs`. + +In the following example, `(my-package.overrideAttrs f).passthru.tests` will work as expected, as long as the definition of `tests` does not rely on the original `my-package` or overrides all occurrences of `my-package`: + +```nix +# my-package/default.nix +{ stdenv, callPackage }: +stdenv.mkDerivation (finalAttrs: { + # ... + passthru.tests.example = callPackage ./example.nix { my-package = finalAttrs.finalPackage; }; +}) +``` + +```nix +# my-package/example.nix +{ runCommand, lib, my-package, ... }: +runCommand "my-package-test" { + nativeBuildInputs = [ my-package ]; + src = lib.sources.sourcesByRegex ./. [ ".*.in" ".*.expected" ]; +} '' + my-package --help + my-package example.actual + diff -U3 --color=auto example.expected example.actual + mkdir $out +'' +``` + ### Writing larger package tests [larger-package-tests]: #writing-larger-package-tests @@ -684,6 +712,152 @@ stdenv.mkDerivation { } ``` +## Automatic package updates +[automatic-package-updates]: #automatic-package-updates + +Nixpkgs periodically tries to update all packages that have a `passthru.updateScript` attribute. + +> [!Note] +> A common pattern is to use the [`nix-update-script`](../pkgs/common-updater/nix-update.nix) attribute provided in Nixpkgs, which runs [`nix-update`](https://github.com/Mic92/nix-update): +> +> ```nix +> { stdenv, nix-update-script }: +> stdenv.mkDerivation { +> # ... +> passthru.updateScript = nix-update-script { }; +> } +> ``` +> +> For simple packages, this is often enough, and will ensure that the package is updated automatically by [`nixpkgs-update`](https://ryantm.github.io/nixpkgs-update) when a new version is released. +> The [update bot](https://nix-community.org/update-bot) runs periodically to attempt to automatically update packages, and will run `passthru.updateScript` if set. +> While not strictly necessary if the project is listed on [Repology](https://repology.org), using `nix-update-script` allows the package to update via many more sources (e.g. GitHub releases). + +The `passthru.updateScript` attribute can contain one of the following: + +- an executable file, either on the file system: + + ```nix + { stdenv }: + stdenv.mkDerivation { + # ... + passthru.updateScript = ./update.sh; + } + ``` + + or inside the expression itself: + + ```nix + { stdenv, writeScript }: + stdenv.mkDerivation { + # ... + passthru.updateScript = writeScript "update-zoom-us" '' + #!/usr/bin/env nix-shell + #!nix-shell -i bash -p curl pcre2 common-updater-scripts + + set -eu -o pipefail + + version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcre2grep -o1 '/(([0-9]\.?)+)/')" + update-source-version zoom-us "$version" + ''; + } + ``` + +- a list, a script file followed by arguments to be passed to it: + + ```nix + { stdenv }: + stdenv.mkDerivation { + # ... + passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]; + } + ``` + +- an attribute set containing: + - `command` + + A string or list in the [format expected by `passthru.updateScript`][automatic-package-updates] + + - `attrPath` (optional) + + A string containing the canonical attribute path for the package. + + If present, it will be passed to the update script instead of the attribute path on which the package was discovered during Nixpkgs traversal. + + - `supportedFeatures` (optional) + + A list of the [extra features the script supports][supported-features]. + + ```nix + { stdenv }: + stdenv.mkDerivation rec { + pname = "my-package"; + # ... + passthru.updateScript = { + command = [ ../../update.sh pname ]; + attrPath = pname; + supportedFeatures = [ /* ... */ ]; + }; + } + ``` + +### How are update scripts executed? + +Update scripts are to be invoked by the [automatic package update script](../maintainers/scripts/update.nix). +You can run `nix-shell maintainers/scripts/update.nix` in the root of Nixpkgs repository for information on how to use it. +`update.nix` offers several modes for selecting packages to update, and it will execute update scripts for all matched packages that have an `updateScript` attribute. + +Each update script will be passed the following environment variables: + +- [`UPDATE_NIX_NAME`] – content of the `name` attribute of the updated package +- [`UPDATE_NIX_PNAME`] – content of the `pname` attribute of the updated package +- [`UPDATE_NIX_OLD_VERSION`] – content of the `version` attribute of the updated package +- [`UPDATE_NIX_ATTR_PATH`] – attribute path the `update.nix` discovered the package on (or the package's specified `attrPath` when available). Example: `pantheon.elementary-terminal` + +> [!Note] +> An update script will be usually run from the root of the Nixpkgs repository, but you should not rely on that. +> Also note that `update.nix` executes update scripts in parallel by default, so you should avoid running `git commit` or any other commands that cannot handle that. + +While update scripts should not create commits themselves, `update.nix` supports automatically creating commits when running it with `--argstr commit true`. +If you need to customize commit message, you can have the update script implement the `commit` feature. + +### Supported features +[update-script-supported-features]: #supported-features + +- `commit` + + This feature allows update scripts to *ask* `update.nix` to create Git commits. + + When support of this feature is declared, whenever the update script exits with `0` return status, it is expected to print a JSON list containing an object described below for each updated attribute to standard output. + Example: + + ```json + [ + { + "attrPath": "volume_key", + "oldVersion": "0.3.11", + "newVersion": "0.3.12", + "files": [ + "/path/to/nixpkgs/pkgs/development/libraries/volume-key/default.nix" + ] + } + ] + ``` + ::: + + When `update.nix` is run with `--argstr commit true`, it will create a separate commit for each of the objects. + An empty list can be returned when the script did not update any files; for example, when the package is already at the latest version. + + The commit object contains the following values: + + - `attrPath` – a string containing the attribute path + - `oldVersion` – a string containing the old version + - `newVersion` – a string containing the new version + - `files` – a non-empty list of file paths (as strings) to add to the commit + - `commitBody` (optional) – a string with extra content to be appended to the default commit message (useful for adding changelog links) + - `commitMessage` (optional) – a string to use instead of the default commit message + + If the returned list contains exactly one object (e.g. `[{}]`), all values are optional and will be determined automatically. + ## Reviewing contributions ### Package updates diff --git a/pkgs/development/mobile/androidenv/README.md b/pkgs/development/mobile/androidenv/README.md index 04cb157dba56..bf3726342091 100644 --- a/pkgs/development/mobile/androidenv/README.md +++ b/pkgs/development/mobile/androidenv/README.md @@ -6,7 +6,7 @@ 4. Update the relevant argument defaults in `compose-android-packages.nix` # How to run tests -You may need to make yourself familiar with [tests](https://nixos.org/manual/nixpkgs/stable/#var-meta-tests), and [Writing larger package tests](https://nixos.org/manual/nixpkgs/stable/#ssec-package-tests-writing) in the Manual, then run tests locally with: +You may need to make yourself familiar with [package tests](../../../README.md#package-tests), and [Writing larger package tests](../../../README.md#writing-larger-package-tests), then run tests locally with: ```shell $ export NIXPKGS_ALLOW_UNFREE=1 From 8a998edc8254967a58c1c9015717198e5ea1cd4c Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:20:42 +0200 Subject: [PATCH 43/56] igvm-tooling: 1.5.0 -> 1.5.0-unstable-2024-06-06 This update allows us to drop some of the patches, which have been upstreamed since. The remaining patch is still in the air upstream. Once it's included, I'll ask them to cut a release, but for now, let's drop the patches we can already. Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --- igvm.log | 0 pkgs/by-name/ig/igvm-tooling/package.nix | 22 +++------------------- 2 files changed, 3 insertions(+), 19 deletions(-) create mode 100644 igvm.log diff --git a/igvm.log b/igvm.log new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/pkgs/by-name/ig/igvm-tooling/package.nix b/pkgs/by-name/ig/igvm-tooling/package.nix index de9bdd996bf1..a1e9a498ba35 100644 --- a/pkgs/by-name/ig/igvm-tooling/package.nix +++ b/pkgs/by-name/ig/igvm-tooling/package.nix @@ -8,14 +8,14 @@ python3.pkgs.buildPythonApplication rec { pname = "igvm-tooling"; - version = "1.5.0"; + version = "1.5.0-unstable-2024-06-06"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "igvm-tooling"; - rev = "igvm-${version}"; - hash = "sha256-13TtiJv2w9WXSW6oPMfo+rRah+Q1wHV14aBaFGfz9CE="; + rev = "53656ddde294bbafcae6349b5acfc5da9f7dbb92"; + hash = "sha256-X9Gi+kTmc/ZcsgbHldEj9zPnOmd5puDD7/+J1s1CVws="; }; patches = [ @@ -27,22 +27,6 @@ python3.pkgs.buildPythonApplication rec { sha256 = "sha256-tcVxcuLxknyEdo2YjeHOqSG9xQna8US+YyvlcfX+Htw="; stripLen = 1; }) - # write updated acpi files to tempdir (instead of nix store path) at runtime - # remove once https://github.com/microsoft/igvm-tooling/pull/54 is merged - (fetchpatch { - name = "0002-acpi-update-dsl-files-in-tempdir.patch"; - url = "https://github.com/microsoft/igvm-tooling/commit/20f8d123ec6531d8540074b7df2ee12de60e73b8.patch"; - sha256 = "sha256-hNfkclxaYViy66TPHqLV3mqD7wqBuBN9MnMLaDOeRNM="; - stripLen = 1; - }) - # allow for determinist id block signing - # remove once https://github.com/microsoft/igvm-tooling/pull/55 is merged - (fetchpatch { - name = "0003-add-deterministic-id-block-signature-mode.patch"; - url = "https://github.com/microsoft/igvm-tooling/commit/03ad7825ade76ac25e308bb85f92e89b732e0bf1.patch"; - sha256 = "sha256-Y7DFr0KgGtY8KOt6fLWd32sTaig/zHFe7n83+Yb9ls8="; - stripLen = 1; - }) ]; postPatch = '' From 725777250b7d55d3069abf09f25cb489eb634c7d Mon Sep 17 00:00:00 2001 From: Tom Fitzhenry Date: Thu, 16 May 2024 22:09:13 +1000 Subject: [PATCH 44/56] nixos/shadow: introduce security.shadow.enable Allow users to disable the shadow authentication suite. My primary motivation is to reduce the attack surface via setuid binaries, which shadow understandably introduces many. I realised, however, that I don't use any of these. The test demonstrates login working without needing the shadow suite. --- nixos/modules/programs/shadow.nix | 193 +++++++++++++++++------------- nixos/tests/all-tests.nix | 1 + nixos/tests/greetd-no-shadow.nix | 49 ++++++++ 3 files changed, 157 insertions(+), 86 deletions(-) create mode 100644 nixos/tests/greetd-no-shadow.nix diff --git a/nixos/modules/programs/shadow.nix b/nixos/modules/programs/shadow.nix index f09bfaa5393d..d43b84abff1f 100644 --- a/nixos/modules/programs/shadow.nix +++ b/nixos/modules/programs/shadow.nix @@ -5,6 +5,17 @@ let in { options = with lib.types; { + + security.shadow.enable = lib.mkEnableOption "" // { + default = true; + description = '' + Enable the shadow authentication suite, which provides critical programs such as su, login, passwd. + + Note: This is currently experimental. Only disable this if you're + confident that you can recover your system if it breaks. + ''; + }; + security.loginDefs = { package = lib.mkPackageOption pkgs "shadow" { }; @@ -138,101 +149,111 @@ in ###### implementation - config = { - assertions = [ - { - assertion = cfg.settings.SYS_UID_MIN <= cfg.settings.SYS_UID_MAX; - message = "SYS_UID_MIN must be less than or equal to SYS_UID_MAX"; - } - { - assertion = cfg.settings.UID_MIN <= cfg.settings.UID_MAX; - message = "UID_MIN must be less than or equal to UID_MAX"; - } - { - assertion = cfg.settings.SYS_GID_MIN <= cfg.settings.SYS_GID_MAX; - message = "SYS_GID_MIN must be less than or equal to SYS_GID_MAX"; - } - { - assertion = cfg.settings.GID_MIN <= cfg.settings.GID_MAX; - message = "GID_MIN must be less than or equal to GID_MAX"; - } - ]; + config = lib.mkMerge [ + { + assertions = [ + { + assertion = config.security.shadow.enable || config.services.greetd.enable; + message = "You must enable at least one VT login method, either security.shadow.enable or services.greetd.enable"; + } + ]; + } + (lib.mkIf config.security.shadow.enable { + assertions = [ + { + assertion = cfg.settings.SYS_UID_MIN <= cfg.settings.SYS_UID_MAX; + message = "SYS_UID_MIN must be less than or equal to SYS_UID_MAX"; + } + { + assertion = cfg.settings.UID_MIN <= cfg.settings.UID_MAX; + message = "UID_MIN must be less than or equal to UID_MAX"; + } + { + assertion = cfg.settings.SYS_GID_MIN <= cfg.settings.SYS_GID_MAX; + message = "SYS_GID_MIN must be less than or equal to SYS_GID_MAX"; + } + { + assertion = cfg.settings.GID_MIN <= cfg.settings.GID_MAX; + message = "GID_MIN must be less than or equal to GID_MAX"; + } + ]; - security.loginDefs.settings.CHFN_RESTRICT = - lib.mkIf (cfg.chfnRestrict != null) cfg.chfnRestrict; + security.loginDefs.settings.CHFN_RESTRICT = + lib.mkIf (cfg.chfnRestrict != null) cfg.chfnRestrict; - environment.systemPackages = lib.optional config.users.mutableUsers cfg.package - ++ lib.optional (lib.types.shellPackage.check config.users.defaultUserShell) config.users.defaultUserShell - ++ lib.optional (cfg.chfnRestrict != null) pkgs.util-linux; + environment.systemPackages = lib.optional config.users.mutableUsers cfg.package + ++ lib.optional (lib.types.shellPackage.check config.users.defaultUserShell) config.users.defaultUserShell + ++ lib.optional (cfg.chfnRestrict != null) pkgs.util-linux; - environment.etc = - # Create custom toKeyValue generator - # see https://man7.org/linux/man-pages/man5/login.defs.5.html for config specification - let - toKeyValue = lib.generators.toKeyValue { - mkKeyValue = lib.generators.mkKeyValueDefault { } " "; - }; - in - { - # /etc/login.defs: global configuration for pwdutils. - # You cannot login without it! - "login.defs".source = pkgs.writeText "login.defs" (toKeyValue cfg.settings); + environment.etc = + # Create custom toKeyValue generator + # see https://man7.org/linux/man-pages/man5/login.defs.5.html for config specification + let + toKeyValue = lib.generators.toKeyValue { + mkKeyValue = lib.generators.mkKeyValueDefault { } " "; + }; + in + { + # /etc/login.defs: global configuration for pwdutils. + # You cannot login without it! + "login.defs".source = pkgs.writeText "login.defs" (toKeyValue cfg.settings); - # /etc/default/useradd: configuration for useradd. - "default/useradd".source = pkgs.writeText "useradd" '' + # /etc/default/useradd: configuration for useradd. + "default/useradd".source = pkgs.writeText "useradd" '' GROUP=100 HOME=/home SHELL=${utils.toShellPath config.users.defaultUserShell} ''; - }; + }; - security.pam.services = { - chsh = { rootOK = true; }; - chfn = { rootOK = true; }; - su = { - rootOK = true; - forwardXAuth = true; - logFailures = true; - }; - passwd = { }; - # Note: useradd, groupadd etc. aren't setuid root, so it - # doesn't really matter what the PAM config says as long as it - # lets root in. - useradd.rootOK = true; - usermod.rootOK = true; - userdel.rootOK = true; - groupadd.rootOK = true; - groupmod.rootOK = true; - groupmems.rootOK = true; - groupdel.rootOK = true; - login = { - startSession = true; - allowNullPassword = true; - showMotd = true; - updateWtmp = true; - }; - chpasswd = { rootOK = true; }; - }; - - security.wrappers = - let - mkSetuidRoot = source: { - setuid = true; - owner = "root"; - group = "root"; - inherit source; + security.pam.services = { + chsh = { rootOK = true; }; + chfn = { rootOK = true; }; + su = { + rootOK = true; + forwardXAuth = true; + logFailures = true; }; - in - { - su = mkSetuidRoot "${cfg.package.su}/bin/su"; - sg = mkSetuidRoot "${cfg.package.out}/bin/sg"; - newgrp = mkSetuidRoot "${cfg.package.out}/bin/newgrp"; - newuidmap = mkSetuidRoot "${cfg.package.out}/bin/newuidmap"; - newgidmap = mkSetuidRoot "${cfg.package.out}/bin/newgidmap"; - } - // lib.optionalAttrs config.users.mutableUsers { - chsh = mkSetuidRoot "${cfg.package.out}/bin/chsh"; - passwd = mkSetuidRoot "${cfg.package.out}/bin/passwd"; + passwd = { }; + # Note: useradd, groupadd etc. aren't setuid root, so it + # doesn't really matter what the PAM config says as long as it + # lets root in. + useradd.rootOK = true; + usermod.rootOK = true; + userdel.rootOK = true; + groupadd.rootOK = true; + groupmod.rootOK = true; + groupmems.rootOK = true; + groupdel.rootOK = true; + login = { + startSession = true; + allowNullPassword = true; + showMotd = true; + updateWtmp = true; + }; + chpasswd = { rootOK = true; }; }; - }; + + security.wrappers = + let + mkSetuidRoot = source: { + setuid = true; + owner = "root"; + group = "root"; + inherit source; + }; + in + { + su = mkSetuidRoot "${cfg.package.su}/bin/su"; + sg = mkSetuidRoot "${cfg.package.out}/bin/sg"; + newgrp = mkSetuidRoot "${cfg.package.out}/bin/newgrp"; + newuidmap = mkSetuidRoot "${cfg.package.out}/bin/newuidmap"; + newgidmap = mkSetuidRoot "${cfg.package.out}/bin/newgidmap"; + } + // lib.optionalAttrs config.users.mutableUsers { + chsh = mkSetuidRoot "${cfg.package.out}/bin/chsh"; + passwd = mkSetuidRoot "${cfg.package.out}/bin/passwd"; + }; + }) + ]; } diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 7529195262a6..92238016af56 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -380,6 +380,7 @@ in { grafana-agent = handleTest ./grafana-agent.nix {}; graphite = handleTest ./graphite.nix {}; graylog = handleTest ./graylog.nix {}; + greetd-no-shadow = handleTest ./greetd-no-shadow.nix {}; grocy = handleTest ./grocy.nix {}; grow-partition = runTest ./grow-partition.nix; grub = handleTest ./grub.nix {}; diff --git a/nixos/tests/greetd-no-shadow.nix b/nixos/tests/greetd-no-shadow.nix new file mode 100644 index 000000000000..382218ffa948 --- /dev/null +++ b/nixos/tests/greetd-no-shadow.nix @@ -0,0 +1,49 @@ +import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... }: +{ + name = "greetd-no-shadow"; + meta = with pkgs.lib.maintainers; { + maintainers = [ ]; + }; + + nodes.machine = + { pkgs, lib, ... }: { + + users.users.alice = { + isNormalUser = true; + group = "alice"; + password = "foobar"; + }; + users.groups.alice = {}; + + # This means login(1) breaks, so we must use greetd/agreety instead. + security.shadow.enable = false; + + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.greetd.greetd}/bin/agreety --cmd bash"; + }; + }; + }; + }; + + testScript = '' + machine.start() + + machine.wait_for_unit("multi-user.target") + machine.wait_until_succeeds("pgrep -f 'agretty.*tty1'") + machine.screenshot("postboot") + + with subtest("Log in as alice on a virtual console"): + machine.wait_until_tty_matches("1", "login: ") + machine.send_chars("alice\n") + machine.wait_until_tty_matches("1", "login: alice") + machine.wait_until_succeeds("pgrep login") + machine.wait_until_tty_matches("1", "Password: ") + machine.send_chars("foobar\n") + machine.wait_until_succeeds("pgrep -u alice bash") + machine.send_chars("touch done\n") + machine.wait_for_file("/home/alice/done") + ''; +}) From edd19efe4ec151cf5a95ae66de86c299dcb2da4b Mon Sep 17 00:00:00 2001 From: Tom Fitzhenry Date: Sun, 19 May 2024 06:12:53 +1000 Subject: [PATCH 45/56] nixos/shadow: clean up module --- nixos/modules/programs/shadow.nix | 70 +++++++++++++++---------------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/nixos/modules/programs/shadow.nix b/nixos/modules/programs/shadow.nix index d43b84abff1f..ef5bad69e934 100644 --- a/nixos/modules/programs/shadow.nix +++ b/nixos/modules/programs/shadow.nix @@ -4,7 +4,7 @@ let cfg = config.security.loginDefs; in { - options = with lib.types; { + options = { security.shadow.enable = lib.mkEnableOption "" // { default = true; @@ -23,7 +23,7 @@ in description = '' Use chfn SUID to allow non-root users to change their account GECOS information. ''; - type = nullOr str; + type = lib.types.nullOr lib.types.str; default = null; }; @@ -33,7 +33,7 @@ in the site-specific configuration for the shadow password suite. See login.defs(5) man page for available options. ''; - type = submodule { + type = lib.types.submodule { freeformType = (pkgs.formats.keyValue { }).type; /* There are three different sources for user/group id ranges, each of which gets used by different programs: @@ -48,62 +48,62 @@ in DEFAULT_HOME = lib.mkOption { description = "Indicate if login is allowed if we can't cd to the home directory."; default = "yes"; - type = enum [ "yes" "no" ]; + type = lib.types.enum [ "yes" "no" ]; }; ENCRYPT_METHOD = lib.mkOption { description = "This defines the system default encryption algorithm for encrypting passwords."; # The default crypt() method, keep in sync with the PAM default default = "YESCRYPT"; - type = enum [ "YESCRYPT" "SHA512" "SHA256" "MD5" "DES"]; + type = lib.types.enum [ "YESCRYPT" "SHA512" "SHA256" "MD5" "DES"]; }; SYS_UID_MIN = lib.mkOption { description = "Range of user IDs used for the creation of system users by useradd or newusers."; default = 400; - type = int; + type = lib.types.int; }; SYS_UID_MAX = lib.mkOption { description = "Range of user IDs used for the creation of system users by useradd or newusers."; default = 999; - type = int; + type = lib.types.int; }; UID_MIN = lib.mkOption { description = "Range of user IDs used for the creation of regular users by useradd or newusers."; default = 1000; - type = int; + type = lib.types.int; }; UID_MAX = lib.mkOption { description = "Range of user IDs used for the creation of regular users by useradd or newusers."; default = 29999; - type = int; + type = lib.types.int; }; SYS_GID_MIN = lib.mkOption { description = "Range of group IDs used for the creation of system groups by useradd, groupadd, or newusers"; default = 400; - type = int; + type = lib.types.int; }; SYS_GID_MAX = lib.mkOption { description = "Range of group IDs used for the creation of system groups by useradd, groupadd, or newusers"; default = 999; - type = int; + type = lib.types.int; }; GID_MIN = lib.mkOption { description = "Range of group IDs used for the creation of regular groups by useradd, groupadd, or newusers."; default = 1000; - type = int; + type = lib.types.int; }; GID_MAX = lib.mkOption { description = "Range of group IDs used for the creation of regular groups by useradd, groupadd, or newusers."; default = 29999; - type = int; + type = lib.types.int; }; TTYGROUP = lib.mkOption { @@ -111,7 +111,7 @@ in The terminal permissions: the login tty will be owned by the TTYGROUP group, and the permissions will be set to TTYPERM''; default = "tty"; - type = str; + type = lib.types.str; }; TTYPERM = lib.mkOption { @@ -119,14 +119,14 @@ in The terminal permissions: the login tty will be owned by the TTYGROUP group, and the permissions will be set to TTYPERM''; default = "0620"; - type = str; + type = lib.types.str; }; # Ensure privacy for newly created home directories. UMASK = lib.mkOption { description = "The file mode creation mask is initialized to this value."; default = "077"; - type = str; + type = lib.types.str; }; }; }; @@ -143,7 +143,7 @@ in used outside the store (in particular in /etc/passwd). ''; example = lib.literalExpression "pkgs.zsh"; - type = either path shellPackage; + type = lib.types.either lib.types.path lib.types.shellPackage; }; }; @@ -178,12 +178,11 @@ in } ]; - security.loginDefs.settings.CHFN_RESTRICT = - lib.mkIf (cfg.chfnRestrict != null) cfg.chfnRestrict; + security.loginDefs.settings.CHFN_RESTRICT = lib.mkIf (cfg.chfnRestrict != null) cfg.chfnRestrict; environment.systemPackages = lib.optional config.users.mutableUsers cfg.package - ++ lib.optional (lib.types.shellPackage.check config.users.defaultUserShell) config.users.defaultUserShell - ++ lib.optional (cfg.chfnRestrict != null) pkgs.util-linux; + ++ lib.optional (lib.types.shellPackage.check config.users.defaultUserShell) config.users.defaultUserShell + ++ lib.optional (cfg.chfnRestrict != null) pkgs.util-linux; environment.etc = # Create custom toKeyValue generator @@ -192,23 +191,22 @@ in toKeyValue = lib.generators.toKeyValue { mkKeyValue = lib.generators.mkKeyValueDefault { } " "; }; - in - { - # /etc/login.defs: global configuration for pwdutils. - # You cannot login without it! - "login.defs".source = pkgs.writeText "login.defs" (toKeyValue cfg.settings); + in { + # /etc/login.defs: global configuration for pwdutils. + # You cannot login without it! + "login.defs".source = pkgs.writeText "login.defs" (toKeyValue cfg.settings); - # /etc/default/useradd: configuration for useradd. - "default/useradd".source = pkgs.writeText "useradd" '' - GROUP=100 - HOME=/home - SHELL=${utils.toShellPath config.users.defaultUserShell} - ''; - }; + # /etc/default/useradd: configuration for useradd. + "default/useradd".source = pkgs.writeText "useradd" '' + GROUP=100 + HOME=/home + SHELL=${utils.toShellPath config.users.defaultUserShell} + ''; + }; security.pam.services = { - chsh = { rootOK = true; }; - chfn = { rootOK = true; }; + chsh.rootOK = true; + chfn.rootOK = true; su = { rootOK = true; forwardXAuth = true; @@ -231,7 +229,7 @@ in showMotd = true; updateWtmp = true; }; - chpasswd = { rootOK = true; }; + chpasswd.rootOK = true; }; security.wrappers = From 5aa410781a41ea9049074f762ade2e2703010ca7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Jun 2024 22:05:41 +0000 Subject: [PATCH 46/56] oh-my-posh: 21.0.1 -> 21.3.0 --- pkgs/by-name/oh/oh-my-posh/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/oh/oh-my-posh/package.nix b/pkgs/by-name/oh/oh-my-posh/package.nix index a9e061c19bc0..76e7f69317ef 100644 --- a/pkgs/by-name/oh/oh-my-posh/package.nix +++ b/pkgs/by-name/oh/oh-my-posh/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "oh-my-posh"; - version = "21.0.1"; + version = "21.3.0"; src = fetchFromGitHub { owner = "jandedobbeleer"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-fN1vkDk9u4NWVnaNuFVjcKQ7rEMhOMxBlvTxrp8G1d8="; + hash = "sha256-6HWAlGT1xUNjt0uxh09DdwOZtyOO8ZlVY8/jr7CsJVM="; }; - vendorHash = "sha256-MdHWAC46694hgCi1i/syNPdn4t+kY2ZhCAnE7aD8+8Y="; + vendorHash = "sha256-MEQS2wpRbexSJa324lSWEkaqlTF7CfzlrODXoGdfQ6M="; sourceRoot = "${src.name}/src"; From 6a83951e8a77cab1db686a3c8a5b7836d1f46736 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Tue, 11 Jun 2024 11:30:13 +0200 Subject: [PATCH 47/56] =?UTF-8?q?woodpecker-pipeline-transform:=200.1.1=20?= =?UTF-8?q?=E2=86=92=200.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../woodpecker-pipeline-transform/default.nix | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix b/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix index af05fafea40b..eee03a11d923 100644 --- a/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix +++ b/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix @@ -1,23 +1,31 @@ -{ lib, buildGoModule, fetchFromGitea }: +{ + lib, + buildGoModule, + fetchFromGitea, +}: buildGoModule rec { pname = "woodpecker-pipeline-transform"; - version = "0.1.1"; + version = "0.2.0"; src = fetchFromGitea { domain = "codeberg.org"; owner = "lafriks"; repo = "woodpecker-pipeline-transform"; rev = "v${version}"; - sha256 = "sha256-tWDMbOkajZ3BB32Vl630EZrY+Owm72MD2Z2JjMucVkI="; + sha256 = "sha256-ngtpWjbL/ccmKTNQdL3osduELYSxcOu5z5UtqclNNSY="; }; - vendorHash = "sha256-qKzGALMagf6QHeLdABfNGG4f/3K/F6CjVYjOJtyTNoM="; + vendorHash = "sha256-SZxFsn187UWZqaxwMDdzAmfpRLZSCIpbsAI1mAu7Z6w="; - meta = with lib; { + meta = { description = "Utility to convert different pipelines to Woodpecker CI pipelines"; + changelog = "https://codeberg.org/lafriks/woodpecker-pipeline-transform/src/tag/v${version}"; homepage = "https://codeberg.org/lafriks/woodpecker-pipeline-transform"; - license = licenses.mit; + license = lib.licenses.mit; mainProgram = "pipeline-convert"; - maintainers = with maintainers; [ ambroisie ]; + maintainers = with lib.maintainers; [ + ambroisie + luftmensch-luftmensch + ]; }; } From f9f62ecf473fc9ebb1add7592635354675f61629 Mon Sep 17 00:00:00 2001 From: pinkcreeper100 <35699052+pinkcreeper100@users.noreply.github.com> Date: Fri, 7 Jun 2024 15:56:41 +0100 Subject: [PATCH 48/56] findex: orphan package --- pkgs/applications/misc/findex/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/findex/default.nix b/pkgs/applications/misc/findex/default.nix index 679b94ea0db9..891ac664149f 100644 --- a/pkgs/applications/misc/findex/default.nix +++ b/pkgs/applications/misc/findex/default.nix @@ -39,6 +39,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/mdgaziur/findex"; license = licenses.gpl3Only; platforms = platforms.linux; - maintainers = [ maintainers.pinkcreeper100 ]; + maintainers = []; }; } From 9f488f27d76140590253896b1a1b85a6b98d01f2 Mon Sep 17 00:00:00 2001 From: Ming-Chuan Date: Sun, 2 Jun 2024 19:42:34 -0700 Subject: [PATCH 49/56] nixos/initrd-ssh: Fix ignoreEmptyHostKeys description --- nixos/modules/system/boot/initrd-ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/initrd-ssh.nix b/nixos/modules/system/boot/initrd-ssh.nix index 9ce5a85b4f07..d1cd601c2d9b 100644 --- a/nixos/modules/system/boot/initrd-ssh.nix +++ b/nixos/modules/system/boot/initrd-ssh.nix @@ -82,7 +82,7 @@ in type = types.bool; default = false; description = '' - Allow leaving {option}`config.boot.initrd.network.ssh` empty, + Allow leaving {option}`config.boot.initrd.network.ssh.hostKeys` empty, to deploy ssh host keys out of band. ''; }; From 14c57ce7f7c207072ed895c2fad06ef2b2ca1ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Fri, 3 May 2024 15:19:35 +0900 Subject: [PATCH 50/56] nixos/public-inbox: make coderepo paths accessible Fix typo in 03216e705c05. --- nixos/modules/services/mail/public-inbox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/public-inbox.nix b/nixos/modules/services/mail/public-inbox.nix index 14a2ab48fa25..98063e0331bd 100644 --- a/nixos/modules/services/mail/public-inbox.nix +++ b/nixos/modules/services/mail/public-inbox.nix @@ -455,7 +455,7 @@ in after = [ "public-inbox-init.service" "public-inbox-watch.service" ]; requires = [ "public-inbox-init.service" ]; serviceConfig = { - BindPathsReadOnly = + BindReadOnlyPaths = map (c: c.dir) (lib.attrValues cfg.settings.coderepo); ExecStart = escapeShellArgs ( [ "${cfg.package}/bin/public-inbox-httpd" ] ++ From d488acce882e18b6e846797a252b0d11d0cc9597 Mon Sep 17 00:00:00 2001 From: luftmensch-luftmensch Date: Tue, 11 Jun 2024 11:34:11 +0200 Subject: [PATCH 51/56] woodpecker-pipeline-transform: move to pkgs/by-name --- .../wo/woodpecker-pipeline-transform/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix => by-name/wo/woodpecker-pipeline-transform/package.nix} (100%) diff --git a/pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix b/pkgs/by-name/wo/woodpecker-pipeline-transform/package.nix similarity index 100% rename from pkgs/development/tools/continuous-integration/woodpecker-pipeline-transform/default.nix rename to pkgs/by-name/wo/woodpecker-pipeline-transform/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a1ebe974ef93..79cdaf330d5c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14240,8 +14240,6 @@ with pkgs; woodpecker-cli = callPackage ../development/tools/continuous-integration/woodpecker/cli.nix { }; - woodpecker-pipeline-transform = callPackage ../development/tools/continuous-integration/woodpecker-pipeline-transform { }; - woodpecker-plugin-git = callPackage ../development/tools/continuous-integration/woodpecker-plugin-git { }; woodpecker-server = callPackage ../development/tools/continuous-integration/woodpecker/server.nix { }; From c570c7fcf6190b955084c49bf8228076bfa0db31 Mon Sep 17 00:00:00 2001 From: kilianar Date: Mon, 3 Jun 2024 13:44:27 +0200 Subject: [PATCH 52/56] calibre: 7.11.0 -> 7.12.0 https://github.com/kovidgoyal/calibre/releases/tag/v7.12.0 --- pkgs/applications/misc/calibre/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index 638bcd1bf1a9..0e19d1597365 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -32,11 +32,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "calibre"; - version = "7.11.0"; + version = "7.12.0"; src = fetchurl { url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz"; - hash = "sha256-JSQ8BpZf7ZvLld3GM5/yfLS+zRiFGi0r7V67Xb662Os="; + hash = "sha256-XHkORTUx3+O+i2vbTiZAHI/0hY3xPIXvvNAVuXy4wzk="; }; patches = [ From de9a49c390e6793af604c9a05f8c7015aff32903 Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Mon, 10 Jun 2024 16:19:53 +0300 Subject: [PATCH 53/56] buildRustCrate: extensions.sharedLibrary -> extensions.library Switched to a common attribute for library file extensions: https://github.com/NixOS/nixpkgs/commit/de70971c90f3e3161e94ace851b30474228a0861 This makes buildRustCrate evaluate successfully when using pkgsCross/pkgsStatic. --- pkgs/build-support/rust/build-rust-crate/build-crate.nix | 2 +- pkgs/build-support/rust/build-rust-crate/default.nix | 2 +- pkgs/build-support/rust/build-rust-crate/install-crate.nix | 2 +- pkgs/build-support/rust/build-rust-crate/test/default.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/build-support/rust/build-rust-crate/build-crate.nix b/pkgs/build-support/rust/build-rust-crate/build-crate.nix index bbb26606a6a4..7484b3ad0290 100644 --- a/pkgs/build-support/rust/build-rust-crate/build-crate.nix +++ b/pkgs/build-support/rust/build-rust-crate/build-crate.nix @@ -51,7 +51,7 @@ # configure & source common build functions LIB_RUSTC_OPTS="${libRustcOpts}" BIN_RUSTC_OPTS="${binRustcOpts}" - LIB_EXT="${stdenv.hostPlatform.extensions.sharedLibrary or ""}" + LIB_EXT="${stdenv.hostPlatform.extensions.library}" LIB_PATH="${libPath}" LIB_NAME="${libName}" diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix index 4a7fd114829a..9ceda041b665 100644 --- a/pkgs/build-support/rust/build-rust-crate/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/default.nix @@ -49,7 +49,7 @@ let filename = if lib.any (x: x == "lib" || x == "rlib") dep.crateType then "${dep.metadata}.rlib" - else "${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}"; + else "${dep.metadata}${stdenv.hostPlatform.extensions.library}"; in " --extern ${opts}${name}=${dep.lib}/lib/lib${extern}-${filename}" ) diff --git a/pkgs/build-support/rust/build-rust-crate/install-crate.nix b/pkgs/build-support/rust/build-rust-crate/install-crate.nix index f4a4dcdb0d94..7c7c102833d8 100644 --- a/pkgs/build-support/rust/build-rust-crate/install-crate.nix +++ b/pkgs/build-support/rust/build-rust-crate/install-crate.nix @@ -41,7 +41,7 @@ if !buildTests then '' fi if [ -e target/lib ]; then find target/lib/ -type f \! -name '*.rlib' \ - -a \! -name '*${stdenv.hostPlatform.extensions.sharedLibrary}' \ + -a \! -name '*${stdenv.hostPlatform.extensions.library}' \ -a \! -name '*.d' \ -executable \ -print0 | xargs --no-run-if-empty --null install --target $out/tests; diff --git a/pkgs/build-support/rust/build-rust-crate/test/default.nix b/pkgs/build-support/rust/build-rust-crate/test/default.nix index 1ecef4c8e327..522eedfede7f 100644 --- a/pkgs/build-support/rust/build-rust-crate/test/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/test/default.nix @@ -479,7 +479,7 @@ let # `-undefined dynamic_lookup` as otherwise the compilation fails. $CC -shared \ ${lib.optionalString stdenv.isDarwin "-undefined dynamic_lookup"} \ - -o $out/lib/${name}${stdenv.hostPlatform.extensions.sharedLibrary} ${src} + -o $out/lib/${name}${stdenv.hostPlatform.extensions.library} ${src} ''; b = compile "libb" '' #include From f53d6a0d9e0b1c0183782cb3264f4d8c5a52225a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 11 Jun 2024 03:35:29 +0000 Subject: [PATCH 54/56] emacsPackages.ebuild-mode: 1.70 -> 1.71 --- .../elisp-packages/manual-packages/ebuild-mode/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ebuild-mode/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ebuild-mode/default.nix index e714a20cb379..fbd16c3f47af 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ebuild-mode/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ebuild-mode/default.nix @@ -7,11 +7,11 @@ melpaBuild rec { pname = "ebuild-mode"; - version = "1.70"; + version = "1.71"; src = fetchzip { url = "https://gitweb.gentoo.org/proj/ebuild-mode.git/snapshot/ebuild-mode-${version}.tar.bz2"; - hash = "sha256-dOm3xJMFLelwcImIwckeQHx1GqV9PB+I45QA9UT1nCM="; + hash = "sha256-HvaiH3I6hJMb1XFFf8FOw22X+47UayCIWAGuXAVP/ls="; }; # not used but needs to be set; why? From 9a95b60a38ee6eaae603cc3e8aaf15ec469084ea Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 11 Jun 2024 12:35:38 +0200 Subject: [PATCH 55/56] chromium: remove unused arguments --- pkgs/applications/networking/browsers/chromium/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index 317cb7de1011..095fe13f9197 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -1,9 +1,9 @@ -{ newScope, config, stdenv, fetchurl, makeWrapper +{ newScope, config, stdenv, makeWrapper , buildPackages , ed, gnugrep, coreutils, xdg-utils , glib, gtk3, gtk4, gnome, gsettings-desktop-schemas, gn, fetchgit , libva, pipewire, wayland -, gcc, nspr, nss, runCommand +, runCommand , lib, libkrb5 , widevine-cdm , electron-source # for warnObsoleteVersionConditional @@ -18,7 +18,6 @@ , cupsSupport ? true , pulseSupport ? config.pulseaudio or stdenv.isLinux , commandLineArgs ? "" -, pkgsBuildTarget , pkgsBuildBuild , pkgs }: From 15427ed7cd752ac09afc20c979b7aa543035c647 Mon Sep 17 00:00:00 2001 From: Ali Caglayan Date: Tue, 11 Jun 2024 13:05:53 +0200 Subject: [PATCH 56/56] ocamlPackages.memprof-limits: init at 0.2.1 (#318800) Signed-off-by: Ali Caglayan --- .../ocaml-modules/memprof-limits/default.nix | 26 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/ocaml-modules/memprof-limits/default.nix diff --git a/pkgs/development/ocaml-modules/memprof-limits/default.nix b/pkgs/development/ocaml-modules/memprof-limits/default.nix new file mode 100644 index 000000000000..768c04487282 --- /dev/null +++ b/pkgs/development/ocaml-modules/memprof-limits/default.nix @@ -0,0 +1,26 @@ +{ lib, buildDunePackage, fetchFromGitLab, ocaml }: + +if !(lib.versionOlder ocaml.version "5.0.0") then + throw "memprof-limits is not available for OCaml ${ocaml.version}" +else + buildDunePackage rec { + pname = "memprof-limits"; + version = "0.2.1"; + + src = fetchFromGitLab rec { + owner = "gadmm"; + repo = pname; + rev = "v${version}"; + hash = "sha256-Pmuln5TihPoPZuehZlqPfERif6lf7O+0454kW9y3aKc="; + }; + + minimalOCamlVersion = "4.12"; + + meta = with lib; { + homepage = "https://ocaml.org/p/memprof-limits/latest"; + description = + "Memory limits, allocation limits, and thread cancellation for OCaml"; + license = licenses.lgpl3; + maintainers = with maintainers; [ alizter ]; + }; + } diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 9185234ad38c..4b3729bd2164 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1048,6 +1048,8 @@ let mec = callPackage ../development/ocaml-modules/mec { }; + memprof-limits = callPackage ../development/ocaml-modules/memprof-limits { }; + memtrace = callPackage ../development/ocaml-modules/memtrace { }; menhir = callPackage ../development/ocaml-modules/menhir { };