@@ -0,0 +1,26 @@
1+{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, numpy }:
2+
3+buildPythonPackage rec {
4+ pname = "jsonconversion";
5+ version = "0.2.13";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "sha256-4hMY0N/Px+g5zn3YzNfDWPyi8Pglvd/c2N9SeC4JoZ0=";
10+ };
11+
12+ postPatch = ''
13+ substituteInPlace setup.py --replace "'pytest-runner'" ""
14+ '';
15+
16+ checkInputs = [ pytestCheckHook numpy ];
17+
18+ pythonImportsCheck = [ "jsonconversion" ];
19+
20+ meta = with lib; {
21+ description = "This python module helps converting arbitrary Python objects into JSON strings and back";
22+ homepage = "https://pypi.org/project/jsonconversion/";
23+ license = licenses.bsd2;
24+ maintainers = [ maintainers.terlar ];
25+ };
26+}