2017-12-30 17:12:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-08-02 21:49:18 +00:00
|
|
|
, pytest
|
2017-12-30 17:12:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonpickle";
|
2019-08-02 21:49:18 +00:00
|
|
|
version = "1.2";
|
2017-12-30 17:12:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-02 21:49:18 +00:00
|
|
|
sha256 = "16xj4r31pnd90slax5mmd5wps5s73wp9mn6sy9nhkl5ih7bj5sfk";
|
2017-12-30 17:12:19 +00:00
|
|
|
};
|
|
|
|
|
2019-08-02 21:49:18 +00:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = "pytest tests/jsonpickle_test.py";
|
2017-12-30 17:12:19 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python library for serializing any arbitrary object graph into JSON";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://jsonpickle.github.io/";
|
2017-12-30 17:12:19 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
2019-08-02 21:49:18 +00:00
|
|
|
}
|