depot/third_party/nixpkgs/pkgs/development/libraries/libjwt/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

24 lines
647 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config, jansson, openssl }:
stdenv.mkDerivation rec {
pname = "libjwt";
version = "1.15.3";
src = fetchFromGitHub {
owner = "benmcollins";
repo = "libjwt";
rev = "v${version}";
sha256 = "sha256-as4tqvRY559Q2R3s4GZHovqsCboXNz/NcV5lo+qCeOk=";
};
buildInputs = [ jansson openssl ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
homepage = "https://github.com/benmcollins/libjwt";
description = "JWT C Library";
license = licenses.mpl20;
maintainers = with maintainers; [ pnotequalnp ];
platforms = platforms.all;
};
}