nixpkgs/pkgs/development/python-modules/jsonpickle/default.nix
2020-06-11 10:00:01 +02:00

27 lines
525 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "jsonpickle";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "e8d4b7cd0bd6826001a74377df1079a76ad8bae0f909282de2554164c837c8ba";
};
checkInputs = [ pytest ];
checkPhase = "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;
};
}