Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / piccata / default.nix
blob20bbc0066d23f68e6bd99c8d574ff9913f88000e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , isPy27
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "piccata";
10   version = "2.0.2";
11   format = "setuptools";
13   disabled = isPy27;
15   src = fetchFromGitHub {
16     owner = "NordicSemiconductor";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-Vuhwt+esTkvyEIRVYaRGvNMTAXVWBBv/6lpaxN5RrBA=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   disabledTests = [
27     # No communication possible in the sandbox
28     "test_client_server_communication"
29   ];
31   pythonImportsCheck = [
32     "piccata"
33   ];
35   meta = with lib; {
36     description = "Simple CoAP (RFC7252) toolkit";
37     homepage = "https://github.com/NordicSemiconductor/piccata";
38     license = licenses.mit;
39     maintainers = with maintainers; [ gebner ];
40   };