Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
574 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "tinycbor";
version = "0.6.1";
src = fetchFromGitHub {
owner = "intel";
repo = "tinycbor";
rev = "v${version}";
sha256 = "sha256-JgkZAvZ63jjTdFRnyk+AeIWcGsg36UtPPFbhFjky9e8=";
};
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "Concise Binary Object Representation (CBOR) Library";
mainProgram = "cbordump";
homepage = "https://github.com/intel/tinycbor";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
};
}