depot/third_party/nixpkgs/pkgs/development/libraries/jose/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

28 lines
734 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, asciidoc
, zlib, jansson, openssl
}:
stdenv.mkDerivation rec {
pname = "jose";
version = "11";
src = fetchFromGitHub {
owner = "latchset";
repo = pname;
rev = "v${version}";
hash = "sha256-TKcXswF50B8MS+XHSEvqHaFSAct7VdsnZ0RtZCF04Lc=";
};
nativeBuildInputs = [ meson pkg-config ninja asciidoc ];
buildInputs = [ zlib jansson openssl ];
outputs = [ "out" "dev" "man" ];
enableParallelBuilding = true;
meta = {
description = "C-language implementation of Javascript Object Signing and Encryption";
homepage = "https://github.com/latchset/jose";
maintainers = with lib.maintainers; [ ];
license = lib.licenses.asl20;
};
}