Loading pkgs/development/python-modules/hf-xet/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pkg-config, rustPlatform, openssl, }: buildPythonPackage rec { pname = "hf-xet"; version = "1.0.3"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "xet-core"; tag = "v${version}"; hash = "sha256-ZbLSPLRsRVSF9HD+R8k/GR7yq3Ej+c+AyYbyHhKOf3w="; }; sourceRoot = "${src.name}/hf_xet"; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src sourceRoot ; hash = "sha256-gO5A457CJUdV7nfy69yliL6uqMu5Fc3rY2uXyMM/Na0="; }; nativeBuildInputs = [ pkg-config rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ]; buildInputs = [ openssl ]; env.OPENSSL_NO_VENDOR = 1; pythonImportsCheck = [ "hf_xet" ]; # No tests (yet?) doCheck = false; meta = { description = "Xet client tech, used in huggingface_hub"; homepage = "https://github.com/huggingface/xet-core/hf_xet"; changelog = "https://github.com/huggingface/xet-core/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6204,6 +6204,8 @@ self: super: with self; { hf-transfer = callPackage ../development/python-modules/hf-transfer { }; hf-xet = callPackage ../development/python-modules/hf-xet { }; hfst = callPackage ../development/python-modules/hfst { }; hg-commitsigs = callPackage ../development/python-modules/hg-commitsigs { }; Loading Loading
pkgs/development/python-modules/hf-xet/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pkg-config, rustPlatform, openssl, }: buildPythonPackage rec { pname = "hf-xet"; version = "1.0.3"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "xet-core"; tag = "v${version}"; hash = "sha256-ZbLSPLRsRVSF9HD+R8k/GR7yq3Ej+c+AyYbyHhKOf3w="; }; sourceRoot = "${src.name}/hf_xet"; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src sourceRoot ; hash = "sha256-gO5A457CJUdV7nfy69yliL6uqMu5Fc3rY2uXyMM/Na0="; }; nativeBuildInputs = [ pkg-config rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ]; buildInputs = [ openssl ]; env.OPENSSL_NO_VENDOR = 1; pythonImportsCheck = [ "hf_xet" ]; # No tests (yet?) doCheck = false; meta = { description = "Xet client tech, used in huggingface_hub"; homepage = "https://github.com/huggingface/xet-core/hf_xet"; changelog = "https://github.com/huggingface/xet-core/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6204,6 +6204,8 @@ self: super: with self; { hf-transfer = callPackage ../development/python-modules/hf-transfer { }; hf-xet = callPackage ../development/python-modules/hf-xet { }; hfst = callPackage ../development/python-modules/hfst { }; hg-commitsigs = callPackage ../development/python-modules/hg-commitsigs { }; Loading