forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / libraries / okapi / default.nix
blob06f980e718c85f68671e167a7e46ef310bc6b307
1 { lib, stdenv, rustPlatform, fetchurl, Security }:
3 rustPlatform.buildRustPackage rec {
4   pname = "okapi";
5   version = "1.6.0";
7   src = fetchurl {
8     url = "https://github.com/trinsic-id/okapi/releases/download/v${version}/okapi-vendor-${version}.tar.gz";
9     sha256 = "sha256-wszpCzh1VhqBlox7ywWi6WKUmxQUTsf5N5IiJumlEbM=";
10   };
12   cargoVendorDir = "vendor";
13   doCheck = false;
15   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
17   postInstall = ''
18     cp -r include $out
19   '';
21   meta = with lib; {
22     description = "Okapi Library";
23     longDescription = ''
24       Collection of tools that support workflows for working
25       with authentic data and identity management
26     '';
27     homepage = "https://github.com/trinsic-id/okapi";
28     license = licenses.asl20;
29     maintainers = with maintainers; [ tmarkovski ];
30   };