nixpkgs-suyu/pkgs/development/libraries/okapi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
834 B
Nix
Raw Normal View History

2021-12-03 16:30:17 +01:00
{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "okapi";
2022-02-27 14:24:11 +01:00
version = "1.4.0";
2021-12-03 16:30:17 +01:00
src = fetchurl {
url = "https://github.com/trinsic-id/okapi/releases/download/v${version}/okapi-vendor-${version}.tar.gz";
2022-02-27 14:24:11 +01:00
sha256 = "sha256-wNruDPjYHDJtpzQIly4da9rQg1ftdCVxRNNLkFsbKXs=";
2021-12-03 16:30:17 +01:00
};
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 ];
};
}