at 23.11-beta 28 lines 710 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }: 2 3stdenv.mkDerivation rec { 4 pname = "libksi"; 5 version = "3.21.3075"; 6 7 src = fetchFromGitHub { 8 owner = "Guardtime"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-JEdjy91+8xJPNzjkumadT05SxcvtM551+SjLN1SQcAU="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 buildInputs = [ openssl curl ]; 16 17 configureFlags = [ 18 "--with-openssl=${openssl.dev}" 19 "--with-cafile=/etc/ssl/certs/ca-certificates.crt" 20 ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/GuardTime/libksi"; 24 description = "Keyless Signature Infrastructure API library"; 25 license = licenses.asl20; 26 platforms = platforms.all; 27 }; 28}