depot/third_party/nixpkgs/pkgs/development/python-modules/cbor/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
604 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "cbor";
version = "1.0.0";
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://bitbucket.org/bodhisnarkva/cbor";
description = "Concise Binary Object Representation (CBOR) library";
license = licenses.asl20;
maintainers = with maintainers; [ oxzi ];
};
}