at 23.11-beta 639 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, python-dateutil 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "bson"; 10 version = "0.5.10"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "14355m3dchz446fl54ym78bn4wi20hddx1614f8rl4sin0m1nlfn"; 15 }; 16 17 propagatedBuildInputs = [ 18 python-dateutil 19 six 20 ]; 21 22 # 0.5.10 was not tagged, https://github.com/py-bson/bson/issues/108 23 doCheck = false; 24 25 pythonImportsCheck = [ "bson" ]; 26 27 meta = with lib; { 28 description = "BSON codec for Python"; 29 homepage = "https://github.com/py-bson/bson"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}