2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
wtforms,
|
|
|
|
poetry-core,
|
|
|
|
pytestCheckHook,
|
|
|
|
lxml,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wtforms-bootstrap5";
|
|
|
|
version = "0.3.0";
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LaunchPlatform";
|
|
|
|
repo = "wtforms-bootstrap5";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-TJJ3KOeC9JXnxK0YpnfeBNq1KHwaAZ4+t9CXbc+85Ro=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ wtforms ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple library for rendering WTForms in HTML as Bootstrap 5 form controls";
|
|
|
|
homepage = "https://github.com/LaunchPlatform/wtforms-bootstrap5";
|
|
|
|
changelog = "https://github.com/LaunchPlatform/wtforms-bootstrap5/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = teams.wdz.members;
|
|
|
|
};
|
|
|
|
}
|