mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
23 lines
616 B
Nix
23 lines
616 B
Nix
|
{ stdenv, 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 stdenv.lib; {
|
||
|
homepage = https://bitbucket.org/bodhisnarkva/cbor;
|
||
|
description = "Concise Binary Object Representation (CBOR) library";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [ geistesk ];
|
||
|
};
|
||
|
}
|