5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
30 lines
773 B
Nix
30 lines
773 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, asciidoc
|
|
, zlib, jansson, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jose";
|
|
version = "14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "latchset";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-rMNPJaCtVpbwIkMQzBNpmRct6S/NelTwjmsuB0RP6R8=";
|
|
};
|
|
|
|
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 = [ ];
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|