My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libjwt/default.nix

24 lines
647 B

{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config, jansson, openssl }:
stdenv.mkDerivation rec {
pname = "libjwt";
version = "1.13.1";
src = fetchFromGitHub {
owner = "benmcollins";
repo = "libjwt";
rev = "v${version}";
sha256 = "sha256-hS10Ecq0VVuYLDrBu4x+Y2mz6eeJV1SvnqttgbiQbi0=";
};
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;
};
}