1{
2 lib,
3 rustPlatform,
4 fetchurl,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "okapi";
9 version = "1.6.0";
10
11 src = fetchurl {
12 url = "https://github.com/trinsic-id/okapi/releases/download/v${version}/okapi-vendor-${version}.tar.gz";
13 sha256 = "sha256-wszpCzh1VhqBlox7ywWi6WKUmxQUTsf5N5IiJumlEbM=";
14 };
15
16 cargoVendorDir = "vendor";
17 doCheck = false;
18
19 postInstall = ''
20 cp -r include $out
21 '';
22
23 meta = with lib; {
24 description = "Okapi Library";
25 longDescription = ''
26 Collection of tools that support workflows for working
27 with authentic data and identity management
28 '';
29 homepage = "https://github.com/trinsic-id/okapi";
30 license = licenses.asl20;
31 maintainers = with maintainers; [ tmarkovski ];
32 };
33}