567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
28 lines
632 B
Nix
28 lines
632 B
Nix
{
|
|
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 = {
|
|
homepage = "https://github.com/brianolson/cbor_py";
|
|
description = "Concise Binary Object Representation (CBOR) library";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ oxzi ];
|
|
};
|
|
}
|