depot/third_party/nixpkgs/pkgs/development/python-modules/cbor/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

27 lines
634 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "cbor";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1dmv163cnslyqccrybkxn0c9s1jk1mmafmgxv75iamnz5lk5l8hk";
};
# Tests are excluded from PyPI and four unit tests are also broken:
# https://github.com/brianolson/cbor_py/issues/6
doCheck = false;
meta = with lib; {
homepage = "https://github.com/brianolson/cbor_py";
description = "Concise Binary Object Representation (CBOR) library";
license = licenses.asl20;
maintainers = with maintainers; [ oxzi ];
};
}