depot/third_party/nixpkgs/pkgs/development/nim-packages/cbor/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

21 lines
552 B
Nix

{ lib, buildNimPackage, fetchFromSourcehut }:
buildNimPackage rec {
pname = "cbor";
version = "20230310";
src = fetchFromSourcehut {
owner = "~ehmry";
repo = "nim_${pname}";
rev = version;
hash = "sha256-VmSYWgXDJLB2D2m3/ymrEytT2iW5JE56WmDz2MPHAqQ=";
};
doCheck = true;
meta = with lib;
src.meta // {
description =
"Concise Binary Object Representation decoder and encoder (RFC8949)";
license = licenses.unlicense;
maintainers = [ maintainers.ehmry ];
mainProgram = "cbordiag";
};
}