depot/third_party/nixpkgs/pkgs/development/libraries/tinycbor/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

22 lines
538 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "tinycbor";
version = "0.6.0";
src = fetchFromGitHub {
owner = "intel";
repo = "tinycbor";
rev = "v${version}";
sha256 = "1ph1cmsh4hm6ikd3bs45mnv9zmniyrvp2rrg8qln204kr6fngfcd";
};
makeFlags = [ "prefix=$(out)" ];
meta = with lib; {
description = "Concise Binary Object Representation (CBOR) Library";
homepage = "https://github.com/intel/tinycbor";
license = licenses.mit;
maintainers = with maintainers; [ oxzi ];
};
}