Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / py-ubjson / default.nix
blobf9518fdead9373df93abfd13141a27acb075fef5
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "py-ubjson";
9   version = "0.16.1";
10   format = "setuptools";
12   src = fetchFromGitHub {
13     owner = "Iotic-Labs";
14     repo = pname;
15     rev = "v${version}";
16     sha256 = "1frn97xfa88zrfmpnvdk1pc03yihlchhph99bhjayvzlfcrhm5v3";
17   };
19   nativeCheckInputs = [
20     pytestCheckHook
21   ];
23   disabledTests = [
24     # https://github.com/Iotic-Labs/py-ubjson/issues/18
25     "test_recursion"
26   ];
28   pytestFlagsArray = [
29     "test/test.py"
30   ];
32   pythonImportsCheck = [
33     "ubjson"
34   ];
36   meta = with lib; {
37     description = "Universal Binary JSON draft-12 serializer for Python";
38     homepage = "https://github.com/Iotic-Labs/py-ubjson";
39     license = with licenses; [ asl20 ];
40     maintainers = with maintainers; [ fab ];
41   };