depot/third_party/nixpkgs/pkgs/development/python-modules/bson/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

33 lines
639 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python-dateutil
, six
}:
buildPythonPackage rec {
pname = "bson";
version = "0.5.10";
src = fetchPypi {
inherit pname version;
sha256 = "14355m3dchz446fl54ym78bn4wi20hddx1614f8rl4sin0m1nlfn";
};
propagatedBuildInputs = [
python-dateutil
six
];
# 0.5.10 was not tagged, https://github.com/py-bson/bson/issues/108
doCheck = false;
pythonImportsCheck = [ "bson" ];
meta = with lib; {
description = "BSON codec for Python";
homepage = "https://github.com/py-bson/bson";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}