Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libjwt / default.nix
blob4d2c11601135cb1180e90489c2e12e7ffa3d5855
1 { stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config, jansson, openssl }:
3 stdenv.mkDerivation rec {
4   pname = "libjwt";
5   version = "1.16.0";
7   src = fetchFromGitHub {
8     owner = "benmcollins";
9     repo = "libjwt";
10     rev = "v${version}";
11     sha256 = "sha256-5hbmEen31lB6Xdv5WU+8InKa0+1OsuB8QG0jVa1+a2w=";
12   };
14   buildInputs = [ jansson openssl ];
15   nativeBuildInputs = [ autoreconfHook pkg-config ];
17   meta = with lib; {
18     homepage = "https://github.com/benmcollins/libjwt";
19     description = "JWT C Library";
20     license = licenses.mpl20;
21     maintainers = with maintainers; [ pnotequalnp ];
22     platforms = platforms.all;
23   };