ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / piccata / default.nix
blobd041ecc3ec705718271cf7f43dc867341bd6146c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , isPy27
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "piccata";
10   version = "2.0.0";
12   disabled = isPy27;
14   src = fetchFromGitHub {
15     owner = "NordicSemiconductor";
16     repo = pname;
17     rev = version;
18     sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr";
19   };
21   checkInputs = [
22     pytestCheckHook
23   ];
25   disabledTests = [
26     # No communication possible in the sandbox
27     "test_client_server_communication"
28   ];
30   pythonImportsCheck = [
31     "piccata"
32   ];
34   meta = with lib; {
35     description = "Simple CoAP (RFC7252) toolkit";
36     homepage = "https://github.com/NordicSemiconductor/piccata";
37     license = licenses.mit;
38     maintainers = with maintainers; [ gebner ];
39   };