nixpkgs/pkgs/development/libraries/libksi/default.nix

29 lines
711 B
Nix
Raw Normal View History

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 = [
"--with-openssl=${openssl.dev}"
2015-09-18 02:12:08 +00:00
"--with-cafile=/etc/ssl/certs/ca-certificates.crt"
];
meta = with stdenv.lib; {
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;
};
}