2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
41 lines
713 B
Nix
41 lines
713 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, setuptools_scm
|
|
, toml
|
|
, importlib-metadata
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonpickle";
|
|
version = "1.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e8d4b7cd0bd6826001a74377df1079a76ad8bae0f909282de2554164c837c8ba";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
nativeBuildInputs = [
|
|
setuptools_scm
|
|
toml
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
importlib-metadata
|
|
];
|
|
|
|
checkPhase = ''
|
|
rm pytest.ini
|
|
pytest tests/jsonpickle_test.py
|
|
'';
|
|
|
|
meta = {
|
|
description = "Python library for serializing any arbitrary object graph into JSON";
|
|
homepage = "http://jsonpickle.github.io/";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
|
|
}
|