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

29 lines
713 B
Nix
Raw Normal View History

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