nixpkgs/pkgs/development/libraries/tinycbor/default.nix

23 lines
537 B
Nix
Raw Normal View History

{ 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)" ];
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 ];
};
}