2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-02-11 23:03:29 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tinycbor";
|
2021-09-22 21:22:32 +00:00
|
|
|
version = "0.5.4";
|
2020-02-11 23:03:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intel";
|
|
|
|
repo = "tinycbor";
|
|
|
|
rev = "v${version}";
|
2021-09-22 21:22:32 +00:00
|
|
|
sha256 = "sha256-H0NTUaSOGMtbM1+EQVOsYoPP+A1FGvUM7XrbPxArR88=";
|
2020-02-11 23:03:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-02-11 23:03:29 +00:00
|
|
|
description = "Concise Binary Object Representation (CBOR) Library";
|
|
|
|
homepage = "https://github.com/intel/tinycbor";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ oxzi ];
|
|
|
|
};
|
|
|
|
}
|