blob: 360e6270b2d2155c6f4faae35853072e28f68658 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "validobj";
version = "1.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-dXUvInNYkl10zdGQhJ6h1JqCNlZ+VsvwnEMb2xj6qOA=";
};
build-system = [ flit-core ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "validobj" ];
meta = {
description = "Library that takes semistructured data (for example JSON and YAML configuration files) and converts it to more structured Python objects";
homepage = "https://github.com/Zaharid/validobj";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ veprbl ];
};
}
|