Files
nixpkgs/pkgs/development/python-modules/nexusrpc/default.nix
T

47 lines
846 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
nix-update-script,
typing-extensions,
}:
buildPythonPackage rec {
pname = "nexus-rpc";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nexus-rpc";
repo = "sdk-python";
tag = version;
hash = "sha256-i2FfJ3aCncbqLY2oBG8zAPTbgxzH30MSmZxhDltN4JA=";
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
];
};
}