at 24.05-pre 24 lines 647 B view raw
1{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config, jansson, openssl }: 2 3stdenv.mkDerivation rec { 4 pname = "libjwt"; 5 version = "1.16.0"; 6 7 src = fetchFromGitHub { 8 owner = "benmcollins"; 9 repo = "libjwt"; 10 rev = "v${version}"; 11 sha256 = "sha256-5hbmEen31lB6Xdv5WU+8InKa0+1OsuB8QG0jVa1+a2w="; 12 }; 13 14 buildInputs = [ jansson openssl ]; 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 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 }; 24}