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