ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / py-ubjson / default.nix
blob4efa2b8b6fdb9ed54de50a3f42fbf5c77ef2acee
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "py-ubjson";
9   version = "0.16.1";
11   src = fetchFromGitHub {
12     owner = "Iotic-Labs";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "1frn97xfa88zrfmpnvdk1pc03yihlchhph99bhjayvzlfcrhm5v3";
16   };
18   checkInputs = [
19     pytestCheckHook
20   ];
22   pytestFlagsArray = [ "test/test.py" ];
24   pythonImportsCheck = [ "ubjson" ];
26   meta = with lib; {
27     description = "Universal Binary JSON draft-12 serializer for Python";
28     homepage = "https://github.com/Iotic-Labs/py-ubjson";
29     license = with licenses; [ asl20 ];
30     maintainers = with maintainers; [ fab ];
31   };