Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
773 B
Nix
35 lines
773 B
Nix
{
|
|
buildPythonPackage,
|
|
cachetools,
|
|
fetchFromGitHub,
|
|
isPy27,
|
|
lib,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coapthon3";
|
|
version = "1.0.2";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Tanganelli";
|
|
repo = "CoAPthon3";
|
|
rev = version;
|
|
hash = "sha256-9QApoPUu3XFZY/lgjAsf5r2StFiRtUd1UXWDrzYUh6w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cachetools ];
|
|
|
|
# tests take in the order of 10 minutes to execute and sometimes hang forever on tear-down
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "coapthon" ];
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Python3 library to the CoAP protocol compliant with the RFC";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ urbas ];
|
|
};
|
|
}
|