Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
01d28776 fe0c79bf

+183 -46
+5 -1
nixos/lib/make-options-doc/default.nix
··· 125 125 nativeBuildInputs = [ 126 126 pkgs.brotli 127 127 (let 128 - self = (pkgs.python3Minimal.override { 128 + # python3Minimal can't be overridden with packages on Darwin, due to a missing framework. 129 + # Instead of modifying stdenv, we take the easy way out, since most people on Darwin will 130 + # just be hacking on the Nixpkgs manual (which also uses make-options-doc). 131 + python = if pkgs.stdenv.isDarwin then pkgs.python3 else pkgs.python3Minimal; 132 + self = (python.override { 129 133 inherit self; 130 134 includeSiteCustomize = true; 131 135 });
+1
nixos/modules/module-list.nix
··· 1253 1253 ./system/boot/systemd/user.nix 1254 1254 ./system/boot/timesyncd.nix 1255 1255 ./system/boot/tmp.nix 1256 + ./system/boot/uvesafb.nix 1256 1257 ./system/etc/etc-activation.nix 1257 1258 ./tasks/auto-upgrade.nix 1258 1259 ./tasks/bcache.nix
+39
nixos/modules/system/boot/uvesafb.nix
··· 1 + { config, lib, pkgs, ... }: 2 + let 3 + cfg = config.boot.uvesafb; 4 + inherit (lib) mkIf mkEnableOption mkOption mdDoc types; 5 + in { 6 + options = { 7 + boot.uvesafb = { 8 + enable = mkEnableOption (mdDoc "uvesafb"); 9 + 10 + gfx-mode = mkOption { 11 + type = types.str; 12 + default = "1024x768-32"; 13 + description = mdDoc "Screen resolution in modedb format. See [uvesafb](https://docs.kernel.org/fb/uvesafb.html) and [modedb](https://docs.kernel.org/fb/modedb.html) documentation for more details. The default value is a sensible default but may be not ideal for all setups."; 14 + }; 15 + 16 + v86d.package = mkOption { 17 + type = types.package; 18 + description = mdDoc "Which v86d package to use with uvesafb"; 19 + defaultText = ''config.boot.kernelPackages.v86d.overrideAttrs (old: { 20 + hardeningDisable = [ "all" ]; 21 + })''; 22 + default = config.boot.kernelPackages.v86d.overrideAttrs (old: { 23 + hardeningDisable = [ "all" ]; 24 + }); 25 + }; 26 + }; 27 + }; 28 + config = mkIf cfg.enable { 29 + boot.initrd = { 30 + kernelModules = [ "uvesafb" ]; 31 + extraFiles."/usr/v86d".source = cfg.v86d.package; 32 + }; 33 + 34 + boot.kernelParams = [ 35 + "video=uvesafb:mode:${cfg.gfx-mode},mtrr:3,ywrap" 36 + ''uvesafb.v86d="${cfg.v86d.package}/bin/v86d"'' 37 + ]; 38 + }; 39 + }
+6 -6
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 138 138 "version": "1.0.0" 139 139 }, 140 140 "baiducloud": { 141 - "hash": "sha256-9r9Y1iegVgaZk+2bKB0uHy6w0JotDuNUXemOqtJSAeg=", 141 + "hash": "sha256-7dNFy3UJ20HbacmaZDxv3IRxsDHGgJdMJFa4/pJIYdw=", 142 142 "owner": "baidubce", 143 143 "provider-source-address": "registry.terraform.io/baidubce/baiducloud", 144 144 "repo": "terraform-provider-baiducloud", 145 - "rev": "v1.16.0", 145 + "rev": "v1.16.1", 146 146 "vendorHash": null, 147 - "version": "1.16.0" 147 + "version": "1.16.1" 148 148 }, 149 149 "bigip": { 150 150 "hash": "sha256-uSe+J4AlW8Dt96BVF1ZI/yrgWUbZsl64b/D+k5ysHC0=", ··· 349 349 "version": "2.22.0" 350 350 }, 351 351 "elasticsearch": { 352 - "hash": "sha256-7sMF7LBM5tnOtERufh7LaJlfcJ5WHIynpzlTg/05u3I=", 352 + "hash": "sha256-+cktPArBOysc4V+uR3KWsVlxtxSIbuVMCmPSU21xF/U=", 353 353 "owner": "phillbaker", 354 354 "provider-source-address": "registry.terraform.io/phillbaker/elasticsearch", 355 355 "repo": "terraform-provider-elasticsearch", 356 - "rev": "v2.0.5", 356 + "rev": "v2.0.6", 357 357 "vendorHash": "sha256-oVTanZpCWs05HwyIKW2ajiBPz1HXOFzBAt5Us+EtTRw=", 358 - "version": "2.0.5" 358 + "version": "2.0.6" 359 359 }, 360 360 "equinix": { 361 361 "hash": "sha256-gvI9awkKiWWnw6O/KvskFTHZfvajGfgYu8DGsT34Siw=",
+20 -7
pkgs/applications/networking/p2p/magnetico/default.nix
··· 1 - { lib, fetchFromGitHub, buildGoModule, go-bindata }: 1 + { lib 2 + , fetchFromGitHub 3 + , nixosTests 4 + , buildGoModule 5 + }: 2 6 3 7 buildGoModule rec { 4 8 pname = "magnetico"; 5 - version = "0.12.0"; 9 + version = "unstable-2022-08-10"; 6 10 7 11 src = fetchFromGitHub { 8 - owner = "boramalper"; 12 + owner = "ireun"; 9 13 repo = "magnetico"; 10 - rev = "v${version}"; 11 - sha256 = "1avqnfn4llmc9xmpsjfc9ivki0cfvd8sljfzd9yac94xcj581s83"; 14 + rev = "828e230d3b3c0759d3274e27f5a7b70400f4d6ea"; 15 + sha256 = "sha256-V1pBzillWTk9iuHAhFztxYaq4uLL3U3HYvedGk6ffbk="; 12 16 }; 13 17 14 - vendorSha256 = "087kikj6sjhjxqymnj7bpxawfmwckihi6mbmi39w0bn2040aflx5"; 18 + vendorSha256 = "sha256-ngYkTtBEZSyYYnfBHi0VrotwKGvMOiowbrwigJnjsuU="; 15 19 16 - nativeBuildInputs = [ go-bindata ]; 17 20 buildPhase = '' 21 + runHook preBuild 22 + 18 23 make magneticow magneticod 24 + 25 + runHook postBuild 19 26 ''; 20 27 21 28 checkPhase = '' 29 + runHook preBuild 30 + 22 31 make test 32 + 33 + runHook postBuild 23 34 ''; 35 + 36 + passthru.tests = { inherit (nixosTests) magnetico; }; 24 37 25 38 meta = with lib; { 26 39 description = "Autonomous (self-hosted) BitTorrent DHT search engine suite";
+34
pkgs/development/python-modules/flit-scm/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitLab 4 + , pythonOlder 5 + , git 6 + , flit-core 7 + , setuptools-scm 8 + , tomli 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "flit-scm"; 13 + version = "1.7.0"; 14 + 15 + format = "pyproject"; 16 + 17 + src = fetchFromGitLab { 18 + owner = "WillDaSilva"; 19 + repo = "flit_scm"; 20 + rev = version; 21 + sha256 = "sha256-K5sH+oHgX/ftvhkY+vIg6wUokAP96YxrTWds3tnEtyg="; 22 + leaveDotGit = true; 23 + }; 24 + 25 + nativeBuildInputs = [ flit-core setuptools-scm tomli git ]; 26 + propagatedBuildInputs = [ flit-core setuptools-scm ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; 27 + 28 + meta = with lib; { 29 + description = "A PEP 518 build backend that uses setuptools_scm to generate a version file from your version control system, then flit to build the package."; 30 + homepage = "https://gitlab.com/WillDaSilva/flit_scm"; 31 + license = licenses.mit; 32 + maintainers = with maintainers; [ cpcloud ]; 33 + }; 34 + }
+3 -8
pkgs/development/python-modules/rtoml/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "rtoml"; 13 - version = "0.7"; 13 + version = "0.8"; 14 14 15 15 disabled = pythonOlder "3.7"; 16 16 ··· 18 18 owner = "samuelcolvin"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-h4vY63pDkrMHt2X244FssLxHsphsfjNd6gnVFUeZZTY="; 21 + sha256 = "sha256-tvX4KcQGw0khBjEXVFmkhsVyAkdr2Bgm6IfD1yGZ37c="; 22 22 }; 23 23 24 24 cargoDeps = rustPlatform.fetchCargoTarball { 25 25 inherit src; 26 26 name = "${pname}-${version}"; 27 - sha256 = "05fwcs6w023ihw3gyihzbnfwjaqy40d6h0z2yas4kqkkvz9x4f8j"; 27 + sha256 = "sha256-KcF3Z71S7ZNZicViqwpClfT736nYYbKcKWylOP+S3HI="; 28 28 }; 29 29 30 30 nativeBuildInputs = with rustPlatform; [ ··· 49 49 preCheck = '' 50 50 cd tests 51 51 ''; 52 - 53 - pytestFlagsArray = [ 54 - "-W" 55 - "ignore::DeprecationWarning" 56 - ]; 57 52 58 53 meta = with lib; { 59 54 description = "Rust based TOML library for Python";
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "trimesh"; 9 - version = "3.15.5"; 9 + version = "3.15.7"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-jzQEsrCwSB+OY9XGmztkvbM2ZzT4mUkuYvO86ed6XUc="; 13 + sha256 = "sha256-4BVU2rubDyBpg6OmUl5dqiFAkgeHJvqW96kL/Im0su8="; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ numpy ];
+63 -11
pkgs/development/tools/database/schemaspy/default.nix
··· 1 - { lib, stdenv, fetchurl, jre, makeWrapper, graphviz }: 1 + { lib 2 + , stdenv 3 + , callPackage 4 + , maven 5 + , jdk 6 + , jre 7 + , buildMaven 8 + , makeWrapper 9 + , git 10 + , fetchFromGitHub 11 + , graphviz 12 + , ensureNewerSourcesHook 13 + }: 2 14 3 - stdenv.mkDerivation rec { 4 - version = "6.1.0"; 15 + let 16 + version = "6.1.1-SNAPSHOT"; 5 17 pname = "schemaspy"; 6 18 7 - src = fetchurl { 8 - url = "https://github.com/schemaspy/schemaspy/releases/download/v${version}/${pname}-${version}.jar"; 9 - sha256 = "0lgz6b17hx9857fb2l03ggz8y3n8a37vrcsylif0gmkwj1v4qgl7"; 19 + src = fetchFromGitHub { 20 + owner = "schemaspy"; 21 + repo = "schemaspy"; 22 + rev = "110b1614f9ae4aec0e4dc4e8f0e7c647274d3af6"; 23 + sha256 = "sha256-X5B34zGhD/NxcK8TQvwdk1NljGJ1HwfBp47ocbE4HiU="; 10 24 }; 11 25 12 - dontUnpack = true; 26 + deps = stdenv.mkDerivation { 27 + name = "${pname}-${version}-deps"; 28 + inherit src; 29 + 30 + nativeBuildInputs = [ jdk maven git ]; 31 + buildInputs = [ jre ]; 32 + 33 + buildPhase = '' 34 + mvn package -Dmaven.test.skip=true -Dmaven.repo.local=$out/.m2 -Dmaven.wagon.rto=5000 35 + ''; 36 + 37 + # keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside 38 + installPhase = '' 39 + find $out/.m2 -type f -regex '.+\(\.lastUpdated\|resolver-status\.properties\|_remote\.repositories\)' -delete 40 + find $out/.m2 -type f -iname '*.pom' -exec sed -i -e 's/\r\+$//' {} \; 41 + ''; 42 + 43 + outputHashAlgo = "sha256"; 44 + outputHashMode = "recursive"; 45 + outputHash = "sha256-CUFA9L6qqjo3Jp5Yy1yCqbS9QAEb9PElys4ArPa9VhA="; 46 + 47 + doCheck = false; 48 + }; 49 + in 50 + stdenv.mkDerivation rec { 51 + inherit version pname src; 13 52 14 53 buildInputs = [ 15 - jre 54 + maven 16 55 ]; 17 56 18 57 nativeBuildInputs = [ 19 58 makeWrapper 59 + # the build system gets angry if it doesn't see git (even though it's not 60 + # actually in a git repository) 61 + git 62 + 63 + # springframework boot gets angry about 1970 sources 64 + # fix from https://github.com/nix-community/mavenix/issues/25 65 + (ensureNewerSourcesHook { year = "1980"; }) 20 66 ]; 21 67 22 68 wrappedPath = lib.makeBinPath [ 23 69 graphviz 24 70 ]; 25 71 72 + buildPhase = '' 73 + VERSION=${version} 74 + SEMVER_STR=${version} 75 + 76 + mvn package --offline -Dmaven.test.skip=true -Dmaven.repo.local=$(cp -dpR ${deps}/.m2 ./ && chmod +w -R .m2 && pwd)/.m2 77 + ''; 78 + 26 79 installPhase = '' 27 - install -D ${src} "$out/share/java/${pname}-${version}.jar" 80 + install -D target/${pname}-${version}.jar $out/share/java/${pname}-${version}.jar 28 81 29 82 makeWrapper ${jre}/bin/java $out/bin/schemaspy \ 30 83 --add-flags "-jar $out/share/java/${pname}-${version}.jar" \ ··· 34 87 meta = with lib; { 35 88 homepage = "https://schemaspy.org"; 36 89 description = "Document your database simply and easily"; 37 - sourceProvenance = with sourceTypes; [ binaryBytecode ]; 38 - license = licenses.mit; 90 + license = licenses.lgpl3Plus; 39 91 maintainers = with maintainers; [ jraygauthier ]; 40 92 }; 41 93 }
+3 -3
pkgs/development/tools/rust/svd2rust/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "svd2rust"; 5 - version = "0.27.0"; 5 + version = "0.27.1"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "sha256-fU/qaYuuZM9tfveWYD4tCJugLELTR4DlQsr4WP/0f4o="; 9 + sha256 = "sha256-Tnow5NjeDyz4oMY+UMs2TDquLTioElhSNzbC6eEYpTs="; 10 10 }; 11 11 12 - cargoSha256 = "sha256-csiwkBOiIzIVADjKFE8YvBRO0iqtEr4I4s0XDMyb7Sc="; 12 + cargoSha256 = "sha256-sN3uJTU9h9Ls2fygz6My3hao77lQFdNkA0gkUevV7Jc="; 13 13 14 14 meta = with lib; { 15 15 description = "Generate Rust register maps (`struct`s) from SVD files";
+2 -2
pkgs/development/web/flyctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "flyctl"; 5 - version = "0.0.417"; 5 + version = "0.0.419"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "superfly"; 9 9 repo = "flyctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Bxe0YzSHF7ziCLiyxb1inWbwZAqRO6/qFxWsllbjXK4="; 11 + sha256 = "sha256-x9ZwwUn6Rwn6tGaSpkWc8syMJDusn4j2QzLjmr1/ciM="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-a0ZnZlKB/Uotrm4npXB1dd1+oWHRhJVW7ofMSKlqcvM=";
+2 -2
pkgs/tools/admin/exoscale-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "exoscale-cli"; 5 - version = "1.59.3"; 5 + version = "1.60.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "exoscale"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-QJDj8YW7gO0xvKqUYrgNlSfOqtk29C3nLsqO1BjowTE="; 11 + sha256 = "sha256-hvLPLqy5wgywM4vZizBiB2jpC5JszSC5bUSmchqGQcA="; 12 12 }; 13 13 14 14 vendorSha256 = null;
+1 -4
pkgs/top-level/all-packages.nix
··· 30005 30005 electron = electron_9; 30006 30006 }; 30007 30007 30008 - magnetico = callPackage ../applications/networking/p2p/magnetico { 30009 - # pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild 30010 - buildGoModule = buildGo117Module; 30011 - }; 30008 + magnetico = callPackage ../applications/networking/p2p/magnetico { }; 30012 30009 30013 30010 mastodon-bot = nodePackages.mastodon-bot; 30014 30011
+2
pkgs/top-level/python-packages.nix
··· 3525 3525 3526 3526 flit-core = callPackage ../development/python-modules/flit-core { }; 3527 3527 3528 + flit-scm = callPackage ../development/python-modules/flit-scm { }; 3529 + 3528 3530 flow-record = callPackage ../development/python-modules/flow-record { }; 3529 3531 3530 3532 flower = callPackage ../development/python-modules/flower { };