python312Packages.llama-index: 0.12.9 -> 0.12.9.post1 (#371957)
[NixPkgs.git] / pkgs / by-name / li / libksi / package.nix
blob162167e820f73f5417db4f683b822b5188614e06
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   autoreconfHook,
6   openssl,
7   curl,
8 }:
10 stdenv.mkDerivation rec {
11   pname = "libksi";
12   version = "3.21.3087";
14   src = fetchFromGitHub {
15     owner = "Guardtime";
16     repo = pname;
17     rev = "v${version}";
18     sha256 = "sha256-zEWxJpv0MeGUq/xkM26tDoauFyw53enGyWVhlX0jlYI=";
19   };
21   nativeBuildInputs = [ autoreconfHook ];
22   buildInputs = [
23     openssl
24     curl
25   ];
27   configureFlags = [
28     "--with-openssl=${openssl.dev}"
29     "--with-cafile=/etc/ssl/certs/ca-certificates.crt"
30   ];
32   meta = with lib; {
33     homepage = "https://github.com/GuardTime/libksi";
34     description = "Keyless Signature Infrastructure API library";
35     license = licenses.asl20;
36     platforms = platforms.all;
37   };