bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
48 lines
964 B
Nix
48 lines
964 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
itsdangerous,
|
|
python-multipart,
|
|
starlette,
|
|
wtforms,
|
|
httpx,
|
|
jinja2,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "starlette-wtf";
|
|
version = "0.4.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "muicss";
|
|
repo = "starlette-wtf";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-88zU2NAsdty2OhHauwQ5+6LazuRDYPoqN9IIipI1t2Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
propagatedBuildInputs = [
|
|
itsdangerous
|
|
python-multipart
|
|
starlette
|
|
wtforms
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
httpx
|
|
jinja2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Simple tool for integrating Starlette and WTForms";
|
|
changelog = "https://github.com/muicss/starlette-wtf/blob/v${version}/CHANGELOG.md";
|
|
homepage = "https://github.com/muicss/starlette-wtf";
|
|
license = licenses.mit;
|
|
maintainers = teams.wdz.members;
|
|
};
|
|
}
|