2015-09-18 03:12:08 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libksi-2015-07-03";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2016-04-04 19:30:31 +01:00
|
|
|
owner = "Guardtime";
|
2015-09-18 03:12:08 +01:00
|
|
|
repo = "libksi";
|
2016-04-04 19:30:31 +01:00
|
|
|
rev = "b82dd65bd693722db92397cbe0920170e0d2ae1c";
|
|
|
|
sha256 = "1sqd31l55kx6knl0sg26ail1k5rgmamq8760p6aj7bpb4jwb8r1n";
|
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"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +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;
|
|
|
|
};
|
|
|
|
}
|