Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub b272934b 2b1b9818

+212 -185
-6
maintainers/maintainer-list.nix
··· 11745 githubId = 1729331; 11746 name = "Dominique Martinet"; 11747 }; 11748 - martingms = { 11749 - email = "martin@mg.am"; 11750 - github = "martingms"; 11751 - githubId = 458783; 11752 - name = "Martin Gammelsæter"; 11753 - }; 11754 martinjlowm = { 11755 email = "martin@martinjlowm.dk"; 11756 github = "martinjlowm";
··· 11745 githubId = 1729331; 11746 name = "Dominique Martinet"; 11747 }; 11748 martinjlowm = { 11749 email = "martin@martinjlowm.dk"; 11750 github = "martinjlowm";
+1 -1
nixos/modules/services/web-servers/garage.nix
··· 30 }; 31 32 logLevel = mkOption { 33 - type = types.enum ([ "info" "debug" "trace" ]); 34 default = "info"; 35 example = "debug"; 36 description = lib.mdDoc "Garage log level, see <https://garagehq.deuxfleurs.fr/documentation/quick-start/#launching-the-garage-server> for examples.";
··· 30 }; 31 32 logLevel = mkOption { 33 + type = types.enum ([ "error" "warn" "info" "debug" "trace" ]); 34 default = "info"; 35 example = "debug"; 36 description = lib.mdDoc "Garage log level, see <https://garagehq.deuxfleurs.fr/documentation/quick-start/#launching-the-garage-server> for examples.";
+4 -4
pkgs/applications/misc/nwg-panel/default.nix
··· 7 , systemd # systemctl 8 , wlr-randr # wlr-randr 9 , nwg-menu # nwg-menu 10 - , light # light 11 , pamixer # pamixer 12 , pulseaudio # pactl 13 , libdbusmenu-gtk3 # tray ··· 16 17 python3Packages.buildPythonApplication rec { 18 pname = "nwg-panel"; 19 - version = "0.9.20"; 20 21 src = fetchFromGitHub { 22 owner = "nwg-piotr"; 23 repo = "nwg-panel"; 24 rev = "v${version}"; 25 - hash = "sha256-Cq/kj61OmnHLd8EQK6QF67ALv3lMXKPGYUvTIeh90zQ="; 26 }; 27 28 # No tests ··· 49 makeWrapperArgs+=( 50 "''${gappsWrapperArgs[@]}" 51 --prefix XDG_DATA_DIRS : "$out/share" 52 - --prefix PATH : "${lib.makeBinPath [ hyprland light nwg-menu pamixer pulseaudio sway systemd wlr-randr ]}" 53 ) 54 ''; 55
··· 7 , systemd # systemctl 8 , wlr-randr # wlr-randr 9 , nwg-menu # nwg-menu 10 + , brightnessctl # brightnessctl 11 , pamixer # pamixer 12 , pulseaudio # pactl 13 , libdbusmenu-gtk3 # tray ··· 16 17 python3Packages.buildPythonApplication rec { 18 pname = "nwg-panel"; 19 + version = "0.9.22"; 20 21 src = fetchFromGitHub { 22 owner = "nwg-piotr"; 23 repo = "nwg-panel"; 24 rev = "v${version}"; 25 + hash = "sha256-2O3FMPA/QD+ZUmLvot+MMwbUo3zT6ZN5NIbulh2oGYk="; 26 }; 27 28 # No tests ··· 49 makeWrapperArgs+=( 50 "''${gappsWrapperArgs[@]}" 51 --prefix XDG_DATA_DIRS : "$out/share" 52 + --prefix PATH : "${lib.makeBinPath [ brightnessctl hyprland nwg-menu pamixer pulseaudio sway systemd wlr-randr ]}" 53 ) 54 ''; 55
+5 -5
pkgs/by-name/gr/graphite-cli/package-lock.json
··· 1 { 2 "name": "@withgraphite/graphite-cli", 3 - "version": "1.1.2", 4 "lockfileVersion": 3, 5 "requires": true, 6 "packages": { 7 "": { 8 "name": "@withgraphite/graphite-cli", 9 - "version": "1.1.2", 10 "license": "None", 11 "dependencies": { 12 "chalk": "^4.1.2", ··· 90 "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 91 }, 92 "node_modules/escalade": { 93 - "version": "3.1.1", 94 - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 95 - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 96 "engines": { 97 "node": ">=6" 98 }
··· 1 { 2 "name": "@withgraphite/graphite-cli", 3 + "version": "1.1.5", 4 "lockfileVersion": 3, 5 "requires": true, 6 "packages": { 7 "": { 8 "name": "@withgraphite/graphite-cli", 9 + "version": "1.1.5", 10 "license": "None", 11 "dependencies": { 12 "chalk": "^4.1.2", ··· 90 "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 91 }, 92 "node_modules/escalade": { 93 + "version": "3.1.2", 94 + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", 95 + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", 96 "engines": { 97 "node": ">=6" 98 }
+3 -3
pkgs/by-name/gr/graphite-cli/package.nix
··· 7 8 buildNpmPackage rec { 9 pname = "graphite-cli"; 10 - version = "1.1.2"; 11 12 src = fetchurl { 13 url = "https://registry.npmjs.org/@withgraphite/graphite-cli/-/graphite-cli-${version}.tgz"; 14 - hash = "sha256-NNBI1S33jD6ZKbztZXSRtYwt3w0T4A5Bg2zxMWw74cY="; 15 }; 16 17 - npmDepsHash = "sha256-Nk0Aoyv4eEXZD4B9B/B6mJd/UDy8Kc/sHtQWXrLukSk="; 18 19 postPatch = '' 20 ln -s ${./package-lock.json} package-lock.json
··· 7 8 buildNpmPackage rec { 9 pname = "graphite-cli"; 10 + version = "1.1.5"; 11 12 src = fetchurl { 13 url = "https://registry.npmjs.org/@withgraphite/graphite-cli/-/graphite-cli-${version}.tgz"; 14 + hash = "sha256-/JnhUjrZq1iiXwqCSXZH250gu3yh6gJt6JjZRJ2OQd8="; 15 }; 16 17 + npmDepsHash = "sha256-oQLombXIZRyjnKA04xuDZoZf2NO/0/xFfuXXmp46OaI="; 18 19 postPatch = '' 20 ln -s ${./package-lock.json} package-lock.json
+39
pkgs/by-name/sc/scripthaus/package.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , nix-update-script 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "scripthaus"; 9 + version = "0.5.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "scripthaus-dev"; 13 + repo = "scripthaus"; 14 + rev = "v${version}"; 15 + hash = "sha256-ZWOSLkqjauONa+fKkagpUgWB4k+l1mzEEiC0RAMUmo0="; 16 + }; 17 + 18 + vendorHash = "sha256-GUZNPLBgqN1zBzCcPl7TB9/4/Yk4e7K6I20nVaM6ank="; 19 + 20 + CGO_ENABLED = 1; 21 + 22 + ldflags = [ "-s" "-w" ]; 23 + 24 + postInstall = '' 25 + mv $out/bin/cmd $out/bin/scripthaus 26 + ''; 27 + 28 + passthru.updateScript = nix-update-script { 29 + extraArgs = [ "--version-regex" "^(v[0-9.]+)$" ]; 30 + }; 31 + 32 + meta = with lib; { 33 + description = "Run bash, Python, and JS snippets from your Markdown files directly from the command-line"; 34 + homepage = "https://github.com/scripthaus-dev/scripthaus"; 35 + license = licenses.mpl20; 36 + maintainers = with maintainers; [ raspher ]; 37 + mainProgram = "scripthaus"; 38 + }; 39 + }
+5 -4
pkgs/development/libraries/poppler/default.nix
··· 40 domain = "gitlab.freedesktop.org"; 41 owner = "poppler"; 42 repo = "test"; 43 - rev = "e3cdc82782941a8d7b8112f83b4a81b3d334601a"; 44 - hash = "sha256-i/NjVWC/PXAXnv88qNaHFBQQNEjRgjdV224NgENaESo="; 45 }; 46 in 47 stdenv.mkDerivation (finalAttrs: rec { 48 pname = "poppler-${suffix}"; 49 - version = "23.11.0"; # beware: updates often break cups-filters build, check scribus too! 50 51 outputs = [ "out" "dev" ]; 52 53 src = fetchurl { 54 url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz"; 55 - hash = "sha256-+ZzKZ5nLnLbJL8Hg63hUe2EctzN1CrfLBHyw5sJGU5w="; 56 }; 57 58 nativeBuildInputs = [ ··· 137 138 meta = with lib; { 139 homepage = "https://poppler.freedesktop.org/"; 140 description = "A PDF rendering library"; 141 longDescription = '' 142 Poppler is a PDF rendering library based on the xpdf-3.0 code base. In
··· 40 domain = "gitlab.freedesktop.org"; 41 owner = "poppler"; 42 repo = "test"; 43 + rev = "400f3ff05b2b1c0ae17797a0bd50e75e35c1f1b1"; 44 + hash = "sha256-Y4aNOJLqo4g6tTW6TAb60jAWtBhRgT/JXsub12vi3aU="; 45 }; 46 in 47 stdenv.mkDerivation (finalAttrs: rec { 48 pname = "poppler-${suffix}"; 49 + version = "24.01.0"; # beware: updates often break cups-filters build, check scribus too! 50 51 outputs = [ "out" "dev" ]; 52 53 src = fetchurl { 54 url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz"; 55 + hash = "sha256-x972k6ekkoMPSdSXqAzGuchctXsV6b4tLWFRU7ecrgg="; 56 }; 57 58 nativeBuildInputs = [ ··· 137 138 meta = with lib; { 139 homepage = "https://poppler.freedesktop.org/"; 140 + changelog = "https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-${version}/NEWS"; 141 description = "A PDF rendering library"; 142 longDescription = '' 143 Poppler is a PDF rendering library based on the xpdf-3.0 code base. In
+2 -2
pkgs/development/python-modules/boschshcpy/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "boschshcpy"; 14 - version = "0.2.88"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; ··· 20 owner = "tschamm"; 21 repo = "boschshcpy"; 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-tyx7VJGsU9YYNJQy1mly0AgwKULZ1BWeRzz1BDgXrUU="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "boschshcpy"; 14 + version = "0.2.89"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; ··· 20 owner = "tschamm"; 21 repo = "boschshcpy"; 22 rev = "refs/tags/${version}"; 23 + hash = "sha256-/BZz666b2qZ6Dzkw+l1OpoMP+MIsFzhohNutzZMooNQ="; 24 }; 25 26 nativeBuildInputs = [
+4 -1
pkgs/development/python-modules/google-auth-oauthlib/default.nix
··· 33 pytestCheckHook 34 ]; 35 36 - disabledTests = lib.optionals stdenv.isDarwin [ 37 # This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`). 38 "test_run_local_server_bind_addr" 39 ];
··· 33 pytestCheckHook 34 ]; 35 36 + disabledTests = [ 37 + # Flaky test. See https://github.com/NixOS/nixpkgs/issues/288424#issuecomment-1941609973. 38 + "test_run_local_server_occupied_port" 39 + ] ++ lib.optionals stdenv.isDarwin [ 40 # This test fails if the hostname is not associated with an IP (e.g., in `/etc/hosts`). 41 "test_run_local_server_bind_addr" 42 ];
+2 -2
pkgs/development/python-modules/ipykernel/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "ipykernel"; 25 - version = "6.29.0"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.8"; 29 30 src = fetchPypi { 31 inherit pname version; 32 - hash = "sha256-td0wE8q3szDfcSiRyWzRq4aMJ6cVnmBvdiAV6b+M6z8="; 33 }; 34 35 # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
··· 22 23 buildPythonPackage rec { 24 pname = "ipykernel"; 25 + version = "6.29.2"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.8"; 29 30 src = fetchPypi { 31 inherit pname version; 32 + hash = "sha256-O63igATj/2JO1Xl0lIEWZwYErF9nbRIzlpPzFCF20/A="; 33 }; 34 35 # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
+20 -9
pkgs/development/python-modules/ipywidgets/default.nix
··· 1 { buildPythonPackage 2 , fetchPypi 3 , ipykernel 4 , ipython 5 , jupyterlab-widgets 6 , lib 7 - , nbformat 8 , pytestCheckHook 9 , pytz 10 , traitlets ··· 13 14 buildPythonPackage rec { 15 pname = "ipywidgets"; 16 - version = "8.1.1"; 17 - format = "setuptools"; 18 19 src = fetchPypi { 20 inherit pname version; 21 - hash = "sha256-QCEe+1Vq3sb6RQzMKnfVnKRKBg9PnxNoM99ZyfU45ug="; 22 }; 23 24 propagatedBuildInputs = [ 25 ipython 26 - ipykernel 27 jupyterlab-widgets 28 traitlets 29 - nbformat 30 - pytz 31 widgetsnbextension 32 ]; 33 34 - nativeCheckInputs = [ pytestCheckHook ]; 35 36 meta = { 37 description = "IPython HTML widgets for Jupyter"; 38 - homepage = "https://ipython.org/"; 39 license = lib.licenses.bsd3; 40 maintainers = with lib.maintainers; [ fridh ]; 41 };
··· 1 { buildPythonPackage 2 , fetchPypi 3 + , setuptools 4 + , wheel 5 + , comm 6 , ipykernel 7 , ipython 8 + , jsonschema 9 , jupyterlab-widgets 10 , lib 11 , pytestCheckHook 12 , pytz 13 , traitlets ··· 16 17 buildPythonPackage rec { 18 pname = "ipywidgets"; 19 + version = "8.1.2"; 20 + pyproject = true; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-0Lm0Hkm66SaoZuYTo5sPAJd0XSufHz3UBmQbSlfsQsk="; 25 }; 26 27 + nativeBuildInputs = [ 28 + setuptools 29 + wheel 30 + ]; 31 + 32 propagatedBuildInputs = [ 33 + comm 34 ipython 35 jupyterlab-widgets 36 traitlets 37 widgetsnbextension 38 ]; 39 40 + nativeCheckInputs = [ 41 + ipykernel 42 + jsonschema 43 + pytestCheckHook 44 + pytz 45 + ]; 46 47 meta = { 48 description = "IPython HTML widgets for Jupyter"; 49 + homepage = "https://github.com/jupyter-widgets/ipywidgets"; 50 license = lib.licenses.bsd3; 51 maintainers = with lib.maintainers; [ fridh ]; 52 };
+5 -2
pkgs/development/python-modules/jax/default.nix
··· 28 in 29 buildPythonPackage rec { 30 pname = "jax"; 31 - version = "0.4.23"; 32 pyproject = true; 33 34 disabled = pythonOlder "3.9"; ··· 38 repo = "jax"; 39 # google/jax contains tags for jax and jaxlib. Only use jax tags! 40 rev = "refs/tags/${pname}-v${version}"; 41 - hash = "sha256-PDa3yVH/sszGbWkVkJ+19FdOr3oqdYk+OdbeUTMTDuU="; 42 }; 43 44 nativeBuildInputs = [ ··· 89 "testKde3" 90 "testKde5" 91 "testKde6" 92 ] ++ lib.optionals usingMKL [ 93 # See 94 # * https://github.com/google/jax/issues/9705
··· 28 in 29 buildPythonPackage rec { 30 pname = "jax"; 31 + version = "0.4.24"; 32 pyproject = true; 33 34 disabled = pythonOlder "3.9"; ··· 38 repo = "jax"; 39 # google/jax contains tags for jax and jaxlib. Only use jax tags! 40 rev = "refs/tags/${pname}-v${version}"; 41 + hash = "sha256-hmx7eo3pephc6BQfoJ3U0QwWBWmhkAc+7S4QmW32qQs="; 42 }; 43 44 nativeBuildInputs = [ ··· 89 "testKde3" 90 "testKde5" 91 "testKde6" 92 + # Invokes python manually in a subprocess, which does not have the correct dependencies 93 + # ImportError: This version of jax requires jaxlib version >= 0.4.19. 94 + "test_no_log_spam" 95 ] ++ lib.optionals usingMKL [ 96 # See 97 # * https://github.com/google/jax/issues/9705
+24 -20
pkgs/development/python-modules/jaxlib/bin.nix
··· 35 let 36 inherit (cudaPackagesGoogle) cudatoolkit cudnn cudaVersion; 37 38 - version = "0.4.23"; 39 40 inherit (python) pythonVersion; 41 ··· 56 "3.9-x86_64-linux" = getSrcFromPypi { 57 platform = "manylinux2014_x86_64"; 58 dist = "cp39"; 59 - hash = "sha256-maN9RzK6/hYIuPRd8n8n5qa/HyPgAf6UD+mlqzZ1/Xc="; 60 }; 61 "3.9-aarch64-darwin" = getSrcFromPypi { 62 platform = "macosx_11_0_arm64"; 63 dist = "cp39"; 64 - hash = "sha256-gdb07c12HCfK5VXT2C+9lYKSiIpPgD8sNmd4eG2M6M4="; 65 }; 66 "3.9-x86_64-darwin" = getSrcFromPypi { 67 platform = "macosx_10_14_x86_64"; 68 dist = "cp39"; 69 - hash = "sha256-TdU4wEoqEhsDq18MuLEpmKqpU51+xUYp/reZqEDJK1U="; 70 }; 71 72 "3.10-x86_64-linux" = getSrcFromPypi { 73 platform = "manylinux2014_x86_64"; 74 dist = "cp310"; 75 - hash = "sha256-cnX75aSJxoPFUCYD1V5QgyPNovS9lSGqg4PGdPsKsvM="; 76 }; 77 "3.10-aarch64-darwin" = getSrcFromPypi { 78 platform = "macosx_11_0_arm64"; 79 dist = "cp310"; 80 - hash = "sha256-H9sbeR4+4XytREYLP0LJphqGkQqHcinTC9NlT0Rj1aA="; 81 }; 82 "3.10-x86_64-darwin" = getSrcFromPypi { 83 platform = "macosx_10_14_x86_64"; 84 dist = "cp310"; 85 - hash = "sha256-43VuBgGvdjauWPQtJK9w5GBI/++JvV4FwwO4maIXfDY="; 86 }; 87 88 "3.11-x86_64-linux" = getSrcFromPypi { 89 platform = "manylinux2014_x86_64"; 90 dist = "cp311"; 91 - hash = "sha256-mEdm0wmyHKg4RlA7q9/e1OOu+BfGcPKBCSvLwXfFhJI="; 92 }; 93 "3.11-aarch64-darwin" = getSrcFromPypi { 94 platform = "macosx_11_0_arm64"; 95 dist = "cp311"; 96 - hash = "sha256-1kb/m8DODrtXO2drIfpttCLC72oNVszADbSDspllQVs="; 97 }; 98 "3.11-x86_64-darwin" = getSrcFromPypi { 99 platform = "macosx_10_14_x86_64"; 100 dist = "cp311"; 101 - hash = "sha256-jhLX4ps+EtU1sku722v51mz2SSamo4/dkdRWX3zFcRE="; 102 }; 103 104 "3.12-x86_64-linux" = getSrcFromPypi { 105 platform = "manylinux2014_x86_64"; 106 dist = "cp312"; 107 - hash = "sha256-oimiuQopgN1oKhbDc7SsRJPnA6JiEI9UieikWR2qpVk="; 108 }; 109 "3.12-aarch64-darwin" = getSrcFromPypi { 110 platform = "macosx_11_0_arm64"; 111 dist = "cp312"; 112 - hash = "sha256-J4zaKcx0c0Bgk7w/n6klqDlgY9IqTNINfg6g033LUDk="; 113 }; 114 "3.12-x86_64-darwin" = getSrcFromPypi { 115 platform = "macosx_10_14_x86_64"; 116 dist = "cp312"; 117 - hash = "sha256-UFEE/mBitEOVUoijhUfphyy24QfWPZ+FQPsQ0cjY79A="; 118 }; 119 }; 120 ··· 130 gpuSrcs = { 131 "cuda12.2-3.9" = fetchurl { 132 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp39-cp39-manylinux2014_x86_64.whl"; 133 - hash = "sha256-our2mSwHPdjVoDAZP+9aNUkJ+vxv1Tq7G5UqA9HvhNI="; 134 }; 135 "cuda12.2-3.10" = fetchurl { 136 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp310-cp310-manylinux2014_x86_64.whl"; 137 - hash = "sha256-jkIABnJZnn7A6n9VGs/MldzdDiKwWh0fEvl7Vqn85Kg="; 138 }; 139 "cuda12.2-3.11" = fetchurl { 140 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp311-cp311-manylinux2014_x86_64.whl"; 141 - hash = "sha256-dMUcRnHjl8NyUeO3P1x7CNgF0iAHFKIzUtHh+/CNkow="; 142 }; 143 "cuda12.2-3.12" = fetchurl { 144 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp312-cp312-manylinux2014_x86_64.whl"; 145 - hash = "sha256-kXJ6bUwX+QybqYPV9Kpwv+lhdoGEFRr4+1T0vfXoWRo="; 146 }; 147 "cuda11.8-3.9" = fetchurl { 148 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp39-cp39-manylinux2014_x86_64.whl"; 149 - hash = "sha256-m2Y5p12gF3OaADu+aGw5RjcKFrj9RB8xzNWnKNpSz60="; 150 }; 151 "cuda11.8-3.10" = fetchurl { 152 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp310-cp310-manylinux2014_x86_64.whl"; 153 - hash = "sha256-aQ7iX3o0kQ4liPexv7dkBVWVTUpaty83L083MybGkf0="; 154 }; 155 "cuda11.8-3.11" = fetchurl { 156 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp311-cp311-manylinux2014_x86_64.whl"; 157 - hash = "sha256-uIEyjEmv0HBaiYVl5PuICTI9XnH4zAfQ1l9tjALRcP4="; 158 }; 159 }; 160
··· 35 let 36 inherit (cudaPackagesGoogle) cudatoolkit cudnn cudaVersion; 37 38 + version = "0.4.24"; 39 40 inherit (python) pythonVersion; 41 ··· 56 "3.9-x86_64-linux" = getSrcFromPypi { 57 platform = "manylinux2014_x86_64"; 58 dist = "cp39"; 59 + hash = "sha256-6P5ArMoLZiUkHUoQ/mJccbNj5/7el/op+Qo6cGQ33xE="; 60 }; 61 "3.9-aarch64-darwin" = getSrcFromPypi { 62 platform = "macosx_11_0_arm64"; 63 dist = "cp39"; 64 + hash = "sha256-23JQZRwMLtt7sK/JlCBqqRyfTVIAVJFN2sL+nAkQgvU="; 65 }; 66 "3.9-x86_64-darwin" = getSrcFromPypi { 67 platform = "macosx_10_14_x86_64"; 68 dist = "cp39"; 69 + hash = "sha256-OgMedn9GHGs5THZf3pkP3Aw/jJ0vL5qK1b+Lzf634Ik="; 70 }; 71 72 "3.10-x86_64-linux" = getSrcFromPypi { 73 platform = "manylinux2014_x86_64"; 74 dist = "cp310"; 75 + hash = "sha256-/VwUIIa7mTs/wLz0ArsEfNrz2pGriVVT5GX9XRFRxfY="; 76 }; 77 "3.10-aarch64-darwin" = getSrcFromPypi { 78 platform = "macosx_11_0_arm64"; 79 dist = "cp310"; 80 + hash = "sha256-LgICOyDGts840SQQJh+yOMobMASb62llvJjpGvhzrSw="; 81 }; 82 "3.10-x86_64-darwin" = getSrcFromPypi { 83 platform = "macosx_10_14_x86_64"; 84 dist = "cp310"; 85 + hash = "sha256-vhyULw+zBpz1UEi2tqgBMQEzY9a6YBgEIg6A4PPh3bQ="; 86 }; 87 88 "3.11-x86_64-linux" = getSrcFromPypi { 89 platform = "manylinux2014_x86_64"; 90 dist = "cp311"; 91 + hash = "sha256-VJO/VVwBFkOEtq4y/sLVgAV8Cung01JULiuT6W96E/8="; 92 }; 93 "3.11-aarch64-darwin" = getSrcFromPypi { 94 platform = "macosx_11_0_arm64"; 95 dist = "cp311"; 96 + hash = "sha256-VtuwXxurpSp1KI8ty1bizs5cdy8GEBN2MgS227sOCmE="; 97 }; 98 "3.11-x86_64-darwin" = getSrcFromPypi { 99 platform = "macosx_10_14_x86_64"; 100 dist = "cp311"; 101 + hash = "sha256-4Dj5dEGKb9hpg3HlVogNO1Gc9UibJhy1eym2mjivxAQ="; 102 }; 103 104 "3.12-x86_64-linux" = getSrcFromPypi { 105 platform = "manylinux2014_x86_64"; 106 dist = "cp312"; 107 + hash = "sha256-TlrGVtb3NTLmhnILWPLJR+jISCZ5SUV4wxNFpSfkCBo="; 108 }; 109 "3.12-aarch64-darwin" = getSrcFromPypi { 110 platform = "macosx_11_0_arm64"; 111 dist = "cp312"; 112 + hash = "sha256-FIwK5CGykQjteuWzLZnbtAggIxLQeGV96bXlZGEytN0="; 113 }; 114 "3.12-x86_64-darwin" = getSrcFromPypi { 115 platform = "macosx_10_14_x86_64"; 116 dist = "cp312"; 117 + hash = "sha256-9/jw/wr6oUD9pOadVAaMRL086iVMUXwVgnUMcG1UNvE="; 118 }; 119 }; 120 ··· 130 gpuSrcs = { 131 "cuda12.2-3.9" = fetchurl { 132 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp39-cp39-manylinux2014_x86_64.whl"; 133 + hash = "sha256-xdJKLPtx+CIza2CrWKM3M0cZJzyNFVTTTsvlgh38bfM="; 134 }; 135 "cuda12.2-3.10" = fetchurl { 136 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp310-cp310-manylinux2014_x86_64.whl"; 137 + hash = "sha256-QCjrOczD2mp+CDwVXBc0/4rJnAizeV62AK0Dpx9X6TE="; 138 }; 139 "cuda12.2-3.11" = fetchurl { 140 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp311-cp311-manylinux2014_x86_64.whl"; 141 + hash = "sha256-Ipy3vk1yUplpNzECAFt63aOIhgEWgXG7hkoeTIk9bQQ="; 142 }; 143 "cuda12.2-3.12" = fetchurl { 144 url = "https://storage.googleapis.com/jax-releases/cuda12/jaxlib-${version}+cuda12.cudnn89-cp312-cp312-manylinux2014_x86_64.whl"; 145 + hash = "sha256-LSnZHaUga/8Z65iKXWBnZDk4yUpNykFTu3vukCchO6Q="; 146 }; 147 "cuda11.8-3.9" = fetchurl { 148 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp39-cp39-manylinux2014_x86_64.whl"; 149 + hash = "sha256-UmyugL0VjlXkiD7fuDPWgW8XUpr/QaP5ggp6swoZTzU="; 150 }; 151 "cuda11.8-3.10" = fetchurl { 152 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp310-cp310-manylinux2014_x86_64.whl"; 153 + hash = "sha256-luKULEiV1t/sO6eckDxddJTiOFa0dtJeDlrvp+WYmHk="; 154 }; 155 "cuda11.8-3.11" = fetchurl { 156 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp311-cp311-manylinux2014_x86_64.whl"; 157 + hash = "sha256-4+uJ8Ij6mFGEmjFEgi3fLnSLZs+v18BRoOt7mZuqydw="; 158 + }; 159 + "cuda11.8-3.12" = fetchurl { 160 + url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn86-cp312-cp312-manylinux2014_x86_64.whl"; 161 + hash = "sha256-bUDFb94Ar/65SzzR9RLIs/SL/HdjaPT1Su5whmjkS00="; 162 }; 163 }; 164
+11 -6
pkgs/development/python-modules/jaxlib/default.nix
··· 53 inherit (cudaPackagesGoogle) backendStdenv cudatoolkit cudaFlags cudnn nccl; 54 55 pname = "jaxlib"; 56 - version = "0.4.23"; 57 58 meta = with lib; { 59 description = "JAX is Autograd and XLA, brought together for high-performance machine learning research."; ··· 151 repo = "jax"; 152 # google/jax contains tags for jax and jaxlib. Only use jaxlib tags! 153 rev = "refs/tags/${pname}-v${version}"; 154 - hash = "sha256-PDa3yVH/sszGbWkVkJ+19FdOr3oqdYk+OdbeUTMTDuU="; 155 }; 156 157 nativeBuildInputs = [ ··· 195 ''; 196 197 bazelRunTarget = "//jaxlib/tools:build_wheel"; 198 - runTargetFlags = [ "--output_path=$out" "--cpu=${arch}" ]; 199 200 removeRulesCC = false; 201 ··· 263 ]; 264 265 sha256 = (if cudaSupport then { 266 - x86_64-linux = "sha256-q2wRaoCGnISEdtF6jDMk9Wccy/wTmLusVBI7dDATwi4="; 267 } else { 268 - x86_64-linux = "sha256-0cDJ27HCi3J5xeT6TkTtfUzF/yESBYmEVG1r14kPdRs="; 269 - aarch64-linux = "sha256-WbaN8VYjeW0mDthmtoSTttqd4K/Z8dP5+VkTo10pLtU="; 270 }).${stdenv.system} or (throw "jaxlib: unsupported system: ${stdenv.system}"); 271 }; 272
··· 53 inherit (cudaPackagesGoogle) backendStdenv cudatoolkit cudaFlags cudnn nccl; 54 55 pname = "jaxlib"; 56 + version = "0.4.24"; 57 58 meta = with lib; { 59 description = "JAX is Autograd and XLA, brought together for high-performance machine learning research."; ··· 151 repo = "jax"; 152 # google/jax contains tags for jax and jaxlib. Only use jaxlib tags! 153 rev = "refs/tags/${pname}-v${version}"; 154 + hash = "sha256-hmx7eo3pephc6BQfoJ3U0QwWBWmhkAc+7S4QmW32qQs="; 155 }; 156 157 nativeBuildInputs = [ ··· 195 ''; 196 197 bazelRunTarget = "//jaxlib/tools:build_wheel"; 198 + runTargetFlags = [ 199 + "--output_path=$out" 200 + "--cpu=${arch}" 201 + # This has no impact whatsoever... 202 + "--jaxlib_git_hash='12345678'" 203 + ]; 204 205 removeRulesCC = false; 206 ··· 268 ]; 269 270 sha256 = (if cudaSupport then { 271 + x86_64-linux = "sha256-c0avcURLAYNiLASjIeu5phXX3ze5TR812SW5SCG/iwk="; 272 } else { 273 + x86_64-linux = "sha256-1hrQ9ehFy3vBJxKNUzi/T0l+eZxo26Th7i5VRd/9U+0="; 274 + aarch64-linux = "sha256-3QVYJOj1lNHgYVV9rOzVdfhq5q6GDwpcWCjKNrSZ4aU="; 275 }).${stdenv.system} or (throw "jaxlib: unsupported system: ${stdenv.system}"); 276 }; 277
+2 -2
pkgs/development/python-modules/jupyter-collaboration/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "jupyter-collaboration"; 22 - version = "2.0.1"; 23 pyproject = true; 24 25 disabled = pythonOlder "3.8"; ··· 27 src = fetchPypi { 28 pname = "jupyter_collaboration"; 29 inherit version; 30 - hash = "sha256-Uc57kxhaj/DQi5cX+kjV4PGRcFbxWmzc+B248+1VAYI="; 31 }; 32 33 postPatch = ''
··· 19 20 buildPythonPackage rec { 21 pname = "jupyter-collaboration"; 22 + version = "2.0.2"; 23 pyproject = true; 24 25 disabled = pythonOlder "3.8"; ··· 27 src = fetchPypi { 28 pname = "jupyter_collaboration"; 29 inherit version; 30 + hash = "sha256-EpWFsVWCi/6IOuM/zgPIer3arMDGjPPxhm/tZC4aji4="; 31 }; 32 33 postPatch = ''
+2 -2
pkgs/development/python-modules/jupyterlab-lsp/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "jupyterlab-lsp"; 11 - version = "5.0.2"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-JmiGhOkHUPjvikFimgpAUOc26IFVWqFBP7Xah54GNfE="; 17 }; 18 19 nativeBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "jupyterlab-lsp"; 11 + version = "5.0.3"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 + hash = "sha256-qcijpkZJS+SE1+MXSrHSQV7WD0dzzshHmqW6N+XwS8k="; 17 }; 18 19 nativeBuildInputs = [
+9 -3
pkgs/development/python-modules/jupyterlab-widgets/default.nix
··· 4 5 buildPythonPackage rec { 6 pname = "jupyterlab-widgets"; 7 - version = "3.0.9"; 8 - format = "setuptools"; 9 10 src = fetchPypi { 11 pname = "jupyterlab_widgets"; 12 inherit version; 13 - hash = "sha256-YAWk6XTHvu6EBg/fujQaMhhJUEbeiuPsZIiOX+Gf20w="; 14 }; 15 16 nativeBuildInputs = [ 17 jupyter-packaging
··· 4 5 buildPythonPackage rec { 6 pname = "jupyterlab-widgets"; 7 + version = "3.0.10"; 8 + pyproject = true; 9 10 src = fetchPypi { 11 pname = "jupyterlab_widgets"; 12 inherit version; 13 + hash = "sha256-BPKsBJdnJ+T50PqRzcLxq4YPll5QTCnb1qZciCydBMA="; 14 }; 15 + 16 + # jupyterlab is required to build from source but we use the pre-build package 17 + postPatch = '' 18 + substituteInPlace pyproject.toml \ 19 + --replace '"jupyterlab~=4.0"' "" 20 + ''; 21 22 nativeBuildInputs = [ 23 jupyter-packaging
+1 -1
pkgs/development/python-modules/mypy/default.nix
··· 118 homepage = "https://www.mypy-lang.org"; 119 license = licenses.mit; 120 mainProgram = "mypy"; 121 - maintainers = with maintainers; [ martingms lnl7 ]; 122 }; 123 }
··· 118 homepage = "https://www.mypy-lang.org"; 119 license = licenses.mit; 120 mainProgram = "mypy"; 121 + maintainers = with maintainers; [ lnl7 ]; 122 }; 123 }
+1 -1
pkgs/development/python-modules/mypy/extensions.nix
··· 42 description = "Experimental type system extensions for programs checked with the mypy typechecker"; 43 homepage = "https://www.mypy-lang.org"; 44 license = licenses.mit; 45 - maintainers = with maintainers; [ martingms lnl7 ]; 46 }; 47 }
··· 42 description = "Experimental type system extensions for programs checked with the mypy typechecker"; 43 homepage = "https://www.mypy-lang.org"; 44 license = licenses.mit; 45 + maintainers = with maintainers; [ lnl7 ]; 46 }; 47 }
+4 -2
pkgs/development/python-modules/nbconvert/default.nix
··· 20 , traitlets 21 , importlib-metadata 22 , flaky 23 , ipywidgets 24 , pytestCheckHook 25 }: ··· 32 }; 33 in buildPythonPackage rec { 34 pname = "nbconvert"; 35 - version = "7.14.2"; 36 pyproject = true; 37 38 disabled = pythonOlder "3.8"; 39 40 src = fetchPypi { 41 inherit pname version; 42 - hash = "sha256-p/iAj9TggkMWc6xThAAhjdRe/QdvvrB8xuWqWjpOlJ4="; 43 }; 44 45 # Add $out/share/jupyter to the list of paths that are used to search for ··· 84 85 nativeCheckInputs = [ 86 flaky 87 ipywidgets 88 pytestCheckHook 89 ];
··· 20 , traitlets 21 , importlib-metadata 22 , flaky 23 + , ipykernel 24 , ipywidgets 25 , pytestCheckHook 26 }: ··· 33 }; 34 in buildPythonPackage rec { 35 pname = "nbconvert"; 36 + version = "7.16.0"; 37 pyproject = true; 38 39 disabled = pythonOlder "3.8"; 40 41 src = fetchPypi { 42 inherit pname version; 43 + hash = "sha256-gT5lU3ljYkia5XLjm6G/+XhTYZL7UY4QgmsOjK3wPsg="; 44 }; 45 46 # Add $out/share/jupyter to the list of paths that are used to search for ··· 85 86 nativeCheckInputs = [ 87 flaky 88 + ipykernel 89 ipywidgets 90 pytestCheckHook 91 ];
+2 -2
pkgs/development/python-modules/notebook/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "notebook"; 19 - version = "7.0.7"; 20 disabled = pythonOlder "3.8"; 21 22 format = "pyproject"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-O8/wDBezrBQu9fQ21QY32TaydM+gtB9qwBdTY96bTgk="; 27 }; 28 29 postPatch = ''
··· 16 17 buildPythonPackage rec { 18 pname = "notebook"; 19 + version = "7.0.8"; 20 disabled = pythonOlder "3.8"; 21 22 format = "pyproject"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-OVfs2VYFawAUZ3r8dtO7RMLS8pZJ+Hsk0TYG/x0Yk48="; 27 }; 28 29 postPatch = ''
+3
pkgs/development/python-modules/numpyro/default.nix
··· 62 "test_zero_inflated_logits_probs_agree" 63 # NameError: unbound axis name: _provenance 64 "test_model_transformation" 65 ]; 66 67 # TODO: remove when tensorflow-probability gets fixed.
··· 62 "test_zero_inflated_logits_probs_agree" 63 # NameError: unbound axis name: _provenance 64 "test_model_transformation" 65 + # Using deprecated (removed in jax==0.4.24) jax.core.safe_map 66 + # https://github.com/pyro-ppl/numpyro/issues/1733 67 + "test_beta_bernoulli" 68 ]; 69 70 # TODO: remove when tensorflow-probability gets fixed.
+6
pkgs/development/python-modules/pydeck/default.nix
··· 26 hash = "sha256-B+3egz98/O9nSRJDURlap9zSRmPUkJ/XiY29C2+8Aew="; 27 }; 28 29 nativeBuildInputs = [ 30 jinja2 31 jupyter
··· 26 hash = "sha256-B+3egz98/O9nSRJDURlap9zSRmPUkJ/XiY29C2+8Aew="; 27 }; 28 29 + # upstream has an invalid pyproject.toml 30 + # https://github.com/visgl/deck.gl/issues/8469 31 + postPatch = '' 32 + rm pyproject.toml 33 + ''; 34 + 35 nativeBuildInputs = [ 36 jinja2 37 jupyter
+6 -1
pkgs/development/python-modules/qcodes/default.nix
··· 54 disabled = pythonOlder "3.9"; 55 56 src = fetchFromGitHub { 57 - owner = "QCoDeS"; 58 repo = "Qcodes"; 59 rev = "refs/tags/v${version}"; 60 hash = "sha256-AggAVq/yfJUZRwoQb29QoIbVIAdV3solKCjivqucLZk="; ··· 146 pythonImportsCheck = [ 147 "qcodes" 148 ]; 149 150 postInstall = '' 151 export HOME="$TMPDIR"
··· 54 disabled = pythonOlder "3.9"; 55 56 src = fetchFromGitHub { 57 + owner = "microsoft"; 58 repo = "Qcodes"; 59 rev = "refs/tags/v${version}"; 60 hash = "sha256-AggAVq/yfJUZRwoQb29QoIbVIAdV3solKCjivqucLZk="; ··· 146 pythonImportsCheck = [ 147 "qcodes" 148 ]; 149 + 150 + postPatch = '' 151 + substituteInPlace pyproject.toml \ 152 + --replace-fail 'default-version = "0.0"' 'default-version = "${version}"' 153 + ''; 154 155 postInstall = '' 156 export HOME="$TMPDIR"
+7 -4
pkgs/development/python-modules/widgetsnbextension/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , jupyter-packaging 5 - , notebook 6 , ipywidgets 7 }: 8 9 buildPythonPackage rec { 10 pname = "widgetsnbextension"; 11 - version = "4.0.9"; 12 - format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-PB9eRtwRZt/UCkLWhealE5b9NP+Hh0Kj5HxvDMSio4U="; 17 }; 18 19 nativeBuildInputs = [ 20 jupyter-packaging 21 ]; 22 23 # No tests in archive
··· 2 , buildPythonPackage 3 , fetchPypi 4 , jupyter-packaging 5 , ipywidgets 6 }: 7 8 buildPythonPackage rec { 9 pname = "widgetsnbextension"; 10 + version = "4.0.10"; 11 + pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 + hash = "sha256-ZBlsX/O5qRg6jmmaQif7C3AC8lLIFAmOZsTRzQZEaI8="; 16 }; 17 18 nativeBuildInputs = [ 19 jupyter-packaging 20 + ]; 21 + 22 + pythonImportsCheck = [ 23 + "widgetsnbextension" 24 ]; 25 26 # No tests in archive
+1 -1
pkgs/development/tools/continuous-integration/woodpecker/cli.nix
··· 12 13 meta = common.meta // { 14 description = "Command line client for the Woodpecker Continuous Integration server"; 15 - mainProgram = "woodpecker-cli"; 16 }; 17 }
··· 12 13 meta = common.meta // { 14 description = "Command line client for the Woodpecker Continuous Integration server"; 15 + mainProgram = "woodpecker"; 16 }; 17 }
+13 -1
pkgs/development/tools/continuous-integration/woodpecker/common.nix
··· 17 postInstall = '' 18 cd $out/bin 19 for f in *; do 20 - mv -- "$f" "woodpecker-$f" 21 done 22 cd - 23 '';
··· 17 postInstall = '' 18 cd $out/bin 19 for f in *; do 20 + if [ "$f" = cli ]; then 21 + mv -- "$f" "woodpecker" 22 + # Issue a warning to the user if they call the deprecated executable 23 + cat >woodpecker-cli << EOF 24 + #/bin/sh 25 + echo 'WARNING: calling `woodpecker-cli` is deprecated, use `woodpecker` instead.' >&2 26 + $out/bin/woodpecker "\$@" 27 + EOF 28 + chmod +x woodpecker-cli 29 + patchShebangs woodpecker-cli 30 + else 31 + mv -- "$f" "woodpecker-$f" 32 + fi 33 done 34 cd - 35 '';
+4 -4
pkgs/development/tools/rye/Cargo.lock
··· 1219 [[package]] 1220 name = "monotrail-utils" 1221 version = "0.0.1" 1222 - source = "git+https://github.com/konstin/poc-monotrail?rev=136807e1fe87e9319e0223f76b602ba5db881322#136807e1fe87e9319e0223f76b602ba5db881322" 1223 dependencies = [ 1224 "anyhow", 1225 "cpufeatures", ··· 1383 1384 [[package]] 1385 name = "pep508_rs" 1386 - version = "0.2.4" 1387 source = "registry+https://github.com/rust-lang/crates.io-index" 1388 - checksum = "aa9d1320b78f4a5715b3ec914f32b5e85a50287ad923730e3cbf0255259432eb" 1389 dependencies = [ 1390 "once_cell", 1391 "pep440_rs", ··· 1792 1793 [[package]] 1794 name = "rye" 1795 - version = "0.22.0" 1796 dependencies = [ 1797 "age", 1798 "anyhow",
··· 1219 [[package]] 1220 name = "monotrail-utils" 1221 version = "0.0.1" 1222 + source = "git+https://github.com/konstin/poc-monotrail?rev=e0251f68c254f834180198b8677fcf85d4b6a844#e0251f68c254f834180198b8677fcf85d4b6a844" 1223 dependencies = [ 1224 "anyhow", 1225 "cpufeatures", ··· 1383 1384 [[package]] 1385 name = "pep508_rs" 1386 + version = "0.3.0" 1387 source = "registry+https://github.com/rust-lang/crates.io-index" 1388 + checksum = "910c513bea0f4f833122321c0f20e8c704e01de98692f6989c2ec21f43d88b1e" 1389 dependencies = [ 1390 "once_cell", 1391 "pep440_rs", ··· 1792 1793 [[package]] 1794 name = "rye" 1795 + version = "0.23.0" 1796 dependencies = [ 1797 "age", 1798 "anyhow",
+3 -3
pkgs/development/tools/rye/default.nix
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "rye"; 15 - version = "0.22.0"; 16 17 src = fetchFromGitHub { 18 owner = "mitsuhiko"; 19 repo = "rye"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-gM/Vn/eBPZ39568LqUXyx+ZTTsKAVur30Qrl3GS1ID8="; 22 }; 23 24 cargoLock = { 25 lockFile = ./Cargo.lock; 26 outputHashes = { 27 "dialoguer-0.10.4" = "sha256-WDqUKOu7Y0HElpPxf2T8EpzAY3mY8sSn9lf0V0jyAFc="; 28 - "monotrail-utils-0.0.1" = "sha256-h2uxWsDrU9j2C5OWbYsfGz0S1VsPzYrfksQVEkwd2ys="; 29 }; 30 }; 31
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "rye"; 15 + version = "0.23.0"; 16 17 src = fetchFromGitHub { 18 owner = "mitsuhiko"; 19 repo = "rye"; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-0sbfqiPxo68429q676hs3vB3wRNmF/+OO7Ykg2x7HIQ="; 22 }; 23 24 cargoLock = { 25 lockFile = ./Cargo.lock; 26 outputHashes = { 27 "dialoguer-0.10.4" = "sha256-WDqUKOu7Y0HElpPxf2T8EpzAY3mY8sSn9lf0V0jyAFc="; 28 + "monotrail-utils-0.0.1" = "sha256-ydNdg6VI+Z5wXe2bEzRtavw0rsrcJkdsJ5DvXhbaDE4="; 29 }; 30 }; 31
+6 -6
pkgs/games/pysolfc/default.nix
··· 7 }: 8 9 buildPythonApplication rec { 10 - pname = "PySolFC"; 11 - version = "2.20.1"; 12 13 src = fetchzip { 14 - url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC/PySolFC-${version}/PySolFC-${version}.tar.xz"; 15 - hash = "sha256-mEnsq8Su0ses+nqoSFC+Wr0MHY7aTDMbtDV8toYVNPY="; 16 }; 17 18 cardsets = fetchzip { 19 - url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC-Cardsets/PySolFC-Cardsets-2.2/PySolFC-Cardsets-2.2.tar.bz2"; 20 hash = "sha256-mWJ0l9rvn9KeZ9rCWy7VjngJzJtSQSmG8zGcYFE4yM0="; 21 }; 22 23 music = fetchzip { 24 - url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySol-Music/PySol-Music-4.50/pysol-music-4.50.tar.xz"; 25 hash = "sha256-sOl5U98aIorrQHJRy34s0HHaSW8hMUE7q84FMQAj5Yg="; 26 }; 27
··· 7 }: 8 9 buildPythonApplication rec { 10 + pname = "pysolfc"; 11 + version = "2.21.0"; 12 13 src = fetchzip { 14 + url = "mirror://sourceforge/pysolfc/PySolFC-${version}.tar.xz"; 15 + hash = "sha256-Deye7KML5G6RZkth2veVgPOWZI8gnusEvszlrPTAhag="; 16 }; 17 18 cardsets = fetchzip { 19 + url = "mirror://sourceforge/pysolfc/PySolFC-Cardsets-2.2.tar.bz2"; 20 hash = "sha256-mWJ0l9rvn9KeZ9rCWy7VjngJzJtSQSmG8zGcYFE4yM0="; 21 }; 22 23 music = fetchzip { 24 + url = "mirror://sourceforge/pysolfc/pysol-music-4.50.tar.xz"; 25 hash = "sha256-sOl5U98aIorrQHJRy34s0HHaSW8hMUE7q84FMQAj5Yg="; 26 }; 27
+5 -5
pkgs/servers/consul/default.nix
··· 2 3 buildGoModule rec { 4 pname = "consul"; 5 - version = "1.17.2"; 6 - rev = "v${version}"; 7 8 # Note: Currently only release tags are supported, because they have the Consul UI 9 # vendored. See ··· 16 src = fetchFromGitHub { 17 owner = "hashicorp"; 18 repo = pname; 19 - inherit rev; 20 - hash = "sha256-zfJZUDR6GJlJbnLIXa5duq8VOG0WUN+FP5BLQ4EgPKM="; 21 }; 22 23 passthru.tests.consul = nixosTests.consul; ··· 26 # has a split module structure in one repo 27 subPackages = ["." "connect/certgen"]; 28 29 - vendorHash = "sha256-bKiKfLq/kbZYziUyD2v1o9X2Gs6uiqzPSYWE4cpeU9Q="; 30 31 doCheck = false; 32 ··· 38 39 meta = with lib; { 40 description = "Tool for service discovery, monitoring and configuration"; 41 homepage = "https://www.consul.io/"; 42 platforms = platforms.linux ++ platforms.darwin; 43 license = licenses.bsl11;
··· 2 3 buildGoModule rec { 4 pname = "consul"; 5 + version = "1.17.3"; 6 7 # Note: Currently only release tags are supported, because they have the Consul UI 8 # vendored. See ··· 15 src = fetchFromGitHub { 16 owner = "hashicorp"; 17 repo = pname; 18 + rev = "refs/tags/v${version}"; 19 + hash = "sha256-uJN28p2fPQBBkqnlUWrlBwTNfmHr3Pn/4JiMbOBBppI="; 20 }; 21 22 passthru.tests.consul = nixosTests.consul; ··· 25 # has a split module structure in one repo 26 subPackages = ["." "connect/certgen"]; 27 28 + vendorHash = "sha256-ToSCLAX+rNcUTnBBVWkWhLX+wjy7Y4vGLKuny1Ye3kY="; 29 30 doCheck = false; 31 ··· 37 38 meta = with lib; { 39 description = "Tool for service discovery, monitoring and configuration"; 40 + changelog = "https://github.com/hashicorp/consul/releases/tag/v${version}"; 41 homepage = "https://www.consul.io/"; 42 platforms = platforms.linux ++ platforms.darwin; 43 license = licenses.bsl11;
+3 -3
pkgs/servers/plex/raw.nix
··· 12 # server, and the FHS userenv and corresponding NixOS module should 13 # automatically pick up the changes. 14 stdenv.mkDerivation rec { 15 - version = "1.32.8.7639-fb6452ebf"; 16 pname = "plexmediaserver"; 17 18 # Fetch the source 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 - sha256 = "sha256-v9Fb5dlgIWqXfL9a4GkbGDEzYueyHs8P8R6TSyXDLrc="; 22 } else fetchurl { 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 - sha256 = "sha256-jdGVAdvm7kjxTP3CQ5w6dKZbfCRwSy9TrtxRHaV0/cs="; 25 }; 26 27 outputs = [ "out" "basedb" ];
··· 12 # server, and the FHS userenv and corresponding NixOS module should 13 # automatically pick up the changes. 14 stdenv.mkDerivation rec { 15 + version = "1.40.0.7998-c29d4c0c8"; 16 pname = "plexmediaserver"; 17 18 # Fetch the source 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 + sha256 = "sha256-uVsOI6sItfq7wLP+xPOYSC9ueOv/lcDeL+vnrx1WdRA="; 22 } else fetchurl { 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 + sha256 = "sha256-ucxDtnGpfTpQURaGvLwohHeIZPE3aulXtoITRZCYA9c="; 25 }; 26 27 outputs = [ "out" "basedb" ];
-72
pkgs/tools/misc/tmux/CVE-2022-47016.patch
··· 1 - From 01f753df5dc269cf054b94c3f210aa880872d602 Mon Sep 17 00:00:00 2001 2 - From: nicm <nicm> 3 - Date: Wed, 24 Aug 2022 07:22:30 +0000 4 - Subject: [PATCH] Check for NULL returns from bufferevent_new. 5 - 6 - (cherry picked from commit e86752820993a00e3d28350cbe46878ba95d9012) 7 - --- 8 - control.c | 4 ++++ 9 - file.c | 4 ++++ 10 - window.c | 2 ++ 11 - 3 files changed, 10 insertions(+) 12 - 13 - diff --git a/control.c b/control.c 14 - index 73286e00..6183a006 100644 15 - --- a/control.c 16 - +++ b/control.c 17 - @@ -775,6 +775,8 @@ control_start(struct client *c) 18 - 19 - cs->read_event = bufferevent_new(c->fd, control_read_callback, 20 - control_write_callback, control_error_callback, c); 21 - + if (cs->read_event == NULL) 22 - + fatalx("out of memory"); 23 - bufferevent_enable(cs->read_event, EV_READ); 24 - 25 - if (c->flags & CLIENT_CONTROLCONTROL) 26 - @@ -782,6 +784,8 @@ control_start(struct client *c) 27 - else { 28 - cs->write_event = bufferevent_new(c->out_fd, NULL, 29 - control_write_callback, control_error_callback, c); 30 - + if (cs->write_event == NULL) 31 - + fatalx("out of memory"); 32 - } 33 - bufferevent_setwatermark(cs->write_event, EV_WRITE, CONTROL_BUFFER_LOW, 34 - 0); 35 - diff --git a/file.c b/file.c 36 - index b2f155fe..04a907bf 100644 37 - --- a/file.c 38 - +++ b/file.c 39 - @@ -585,6 +585,8 @@ file_write_open(struct client_files *files, struct tmuxpeer *peer, 40 - 41 - cf->event = bufferevent_new(cf->fd, NULL, file_write_callback, 42 - file_write_error_callback, cf); 43 - + if (cf->event == NULL) 44 - + fatalx("out of memory"); 45 - bufferevent_enable(cf->event, EV_WRITE); 46 - goto reply; 47 - 48 - @@ -744,6 +746,8 @@ file_read_open(struct client_files *files, struct tmuxpeer *peer, 49 - 50 - cf->event = bufferevent_new(cf->fd, file_read_callback, NULL, 51 - file_read_error_callback, cf); 52 - + if (cf->event == NULL) 53 - + fatalx("out of memory"); 54 - bufferevent_enable(cf->event, EV_READ); 55 - return; 56 - 57 - diff --git a/window.c b/window.c 58 - index c0cd9bdc..294a1f08 100644 59 - --- a/window.c 60 - +++ b/window.c 61 - @@ -1042,6 +1042,8 @@ window_pane_set_event(struct window_pane *wp) 62 - 63 - wp->event = bufferevent_new(wp->fd, window_pane_read_callback, 64 - NULL, window_pane_error_callback, wp); 65 - + if (wp->event == NULL) 66 - + fatalx("out of memory"); 67 - wp->ictx = input_init(wp, wp->event, &wp->palette); 68 - 69 - bufferevent_enable(wp->event, EV_READ|EV_WRITE); 70 - -- 71 - 2.39.1 72 -
···
+4 -6
pkgs/tools/misc/tmux/default.nix
··· 10 , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd 11 , withUtf8proc ? true, utf8proc # gets Unicode updates faster than glibc 12 , withUtempter ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, libutempter 13 }: 14 15 let ··· 25 26 stdenv.mkDerivation (finalAttrs: { 27 pname = "tmux"; 28 - version = "3.3a"; 29 30 outputs = [ "out" "man" ]; 31 ··· 33 owner = "tmux"; 34 repo = "tmux"; 35 rev = finalAttrs.version; 36 - sha256 = "sha256-SygHxTe7N4y7SdzKixPFQvqRRL57Fm8zWYHfTpW+yVY="; 37 }; 38 39 - patches = [ 40 - ./CVE-2022-47016.patch 41 - ]; 42 - 43 nativeBuildInputs = [ 44 pkg-config 45 autoreconfHook ··· 57 "--sysconfdir=/etc" 58 "--localstatedir=/var" 59 ] ++ lib.optionals withSystemd [ "--enable-systemd" ] 60 ++ lib.optionals withUtempter [ "--enable-utempter" ] 61 ++ lib.optionals withUtf8proc [ "--enable-utf8proc" ]; 62
··· 10 , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd 11 , withUtf8proc ? true, utf8proc # gets Unicode updates faster than glibc 12 , withUtempter ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, libutempter 13 + , withSixel ? true 14 }: 15 16 let ··· 26 27 stdenv.mkDerivation (finalAttrs: { 28 pname = "tmux"; 29 + version = "3.4"; 30 31 outputs = [ "out" "man" ]; 32 ··· 34 owner = "tmux"; 35 repo = "tmux"; 36 rev = finalAttrs.version; 37 + hash = "sha256-RX3RZ0Mcyda7C7im1r4QgUxTnp95nfpGgQ2HRxr0s64="; 38 }; 39 40 nativeBuildInputs = [ 41 pkg-config 42 autoreconfHook ··· 54 "--sysconfdir=/etc" 55 "--localstatedir=/var" 56 ] ++ lib.optionals withSystemd [ "--enable-systemd" ] 57 + ++ lib.optionals withSixel [ "--enable-sixel" ] 58 ++ lib.optionals withUtempter [ "--enable-utempter" ] 59 ++ lib.optionals withUtf8proc [ "--enable-utf8proc" ]; 60
+5 -1
pkgs/tools/misc/ttyplot/default.nix
··· 11 hash = "sha256-HBJvTDhp1CA96gRU2Q+lMxcFaZ+txXcmNb8Cg1BFiH4="; 12 }; 13 14 buildInputs = [ 15 - pkg-config 16 ncurses 17 ]; 18 ··· 22 description = "A simple general purpose plotting utility for tty with data input from stdin"; 23 homepage = "https://github.com/tenox7/ttyplot"; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ lassulus ]; 26 mainProgram = "ttyplot"; 27 };
··· 11 hash = "sha256-HBJvTDhp1CA96gRU2Q+lMxcFaZ+txXcmNb8Cg1BFiH4="; 12 }; 13 14 + nativeBuildInputs = [ 15 + pkg-config 16 + ]; 17 + 18 buildInputs = [ 19 ncurses 20 ]; 21 ··· 25 description = "A simple general purpose plotting utility for tty with data input from stdin"; 26 homepage = "https://github.com/tenox7/ttyplot"; 27 license = licenses.asl20; 28 + platforms = platforms.all; 29 maintainers = with maintainers; [ lassulus ]; 30 mainProgram = "ttyplot"; 31 };