python3Packages.nexusrpc: init at 1.1.0

This commit is contained in:
Jonathan Davies
2025-08-08 11:50:51 +00:00
parent 250481b939
commit bb61e94d92
2 changed files with 51 additions and 0 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
];
};
}
+2
View File
@@ -10329,6 +10329,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; };