Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 26 lines 509 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "jsonpickle"; 9 version = "1.2"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "16xj4r31pnd90slax5mmd5wps5s73wp9mn6sy9nhkl5ih7bj5sfk"; 14 }; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = "pytest tests/jsonpickle_test.py"; 19 20 meta = { 21 description = "Python library for serializing any arbitrary object graph into JSON"; 22 homepage = http://jsonpickle.github.io/; 23 license = lib.licenses.bsd3; 24 }; 25 26}