python313Packages.fast-query-parsers: init at 1.0.3
Ultra-fast query string and url-encoded form-data parsers https://github.com/litestar-org/fast-query-parsers
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cargo,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
rustc,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fast-query-parsers";
|
||||
version = "1.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "litestar-org";
|
||||
repo = "fast-query-parsers";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-08xL0sOmUzsZYtM1thYUV93bj9ERr3LaVrW46zBrzeE=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-kp5bCmHYMS/e8eM6HrRw0JlVaxwPscFGDLQ0PX4ZIC4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cargo
|
||||
poetry-core
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
rustc
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "fast_query_parsers" ];
|
||||
|
||||
meta = {
|
||||
description = "Ultra-fast query string and url-encoded form-data parsers";
|
||||
homepage = "https://github.com/litestar-org/fast-query-parsers";
|
||||
changelog = "https://github.com/litestar-org/fast-query-parsers/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -5009,6 +5009,8 @@ self: super: with self; {
|
||||
|
||||
fast-histogram = callPackage ../development/python-modules/fast-histogram { };
|
||||
|
||||
fast-query-parsers = callPackage ../development/python-modules/fast-query-parsers { };
|
||||
|
||||
fast-simplification = callPackage ../development/python-modules/fast-simplification { };
|
||||
|
||||
fastai = callPackage ../development/python-modules/fastai { };
|
||||
|
||||
Reference in New Issue
Block a user