diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-12-14 00:12:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 00:12:40 +0000 |
commit | f061cfd767f2c56045dec60c0eecbfee4ae757c3 (patch) | |
tree | 702a795f5e2e23ea8a7bbd37e5804946bc304c1b /pkgs/development/python-modules/starlette-wtf/default.nix | |
parent | 2b224e812b1ed6ac2f36827ba2d282f8edbe90af (diff) | |
parent | cfb8505a8fefe7a57f392f85ce9d9dbe9066a6ef (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/starlette-wtf/default.nix')
-rw-r--r-- | pkgs/development/python-modules/starlette-wtf/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/starlette-wtf/default.nix b/pkgs/development/python-modules/starlette-wtf/default.nix new file mode 100644 index 0000000000000..113c1442a99e6 --- /dev/null +++ b/pkgs/development/python-modules/starlette-wtf/default.nix @@ -0,0 +1,45 @@ +{ 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; + }; +} |