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