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