mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
c092a502df
Only packages I'm not able to maintain anymore as of today. Mostly because I'm haven't been using them in a while.
28 lines
734 B
Nix
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;
|
|
};
|
|
}
|