mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
803ef3f367
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
27 lines
601 B
Nix
27 lines
601 B
Nix
{ 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 ];
|
|
};
|
|
}
|