mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
python3Packages.fastspec: init at 0.2.3
Dynamic OpenAPI and discovery spec client for Python https://github.com/AnswerDotAI/fastspec
This commit is contained in:
46
pkgs/development/python-modules/fastspec/default.nix
Normal file
46
pkgs/development/python-modules/fastspec/default.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
@@ -5945,6 +5945,8 @@ self: super: with self; {
|
||||
|
||||
fastrlock = callPackage ../development/python-modules/fastrlock { };
|
||||
|
||||
fastspec = callPackage ../development/python-modules/fastspec { };
|
||||
|
||||
fasttext = callPackage ../development/python-modules/fasttext { };
|
||||
|
||||
fasttransform = callPackage ../development/python-modules/fasttransform { };
|
||||
|
||||
Reference in New Issue
Block a user