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

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

23 lines
538 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-02-11 23:03:29 +00:00
stdenv.mkDerivation rec {
pname = "tinycbor";
2021-11-08 10:42:16 +00:00
version = "0.6.0";
2020-02-11 23:03:29 +00:00
src = fetchFromGitHub {
owner = "intel";
repo = "tinycbor";
rev = "v${version}";
2021-11-08 10:42:16 +00:00
sha256 = "1ph1cmsh4hm6ikd3bs45mnv9zmniyrvp2rrg8qln204kr6fngfcd";
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 ];
};
}