Merge pull request #148472 from trinsic-id/TM/okapi

This commit is contained in:
Sandro 2021-12-03 19:40:10 +01:00 committed by GitHub
commit 89e3720f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "okapi";
version = "1.2.0";
src = fetchurl {
url = "https://github.com/trinsic-id/okapi/releases/download/v${version}/okapi-vendor-${version}.tar.gz";
sha256 = "sha256-1aADcwEEWMhoJjwc8wkEcmBYXz+5josOfI/KLaton2k=";
};
cargoVendorDir = "vendor";
doCheck = false;
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
postInstall = ''
cp -r include $out
'';
meta = with lib; {
description = "Okapi Library";
longDescription = ''
Collection of tools that support workflows for working
with authentic data and identity management
'';
homepage = "https://github.com/trinsic-id/okapi";
license = licenses.asl20;
maintainers = with maintainers; [ tmarkovski ];
};
}

View File

@ -22470,6 +22470,10 @@ with pkgs;
ofono = callPackage ../tools/networking/ofono { };
okapi = callPackage ../development/libraries/okapi {
inherit (darwin.apple_sdk.frameworks) Security;
};
openpam = callPackage ../development/libraries/openpam { };
openbsm = callPackage ../development/libraries/openbsm { };