1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy3k,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "lima";
11 version = "0.5";
12 format = "setuptools";
13 disabled = !isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "0qqj0053r77ppkcyyk2fhpaxjzsl1h98nf9clpny6cs66sdl241v";
18 };
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 meta = with lib; {
23 description = "Lightweight Marshalling of Python 3 Objects";
24 homepage = "https://github.com/b6d/lima";
25 license = licenses.mit;
26 maintainers = with maintainers; [ zhaofengli ];
27 };
28}