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

52 lines
1 KiB
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
pythonOlder,
pytestCheckHook,
jinja2,
multidict,
poetry-core,
pydantic,
pyyaml,
wtforms,
}:
buildPythonPackage rec {
pname = "beanhub-forms";
version = "0.1.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "LaunchPlatform";
repo = "beanhub-forms";
rev = "refs/tags/${version}";
hash = "sha256-313c+ENmTe1LyfEiMXNB9AUoGx3Yv/1D0T3HnAbd+Zw=";
};
build-system = [ poetry-core ];
dependencies = [
jinja2
pydantic
pyyaml
wtforms
];
nativeCheckInputs = [
multidict
pytestCheckHook
];
pythonImportsCheck = [ "beanhub_forms" ];
meta = {
description = "Library for generating and processing BeanHub's custom forms";
homepage = "https://github.com/LaunchPlatform/beanhub-forms/";
changelog = "https://github.com/LaunchPlatform/beanhub-forms/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fangpen ];
};
}