depot/third_party/nixpkgs/pkgs/development/libraries/okapi/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

31 lines
847 B
Nix

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