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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
711 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }:
2015-09-18 02:12:08 +00:00
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 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;
};
}