depot/third_party/nixpkgs/pkgs/development/libraries/jose/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

30 lines
795 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, asciidoc
, zlib, jansson, openssl
}:
stdenv.mkDerivation rec {
pname = "jose";
version = "13";
src = fetchFromGitHub {
owner = "latchset";
repo = pname;
rev = "v${version}";
hash = "sha256-XkYvBjPmwhwo2p8/jTXazHRAgSGkI7LTLUlqbxMxlys=";
};
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";
mainProgram = "jose";
homepage = "https://github.com/latchset/jose";
maintainers = with lib.maintainers; [ ];
license = lib.licenses.asl20;
platforms = lib.platforms.all;
};
}