depot/third_party/nixpkgs/pkgs/development/libraries/okapi/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

31 lines
834 B
Nix

{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "okapi";
version = "1.4.0";
src = fetchurl {
url = "https://github.com/trinsic-id/okapi/releases/download/v${version}/okapi-vendor-${version}.tar.gz";
sha256 = "sha256-wNruDPjYHDJtpzQIly4da9rQg1ftdCVxRNNLkFsbKXs=";
};
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 ];
};
}