Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / piccata / default.nix
blobbbb4fcf19934a557b535c2e7e3ea4ee6d15af760
1 { buildPythonPackage, isPy27, fetchFromGitHub, lib, ipaddress }:
3 buildPythonPackage rec {
4   pname = "piccata";
5   version = "2.0.0";
6   disabled = isPy27;
8   src = fetchFromGitHub {
9     owner = "NordicSemiconductor";
10     repo = pname;
11     rev = version;
12     sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr";
13   };
15   propagatedBuildInputs = [
16     ipaddress
17   ];
19   pythonImportsCheck = [ "piccata" ];
21   meta = {
22     description = "Simple CoAP (RFC7252) toolkit";
23     homepage = "https://github.com/NordicSemiconductor/piccata";
24     maintainers = with lib.maintainers; [ gebner ];
25   };