about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cbor/default.nix
blob: 3d33c3ce24f742c36eed07f8689363e37f316819 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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://bitbucket.org/bodhisnarkva/cbor";
    description = "Concise Binary Object Representation (CBOR) library";
    license = licenses.asl20;
    maintainers = with maintainers; [ oxzi ];
  };
}