nixpkgs/pkgs/development/libraries/jose/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
734 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, asciidoc
2020-02-09 17:26:40 +00:00
, zlib, jansson, openssl
}:
stdenv.mkDerivation rec {
pname = "jose";
version = "11";
2020-02-09 17:26:40 +00:00
src = fetchFromGitHub {
owner = "latchset";
repo = pname;
rev = "v${version}";
hash = "sha256-TKcXswF50B8MS+XHSEvqHaFSAct7VdsnZ0RtZCF04Lc=";
2020-02-09 17:26:40 +00:00
};
nativeBuildInputs = [ meson pkg-config ninja asciidoc ];
2020-02-09 17:26:40 +00:00
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; [ ];
2020-02-09 17:26:40 +00:00
license = lib.licenses.asl20;
};
}