depot/third_party/nixpkgs/pkgs/development/python-modules/starlette-wtf/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

45 lines
912 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, itsdangerous
, python-multipart
, starlette
, wtforms
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "starlette-wtf";
version = "0.4.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "muicss";
repo = "starlette-wtf";
rev = "v${version}";
hash = "sha256-TSxcIgINRjQwiyhpGOEEpXJKcPlhFCxMQh4/GY1g1lw=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
itsdangerous
python-multipart
starlette
wtforms
];
nativeCheckInputs = [
pytestCheckHook
];
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;
};
}