mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
Dynamic OpenAPI and discovery spec client for Python https://github.com/AnswerDotAI/fastspec
47 lines
980 B
Nix
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 ];
|
|
};
|
|
})
|