depot/third_party/nixpkgs/pkgs/development/python-modules/starlette-wtf/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

49 lines
959 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;
};
}