1{ lib, buildNimPackage, fetchFromGitea, taps }:
2
3buildNimPackage rec {
4 pname = "coap";
5 version = "20230125";
6 src = fetchFromGitea {
7 domain = "codeberg.org";
8 owner = "eris";
9 repo = "${pname}-nim";
10 rev = version;
11 hash = "sha256-wlDyqRxXTrX+zXDIe2o9FTU2o26LO/6m7H/FGok1JDw=";
12 };
13 propagatedBuildInputs = [ taps ];
14 meta = src.meta // {
15 description =
16 "Nim implementation of the Constrained Application Protocol (CoAP) over TCP";
17 license = lib.licenses.agpl3Plus;
18 maintainers = with lib.maintainers; [ ehmry ];
19 };
20}