9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
20 lines
534 B
Nix
20 lines
534 B
Nix
{ lib, buildNimPackage, fetchFromSourcehut }:
|
|
|
|
buildNimPackage rec {
|
|
pname = "cbor";
|
|
version = "20230310";
|
|
src = fetchFromSourcehut {
|
|
owner = "~ehmry";
|
|
repo = "nim_${pname}";
|
|
rev = version;
|
|
hash = "sha256-VmSYWgXDJLB2D2m3/ymrEytT2iW5JE56WmDz2MPHAqQ=";
|
|
};
|
|
meta = with lib;
|
|
src.meta // {
|
|
description =
|
|
"Concise Binary Object Representation decoder and encoder (RFC8949)";
|
|
license = licenses.unlicense;
|
|
maintainers = [ maintainers.ehmry ];
|
|
mainProgram = "cbordiag";
|
|
};
|
|
}
|