Skip to content

Commit

Permalink
jose: init at 10
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Feb 17, 2020
1 parent 3285f0f commit a508b6e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/development/libraries/jose/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, zlib, jansson, openssl
}:

stdenv.mkDerivation rec {
pname = "jose";
version = "10";

src = fetchFromGitHub {
owner = "latchset";
repo = pname;
rev = "v${version}";
sha256 = "15ac8a656m66rd9qg4dj53smykwaagqv606h18w7fiqn0ykxl4vi";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
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; [ fpletz ];
license = lib.licenses.asl20;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12060,6 +12060,8 @@ in

jemalloc450 = callPackage ../development/libraries/jemalloc/jemalloc450.nix { };

jose = callPackage ../development/libraries/jose { };

jshon = callPackage ../development/tools/parsing/jshon { };

json2hcl = callPackage ../development/tools/json2hcl { };
Expand Down

0 comments on commit a508b6e

Please sign in to comment.