blob: 27cf644b96f0367a632fea8fddb13732340b6ed0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{ 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 ];
};
}
|