1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit,
6 hypothesis,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "validobj";
12 version = "1.3";
13 format = "pyproject";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-tab3n3YGTcGk47Ijm/QOocT0zo10LJp4eEF094TJyzg=";
18 };
19
20 nativeBuildInputs = [ flit ];
21
22 nativeCheckInputs = [
23 hypothesis
24 pytestCheckHook
25 ];
26
27 pythonImportsCheck = [ "validobj" ];
28
29 meta = with lib; {
30 description = "Validobj is library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects";
31 homepage = "https://github.com/Zaharid/validobj";
32 license = with licenses; [ mit ];
33 maintainers = with maintainers; [ veprbl ];
34 };
35}