evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / coapthon3 / default.nix
blobb565349584b38e6375ba069167585a561c9503c6
2   buildPythonPackage,
3   cachetools,
4   fetchFromGitHub,
5   isPy27,
6   lib,
7 }:
9 buildPythonPackage rec {
10   pname = "coapthon3";
11   version = "1.0.2";
12   disabled = isPy27;
14   src = fetchFromGitHub {
15     owner = "Tanganelli";
16     repo = "CoAPthon3";
17     rev = version;
18     hash = "sha256-9QApoPUu3XFZY/lgjAsf5r2StFiRtUd1UXWDrzYUh6w=";
19   };
21   propagatedBuildInputs = [ cachetools ];
23   # tests take in the order of 10 minutes to execute and sometimes hang forever on tear-down
24   doCheck = false;
25   pythonImportsCheck = [ "coapthon" ];
27   meta = with lib; {
28     inherit (src.meta) homepage;
29     description = "Python3 library to the CoAP protocol compliant with the RFC";
30     license = licenses.mit;
31     maintainers = with maintainers; [ urbas ];
32   };