blob: dc4e89d9fa993ff80a5f49c3539a7bb3f5130987 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonRelaxDepsHook,
pytestCheckHook,
pdm-backend,
numpy,
setuptools,
}:
buildPythonPackage rec {
pname = "jsonconversion";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "DLR-RM";
repo = "python-jsonconversion";
rev = "refs/tags/${version}";
hash = "sha256-XmAQXu9YkkMUvpf/QVk4u1p8UyNfRb0NeoLxC1evCT4=";
};
build-system = [
pdm-backend
pythonRelaxDepsHook
];
pythonRemoveDeps = [
"pytest-runner"
"pytest"
];
dependencies = [
numpy
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "jsonconversion" ];
meta = with lib; {
description = "This python module helps converting arbitrary Python objects into JSON strings and back";
homepage = "https://github.com/DLR-RM/python-jsonconversion";
license = licenses.bsd2;
maintainers = [ maintainers.terlar ];
};
}
|