summaryrefslogtreecommitdiff
path: root/pkgs/by-name/ok/okapi/package.nix
blob: b8898c4bc3b3408d97d80dcf7b25f769e1ec1778 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  rustPlatform,
  fetchurl,
}:

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;

  postInstall = ''
    cp -r include $out
  '';

  meta = with lib; {
    description = "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 ];
  };
}