python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / py-ubjson / default.nix
blob7eca2165efc1daf243608fab6985faa0181ea126
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6 }:
8 buildPythonPackage rec {
9   pname = "py-ubjson";
10   version = "0.16.1";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "Iotic-Labs";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "1frn97xfa88zrfmpnvdk1pc03yihlchhph99bhjayvzlfcrhm5v3";
18   };
20   nativeCheckInputs = [ pytestCheckHook ];
22   disabledTests = [
23     # https://github.com/Iotic-Labs/py-ubjson/issues/18
24     "test_recursion"
25   ];
27   pytestFlagsArray = [ "test/test.py" ];
29   pythonImportsCheck = [ "ubjson" ];
31   meta = with lib; {
32     description = "Universal Binary JSON draft-12 serializer for Python";
33     homepage = "https://github.com/Iotic-Labs/py-ubjson";
34     license = with licenses; [ asl20 ];
35     maintainers = with maintainers; [ fab ];
36   };