python3Packages.py-ubjson: init at 0.16.1

This commit is contained in:
Fabian Affolter 2021-04-17 21:51:59 +02:00
parent 9677aba91e
commit 5396cc05d9
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "py-ubjson";
version = "0.16.1";
src = fetchFromGitHub {
owner = "Iotic-Labs";
repo = pname;
rev = "v${version}";
sha256 = "1frn97xfa88zrfmpnvdk1pc03yihlchhph99bhjayvzlfcrhm5v3";
};
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [ "test/test.py" ];
pythonImportsCheck = [ "ubjson" ];
meta = with lib; {
description = "Universal Binary JSON draft-12 serializer for Python";
homepage = "https://github.com/Iotic-Labs/py-ubjson";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5260,6 +5260,8 @@ in {
py-air-control-exporter = callPackage ../development/python-modules/py-air-control-exporter { };
py-ubjson = callPackage ../development/python-modules/py-ubjson { };
py2bit = callPackage ../development/python-modules/py2bit { };
py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { });