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