python3Packages.temporalio: 1.12.0 → 1.15.0 (#431733)

This commit is contained in:
misuzu
2025-08-14 23:21:32 +03:00
committed by GitHub
3 changed files with 61 additions and 5 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
nix-update-script,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "nexus-rpc";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nexus-rpc";
repo = "sdk-python";
rev = "refs/tags/${version}";
hash = "sha256-CZOCNgYvlQCc/Ws2cEuryyVELS/FiNgLTYHwHp70yhM=";
fetchSubmodules = true;
};
build-system = [
hatchling
];
dependencies = [
typing-extensions
];
pythonImportsCheck = [
"nexusrpc"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Nexus Python SDK";
homepage = "https://temporal.io/";
changelog = "https://github.com/nexus-rpc/sdk-python/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
jpds
];
};
}
@@ -5,9 +5,11 @@
cargo,
fetchFromGitHub,
maturin,
nexusrpc,
nix-update-script,
pythonOlder,
poetry-core,
protobuf,
protobuf5,
python-dateutil,
rustc,
rustPlatform,
@@ -19,7 +21,7 @@
buildPythonPackage rec {
pname = "temporalio";
version = "1.12.0";
version = "1.15.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -28,7 +30,7 @@ buildPythonPackage rec {
owner = "temporalio";
repo = "sdk-python";
rev = "refs/tags/${version}";
hash = "sha256-u74zbzYNVxMi0sdiPlBoEU+wAa24JmMksz7hGvraDeM=";
hash = "sha256-NY7+ryldTV60K1Ky9Q1iNEmXqXlZgSMEE4f6PGeZ5BE=";
fetchSubmodules = true;
};
@@ -39,7 +41,7 @@ buildPythonPackage rec {
src
cargoRoot
;
hash = "sha256-OIapL1+g6gIgyVzdB68PuK2K2RIr01DSm/UbCdt9kNY=";
hash = "sha256-Z0LxIGY7af1tcRTcMe4FDCH1zxzX1J9AJuZfZUMAAUI=";
};
cargoRoot = "temporalio/bridge";
@@ -54,7 +56,8 @@ buildPythonPackage rec {
'';
dependencies = [
protobuf
nexusrpc
protobuf5
types-protobuf
typing-extensions
]
@@ -76,6 +79,8 @@ buildPythonPackage rec {
"temporalio.worker"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Temporal Python SDK";
homepage = "https://temporal.io/";
+2
View File
@@ -10373,6 +10373,8 @@ self: super: with self; {
nexusformat = callPackage ../development/python-modules/nexusformat { };
nexusrpc = callPackage ../development/python-modules/nexusrpc { };
nfcpy = callPackage ../development/python-modules/nfcpy { };
nftables = callPackage ../os-specific/linux/nftables/python.nix { inherit (pkgs) nftables; };