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

25 lines
647 B
Nix
Raw Normal View History

2021-02-26 21:04:12 +00:00
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config, jansson, openssl }:
stdenv.mkDerivation rec {
pname = "libjwt";
2024-02-10 05:46:21 +00:00
version = "1.17.0";
2021-02-26 21:04:12 +00:00
src = fetchFromGitHub {
owner = "benmcollins";
repo = "libjwt";
rev = "v${version}";
2024-02-10 05:46:21 +00:00
sha256 = "sha256-ZMmXn/vKARz9Erg3XS2YICSq5u38NZFMDAafXXzE1Ss=";
2021-02-26 21:04:12 +00:00
};
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;
};
}