1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "cbor";
9 version = "1.0.0";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "1dmv163cnslyqccrybkxn0c9s1jk1mmafmgxv75iamnz5lk5l8hk";
15 };
16
17 # Tests are excluded from PyPI and four unit tests are also broken:
18 # https://github.com/brianolson/cbor_py/issues/6
19 doCheck = false;
20
21 meta = with lib; {
22 homepage = "https://github.com/brianolson/cbor_py";
23 description = "Concise Binary Object Representation (CBOR) library";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ oxzi ];
26 };
27}