6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
21 lines
552 B
Nix
21 lines
552 B
Nix
{ lib, buildNimPackage, fetchFromSourcehut }:
|
|
|
|
buildNimPackage rec {
|
|
pname = "cbor";
|
|
version = "20221007";
|
|
src = fetchFromSourcehut {
|
|
owner = "~ehmry";
|
|
repo = "nim_${pname}";
|
|
rev = version;
|
|
hash = "sha256-zFkYsXFRAiBrfz3VNML3l+rYrdJmczl0bfZcJSbHHbM=";
|
|
};
|
|
doCheck = true;
|
|
meta = with lib;
|
|
src.meta // {
|
|
description =
|
|
"Concise Binary Object Representation decoder and encoder (RFC8949)";
|
|
license = licenses.unlicense;
|
|
maintainers = [ maintainers.ehmry ];
|
|
mainProgram = "cbordiag";
|
|
};
|
|
}
|