depot/third_party/nixpkgs/pkgs/development/python-modules/starlette-wtf/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

48 lines
966 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 = "A 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;
};
}