2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }:
|
2015-09-18 03:12:08 +01:00
|
|
|
|
2019-11-02 18:09:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libksi";
|
|
|
|
version = "3.20.3025";
|
2015-09-18 03:12:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-04-04 19:30:31 +01:00
|
|
|
owner = "Guardtime";
|
2019-11-02 18:09:02 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0cagysr8j92r6g7f0mwrlkpn9xz9ncz2v3jymh47j3ljxmfbagpz";
|
2015-09-18 03:12:08 +01:00
|
|
|
};
|
2016-04-04 19:30:31 +01:00
|
|
|
|
2015-09-18 03:12:08 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl curl ];
|
|
|
|
|
|
|
|
configureFlags = [
|
2016-04-16 18:44:32 +01:00
|
|
|
"--with-openssl=${openssl.dev}"
|
2015-09-18 03:12:08 +01:00
|
|
|
"--with-cafile=/etc/ssl/certs/ca-certificates.crt"
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/GuardTime/libksi";
|
2015-09-18 03:12:08 +01:00
|
|
|
description = "Keyless Signature Infrastructure API library";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|