Files
Fabian Affolter 33e2b47d48 python3Packages.fastspec: init at 0.2.3
Dynamic OpenAPI and discovery spec client for Python

https://github.com/AnswerDotAI/fastspec
2026-08-22 02:19:27 +02:00

47 lines
980 B
Nix

{
lib,
buildPythonPackage,
fastcore,
fasttransport,
fetchFromGitHub,
nix-update-script,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "fastspec";
version = "0.2.3";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "AnswerDotAI";
repo = "fastspec";
tag = finalAttrs.version;
hash = "sha256-bSD3x/oqxfPfUAe5jl5UhXknsvJ39j5voVIX6zDntW4=";
};
build-system = [ setuptools ];
dependencies = [
fastcore
fasttransport
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "fastspec" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Dynamic OpenAPI and discovery spec client for Python";
homepage = "https://github.com/AnswerDotAI/fastspec";
changelog = "https://github.com/AnswerDotAI/fastspec/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})