about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/piccata/default.nix
blob: bbb4fcf19934a557b535c2e7e3ea4ee6d15af760 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ buildPythonPackage, isPy27, fetchFromGitHub, lib, ipaddress }:

buildPythonPackage rec {
  pname = "piccata";
  version = "2.0.0";
  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "NordicSemiconductor";
    repo = pname;
    rev = version;
    sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr";
  };

  propagatedBuildInputs = [
    ipaddress
  ];

  pythonImportsCheck = [ "piccata" ];

  meta = {
    description = "Simple CoAP (RFC7252) toolkit";
    homepage = "https://github.com/NordicSemiconductor/piccata";
    maintainers = with lib.maintainers; [ gebner ];
  };
}