2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2019-01-04 12:51:51 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://bitbucket.org/bodhisnarkva/cbor";
|
2019-01-04 12:51:51 +00:00
|
|
|
description = "Concise Binary Object Representation (CBOR) library";
|
|
|
|
license = licenses.asl20;
|
2020-08-15 13:25:59 +00:00
|
|
|
maintainers = with maintainers; [ oxzi ];
|
2019-01-04 12:51:51 +00:00
|
|
|
};
|
|
|
|
}
|