From 7d9369a1949f15b8df28defaf67bfa8d32ffc115 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 5 Aug 2024 15:31:10 +0200 Subject: [PATCH] python312Packages.safetensors: 0.4.3 -> 0.4.4 Diff: https://github.com/huggingface/safetensors/compare/refs/tags/v0.4.3...v0.4.4 Changelog: https://github.com/huggingface/safetensors/releases/tag/v0.4.4 --- .../python-modules/safetensors/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/safetensors/default.nix b/pkgs/development/python-modules/safetensors/default.nix index c3e03f98876d..9d818bb3808d 100644 --- a/pkgs/development/python-modules/safetensors/default.nix +++ b/pkgs/development/python-modules/safetensors/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "safetensors"; - version = "0.4.3"; + version = "0.4.4"; pyproject = true; disabled = pythonOlder "3.7"; @@ -26,13 +26,13 @@ buildPythonPackage rec { owner = "huggingface"; repo = "safetensors"; rev = "refs/tags/v${version}"; - hash = "sha256-Rc+o7epQJ8qEvdgbFnGvXxBr/U4eULZwkKNEaPlJkyU="; + hash = "sha256-7tJeWs7kodK4Su8EaCjBuuWoMb93Ty3uiBrHZHdeTJc="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; sourceRoot = "${src.name}/bindings/python"; - hash = "sha256-tzNEUvWgolSwX0t/JLgYcTEIv3/FiKxoTJ4VjFQs8AY="; + hash = "sha256-Frcru/GGWHDxd027mvjJu3iR30KO2ddpPz54kGD6mjc="; }; sourceRoot = "${src.name}/bindings/python"; @@ -68,11 +68,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "safetensors" ]; - meta = with lib; { + meta = { homepage = "https://github.com/huggingface/safetensors"; description = "Fast (zero-copy) and safe (unlike pickle) format for storing tensors"; changelog = "https://github.com/huggingface/safetensors/releases/tag/v${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ bcdarwin ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ bcdarwin ]; }; }