Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
784a588a 0753d1a5

+1192 -277
+15
maintainers/maintainer-list.nix
··· 1359 1359 githubId = 9315; 1360 1360 name = "Zhong Jianxin"; 1361 1361 }; 1362 + a-kenji = { 1363 + email = "aks.kenji@protonmail.com"; 1364 + github = "a-kenji"; 1365 + githubId = 65275785; 1366 + name = "Alexander Kenji Berthold"; 1367 + }; 1362 1368 b4dm4n = { 1363 1369 email = "fabianm88@gmail.com"; 1364 1370 github = "B4dM4n"; ··· 13503 13509 github = "uralbash"; 13504 13510 githubId = 619015; 13505 13511 name = "Svintsov Dmitry"; 13512 + }; 13513 + urandom = { 13514 + email = "colin@urandom.co.uk"; 13515 + github = "arnottcr"; 13516 + githubId = 2526260; 13517 + keys = [{ 13518 + fingerprint = "04A3 A2C6 0042 784A AEA7 D051 0447 A663 F7F3 E236"; 13519 + }]; 13520 + name = "Colin Arnott"; 13506 13521 }; 13507 13522 urbas = { 13508 13523 email = "matej.urbas@gmail.com";
+42 -7
nixos/modules/services/misc/sssd.nix
··· 3 3 let 4 4 cfg = config.services.sssd; 5 5 nscd = config.services.nscd; 6 + 7 + dataDir = "/var/lib/sssd"; 8 + settingsFile = "${dataDir}/sssd.conf"; 9 + settingsFileUnsubstituted = pkgs.writeText "${dataDir}/sssd-unsubstituted.conf" cfg.config; 6 10 in { 7 11 options = { 8 12 services.sssd = { ··· 47 51 Kerberos will be configured to cache credentials in SSS. 48 52 ''; 49 53 }; 54 + environmentFile = mkOption { 55 + type = types.nullOr types.path; 56 + default = null; 57 + description = '' 58 + Environment file as defined in <citerefentry> 59 + <refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum> 60 + </citerefentry>. 61 + 62 + Secrets may be passed to the service without adding them to the world-readable 63 + Nix store, by specifying placeholder variables as the option value in Nix and 64 + setting these variables accordingly in the environment file. 65 + 66 + <programlisting> 67 + # snippet of sssd-related config 68 + [domain/LDAP] 69 + ldap_default_authtok = $SSSD_LDAP_DEFAULT_AUTHTOK 70 + </programlisting> 71 + 72 + <programlisting> 73 + # contents of the environment file 74 + SSSD_LDAP_DEFAULT_AUTHTOK=verysecretpassword 75 + </programlisting> 76 + ''; 77 + }; 50 78 }; 51 79 }; 52 80 config = mkMerge [ ··· 60 88 wants = [ "nss-user-lookup.target" ]; 61 89 restartTriggers = [ 62 90 config.environment.etc."nscd.conf".source 63 - config.environment.etc."sssd/sssd.conf".source 91 + settingsFileUnsubstituted 64 92 ]; 65 93 script = '' 66 94 export LDB_MODULES_PATH+="''${LDB_MODULES_PATH+:}${pkgs.ldb}/modules/ldb:${pkgs.sssd}/modules/ldb" 67 95 mkdir -p /var/lib/sss/{pubconf,db,mc,pipes,gpo_cache,secrets} /var/lib/sss/pipes/private /var/lib/sss/pubconf/krb5.include.d 68 - ${pkgs.sssd}/bin/sssd -D 96 + ${pkgs.sssd}/bin/sssd -D -c ${settingsFile} 69 97 ''; 70 98 serviceConfig = { 71 99 Type = "forking"; 72 100 PIDFile = "/run/sssd.pid"; 101 + StateDirectory = baseNameOf dataDir; 102 + # We cannot use LoadCredential here because it's not available in ExecStartPre 103 + EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile; 73 104 }; 74 - }; 75 - 76 - environment.etc."sssd/sssd.conf" = { 77 - text = cfg.config; 78 - mode = "0400"; 105 + preStart = '' 106 + [ -f ${settingsFile} ] && rm -f ${settingsFile} 107 + old_umask=$(umask) 108 + umask 0177 109 + ${pkgs.envsubst}/bin/envsubst \ 110 + -o ${settingsFile} \ 111 + -i ${settingsFileUnsubstituted} 112 + umask $old_umask 113 + ''; 79 114 }; 80 115 81 116 system.nssModules = [ pkgs.sssd ];
+1 -1
nixos/modules/services/web-servers/minio.nix
··· 102 102 103 103 systemd.services.minio = { 104 104 description = "Minio Object Storage"; 105 - after = [ "network.target" ]; 105 + after = [ "network-online.target" ]; 106 106 wantedBy = [ "multi-user.target" ]; 107 107 serviceConfig = { 108 108 ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --console-address ${cfg.consoleAddress} --config-dir=${cfg.configDir} ${toString cfg.dataDir}";
+4 -2
nixos/tests/sssd-ldap.nix
··· 28 28 attrs = { 29 29 objectClass = [ "olcDatabaseConfig" "olcMdbConfig" ]; 30 30 olcDatabase = "{1}mdb"; 31 - olcDbDirectory = "/var/db/openldap"; 31 + olcDbDirectory = "/var/lib/openldap/db"; 32 32 olcSuffix = dbSuffix; 33 33 olcRootDN = "cn=${ldapRootUser},${dbSuffix}"; 34 34 olcRootPW = ldapRootPassword; ··· 67 67 68 68 services.sssd = { 69 69 enable = true; 70 + # just for testing purposes, don't put this into the Nix store in production! 71 + environmentFile = "${pkgs.writeText "ldap-root" "LDAP_BIND_PW=${ldapRootPassword}"}"; 70 72 config = '' 71 73 [sssd] 72 74 config_file_version = 2 ··· 80 82 ldap_search_base = ${dbSuffix} 81 83 ldap_default_bind_dn = cn=${ldapRootUser},${dbSuffix} 82 84 ldap_default_authtok_type = password 83 - ldap_default_authtok = ${ldapRootPassword} 85 + ldap_default_authtok = $LDAP_BIND_PW 84 86 ''; 85 87 }; 86 88 };
+12
pkgs/applications/editors/vim/plugins/generated.nix
··· 7673 7673 meta.homepage = "https://github.com/tremor-rs/tremor-vim/"; 7674 7674 }; 7675 7675 7676 + trim-nvim = buildVimPluginFrom2Nix { 7677 + pname = "trim.nvim"; 7678 + version = "2022-06-16"; 7679 + src = fetchFromGitHub { 7680 + owner = "cappyzawa"; 7681 + repo = "trim.nvim"; 7682 + rev = "ab366eb0dd7b3faeaf90a0ec40c993ff18d8c068"; 7683 + sha256 = "0lxc593rys5yi35iabqgqxi18lsk2jp78f3wdksmkxclf9j7xmbw"; 7684 + }; 7685 + meta.homepage = "https://github.com/cappyzawa/trim.nvim/"; 7686 + }; 7687 + 7676 7688 trouble-nvim = buildVimPluginFrom2Nix { 7677 7689 pname = "trouble.nvim"; 7678 7690 version = "2022-05-09";
+2 -1
pkgs/applications/editors/vim/plugins/overrides.nix
··· 103 103 , golint 104 104 , gomodifytags 105 105 , gopls 106 + , gotags 106 107 , gotools 107 108 , iferr 108 109 , impl ··· 1045 1046 gomodifytags 1046 1047 gopls 1047 1048 # gorename 1048 - # gotags 1049 + gotags 1049 1050 gotools 1050 1051 # guru 1051 1052 iferr
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 643 643 https://github.com/markonm/traces.vim/,, 644 644 https://github.com/tjdevries/train.nvim/,, 645 645 https://github.com/tremor-rs/tremor-vim/,, 646 + https://github.com/cappyzawa/trim.nvim/,, 646 647 https://github.com/folke/trouble.nvim/,, 647 648 https://github.com/jgdavey/tslime.vim/,, 648 649 https://github.com/Quramy/tsuquyomi/,,
+28 -4
pkgs/applications/emulators/ryujinx/default.nix
··· 14 14 , gdk-pixbuf 15 15 , wrapGAppsHook 16 16 , vulkan-loader 17 + , libICE 18 + , libSM 19 + , libXi 20 + , libXcursor 21 + , libXext 22 + , libXrandr 23 + , fontconfig 24 + , glew 17 25 }: 18 26 19 27 buildDotnetModule rec { 20 28 pname = "ryujinx"; 21 - version = "1.1.213"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml 29 + version = "1.1.223"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml 22 30 23 31 src = fetchFromGitHub { 24 32 owner = "Ryujinx"; 25 33 repo = "Ryujinx"; 26 - rev = "e8f1ca84277240c4d6215eb9cd85713aab73e2f7"; 27 - sha256 = "0ha5wn9h9rqxbkjbz7sm5m8q3rbsiiddh72wx0s3sga5w8054cb3"; 34 + rev = "951700fdd8f54fb34ffe8a3fb328a68b5bf37abe"; 35 + sha256 = "0kzchsxir8wh74rxvp582mci855hbd0vma6yhcc9vpz0zmhi2cpf"; 28 36 }; 29 37 30 38 projectFile = "Ryujinx.sln"; ··· 34 42 35 43 # TODO: Add the headless frontend. Currently errors on the following: 36 44 # System.Exception: SDL2 initlaization failed with error "No available video device" 37 - executables = [ "Ryujinx" ]; 45 + executables = [ "Ryujinx" "Ryujinx.Ava" ]; 38 46 39 47 nativeBuildInputs = [ 40 48 wrapGAppsHook ··· 56 64 pulseaudio 57 65 vulkan-loader 58 66 ffmpeg 67 + 68 + # Avalonia UI 69 + libICE 70 + libSM 71 + libXi 72 + libXcursor 73 + libXext 74 + libXrandr 75 + fontconfig 76 + glew 59 77 ]; 60 78 61 79 patches = [ 62 80 ./appdir.patch # Ryujinx attempts to write to the nix store. This patch redirects it to "~/.config/Ryujinx" on Linux. 81 + ]; 82 + 83 + makeWrapperArgs = [ 84 + # Without this Ryujinx fails to start on wayland. See https://github.com/Ryujinx/Ryujinx/issues/2714 85 + "--set GDK_BACKEND x11" 86 + "--set SDL_VIDEODRIVER x11" 63 87 ]; 64 88 65 89 preInstall = ''
-8
pkgs/applications/emulators/ryujinx/deps.nix
··· 41 41 (fetchNuGet { pname = "LibHac"; version = "0.16.1"; sha256 = "131qnqa1asdmymwdvpjza6w646b05jzn1cxjdxgwh7qdcdb77xyx"; }) 42 42 (fetchNuGet { pname = "MicroCom.CodeGenerator.MSBuild"; version = "0.10.4"; sha256 = "1bdgy6g15d1mln1xpvs6sy0l2zvfs4hxw6nc3qm16qb8hdgvb73y"; }) 43 43 (fetchNuGet { pname = "MicroCom.Runtime"; version = "0.10.4"; sha256 = "0ccbzp0d01dcahm7ban7xyh1rk7k2pkml3l5i7s85cqk5lnczpw2"; }) 44 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "6.0.6"; sha256 = "0ndah9cqkgswhi60wrnni10j1d2hdg8jljij83lk1wbfqbng86jm"; }) 45 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-x64"; version = "6.0.6"; sha256 = "0i00xs472gpxbrwx593z520sp8nv3lmqi8z3zrj9cshqckq8knnx"; }) 46 - (fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.win-x64"; version = "6.0.6"; sha256 = "1i66xw8h6qw1p0yf09hdy6l42bkhw3qi8q6zi7933mdkd4r3qr9n"; }) 47 44 (fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "2.9.6"; sha256 = "18mr1f0wpq0fir8vjnq0a8pz50zpnblr7sabff0yqx37c975934a"; }) 48 45 (fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "3.3.3"; sha256 = "09m4cpry8ivm9ga1abrxmvw16sslxhy2k5sl14zckhqb1j164im6"; }) 49 46 (fetchNuGet { pname = "Microsoft.CodeAnalysis.Common"; version = "3.4.0"; sha256 = "12rn6gl4viycwk3pz5hp5df63g66zvba4hnkwr3f0876jj5ivmsw"; }) ··· 64 61 (fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "6.15.0"; sha256 = "0jn9a20a2zixnkm3bmpmvmiv7mk0hqdlnpi0qgjkg1nir87czm19"; }) 65 62 (fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "6.15.0"; sha256 = "1nbgydr45f7lp980xyrkzpyaw2mkkishjwp3slgxk7f0mz6q8i1v"; }) 66 63 (fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "16.8.0"; sha256 = "1ln2mva7j2mpsj9rdhpk8vhm3pgd8wn563xqdcwd38avnhp74rm9"; }) 67 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "6.0.6"; sha256 = "12b6ya9q5wszfq6yp38lpan8zws95gbp1vs9pydk3v82gai336r3"; }) 68 - (fetchNuGet { pname = "Microsoft.NETCore.App.Host.win-x64"; version = "6.0.6"; sha256 = "186ammhxnkh4m68f1s70rca23025lwzhxnc7m82wjg18rwz2vnkl"; }) 69 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "6.0.6"; sha256 = "0fjbjh7yxqc9h47ix37y963xi9f9y99jvl26cw3x3kvjlb8x0bgj"; }) 70 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "6.0.6"; sha256 = "0l15md6rzr2dvwvnk8xj1qz1dcjcbmp0aglnflrj8av60g5r1kwd"; }) 71 - (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.win-x64"; version = "6.0.6"; sha256 = "1a6hvkiy2z6z7v7rw1q61qqlw7w0hzc4my3rm94kwgjcv5qkpr5k"; }) 72 64 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.0.1"; sha256 = "01al6cfxp68dscl15z7rxfw9zvhm64dncsw09a1vmdkacsa2v6lr"; }) 73 65 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.1.0"; sha256 = "08vh1r12g6ykjygq5d3vq09zylgb84l63k49jc4v8faw9g93iqqm"; }) 74 66 (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "2.0.0"; sha256 = "1fk2fk2639i7nzy58m9dvpdnzql4vb8yl8vr19r2fp8lmj9w2jr0"; })
+2 -14
pkgs/applications/emulators/ryujinx/updater.sh
··· 1 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl common-updater-scripts nuget-to-nix nix-prefetch-git jq dotnet-sdk_6 2 + #! nix-shell -I nixpkgs=./. -i bash -p coreutils gnused curl common-updater-scripts nix-prefetch-git jq 3 3 set -euo pipefail 4 4 cd "$(dirname "${BASH_SOURCE[0]}")" 5 5 ··· 75 75 76 76 echo "building Nuget lockfile" 77 77 78 - STORE_SRC="$(nix-build . -A ryujinx.src --no-out-link)" 79 - SRC="$(mktemp -d /tmp/ryujinx-src.XXX)" 80 - cp -rT "$STORE_SRC" "$SRC" 81 - chmod -R +w "$SRC" 82 - pushd "$SRC" 83 - 84 - mkdir nuget_tmp.packages 85 - DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet restore Ryujinx.sln --packages nuget_tmp.packages 86 - 87 - nuget-to-nix ./nuget_tmp.packages >"$DEPS_FILE" 88 - 89 - popd 90 - rm -r "$SRC" 78 + $(nix-build -A ryujinx.fetch-deps --no-out-link) "$DEPS_FILE"
+2 -2
pkgs/applications/misc/logseq/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "logseq"; 5 - version = "0.8.0"; 5 + version = "0.8.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage"; 9 - sha256 = "sha256-eHSZqWQWPX5gavzUwsI3VMsD2Ov0h/fVPqnA92dzKH4="; 9 + sha256 = "sha256-sJ0zaP3zhmcFKK97Bhist98xDuC/jpoN/5Vp1FIWp5M="; 10 10 name = "${pname}-${version}.AppImage"; 11 11 }; 12 12
+2 -2
pkgs/applications/networking/cluster/kubeone/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "kubeone"; 9 - version = "1.4.6"; 9 + version = "1.4.7"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "kubermatic"; 13 13 repo = "kubeone"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-2abuKLAqOaRceokmNb7YG0qg/iYbPhSTG75Rs5mwHDU="; 15 + sha256 = "sha256-SgberbjqIf+5bfE+gM7+lxl25aQVs2tJBNrPgkzowJ4="; 16 16 }; 17 17 18 18 vendorSha256 = "sha256-kI5i1us3Ooh603HOz9Y+HlfPUy/1J8z89/jvKEenpLw=";
+4 -4
pkgs/applications/networking/instant-messengers/matrix-commander/default.nix
··· 11 11 , aiofiles 12 12 , notify2 13 13 , dbus-python 14 - , xdg 14 + , pyxdg 15 15 , python-olm 16 16 }: 17 17 18 18 buildPythonApplication rec { 19 19 pname = "matrix-commander"; 20 - version = "2.37.3"; 20 + version = "3.5.0"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "8go"; 24 24 repo = "matrix-commander"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-X5tCPR0EqY1dxViwh8/tEjJM2oo81L3H703pPzWzUv8="; 26 + sha256 = "sha256-/hNTaajZTyeIcGILIXqUVbBvZ8AUNZKBDsZ4Gr5RL2o="; 27 27 }; 28 28 29 29 format = "pyproject"; ··· 49 49 aiofiles 50 50 notify2 51 51 dbus-python 52 - xdg 52 + pyxdg 53 53 python-olm 54 54 ]; 55 55
+11 -25
pkgs/applications/science/machine-learning/streamlit/default.nix
··· 6 6 7 7 # Build inputs 8 8 altair, 9 - astor, 10 - base58, 11 9 blinker, 12 - boto3, 13 - botocore, 14 10 click, 15 11 cachetools, 16 - enum-compat, 17 - future, 18 12 GitPython, 13 + importlib-metadata, 19 14 jinja2, 20 15 pillow, 21 16 pyarrow, ··· 23 18 pympler, 24 19 protobuf, 25 20 requests, 21 + rich, 22 + semver, 26 23 setuptools, 27 24 toml, 28 25 tornado, ··· 31 28 watchdog, 32 29 }: 33 30 34 - let 35 - click_7 = click.overridePythonAttrs(old: rec { 36 - version = "7.1.2"; 37 - src = old.src.override { 38 - inherit version; 39 - sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; 40 - }; 41 - }); 42 - in buildPythonApplication rec { 31 + buildPythonApplication rec { 43 32 pname = "streamlit"; 44 - version = "1.2.0"; 45 - format = "wheel"; # the only distribution available 33 + version = "1.11.1"; 34 + format = "wheel"; # source currently requires pipenv 46 35 47 36 src = fetchPypi { 48 37 inherit pname version format; 49 - sha256 = "1dzb68a8n8wvjppcmqdaqnh925b2dg6rywv51ac9q09zjxb6z11n"; 38 + hash = "sha256-+GGuL3UngPDgLOGx9QXUdRJsTswhTg7d6zuvhpp0Mo0="; 50 39 }; 51 40 52 41 propagatedBuildInputs = [ 53 42 altair 54 - astor 55 - base58 56 43 blinker 57 - boto3 58 - botocore 59 44 cachetools 60 - click_7 61 - enum-compat 62 - future 45 + click 63 46 GitPython 47 + importlib-metadata 64 48 jinja2 65 49 pillow 66 50 protobuf ··· 68 52 pydeck 69 53 pympler 70 54 requests 55 + rich 56 + semver 71 57 setuptools 72 58 toml 73 59 tornado
+13 -7
pkgs/applications/version-management/git-and-tools/ghr/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , testers 5 + , ghr 6 + }: 2 7 3 8 buildGoModule rec { 4 9 pname = "ghr"; 5 - version = "0.14.0"; 10 + version = "0.15.0"; 6 11 7 12 src = fetchFromGitHub { 8 13 owner = "tcnksm"; 9 14 repo = "ghr"; 10 15 rev = "v${version}"; 11 - sha256 = "sha256-pF1TPvQLPa5BbXZ9rRCq7xWofXCBRa9CDgNxX/kaTMo="; 16 + sha256 = "sha256-947hTRfx3GM6qKDYvlKEmofqPdcmwx9V/zISkcSKALM="; 12 17 }; 13 18 14 - vendorSha256 = "sha256-+e9Q4Pw9pJyOXVz85KhOSuybj1PBcJi51fGR3a2Gixk="; 19 + vendorSha256 = "sha256-OpWp3v1nxHJpEh2jW8MYnbaq66wx9b3DlaKzeti5N3w="; 15 20 16 21 # Tests require a Github API token, and networking 17 22 doCheck = false; 18 23 doInstallCheck = true; 19 24 20 - installCheckPhase = '' 21 - $out/bin/ghr --version 22 - ''; 25 + passthru.tests.testVersion = testers.testVersion { 26 + package = ghr; 27 + version = "ghr version v${version}"; 28 + }; 23 29 24 30 meta = with lib; { 25 31 homepage = "https://github.com/tcnksm/ghr";
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 14 14 15 15 buildGoPackage rec { 16 16 pname = "gitea"; 17 - version = "1.17.0"; 17 + version = "1.17.1"; 18 18 19 19 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 20 20 src = fetchurl { 21 21 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 22 - sha256 = "sha256-oBbAg2xQ58dLBCjhcKMoUf32ckoFfnFQHL3z3pAKW1Y="; 22 + sha256 = "sha256-ttfhsIiCl5VcqfK7ap/CA7bqXxrc4cTVIX+M2S4YanY="; 23 23 }; 24 24 25 25 patches = [
+3 -3
pkgs/applications/version-management/gitoxide/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "gitoxide"; 15 - version = "0.13.0"; 15 + version = "0.14.0"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "Byron"; 19 19 repo = "gitoxide"; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-NdZ39F6nSuLZNOdoxRs79OR6I3oFASXHzm/hecDyxNI="; 21 + sha256 = "sha256-lppg5x2VMzRo4SqAFgtiklc1WfTXi/jty92Z91CxZPM="; 22 22 }; 23 23 24 - cargoSha256 = "sha256-6uRLW1KJF0yskEfWm9ERQIDgVnerAhQFbMaxhnEDIOc="; 24 + cargoSha256 = "sha256-j4riS3OzfbEriAlqcjq6GcyTrK5sjFEopMesmWTGxp4="; 25 25 26 26 nativeBuildInputs = [ cmake pkg-config ]; 27 27 buildInputs = if stdenv.isDarwin
+438 -79
pkgs/applications/virtualization/crosvm/Cargo.lock
··· 12 12 "devices", 13 13 "hypervisor", 14 14 "kernel_cmdline", 15 + "kernel_loader", 15 16 "kvm", 16 17 "kvm_sys", 17 18 "libc", ··· 43 44 ] 44 45 45 46 [[package]] 47 + name = "android_system_properties" 48 + version = "0.1.4" 49 + source = "registry+https://github.com/rust-lang/crates.io-index" 50 + checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" 51 + dependencies = [ 52 + "libc", 53 + ] 54 + 55 + [[package]] 46 56 name = "ansi_term" 47 57 version = "0.12.1" 48 58 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 53 63 54 64 [[package]] 55 65 name = "anyhow" 56 - version = "1.0.58" 66 + version = "1.0.61" 57 67 source = "registry+https://github.com/rust-lang/crates.io-index" 58 - checksum = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704" 68 + checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8" 59 69 60 70 [[package]] 61 71 name = "arch" ··· 98 108 "argh_shared", 99 109 "heck", 100 110 "proc-macro2", 101 - "quote", 102 - "syn", 111 + "quote 1.0.21", 112 + "syn 1.0.99", 113 + ] 114 + 115 + [[package]] 116 + name = "argh_helpers" 117 + version = "0.1.0" 118 + dependencies = [ 119 + "proc-macro2", 120 + "quote 1.0.21", 121 + "syn 1.0.99", 103 122 ] 104 123 105 124 [[package]] ··· 120 139 121 140 [[package]] 122 141 name = "async-trait" 123 - version = "0.1.56" 142 + version = "0.1.57" 124 143 source = "registry+https://github.com/rust-lang/crates.io-index" 125 - checksum = "96cf8829f67d2eab0b2dfa42c5d0ef737e0724e4a82b01b3e292456202b19716" 144 + checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" 126 145 dependencies = [ 127 146 "proc-macro2", 128 - "quote", 129 - "syn", 147 + "quote 1.0.21", 148 + "syn 1.0.99", 130 149 ] 131 150 132 151 [[package]] ··· 177 196 version = "0.1.0" 178 197 dependencies = [ 179 198 "audio_streams", 180 - "base_poll_token_derive", 199 + "base_event_token_derive", 181 200 "cfg-if", 182 201 "chrono", 183 202 "data_model", 203 + "env_logger", 184 204 "lazy_static", 185 205 "libc", 186 206 "log", 207 + "once_cell", 187 208 "rand 0.8.5", 188 209 "regex", 189 210 "remain", ··· 193 214 "sync", 194 215 "tempfile", 195 216 "thiserror", 217 + "uuid", 196 218 "win_util", 197 219 "winapi", 198 220 ] 199 221 200 222 [[package]] 201 - name = "base_poll_token_derive" 223 + name = "base_event_token_derive" 202 224 version = "0.1.0" 203 225 dependencies = [ 204 226 "proc-macro2", 205 - "quote", 206 - "syn", 227 + "quote 1.0.21", 228 + "syn 1.0.99", 207 229 ] 208 230 209 231 [[package]] ··· 218 240 version = "0.1.0" 219 241 dependencies = [ 220 242 "proc-macro2", 221 - "quote", 222 - "syn", 243 + "quote 1.0.21", 244 + "syn 1.0.99", 223 245 ] 224 246 225 247 [[package]] ··· 229 251 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 230 252 231 253 [[package]] 254 + name = "broker_ipc" 255 + version = "0.1.0" 256 + dependencies = [ 257 + "anyhow", 258 + "base", 259 + "metrics", 260 + "serde", 261 + ] 262 + 263 + [[package]] 264 + name = "bumpalo" 265 + version = "3.10.0" 266 + source = "registry+https://github.com/rust-lang/crates.io-index" 267 + checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" 268 + 269 + [[package]] 270 + name = "byteorder" 271 + version = "1.4.3" 272 + source = "registry+https://github.com/rust-lang/crates.io-index" 273 + checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 274 + 275 + [[package]] 232 276 name = "cbindgen" 233 277 version = "0.20.0" 234 278 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 239 283 "indexmap", 240 284 "log", 241 285 "proc-macro2", 242 - "quote", 286 + "quote 1.0.21", 243 287 "serde", 244 288 "serde_json", 245 - "syn", 289 + "syn 1.0.99", 246 290 "tempfile", 247 291 "toml", 248 292 ] ··· 261 305 262 306 [[package]] 263 307 name = "chrono" 264 - version = "0.4.19" 308 + version = "0.4.22" 265 309 source = "registry+https://github.com/rust-lang/crates.io-index" 266 - checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 310 + checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" 267 311 dependencies = [ 268 - "libc", 312 + "iana-time-zone", 313 + "js-sys", 269 314 "num-integer", 270 315 "num-traits", 316 + "serde", 271 317 "time", 318 + "wasm-bindgen", 272 319 "winapi", 273 320 ] 274 321 ··· 303 350 checksum = "fb58b6451e8c2a812ad979ed1d83378caa5e927eef2622017a45f251457c2c9d" 304 351 305 352 [[package]] 353 + name = "core-foundation-sys" 354 + version = "0.8.3" 355 + source = "registry+https://github.com/rust-lang/crates.io-index" 356 + checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" 357 + 358 + [[package]] 306 359 name = "crc32fast" 307 360 version = "1.3.2" 308 361 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 351 404 352 405 [[package]] 353 406 name = "crossbeam-utils" 354 - version = "0.8.10" 407 + version = "0.8.11" 355 408 source = "registry+https://github.com/rust-lang/crates.io-index" 356 - checksum = "7d82ee10ce34d7bc12c2122495e7593a9c41347ecdd64185af4ecf72cb1a7f83" 409 + checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc" 357 410 dependencies = [ 358 411 "cfg-if", 359 412 "once_cell", ··· 367 420 "acpi_tables", 368 421 "anyhow", 369 422 "arch", 423 + "argh", 424 + "argh_helpers", 370 425 "assertions", 371 426 "audio_streams", 372 427 "base", 373 428 "bit_field", 429 + "broker_ipc", 374 430 "cfg-if", 375 431 "crosvm_plugin", 376 432 "data_model", ··· 388 444 "libc", 389 445 "libcras", 390 446 "log", 447 + "metrics", 391 448 "minijail", 392 449 "net_util", 393 450 "p9", ··· 478 535 ] 479 536 480 537 [[package]] 538 + name = "derive-into-owned" 539 + version = "0.1.0" 540 + source = "registry+https://github.com/rust-lang/crates.io-index" 541 + checksum = "576fce04d31d592013a5887ba8d9c3830adff329e5096d7e1eb5e8e61262ca62" 542 + dependencies = [ 543 + "quote 0.3.15", 544 + "syn 0.11.11", 545 + ] 546 + 547 + [[package]] 481 548 name = "devices" 482 549 version = "0.1.0" 483 550 dependencies = [ ··· 513 580 "power_monitor", 514 581 "protobuf", 515 582 "protos", 583 + "rand 0.7.3", 516 584 "remain", 517 585 "resources", 518 586 "rutabaga_gfx", ··· 541 609 dependencies = [ 542 610 "async-trait", 543 611 "base", 612 + "cfg-if", 544 613 "crc32fast", 545 614 "cros_async", 546 615 "data_model", ··· 549 618 "protobuf", 550 619 "protos", 551 620 "remain", 621 + "serde", 552 622 "tempfile", 553 623 "thiserror", 554 624 "uuid", ··· 569 639 570 640 [[package]] 571 641 name = "enumn" 572 - version = "0.1.4" 642 + version = "0.1.5" 573 643 source = "registry+https://github.com/rust-lang/crates.io-index" 574 - checksum = "052bc8773a98bd051ff37db74a8a25f00e6bfa2cbd03373390c72e9f7afbf344" 644 + checksum = "038b1afa59052df211f9efd58f8b1d84c242935ede1c3dbaed26b018a9e06ae2" 575 645 dependencies = [ 576 646 "proc-macro2", 577 - "quote", 578 - "syn", 647 + "quote 1.0.21", 648 + "syn 1.0.99", 649 + ] 650 + 651 + [[package]] 652 + name = "env_logger" 653 + version = "0.9.0" 654 + source = "registry+https://github.com/rust-lang/crates.io-index" 655 + checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3" 656 + dependencies = [ 657 + "atty", 658 + "humantime", 659 + "log", 660 + "regex", 661 + "termcolor", 579 662 ] 580 663 581 664 [[package]] 582 665 name = "fastrand" 583 - version = "1.7.0" 666 + version = "1.8.0" 584 667 source = "registry+https://github.com/rust-lang/crates.io-index" 585 - checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" 668 + checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" 586 669 dependencies = [ 587 670 "instant", 588 671 ] 672 + 673 + [[package]] 674 + name = "fnv" 675 + version = "1.0.7" 676 + source = "registry+https://github.com/rust-lang/crates.io-index" 677 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 589 678 590 679 [[package]] 591 680 name = "fuchsia-cprng" ··· 663 752 checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" 664 753 dependencies = [ 665 754 "proc-macro2", 666 - "quote", 667 - "syn", 755 + "quote 1.0.21", 756 + "syn 1.0.99", 668 757 ] 669 758 670 759 [[package]] ··· 723 812 724 813 [[package]] 725 814 name = "getrandom" 815 + version = "0.1.16" 816 + source = "registry+https://github.com/rust-lang/crates.io-index" 817 + checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" 818 + dependencies = [ 819 + "cfg-if", 820 + "libc", 821 + "wasi 0.9.0+wasi-snapshot-preview1", 822 + ] 823 + 824 + [[package]] 825 + name = "getrandom" 726 826 version = "0.2.7" 727 827 source = "registry+https://github.com/rust-lang/crates.io-index" 728 828 checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" ··· 748 848 749 849 [[package]] 750 850 name = "hashbrown" 751 - version = "0.12.2" 851 + version = "0.12.3" 752 852 source = "registry+https://github.com/rust-lang/crates.io-index" 753 - checksum = "607c8a29735385251a339424dd462993c0fed8fa09d378f259377df08c126022" 853 + checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 754 854 755 855 [[package]] 756 856 name = "heck" ··· 771 871 ] 772 872 773 873 [[package]] 874 + name = "humantime" 875 + version = "2.1.0" 876 + source = "registry+https://github.com/rust-lang/crates.io-index" 877 + checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 878 + 879 + [[package]] 774 880 name = "hypervisor" 775 881 version = "0.1.0" 776 882 dependencies = [ 777 883 "base", 778 884 "bit_field", 885 + "bitflags", 779 886 "data_model", 780 887 "downcast-rs", 781 888 "enumn", 889 + "fnv", 782 890 "kvm", 783 891 "kvm_sys", 784 892 "libc", 785 893 "memoffset 0.6.5", 786 894 "serde", 787 895 "sync", 896 + "tempfile", 788 897 "vm_memory", 898 + "win_util", 899 + "winapi", 900 + ] 901 + 902 + [[package]] 903 + name = "iana-time-zone" 904 + version = "0.1.44" 905 + source = "registry+https://github.com/rust-lang/crates.io-index" 906 + checksum = "808cf7d67cf4a22adc5be66e75ebdf769b3f2ea032041437a7061f97a63dad4b" 907 + dependencies = [ 908 + "android_system_properties", 909 + "core-foundation-sys", 910 + "js-sys", 911 + "wasm-bindgen", 912 + "winapi", 789 913 ] 790 914 791 915 [[package]] ··· 814 938 "anyhow", 815 939 "arch", 816 940 "base", 817 - "crosvm", 818 941 "libc", 819 942 "tempfile", 820 943 ] ··· 843 966 844 967 [[package]] 845 968 name = "itoa" 846 - version = "1.0.2" 969 + version = "1.0.3" 970 + source = "registry+https://github.com/rust-lang/crates.io-index" 971 + checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" 972 + 973 + [[package]] 974 + name = "js-sys" 975 + version = "0.3.59" 847 976 source = "registry+https://github.com/rust-lang/crates.io-index" 848 - checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" 977 + checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2" 978 + dependencies = [ 979 + "wasm-bindgen", 980 + ] 849 981 850 982 [[package]] 851 983 name = "kernel_cmdline" ··· 898 1030 899 1031 [[package]] 900 1032 name = "libc" 901 - version = "0.2.126" 1033 + version = "0.2.131" 902 1034 source = "registry+https://github.com/rust-lang/crates.io-index" 903 - checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" 1035 + checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40" 904 1036 905 1037 [[package]] 906 1038 name = "libcras" ··· 916 1048 ] 917 1049 918 1050 [[package]] 1051 + name = "libslirp-sys" 1052 + version = "4.2.1" 1053 + source = "registry+https://github.com/rust-lang/crates.io-index" 1054 + checksum = "2772370ce9b7fa05c7eae0bd033005e139a64d52cee498a7905b3eb5d243c5f4" 1055 + dependencies = [ 1056 + "pkg-config", 1057 + ] 1058 + 1059 + [[package]] 919 1060 name = "libvda" 920 1061 version = "0.1.0" 921 1062 dependencies = [ ··· 973 1114 ] 974 1115 975 1116 [[package]] 1117 + name = "metrics" 1118 + version = "0.1.0" 1119 + dependencies = [ 1120 + "anyhow", 1121 + "base", 1122 + "cfg-if", 1123 + "chrono", 1124 + "lazy_static", 1125 + "libc", 1126 + "protobuf", 1127 + "protoc-rust", 1128 + "serde", 1129 + "serde_json", 1130 + "sync", 1131 + "winapi", 1132 + "wmi", 1133 + ] 1134 + 1135 + [[package]] 976 1136 name = "minijail" 977 1137 version = "0.2.3" 978 1138 dependencies = [ ··· 1006 1166 "cros_async", 1007 1167 "data_model", 1008 1168 "libc", 1169 + "libslirp-sys", 1170 + "metrics", 1009 1171 "net_sys", 1172 + "pcap-file", 1010 1173 "remain", 1011 1174 "serde", 1175 + "smallvec", 1012 1176 "thiserror", 1177 + "virtio_sys", 1178 + "winapi", 1013 1179 ] 1014 1180 1015 1181 [[package]] ··· 1057 1223 1058 1224 [[package]] 1059 1225 name = "paste" 1060 - version = "1.0.7" 1226 + version = "1.0.8" 1061 1227 source = "registry+https://github.com/rust-lang/crates.io-index" 1062 - checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc" 1228 + checksum = "9423e2b32f7a043629287a536f21951e8c6a82482d0acb1eeebfc90bc2225b22" 1229 + 1230 + [[package]] 1231 + name = "pcap-file" 1232 + version = "1.1.1" 1233 + source = "registry+https://github.com/rust-lang/crates.io-index" 1234 + checksum = "6ad13fed1a83120159aea81b265074f21d753d157dd16b10cc3790ecba40a341" 1235 + dependencies = [ 1236 + "byteorder", 1237 + "derive-into-owned", 1238 + "thiserror", 1239 + ] 1063 1240 1064 1241 [[package]] 1065 1242 name = "pin-project-lite" ··· 1099 1276 1100 1277 [[package]] 1101 1278 name = "proc-macro2" 1102 - version = "1.0.40" 1279 + version = "1.0.43" 1103 1280 source = "registry+https://github.com/rust-lang/crates.io-index" 1104 - checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" 1281 + checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" 1105 1282 dependencies = [ 1106 1283 "unicode-ident", 1107 1284 ] ··· 1111 1288 version = "2.27.1" 1112 1289 source = "registry+https://github.com/rust-lang/crates.io-index" 1113 1290 checksum = "cf7e6d18738ecd0902d30d1ad232c9125985a3422929b16c65517b38adc14f96" 1291 + dependencies = [ 1292 + "serde", 1293 + "serde_derive", 1294 + ] 1114 1295 1115 1296 [[package]] 1116 1297 name = "protobuf-codegen" ··· 1163 1344 1164 1345 [[package]] 1165 1346 name = "quote" 1166 - version = "1.0.20" 1347 + version = "0.3.15" 1348 + source = "registry+https://github.com/rust-lang/crates.io-index" 1349 + checksum = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a" 1350 + 1351 + [[package]] 1352 + name = "quote" 1353 + version = "1.0.21" 1167 1354 source = "registry+https://github.com/rust-lang/crates.io-index" 1168 - checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" 1355 + checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" 1169 1356 dependencies = [ 1170 1357 "proc-macro2", 1171 1358 ] ··· 1180 1367 "libc", 1181 1368 "rand_chacha 0.1.1", 1182 1369 "rand_core 0.4.2", 1183 - "rand_hc", 1370 + "rand_hc 0.1.0", 1184 1371 "rand_isaac", 1185 1372 "rand_jitter", 1186 1373 "rand_os", ··· 1191 1378 1192 1379 [[package]] 1193 1380 name = "rand" 1381 + version = "0.7.3" 1382 + source = "registry+https://github.com/rust-lang/crates.io-index" 1383 + checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 1384 + dependencies = [ 1385 + "getrandom 0.1.16", 1386 + "libc", 1387 + "rand_chacha 0.2.2", 1388 + "rand_core 0.5.1", 1389 + "rand_hc 0.2.0", 1390 + ] 1391 + 1392 + [[package]] 1393 + name = "rand" 1194 1394 version = "0.8.5" 1195 1395 source = "registry+https://github.com/rust-lang/crates.io-index" 1196 1396 checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" ··· 1212 1412 1213 1413 [[package]] 1214 1414 name = "rand_chacha" 1415 + version = "0.2.2" 1416 + source = "registry+https://github.com/rust-lang/crates.io-index" 1417 + checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 1418 + dependencies = [ 1419 + "ppv-lite86", 1420 + "rand_core 0.5.1", 1421 + ] 1422 + 1423 + [[package]] 1424 + name = "rand_chacha" 1215 1425 version = "0.3.1" 1216 1426 source = "registry+https://github.com/rust-lang/crates.io-index" 1217 1427 checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" ··· 1237 1447 1238 1448 [[package]] 1239 1449 name = "rand_core" 1450 + version = "0.5.1" 1451 + source = "registry+https://github.com/rust-lang/crates.io-index" 1452 + checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" 1453 + dependencies = [ 1454 + "getrandom 0.1.16", 1455 + ] 1456 + 1457 + [[package]] 1458 + name = "rand_core" 1240 1459 version = "0.6.3" 1241 1460 source = "registry+https://github.com/rust-lang/crates.io-index" 1242 1461 checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 1243 1462 dependencies = [ 1244 - "getrandom", 1463 + "getrandom 0.2.7", 1245 1464 ] 1246 1465 1247 1466 [[package]] ··· 1254 1473 ] 1255 1474 1256 1475 [[package]] 1476 + name = "rand_hc" 1477 + version = "0.2.0" 1478 + source = "registry+https://github.com/rust-lang/crates.io-index" 1479 + checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" 1480 + dependencies = [ 1481 + "rand_core 0.5.1", 1482 + ] 1483 + 1484 + [[package]] 1257 1485 name = "rand_isaac" 1258 1486 version = "0.1.1" 1259 1487 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1317 1545 1318 1546 [[package]] 1319 1547 name = "redox_syscall" 1320 - version = "0.2.13" 1548 + version = "0.2.16" 1321 1549 source = "registry+https://github.com/rust-lang/crates.io-index" 1322 - checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" 1550 + checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 1323 1551 dependencies = [ 1324 1552 "bitflags", 1325 1553 ] ··· 1343 1571 1344 1572 [[package]] 1345 1573 name = "remain" 1346 - version = "0.2.3" 1574 + version = "0.2.4" 1347 1575 source = "registry+https://github.com/rust-lang/crates.io-index" 1348 - checksum = "0c35270ea384ac1762895831cc8acb96f171468e52cec82ed9186f9416209fa4" 1576 + checksum = "06df529c0d271b27ac4a2c260f5ce2914b60bd44702cecec7b9f271adbdde23b" 1349 1577 dependencies = [ 1350 1578 "proc-macro2", 1351 - "quote", 1352 - "syn", 1579 + "quote 1.0.21", 1580 + "syn 1.0.99", 1353 1581 ] 1354 1582 1355 1583 [[package]] ··· 1382 1610 "libc", 1383 1611 "pkg-config", 1384 1612 "remain", 1613 + "serde", 1385 1614 "sync", 1386 1615 "thiserror", 1387 1616 ] 1388 1617 1389 1618 [[package]] 1390 1619 name = "ryu" 1391 - version = "1.0.10" 1620 + version = "1.0.11" 1392 1621 source = "registry+https://github.com/rust-lang/crates.io-index" 1393 - checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" 1622 + checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" 1394 1623 1395 1624 [[package]] 1396 1625 name = "scudo" ··· 1414 1643 1415 1644 [[package]] 1416 1645 name = "serde" 1417 - version = "1.0.139" 1646 + version = "1.0.143" 1418 1647 source = "registry+https://github.com/rust-lang/crates.io-index" 1419 - checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6" 1648 + checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" 1420 1649 dependencies = [ 1421 1650 "serde_derive", 1422 1651 ] 1423 1652 1424 1653 [[package]] 1425 1654 name = "serde_derive" 1426 - version = "1.0.139" 1655 + version = "1.0.143" 1427 1656 source = "registry+https://github.com/rust-lang/crates.io-index" 1428 - checksum = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb" 1657 + checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" 1429 1658 dependencies = [ 1430 1659 "proc-macro2", 1431 - "quote", 1432 - "syn", 1660 + "quote 1.0.21", 1661 + "syn 1.0.99", 1433 1662 ] 1434 1663 1435 1664 [[package]] 1436 1665 name = "serde_json" 1437 - version = "1.0.82" 1666 + version = "1.0.83" 1438 1667 source = "registry+https://github.com/rust-lang/crates.io-index" 1439 - checksum = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7" 1668 + checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7" 1440 1669 dependencies = [ 1441 1670 "itoa", 1442 1671 "ryu", ··· 1448 1677 version = "0.1.0" 1449 1678 dependencies = [ 1450 1679 "argh", 1680 + "num-traits", 1451 1681 "remain", 1452 1682 "serde", 1453 1683 "serde_keyvalue_derive", ··· 1460 1690 dependencies = [ 1461 1691 "argh", 1462 1692 "proc-macro2", 1463 - "quote", 1464 - "syn", 1693 + "quote 1.0.21", 1694 + "syn 1.0.99", 1465 1695 ] 1466 1696 1467 1697 [[package]] 1468 1698 name = "slab" 1469 - version = "0.4.6" 1699 + version = "0.4.7" 1470 1700 source = "registry+https://github.com/rust-lang/crates.io-index" 1471 - checksum = "eb703cfe953bccee95685111adeedb76fabe4e97549a58d16f03ea7b9367bb32" 1701 + checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" 1702 + dependencies = [ 1703 + "autocfg 1.1.0", 1704 + ] 1472 1705 1473 1706 [[package]] 1474 1707 name = "smallvec" ··· 1484 1717 1485 1718 [[package]] 1486 1719 name = "syn" 1487 - version = "1.0.98" 1720 + version = "0.11.11" 1488 1721 source = "registry+https://github.com/rust-lang/crates.io-index" 1489 - checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" 1722 + checksum = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad" 1723 + dependencies = [ 1724 + "quote 0.3.15", 1725 + "synom", 1726 + "unicode-xid", 1727 + ] 1728 + 1729 + [[package]] 1730 + name = "syn" 1731 + version = "1.0.99" 1732 + source = "registry+https://github.com/rust-lang/crates.io-index" 1733 + checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" 1490 1734 dependencies = [ 1491 1735 "proc-macro2", 1492 - "quote", 1736 + "quote 1.0.21", 1493 1737 "unicode-ident", 1494 1738 ] 1495 1739 ··· 1498 1742 version = "0.1.0" 1499 1743 1500 1744 [[package]] 1745 + name = "synom" 1746 + version = "0.11.3" 1747 + source = "registry+https://github.com/rust-lang/crates.io-index" 1748 + checksum = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6" 1749 + dependencies = [ 1750 + "unicode-xid", 1751 + ] 1752 + 1753 + [[package]] 1501 1754 name = "system_api" 1502 1755 version = "0.1.0" 1503 1756 ··· 1516 1769 ] 1517 1770 1518 1771 [[package]] 1772 + name = "termcolor" 1773 + version = "1.1.3" 1774 + source = "registry+https://github.com/rust-lang/crates.io-index" 1775 + checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" 1776 + dependencies = [ 1777 + "winapi-util", 1778 + ] 1779 + 1780 + [[package]] 1519 1781 name = "terminal_size" 1520 1782 version = "0.1.17" 1521 1783 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1536 1798 1537 1799 [[package]] 1538 1800 name = "thiserror" 1539 - version = "1.0.31" 1801 + version = "1.0.32" 1540 1802 source = "registry+https://github.com/rust-lang/crates.io-index" 1541 - checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" 1803 + checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994" 1542 1804 dependencies = [ 1543 1805 "thiserror-impl", 1544 1806 ] 1545 1807 1546 1808 [[package]] 1547 1809 name = "thiserror-impl" 1548 - version = "1.0.31" 1810 + version = "1.0.32" 1549 1811 source = "registry+https://github.com/rust-lang/crates.io-index" 1550 - checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" 1812 + checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21" 1551 1813 dependencies = [ 1552 1814 "proc-macro2", 1553 - "quote", 1554 - "syn", 1815 + "quote 1.0.21", 1816 + "syn 1.0.99", 1555 1817 ] 1556 1818 1557 1819 [[package]] ··· 1605 1867 1606 1868 [[package]] 1607 1869 name = "unicode-ident" 1608 - version = "1.0.2" 1870 + version = "1.0.3" 1609 1871 source = "registry+https://github.com/rust-lang/crates.io-index" 1610 - checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7" 1872 + checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" 1611 1873 1612 1874 [[package]] 1613 1875 name = "unicode-segmentation" ··· 1622 1884 checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" 1623 1885 1624 1886 [[package]] 1887 + name = "unicode-xid" 1888 + version = "0.0.4" 1889 + source = "registry+https://github.com/rust-lang/crates.io-index" 1890 + checksum = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc" 1891 + 1892 + [[package]] 1625 1893 name = "usb_sys" 1626 1894 version = "0.1.0" 1627 1895 dependencies = [ ··· 1647 1915 source = "registry+https://github.com/rust-lang/crates.io-index" 1648 1916 checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" 1649 1917 dependencies = [ 1650 - "getrandom", 1918 + "getrandom 0.2.7", 1651 1919 ] 1652 1920 1653 1921 [[package]] ··· 1712 1980 dependencies = [ 1713 1981 "base", 1714 1982 "bitflags", 1983 + "cfg-if", 1715 1984 "cros_async", 1716 1985 "data_model", 1717 1986 "libc", ··· 1739 2008 1740 2009 [[package]] 1741 2010 name = "wasi" 2011 + version = "0.9.0+wasi-snapshot-preview1" 2012 + source = "registry+https://github.com/rust-lang/crates.io-index" 2013 + checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 2014 + 2015 + [[package]] 2016 + name = "wasi" 1742 2017 version = "0.10.0+wasi-snapshot-preview1" 1743 2018 source = "registry+https://github.com/rust-lang/crates.io-index" 1744 2019 checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" ··· 1750 2025 checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 1751 2026 1752 2027 [[package]] 2028 + name = "wasm-bindgen" 2029 + version = "0.2.82" 2030 + source = "registry+https://github.com/rust-lang/crates.io-index" 2031 + checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" 2032 + dependencies = [ 2033 + "cfg-if", 2034 + "wasm-bindgen-macro", 2035 + ] 2036 + 2037 + [[package]] 2038 + name = "wasm-bindgen-backend" 2039 + version = "0.2.82" 2040 + source = "registry+https://github.com/rust-lang/crates.io-index" 2041 + checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" 2042 + dependencies = [ 2043 + "bumpalo", 2044 + "log", 2045 + "once_cell", 2046 + "proc-macro2", 2047 + "quote 1.0.21", 2048 + "syn 1.0.99", 2049 + "wasm-bindgen-shared", 2050 + ] 2051 + 2052 + [[package]] 2053 + name = "wasm-bindgen-macro" 2054 + version = "0.2.82" 2055 + source = "registry+https://github.com/rust-lang/crates.io-index" 2056 + checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" 2057 + dependencies = [ 2058 + "quote 1.0.21", 2059 + "wasm-bindgen-macro-support", 2060 + ] 2061 + 2062 + [[package]] 2063 + name = "wasm-bindgen-macro-support" 2064 + version = "0.2.82" 2065 + source = "registry+https://github.com/rust-lang/crates.io-index" 2066 + checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" 2067 + dependencies = [ 2068 + "proc-macro2", 2069 + "quote 1.0.21", 2070 + "syn 1.0.99", 2071 + "wasm-bindgen-backend", 2072 + "wasm-bindgen-shared", 2073 + ] 2074 + 2075 + [[package]] 2076 + name = "wasm-bindgen-shared" 2077 + version = "0.2.82" 2078 + source = "registry+https://github.com/rust-lang/crates.io-index" 2079 + checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" 2080 + 2081 + [[package]] 1753 2082 name = "which" 1754 2083 version = "4.2.5" 1755 2084 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1761 2090 ] 1762 2091 1763 2092 [[package]] 2093 + name = "widestring" 2094 + version = "0.5.1" 2095 + source = "registry+https://github.com/rust-lang/crates.io-index" 2096 + checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" 2097 + 2098 + [[package]] 1764 2099 name = "win_util" 1765 2100 version = "0.1.0" 1766 2101 dependencies = [ ··· 1788 2123 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1789 2124 1790 2125 [[package]] 2126 + name = "winapi-util" 2127 + version = "0.1.5" 2128 + source = "registry+https://github.com/rust-lang/crates.io-index" 2129 + checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 2130 + dependencies = [ 2131 + "winapi", 2132 + ] 2133 + 2134 + [[package]] 1791 2135 name = "winapi-x86_64-pc-windows-gnu" 1792 2136 version = "0.4.0" 1793 2137 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1816 2160 source = "registry+https://github.com/rust-lang/crates.io-index" 1817 2161 checksum = "f757e7665f81f33ace9f89b0f0fc3a7c770e24ff4fa1475c6503bb35b4524893" 1818 2162 dependencies = [ 1819 - "syn", 2163 + "syn 1.0.99", 1820 2164 "windows_gen", 1821 2165 ] 1822 2166 ··· 1825 2169 version = "0.1.0" 1826 2170 dependencies = [ 1827 2171 "proc-macro2", 1828 - "quote", 1829 - "syn", 2172 + "quote 1.0.21", 2173 + "syn 1.0.99", 2174 + ] 2175 + 2176 + [[package]] 2177 + name = "wmi" 2178 + version = "0.9.3" 2179 + source = "registry+https://github.com/rust-lang/crates.io-index" 2180 + checksum = "757a458f9bfab0542c11feed99bd492cbe23add50515bd8eecf8c6973673d32d" 2181 + dependencies = [ 2182 + "chrono", 2183 + "log", 2184 + "serde", 2185 + "thiserror", 2186 + "widestring", 2187 + "winapi", 1830 2188 ] 1831 2189 1832 2190 [[package]] ··· 1846 2204 "kernel_loader", 1847 2205 "libc", 1848 2206 "minijail", 2207 + "once_cell", 1849 2208 "remain", 1850 2209 "resources", 1851 2210 "sync",
+22 -10
pkgs/applications/virtualization/crosvm/default.nix
··· 1 1 { stdenv, lib, rustPlatform, fetchgit 2 - , minijail-tools, pkg-config, wayland-scanner 2 + , minijail-tools, pkg-config, protobuf, wayland-scanner 3 3 , libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols 4 4 }: 5 5 6 - rustPlatform.buildRustPackage rec { 7 - pname = "crosvm"; 8 - version = "103.3"; 9 - 6 + let 10 7 src = fetchgit { 11 8 url = "https://chromium.googlesource.com/crosvm/crosvm"; 12 - rev = "e7db3a5cc78ca90ab06aadd5f08bb151090269b6"; 13 - sha256 = "0hyz0mg5fn6hi97awfpxfykgv68m935r037sdf85v3vcwjy5n5ki"; 9 + rev = "265aab613b1eb31598ea0826f04810d9f010a2c6"; 10 + sha256 = "OzbtPHs6BWK83RZ/6eCQHA61X6SY8FoBkaN70a37pvc="; 14 11 fetchSubmodules = true; 15 12 }; 16 13 14 + # use vendored virglrenderer 15 + virglrenderer' = virglrenderer.overrideAttrs (oa: { 16 + src = "${src}/third_party/virglrenderer"; 17 + }); 18 + in 19 + 20 + rustPlatform.buildRustPackage rec { 21 + pname = "crosvm"; 22 + version = "104.0"; 23 + 24 + inherit src; 25 + 17 26 separateDebugInfo = true; 18 27 19 28 patches = [ ··· 22 31 23 32 cargoLock.lockFile = ./Cargo.lock; 24 33 25 - nativeBuildInputs = [ minijail-tools pkg-config wayland-scanner ]; 34 + nativeBuildInputs = [ minijail-tools pkg-config protobuf wayland-scanner ]; 26 35 27 36 buildInputs = [ 28 - libcap libdrm libepoxy minijail virglrenderer wayland wayland-protocols 37 + libcap libdrm libepoxy minijail virglrenderer' wayland wayland-protocols 29 38 ]; 30 39 31 40 arch = stdenv.hostPlatform.parsed.cpu.name; ··· 43 52 compile_seccomp_policy \ 44 53 --default-action trap $policy ''${policy%.policy}.bpf 45 54 done 55 + 56 + substituteInPlace seccomp/$arch/*.policy \ 57 + --replace "@include $(pwd)/seccomp/$arch/" "@include $out/share/policy/" 46 58 ''; 47 59 48 60 buildFeatures = [ "default" "virgl_renderer" "virgl_renderer_next" ]; 49 61 50 62 postInstall = '' 51 63 mkdir -p $out/share/policy/ 52 - cp -v seccomp/$arch/*.bpf $out/share/policy/ 64 + cp -v seccomp/$arch/*.{policy,bpf} $out/share/policy/ 53 65 ''; 54 66 55 67 passthru.updateScript = ./update.py;
+3 -3
pkgs/build-support/dotnet/build-dotnet-module/default.nix
··· 1 - { lib, stdenvNoCC, linkFarmFromDrvs, callPackage, nuget-to-nix, writeScript, makeWrapper, fetchurl, xml2, dotnetCorePackages, dotnetPackages, mkNugetSource, mkNugetDeps, cacert, srcOnly, symlinkJoin, coreutils }: 1 + { lib, stdenvNoCC, linkFarmFromDrvs, callPackage, nuget-to-nix, writeShellScript, makeWrapper, fetchurl, xml2, dotnetCorePackages, dotnetPackages, mkNugetSource, mkNugetDeps, cacert, srcOnly, symlinkJoin, coreutils }: 2 2 3 3 { name ? "${args.pname}-${args.version}" 4 4 , pname ? name ··· 136 136 137 137 fetch-deps = let 138 138 exclusions = dotnet-sdk.passthru.packages { fetchNuGet = attrs: attrs.pname; }; 139 - in writeScript "fetch-${pname}-deps" '' 139 + in writeShellScript "fetch-${pname}-deps" '' 140 140 set -euo pipefail 141 141 export PATH="${lib.makeBinPath [ coreutils dotnet-sdk nuget-to-nix ]}" 142 142 143 143 cd "$(dirname "''${BASH_SOURCE[0]}")" 144 144 145 145 export HOME=$(mktemp -d) 146 - deps_file="/tmp/${pname}-deps.nix" 146 + deps_file="''${1:-/tmp/${pname}-deps.nix}" 147 147 148 148 store_src="${srcOnly args}" 149 149 src="$(mktemp -d /tmp/${pname}.XXX)"
+1 -1
pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh
··· 10 10 fi 11 11 12 12 pkgs=$1 13 - exclusions=$2 13 + exclusions="${2:-/dev/null}" 14 14 tmpfile=$(mktemp /tmp/nuget-to-nix.XXXXXX) 15 15 trap "rm -f ${tmpfile}" EXIT 16 16
+31
pkgs/development/compilers/llvm/14/compiler-rt/armv7l.patch
··· 1 + diff -ur compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2 + --- compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake 2020-03-24 00:01:02.000000000 +0900 3 + +++ compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2020-05-10 03:42:00.883450706 +0900 4 + @@ -37,6 +37,6 @@ 5 + 6 + set(ARM64 aarch64) 7 + -set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k armv8m.main armv8.1m.main) 8 + +set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k armv7l armv8m.main armv8.1m.main) 9 + set(HEXAGON hexagon) 10 + set(X86 i386) 11 + set(X86_64 x86_64) 12 + diff -ur compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 13 + --- compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt 2020-03-24 00:01:02.000000000 +0900 14 + +++ compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 2020-05-10 03:44:49.468579650 +0900 15 + @@ -555,6 +555,7 @@ 16 + set(armv7_SOURCES ${arm_SOURCES}) 17 + set(armv7s_SOURCES ${arm_SOURCES}) 18 + set(armv7k_SOURCES ${arm_SOURCES}) 19 + +set(armv7l_SOURCES ${arm_SOURCES}) 20 + set(arm64_SOURCES ${aarch64_SOURCES}) 21 + 22 + # macho_embedded archs 23 + @@ -705,7 +705,7 @@ 24 + foreach (arch ${BUILTIN_SUPPORTED_ARCH}) 25 + if (CAN_TARGET_${arch}) 26 + # For ARM archs, exclude any VFP builtins if VFP is not supported 27 + - if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em|armv8m.main|armv8.1m.main)$") 28 + + if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7l|armv7m|armv7em|armv8m.main|armv8.1m.main)$") 29 + string(REPLACE ";" " " _TARGET_${arch}_CFLAGS "${TARGET_${arch}_CFLAGS}") 30 + check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_${arch}_CFLAGS}" COMPILER_RT_HAS_${arch}_VFP) 31 + if(NOT COMPILER_RT_HAS_${arch}_VFP)
+2 -1
pkgs/development/compilers/llvm/14/compiler-rt/default.nix
··· 73 73 # extra `/`. 74 74 ./normalize-var.patch 75 75 ] # Prevent a compilation error on darwin 76 - ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin-targetconditionals.patch; 76 + ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin-targetconditionals.patch 77 + ++ lib.optional stdenv.hostPlatform.isAarch32 ./armv7l.patch; 77 78 78 79 # TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks 79 80 # to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra
-2
pkgs/development/libraries/cpptoml/default.nix
··· 22 22 "-DCPPTOML_BUILD_EXAMPLES=OFF" 23 23 ]; 24 24 25 - outputs = [ "out" ]; 26 - 27 25 meta = with lib; { 28 26 description = "C++ TOML configuration library"; 29 27 homepage = "https://github.com/skystrife/cpptoml";
+2 -2
pkgs/development/libraries/libbdplus/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "libbdplus"; 12 - version = "0.1.2"; 12 + version = "0.2.0"; 13 13 14 14 src = fetchurl { 15 15 url = "http://get.videolan.org/libbdplus/${version}/${pname}-${version}.tar.bz2"; 16 - sha256 = "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6"; 16 + sha256 = "sha256-uT7qPq7zPW6RVdLDSwaMUFSTqlpJNuYydPQ0KrD0Clg="; 17 17 }; 18 18 19 19 buildInputs = [ libgcrypt libgpg-error gettext ];
+2 -2
pkgs/development/libraries/nanoflann/default.nix
··· 1 1 {lib, stdenv, fetchFromGitHub, cmake}: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "1.4.2"; 4 + version = "1.4.3"; 5 5 pname = "nanoflann"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jlblancoc"; 9 9 repo = "nanoflann"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-znIX1S0mfOqLYPIcyVziUM1asBjENPEAdafLud1CfFI="; 11 + sha256 = "sha256-NcewcNQcI1CjMNibRF9HCoE2Ibs0/Hy4eOkJ20W3wLo="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/nss/latest.nix
··· 5 5 # Example: nix-shell ./maintainers/scripts/update.nix --argstr package cacert 6 6 7 7 import ./generic.nix { 8 - version = "3.81"; 9 - hash = "sha256-qL9fO7YXBo1X57FfPZ1SjxCa8NV98uqrBRm2Qj7czKY="; 8 + version = "3.82"; 9 + hash = "sha256-Mr9nO3LC+ZU+07THAzq/WmytMChUokrliMV1plZ8FXM="; 10 10 }
+1 -1
pkgs/development/libraries/pugixml/default.nix
··· 11 11 sha256 = "sha256-Udjx84mhLPJ1bU5WYDo73PAeeufS+vBLXZP0YbBvqLE="; 12 12 }; 13 13 14 - outputs = if shared then [ "out" "dev" ] else [ "out" ]; 14 + outputs = [ "out" ] ++ lib.optionals shared [ "dev" ]; 15 15 16 16 nativeBuildInputs = [ cmake validatePkgConfig ]; 17 17
+2 -2
pkgs/development/libraries/socket_wrapper/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "socket_wrapper"; 5 - version = "1.3.3"; 5 + version = "1.3.4"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://samba/cwrap/socket_wrapper-${version}.tar.gz"; 9 - sha256 = "sha256-G42i+w7n3JkPvOc039I+frzDnq1GGGyQqUkMFdoebhM="; 9 + sha256 = "sha256-dmYeXGXbe05WiT2ZDrH4aCmymDjj8SqrZyEc3d0Uf0Y="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ cmake pkg-config ];
+2 -2
pkgs/development/python-modules/adafruit-platformdetect/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "adafruit-platformdetect"; 10 - version = "3.27.0"; 10 + version = "3.27.1"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; ··· 15 15 src = fetchPypi { 16 16 pname = "Adafruit-PlatformDetect"; 17 17 inherit version; 18 - hash = "sha256-Ez3VQO52GgPhTXr1xlxr4BvouI41PVzppkutiqVjrUI="; 18 + hash = "sha256-HAymQ08RauE8oATYzKE+UaqMsmNK3O+VyLLd6w/jPFc="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+46
pkgs/development/python-modules/backports-cached-property/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, pythonOlder 2 + , setuptools-scm, wheel 3 + , pytestCheckHook, pytest-mock, pytest-sugar 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "backports-cached-property"; 8 + version = "1.0.2"; 9 + format = "pyproject"; 10 + 11 + disabled = pythonOlder "3.8"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "penguinolog"; 15 + repo = "backports.cached_property"; 16 + rev = version; 17 + sha256 = "sha256-rdgKbVQaELilPrN4ve8RbbaLiT14Xex0esy5vUX2ZBc="; 18 + }; 19 + 20 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 21 + 22 + nativeBuildInputs = [ 23 + setuptools-scm 24 + ]; 25 + 26 + propagatedBuildInputs = [ 27 + wheel 28 + ]; 29 + 30 + checkInputs = [ 31 + pytestCheckHook 32 + pytest-mock 33 + pytest-sugar 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "backports.cached_property" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Python 3.8 functools.cached_property backport to python 3.6"; 42 + homepage = "https://github.com/penguinolog/backports.cached_property"; 43 + license = with licenses; [ mit ]; 44 + maintainers = with maintainers; [ izorkin ]; 45 + }; 46 + }
+2 -2
pkgs/development/python-modules/bluetooth-adapters/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "bluetooth-adapters"; 16 - version = "0.1.3"; 16 + version = "0.2.0"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.9"; ··· 22 22 owner = "Bluetooth-Devices"; 23 23 repo = pname; 24 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-c96HgcmyiDwvcq8OsZ5s65VmAihz6KtCviP2h6Iu1Fo="; 25 + hash = "sha256-S6ZTUGBLCZ4gaiKTxC8xa4KDBl/zoZQ2vlFuXdcwLmk="; 26 26 }; 27 27 28 28 postPatch = ''
+2 -2
pkgs/development/python-modules/cwcwidth/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cwcwidth"; 5 - version = "0.1.6"; 5 + version = "0.1.7"; 6 6 format = "pyproject"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "1b31da599c9f0cf41f39ed10c1ceaa01d6024e31c6cd9aea2885b1f2a6d15fba"; 10 + sha256 = "sha256-wNZH4S46SxWogeHYT3lpN1FmSEieARJXI33CF51rGVE="; 11 11 }; 12 12 13 13 nativeBuildInputs = [ cython ];
+2 -4
pkgs/development/python-modules/discordpy/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "discord.py"; 14 - version = "1.7.3"; 14 + version = "2.0.0"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "Rapptz"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-eKXCzGFSzxpdZed4/4G6uJ96s5yCm6ci8K8XYR1zQlE="; 23 + sha256 = "sha256-BhxXsNRgs/ihnlTxNwYTjRwPvneyDF8Q0wS3qr2BG9Q="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [ ··· 34 34 patchPhase = '' 35 35 substituteInPlace "discord/opus.py" \ 36 36 --replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'" 37 - substituteInPlace requirements.txt \ 38 - --replace "aiohttp>=3.6.0,<3.8.0" "aiohttp>=3.6.0,<4" 39 37 '' + lib.optionalString withVoice '' 40 38 substituteInPlace "discord/player.py" \ 41 39 --replace "executable='ffmpeg'" "executable='${ffmpeg}/bin/ffmpeg'"
+58
pkgs/development/python-modules/ezyrb/default.nix
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 6 + , future 7 + , numpy 8 + , scipy 9 + , matplotlib 10 + , scikit-learn 11 + , pytorch 12 + , pytestCheckHook 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "ezyrb"; 17 + version = "1.3.0"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.7"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "mathLab"; 24 + repo = "EZyRB"; 25 + rev = "v${version}"; 26 + sha256 = "sha256-tFkz+j97m+Bgk/87snQMXtgZnykiWYyWJJLaqwRKiaY="; 27 + }; 28 + 29 + propagatedBuildInputs = [ 30 + future 31 + numpy 32 + scipy 33 + matplotlib 34 + scikit-learn 35 + pytorch 36 + ]; 37 + 38 + checkInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + pythonImportsCheck = [ 43 + "ezyrb" 44 + ]; 45 + 46 + disabledTestPaths = [ 47 + # Exclude long tests 48 + "tests/test_podae.py" 49 + ]; 50 + 51 + meta = with lib; { 52 + description = "Easy Reduced Basis method"; 53 + homepage = "https://mathlab.github.io/EZyRB/"; 54 + downloadPage = "https://github.com/mathLab/EZyRB/releases"; 55 + license = licenses.mit; 56 + maintainers = with maintainers; [ yl3dy ]; 57 + }; 58 + }
+51
pkgs/development/python-modules/grpclib/default.nix
··· 1 + { buildPythonPackage 2 + , fetchFromGitHub 3 + , lib 4 + , pythonOlder 5 + , h2 6 + , multidict 7 + , pytestCheckHook 8 + , pytest-asyncio 9 + , async-timeout 10 + , faker 11 + , googleapis-common-protos 12 + , certifi 13 + }: 14 + let 15 + pname = "grpclib"; 16 + version = "0.4.3"; 17 + in 18 + buildPythonPackage { 19 + inherit pname version; 20 + disabled = pythonOlder "3.7"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "vmagamedov"; 24 + repo = pname; 25 + rev = "v${version}"; 26 + sha256 = "sha256-zjctvsuX5yJl1EXIAaiukWGYJbdgU7OZllgOYAmp1b4="; 27 + }; 28 + 29 + propagatedBuildInputs = [ 30 + h2 31 + multidict 32 + ]; 33 + 34 + checkInputs = [ 35 + pytestCheckHook 36 + pytest-asyncio 37 + async-timeout 38 + faker 39 + googleapis-common-protos 40 + certifi 41 + ]; 42 + 43 + pythonImportsCheck = [ "grpclib" ]; 44 + 45 + meta = with lib; { 46 + description = "Pure-Python gRPC implementation for asyncio"; 47 + homepage = "https://github.com/vmagamedov/grpclib"; 48 + license = licenses.bsd3; 49 + maintainers = with maintainers; [ nikstur ]; 50 + }; 51 + }
+2 -2
pkgs/development/python-modules/humanize/default.nix
··· 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 - version = "4.2.3"; 14 + version = "4.3.0"; 15 15 pname = "humanize"; 16 16 format = "pyproject"; 17 17 ··· 21 21 owner = "python-humanize"; 22 22 repo = pname; 23 23 rev = version; 24 - hash = "sha256-cAlNtN9sUnDAkCQj2bJfT72B2TQDYRBB4P4NJY9mUU0="; 24 + hash = "sha256-sccv3HtCgG/znZs/sfmeeOHK3xchv9zRrNX/SxyEbCQ="; 25 25 }; 26 26 27 27 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+37
pkgs/development/python-modules/js2py/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , tzlocal 5 + , six 6 + , pyjsparser 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "js2py"; 11 + version = "0.71"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "PiotrDabkowski"; 15 + repo = "Js2Py"; 16 + rev = "5f665f60083a9796ec33861240ce31d6d2b844b6"; 17 + sha256 = "sha256-1omTV7zkYSQfxhkNgI4gtXTenWt9J1r3VARRHoRsSfc="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + pyjsparser 22 + six 23 + tzlocal 24 + ]; 25 + 26 + # Test require network connection 27 + doCheck = false; 28 + 29 + pythonImportsCheck = [ "js2py" ]; 30 + 31 + meta = with lib; { 32 + description = "JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python"; 33 + homepage = "https://github.com/PiotrDabkowski/Js2Py"; 34 + license = licenses.mit; 35 + maintainers = with maintainers; [ onny ]; 36 + }; 37 + }
+4 -4
pkgs/development/python-modules/lark/default.nix
··· 4 4 , python 5 5 , regex 6 6 , pytestCheckHook 7 + , js2py 7 8 }: 8 9 9 10 buildPythonPackage rec { ··· 27 28 "lark.grammars" 28 29 ]; 29 30 30 - checkInputs = [ pytestCheckHook ]; 31 - 32 - disabledTestPaths = [ 33 - "tests/test_nearley/test_nearley.py" # requires unpackaged Js2Py library 31 + checkInputs = [ 32 + js2py 33 + pytestCheckHook 34 34 ]; 35 35 36 36 meta = with lib; {
+2
pkgs/development/python-modules/pydmd/default.nix
··· 8 8 , pytestCheckHook 9 9 , pythonOlder 10 10 , scipy 11 + , ezyrb 11 12 }: 12 13 13 14 buildPythonPackage rec { ··· 29 30 matplotlib 30 31 numpy 31 32 scipy 33 + ezyrb 32 34 ]; 33 35 34 36 checkInputs = [
+36
pkgs/development/python-modules/pyjsparser/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , pytestCheckHook 5 + , js2py 6 + }: 7 + 8 + let pyjsparser = buildPythonPackage rec { 9 + pname = "pyjsparser"; 10 + version = "2.7.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "PiotrDabkowski"; 14 + repo = pname; 15 + rev = "5465d037b30e334cb0997f2315ec1e451b8ad4c1"; 16 + sha256 = "sha256-Hqay9/qsjUfe62U7Q79l0Yy01L2Bnj5xNs6427k3Br8="; 17 + }; 18 + 19 + checkInputs = [ pytestCheckHook js2py ]; 20 + 21 + # escape infinite recursion with js2py 22 + doCheck = false; 23 + 24 + passthru.tests = { 25 + check = pyjsparser.overridePythonAttrs (_: { doCheck = true; }); 26 + }; 27 + 28 + pythonImportsCheck = [ "pyjsparser" ]; 29 + 30 + meta = with lib; { 31 + description = "Fast javascript parser (based on esprima.js)"; 32 + homepage = "https://github.com/PiotrDabkowski/pyjsparser"; 33 + license = licenses.mit; 34 + maintainers = with maintainers; [ onny ]; 35 + }; 36 + }; in pyjsparser
+53
pkgs/development/python-modules/recordlinkage/default.nix
··· 1 + { lib 2 + , bottleneck 3 + , buildPythonPackage 4 + , fetchPypi 5 + , jellyfish 6 + , joblib 7 + , networkx 8 + , numexpr 9 + , numpy 10 + , pandas 11 + , pyarrow 12 + , pytest 13 + , scikit-learn 14 + , scipy 15 + , pythonOlder 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "recordlinkage"; 20 + version = "0.14"; 21 + 22 + disabled = pythonOlder "3.7"; 23 + src = fetchPypi { 24 + inherit pname version; 25 + sha256 = "sha256-kuY2MUuwaLb228kwkJmOnnU+OolZcvGlhKTTiama+T4="; 26 + }; 27 + 28 + propagatedBuildInputs = [ 29 + pyarrow 30 + jellyfish 31 + numpy 32 + pandas 33 + scipy 34 + scikit-learn 35 + joblib 36 + networkx 37 + bottleneck 38 + numexpr 39 + ]; 40 + 41 + # pytestCheckHook does not work 42 + # Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too. 43 + checkInputs = [ pytest ]; 44 + 45 + pythonImportsCheck = [ "recordlinkage" ]; 46 + 47 + meta = with lib; { 48 + description = "Library to link records in or between data sources"; 49 + homepage = "https://recordlinkage.readthedocs.io/"; 50 + license = licenses.bsd3; 51 + maintainers = [ maintainers.raitobezarius ]; 52 + }; 53 + }
+39
pkgs/development/python-modules/strawberry-graphql/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, poetry, pythonOlder 2 + , click, backports-cached-property, graphql-core, pygments, python-dateutil, python-multipart, typing-extensions 3 + , aiohttp, asgiref, chalice, django, fastapi, flask, pydantic, sanic, starlette, uvicorn 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "strawberry-graphql"; 8 + version = "0.125.0"; 9 + format = "pyproject"; 10 + 11 + disabled = pythonOlder "3.6"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "strawberry-graphql"; 15 + repo = "strawberry"; 16 + rev = version; 17 + sha256 = "sha256-8ERmG10qNiYg9Zr8oUZk/Uz68sCE+oWrqmJ5kUMqbRo="; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + poetry 22 + ]; 23 + 24 + propagatedBuildInputs = [ 25 + click backports-cached-property graphql-core pygments python-dateutil python-multipart typing-extensions 26 + aiohttp asgiref chalice django fastapi flask pydantic sanic starlette uvicorn 27 + ]; 28 + 29 + pythonImportsCheck = [ 30 + "strawberry" 31 + ]; 32 + 33 + meta = with lib; { 34 + description = "A GraphQL library for Python that leverages type annotations"; 35 + homepage = "https://strawberry.rocks"; 36 + license = with licenses; [ mit ]; 37 + maintainers = with maintainers; [ izorkin ]; 38 + }; 39 + }
+6 -11
pkgs/development/python-modules/typed-settings/default.nix
··· 8 8 , toml 9 9 , pytestCheckHook 10 10 , click 11 + , click-option-group 11 12 }: 12 13 13 14 buildPythonPackage rec { ··· 28 29 propagatedBuildInputs = [ 29 30 attrs 30 31 cattrs 32 + click-option-group 31 33 toml 32 34 ]; 33 35 34 - preCheck = '' 35 - pushd tests 36 - ''; 36 + pytestFlagsArray = [ 37 + "tests" 38 + ]; 37 39 38 40 checkInputs = [ 39 41 click 40 42 pytestCheckHook 41 43 ]; 42 44 43 - disabledTests = [ 44 - # mismatches in click help output 45 - "test_help" 46 - ]; 47 - 48 - postCheck = '' 49 - popd 50 - ''; 45 + pythonImportsCheck = [ "typed_settings" ]; 51 46 52 47 meta = { 53 48 description = "Typed settings based on attrs classes";
+14 -2
pkgs/development/python-modules/xdis/default.nix
··· 22 22 hash = "sha256-CRZG898xCwukq+9YVkyXMP8HcuJ9GtvDhy96kxvRFks="; 23 23 }; 24 24 25 + postPatch = '' 26 + # Our Python release is not in the test matrix 27 + substituteInPlace xdis/magics.py \ 28 + --replace "3.10.4" "3.10.5 3.10.6" 29 + ''; 30 + 25 31 propagatedBuildInputs = [ 26 32 click 27 33 six ··· 35 41 "xdis" 36 42 ]; 37 43 44 + # import file mismatch: 45 + # imported module 'test_disasm' has this __file__ attribute: 46 + # /build/source/pytest/test_disasm.py 47 + # which is not the same as the test file we want to collect: 48 + # /build/source/test_unit/test_disasm.py 38 49 disabledTestPaths = [ 39 - # Our Python release is not in the test matrix 40 50 "test_unit/test_disasm.py" 41 51 ]; 42 52 43 53 disabledTests = [ 54 + # AssertionError: events did not match expectation 44 55 "test_big_linenos" 56 + # AssertionError: False is not true : PYTHON VERSION 4.0 is not in magic.magics.keys 45 57 "test_basic" 46 58 ]; 47 59 ··· 49 61 description = "Python cross-version byte-code disassembler and marshal routines"; 50 62 homepage = "https://github.com/rocky/python-xdis"; 51 63 license = licenses.gpl2Plus; 52 - maintainers = with maintainers; [ ]; 64 + maintainers = with maintainers; [ onny ]; 53 65 }; 54 66 }
+22
pkgs/development/tools/gotags/default.nix
··· 1 + { lib, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + pname = "gotags"; 5 + version = "1.4.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jstemmer"; 9 + repo = pname; 10 + rev = "4c0c4330071a994fbdfdff68f412d768fbcca313"; 11 + sha256 = "sha256-cHTgt+zW6S6NDWBE6NxSXNPdn84CLD8WmqBe+uXN8sA="; 12 + }; 13 + 14 + goPackagePath = "github.com/jstemmer/gotags"; 15 + 16 + meta = with lib; { 17 + description = "ctags-compatible tag generator for Go"; 18 + homepage = "https://github.com/jstemmer/gotags"; 19 + license = licenses.mit; 20 + maintainers = with maintainers; [ urandom ]; 21 + }; 22 + }
+2 -2
pkgs/development/tools/hcloud/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "hcloud"; 5 - version = "1.30.2"; 5 + version = "1.30.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "hetznercloud"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-1ay0cW1zBCfaLIWvJGW7A/OeDc4l7OldnQHvrGeqXjE="; 11 + sha256 = "sha256-iF30gh14v2OHwT2W7gb4DaZu1h9RYJjw6rkHaPZp9NU="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-DoCiyaEPh+QyKgC3PJ5oivJTlcKzscaphXET9et8T1g=";
+50 -10
pkgs/development/tools/misc/cvise/default.nix
··· 1 - { lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex 2 - , libclang, llvm, unifdef 3 - , chardet, pebble, psutil 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + , bash 5 + , cmake 6 + , flex 7 + , libclang 8 + , llvm 9 + , unifdef 10 + , chardet 11 + , pebble 12 + , psutil 13 + , pytestCheckHook 4 14 }: 5 15 6 16 buildPythonApplication rec { ··· 19 29 ./unifdef.patch 20 30 ]; 21 31 22 - nativeBuildInputs = [ cmake flex llvm.dev ]; 23 - buildInputs = [ bash libclang llvm llvm.dev unifdef ]; 24 - propagatedBuildInputs = [ chardet pebble psutil ]; 25 - 26 - # 'cvise --command=...' generates a script with hardcoded shebang. 27 32 postPatch = '' 33 + # 'cvise --command=...' generates a script with hardcoded shebang. 28 34 substituteInPlace cvise.py \ 29 35 --replace "#!/bin/bash" "#!${bash}/bin/bash" 36 + 37 + substituteInPlace setup.cfg \ 38 + --replace "--flake8" "" 30 39 ''; 31 40 32 - # pytest-flake8 is broken in nixpkgs: https://github.com/tholo/pytest-flake8/issues/87 33 - doCheck = false; 41 + nativeBuildInputs = [ 42 + cmake 43 + flex 44 + llvm.dev 45 + ]; 46 + 47 + buildInputs = [ 48 + libclang 49 + llvm 50 + llvm.dev 51 + unifdef 52 + ]; 53 + 54 + propagatedBuildInputs = [ 55 + chardet 56 + pebble 57 + psutil 58 + ]; 59 + 60 + checkInputs = [ 61 + pytestCheckHook 62 + unifdef 63 + ]; 64 + 65 + preCheck = '' 66 + patchShebangs cvise.py 67 + ''; 68 + 69 + disabledTests = [ 70 + # Needs gcc, fails when run noninteractively (without tty). 71 + "test_simple_reduction" 72 + ]; 73 + 34 74 dontUsePipInstall = true; 35 75 dontUseSetuptoolsBuild = true; 36 76 dontUseSetuptoolsCheck = true;
+2 -2
pkgs/misc/uboot/default.nix
··· 20 20 }: 21 21 22 22 let 23 - defaultVersion = "2022.01"; 23 + defaultVersion = "2022.07"; 24 24 defaultSrc = fetchurl { 25 25 url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; 26 - hash = "sha256-gbRUMifbIowD+KG/XdvIE7C7j2VVzkYGTvchpvxoBBM="; 26 + hash = "sha256-krCOtJwk2hTBrb9wpxro83zFPutCMOhZrYtnM9E9z14="; 27 27 }; 28 28 buildUBoot = lib.makeOverridable ({ 29 29 version ? null
+2 -2
pkgs/os-specific/linux/intel-cmt-cat/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "4.4.0"; 4 + version = "4.4.1"; 5 5 pname = "intel-cmt-cat"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "intel"; 9 9 repo = "intel-cmt-cat"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-THP0ie9Ta0iNcAJYCRXMajqYBIFuT67kGMDakL4vIZc="; 11 + sha256 = "sha256-6v9MRIW9Wqojia6GZNM75AvoYJGJ9C/k+ShwQKOjiL8="; 12 12 }; 13 13 14 14 enableParallelBuilding = true;
+2 -2
pkgs/os-specific/linux/intel-compute-runtime/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "intel-compute-runtime"; 14 - version = "22.31.23852"; 14 + version = "22.32.23937"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "intel"; 18 18 repo = "compute-runtime"; 19 19 rev = version; 20 - sha256 = "sha256-YkuYW/RRRs3EYMcx2BOsEpyW3O3XzDltmIaBoqnZfhw="; 20 + sha256 = "sha256-W+0EbrbF+jPtsf9QCMmSEX7HFDlfiRtD/kjeMJVqCoY="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ cmake pkg-config ];
+20 -13
pkgs/os-specific/linux/rtl8188eus-aircrack/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, kernel, bc }: 1 + { lib, stdenv, fetchFromGitHub, kernel, bc, fetchpatch }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "rtl8188eus-aircrack"; 5 - version = "${kernel.version}-unstable-2021-05-04"; 5 + version = "${kernel.version}-unstable-2022-03-19"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "aircrack-ng"; 9 9 repo = "rtl8188eus"; 10 - rev = "6146193406b62e942d13d4d43580ed94ac70c218"; 11 - sha256 = "sha256-85STELbFB7QmTaM8GvJNlWvAg6KPAXeYRiMb4cGA6RY="; 10 + rev = "0958f294f90b49d6bad4972b14f90676e5d858d3"; 11 + sha256 = "sha256-dkCcwvOLxqU1IZ/OXTp67akjWgsaH1Cq4N8d9slMRI8="; 12 12 }; 13 13 14 - nativeBuildInputs = [ bc ]; 15 - 16 - buildInputs = kernel.moduleBuildDependencies; 17 - 18 - hardeningDisable = [ "pic" ]; 19 - 20 14 prePatch = '' 21 15 substituteInPlace ./Makefile \ 22 16 --replace /lib/modules/ "${kernel.dev}/lib/modules/" \ ··· 25 19 --replace '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/" 26 20 ''; 27 21 22 + patches = [ 23 + (fetchpatch { 24 + url = "https://github.com/aircrack-ng/rtl8188eus/commit/daa3a2e12290050be3af956915939a55aed50d5f.patch"; 25 + hash = "sha256-VsvaAhO74LzqUxbmdDT9qwVl6Y9lXfGfrHHK3SbnOVA="; 26 + }) 27 + ]; 28 + 29 + hardeningDisable = [ "pic" ]; 30 + 31 + enableParallelBuilding = true; 32 + 33 + nativeBuildInputs = [ bc ]; 34 + 35 + buildInputs = kernel.moduleBuildDependencies; 36 + 28 37 preInstall = '' 29 38 mkdir -p "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/" 30 39 ''; 31 40 32 - enableParallelBuilding = true; 33 - 34 41 meta = with lib; { 35 42 description = "RealTek RTL8188eus WiFi driver with monitor mode & frame injection support"; 36 43 homepage = "https://github.com/aircrack-ng/rtl8188eus"; 37 44 license = licenses.gpl2Only; 38 45 maintainers = with maintainers; [ fortuneteller2k ]; 39 - broken = kernel.kernelAtLeast "5.15" || kernel.isHardened; 46 + broken = (lib.versionAtLeast kernel.version "5.17") || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened); 40 47 }; 41 48 }
+39
pkgs/servers/matrix-hebbot/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , pkgs 4 + , stdenv 5 + , rustPlatform 6 + , pkg-config 7 + , cmake 8 + , openssl 9 + , autoconf 10 + , automake 11 + , Security 12 + }: 13 + 14 + rustPlatform.buildRustPackage rec { 15 + pname = "hebbot"; 16 + version = "2.1"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "haecker-felix"; 20 + repo = "hebbot"; 21 + rev = "v${version}"; 22 + sha256 = "sha256-zcsoTWpNonkgJLTC8S9Nubnzdhj5ROL/UGNWUsLxLgs="; 23 + }; 24 + 25 + cargoSha256 = "sha256-ZNETA2JUZCS8/a2oeF+JCGVKbzeyhp51D0BmBTPToOw="; 26 + 27 + nativeBuildInputs = [ pkg-config cmake ] ++ 28 + lib.optionals stdenv.isDarwin [ autoconf automake ]; 29 + 30 + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 31 + 32 + meta = with lib; { 33 + description = "A Matrix bot which can generate \"This Week in X\" like blog posts "; 34 + homepage = "https://github.com/haecker-felix/hebbot"; 35 + changelog = "https://github.com/haecker-felix/hebbot/releases/tag/v${version}"; 36 + license = with licenses; [ agpl3 ]; 37 + maintainers = with maintainers; [ a-kenji ]; 38 + }; 39 + }
+3 -3
pkgs/servers/plex/raw.nix
··· 12 12 # server, and the FHS userenv and corresponding NixOS module should 13 13 # automatically pick up the changes. 14 14 stdenv.mkDerivation rec { 15 - version = "1.28.0.5999-97678ded3"; 15 + version = "1.28.1.6104-788f82488"; 16 16 pname = "plexmediaserver"; 17 17 18 18 # Fetch the source 19 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 - sha256 = "sha256-irHHEkbdRabzcNiemcFeFoDmB7LZqhFYMe+zVpMv5JQ="; 21 + sha256 = "sha256-sAyZGdo6VuoQLKrFJVidDgY3c51e8FroXS5x170Hupw="; 22 22 } else fetchurl { 23 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 - sha256 = "sha256-RxD0wLZ/Uw0niKZdAfEhDxnf2jZapbrjSjH3XerfTsM="; 24 + sha256 = "sha256-Drf+b+nyj+yfXjFBji3Xwx2J+3CGXOaW01sxkgzMf9c="; 25 25 }; 26 26 27 27 outputs = [ "out" "basedb" ];
+11 -11
pkgs/tools/admin/google-cloud-sdk/data.nix
··· 1 1 # DO NOT EDIT! This file is generated automatically by update.sh 2 2 { }: 3 3 { 4 - version = "387.0.0"; 4 + version = "397.0.0"; 5 5 googleCloudSdkPkgs = { 6 6 x86_64-linux = 7 7 { 8 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-387.0.0-linux-x86_64.tar.gz"; 9 - sha256 = "1hsp575xg7caxhldxmqxsds99mr0gs2qxgk7x7mr9jnjdq6nqmdg"; 8 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-397.0.0-linux-x86_64.tar.gz"; 9 + sha256 = "1b7ggqc43xyszb583paky4gvph4ncvvwpdy1037dj1ckrd53bg00"; 10 10 }; 11 11 x86_64-darwin = 12 12 { 13 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-387.0.0-darwin-x86_64.tar.gz"; 14 - sha256 = "0qyd6z5clnd0slhsn9hc1xiic5rbssrps1n97jq94mv90rjp94jx"; 13 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-397.0.0-darwin-x86_64.tar.gz"; 14 + sha256 = "0iiyga7b4axkprif5gyqnr8sjkv9nap5lvabgfx5845br7hzr5ps"; 15 15 }; 16 16 aarch64-linux = 17 17 { 18 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-387.0.0-linux-arm.tar.gz"; 19 - sha256 = "0drxv1dzlnzmrs92j7a48iwvzfvdl9dl4hk688lj7cl51yndbyyz"; 18 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-397.0.0-linux-arm.tar.gz"; 19 + sha256 = "102vw2f2q28c54hvn4hlp2da3zsib16z6hkz41079c1pmiybysi1"; 20 20 }; 21 21 aarch64-darwin = 22 22 { 23 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-387.0.0-darwin-arm.tar.gz"; 24 - sha256 = "0244k34lwj29smyds8qs7qdrvwwnvwh0v6giifbwzhlb40nw4k72"; 23 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-397.0.0-darwin-arm.tar.gz"; 24 + sha256 = "0hp60fpmsvhn046sp0wb52xszkmin5v235khbxb82wr0vsgnqd7z"; 25 25 }; 26 26 i686-linux = 27 27 { 28 - url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-387.0.0-linux-x86.tar.gz"; 29 - sha256 = "0fb6qx1qjm9y013glinxdaf1x9ppwrb7szjx96maqb90zvq1jdcz"; 28 + url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-397.0.0-linux-x86.tar.gz"; 29 + sha256 = "1xw4jzl85didin26q9sg7j1pip4bmap5d0ac9ywbj0vni71mqx26"; 30 30 }; 31 31 }; 32 32 }
+5 -7
pkgs/tools/admin/google-cloud-sdk/gcloud-path.patch
··· 30 30 1 file changed, 1 insertion(+), 1 deletion(-) 31 31 32 32 diff --git a/lib/googlecloudsdk/api_lib/container/kubeconfig.py b/lib/googlecloudsdk/api_lib/container/kubeconfig.py 33 - index 4330988d6..37424b841 100644 33 + index 5975cb8f..b98e6721 100644 34 34 --- a/lib/googlecloudsdk/api_lib/container/kubeconfig.py 35 35 +++ b/lib/googlecloudsdk/api_lib/container/kubeconfig.py 36 - @@ -352,7 +352,7 @@ def _AuthProvider(name='gcp', 36 + @@ -396,7 +396,7 @@ def _AuthProvider(name='gcp', 37 37 if sdk_bin_path is None: 38 38 log.error(SDK_BIN_PATH_NOT_FOUND) 39 39 raise Error(SDK_BIN_PATH_NOT_FOUND) 40 40 - cmd_path = os.path.join(sdk_bin_path, bin_name) 41 41 + cmd_path = bin_name 42 - 43 - cfg = { 44 - # Command for gcloud credential helper 45 - -- 46 - 2.21.0 42 + try: 43 + # Print warning if gke-gcloud-auth-plugin is not present or executable 44 + _GetGkeGcloudPluginCommandAndPrintWarning()
+1 -1
pkgs/tools/admin/google-cloud-sdk/update.sh
··· 5 5 6 6 # Version of Google Cloud SDK from 7 7 # https://cloud.google.com/sdk/docs/release-notes 8 - VERSION="387.0.0" 8 + VERSION="397.0.0" 9 9 10 10 function genMainSrc() { 11 11 local url="${BASE_URL}-${VERSION}-${1}-${2}.tar.gz"
+2 -2
pkgs/tools/filesystems/ceph/default.nix
··· 138 138 ]); 139 139 sitePackages = ceph-python-env.python.sitePackages; 140 140 141 - version = "16.2.9"; 141 + version = "16.2.10"; 142 142 src = fetchurl { 143 143 url = "http://download.ceph.com/tarballs/ceph-${version}.tar.gz"; 144 - sha256 = "sha256-CNj48myJvYwj8cWQRWrTSPiPHS+AFcXfqzd1ytMUxvk="; 144 + sha256 = "sha256-342+nUV3mCX7QJfZSnKEfnQFCJwJmVQeYnefJwW/AtU="; 145 145 }; 146 146 in rec { 147 147 ceph = stdenv.mkDerivation {
+2 -2
pkgs/tools/misc/pferd/default.nix
··· 5 5 6 6 python3Packages.buildPythonApplication rec { 7 7 pname = "pferd"; 8 - version = "3.4.0"; 8 + version = "3.4.1"; 9 9 format = "pyproject"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Garmelon"; 13 13 repo = "PFERD"; 14 14 rev = "v${version}"; 15 - sha256 = "1nwrkc0z2zghy2nk9hfdrffg1k8anh3mn3hx31ql8xqwhv5ksh9g"; 15 + sha256 = "05f9b7wzld0jcalc7n5h2a6nqjr1w0fxwkd4cih6gkjc9117skii"; 16 16 }; 17 17 18 18 propagatedBuildInputs = with python3Packages; [
+2 -2
pkgs/tools/typesetting/asciidoctorj/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "asciidoctorj"; 5 - version = "2.5.4"; 5 + version = "2.5.5"; 6 6 7 7 src = fetchzip { 8 8 url = "mirror://maven/org/asciidoctor/${pname}/${version}/${pname}-${version}-bin.zip"; 9 - sha256 = "DMP47YgGE8qQwS9kcS9lUg+2N7z9T+7joClqrgF055Q="; 9 + sha256 = "sha256-0MWZKT4TkgNEJPP0HRc316P2AFeZ2gh+mu30X0y3Otc="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ];
-1
pkgs/top-level/aliases.nix
··· 535 535 google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07 536 536 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07 537 537 gosca = throw "gosca has been dropped due to the lack of maintanence from upstream since 2018"; # Added 2022-06-30 538 - gotags = throw "gotags has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 539 538 google-play-music-desktop-player = throw "GPMDP shows a black screen, upstream homepage is dead, use 'ytmdesktop' instead"; # Added 2022-06-16 540 539 go-langserver = throw "go-langserver has been replaced by gopls"; # Added 2022-06-30 541 540 go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02
+7 -1
pkgs/top-level/all-packages.nix
··· 1834 1834 lilo = callPackage ../tools/misc/lilo { }; 1835 1835 1836 1836 logseq = callPackage ../applications/misc/logseq { 1837 - electron = electron_15; 1837 + electron = electron_19; 1838 1838 }; 1839 1839 1840 1840 natls = callPackage ../tools/misc/natls { }; ··· 3992 3992 heatseeker = callPackage ../tools/misc/heatseeker { }; 3993 3993 3994 3994 hebcal = callPackage ../tools/misc/hebcal {}; 3995 + 3996 + hebbot = callPackage ../servers/matrix-hebbot { 3997 + inherit (darwin.apple_sdk.frameworks) Security; 3998 + }; 3995 3999 3996 4000 hexio = callPackage ../development/tools/hexio { }; 3997 4001 ··· 24376 24380 goconvey = callPackage ../development/tools/goconvey { }; 24377 24381 24378 24382 gofumpt = callPackage ../development/tools/gofumpt { }; 24383 + 24384 + gotags = callPackage ../development/tools/gotags { }; 24379 24385 24380 24386 go-task = callPackage ../development/tools/go-task { }; 24381 24387
+14
pkgs/top-level/python-packages.nix
··· 1186 1186 1187 1187 backoff = callPackage ../development/python-modules/backoff { }; 1188 1188 1189 + backports-cached-property = callPackage ../development/python-modules/backports-cached-property { }; 1190 + 1189 1191 backports_abc = callPackage ../development/python-modules/backports_abc { }; 1190 1192 1191 1193 backports_csv = callPackage ../development/python-modules/backports_csv { }; ··· 3044 3046 3045 3047 ezdxf = callPackage ../development/python-modules/ezdxf { }; 3046 3048 3049 + ezyrb = callPackage ../development/python-modules/ezyrb { }; 3050 + 3047 3051 f90nml = callPackage ../development/python-modules/f90nml { }; 3048 3052 3049 3053 Fabric = callPackage ../development/python-modules/Fabric { }; ··· 3946 3950 3947 3951 grpcio-tools = callPackage ../development/python-modules/grpcio-tools { }; 3948 3952 3953 + grpclib = callPackage ../development/python-modules/grpclib { }; 3954 + 3949 3955 gruut = callPackage ../development/python-modules/gruut { }; 3950 3956 3951 3957 gruut-ipa = callPackage ../development/python-modules/gruut-ipa { ··· 4679 4685 inherit (pkgs) jq; 4680 4686 }; 4681 4687 4688 + js2py = callPackage ../development/python-modules/js2py { }; 4689 + 4682 4690 jsbeautifier = callPackage ../development/python-modules/jsbeautifier { }; 4683 4691 4684 4692 jschema-to-python = callPackage ../development/python-modules/jschema-to-python { }; ··· 7741 7749 7742 7750 pyjson5 = callPackage ../development/python-modules/pyjson5 { }; 7743 7751 7752 + pyjsparser = callPackage ../development/python-modules/pyjsparser { }; 7753 + 7744 7754 pyjwkest = callPackage ../development/python-modules/pyjwkest { }; 7745 7755 7746 7756 pyjwt = callPackage ../development/python-modules/pyjwt { }; ··· 9348 9358 9349 9359 recommonmark = callPackage ../development/python-modules/recommonmark { }; 9350 9360 9361 + recordlinkage = callPackage ../development/python-modules/recordlinkage { }; 9362 + 9351 9363 redbaron = callPackage ../development/python-modules/redbaron { }; 9352 9364 9353 9365 redis = callPackage ../development/python-modules/redis { }; ··· 10428 10440 strategies = callPackage ../development/python-modules/strategies { }; 10429 10441 10430 10442 stravalib = callPackage ../development/python-modules/stravalib { }; 10443 + 10444 + strawberry-graphql = callPackage ../development/python-modules/strawberry-graphql { }; 10431 10445 10432 10446 streamdeck = callPackage ../development/python-modules/streamdeck { }; 10433 10447