mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
31 lines
671 B
Nix
31 lines
671 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "cbor";
|
|
version = "1.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
sha256 = "1dmv163cnslyqccrybkxn0c9s1jk1mmafmgxv75iamnz5lk5l8hk";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Tests are excluded from PyPI and four unit tests are also broken:
|
|
# https://github.com/brianolson/cbor_py/issues/6
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/brianolson/cbor_py";
|
|
description = "Concise Binary Object Representation (CBOR) library";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
})
|