piccata 1.0.1 -> 2.0.0

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2020-06-08 16:05:03 +02:00 committed by Jon
parent ed6e598747
commit 803ef3f367

View File

@ -1,16 +1,22 @@
{ buildPythonPackage, fetchPypi, lib, ipaddress, isPy3k }:
{ buildPythonPackage, isPy27, fetchFromGitHub, lib, ipaddress }:
buildPythonPackage rec {
pname = "piccata";
version = "1.0.1";
disabled = isPy3k;
version = "2.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "45f6c98c2ea809d445040888117f99bc3ee843490d86fecc5805ff5ea41508f7";
src = fetchFromGitHub {
owner = "NordicSemiconductor";
repo = pname;
rev = version;
sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr";
};
propagatedBuildInputs = [ ipaddress ];
propagatedBuildInputs = [
ipaddress
];
pythonImportsCheck = [ "piccata" ];
meta = {
description = "Simple CoAP (RFC7252) toolkit";