mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
piccata 1.0.1 -> 2.0.0
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
parent
ed6e598747
commit
803ef3f367
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user