summary refs log blame commit diff
path: root/pkgs/development/libraries/tinycbor/default.nix
blob: 4826c2b49c1f8c48d6be156a26b4e5f3d9b32997 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                 


                         
                    




                         
                                                                    



                                  
                    





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