Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 28 lines 710 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }: 2 3stdenv.mkDerivation rec { 4 pname = "libksi"; 5 version = "3.21.3087"; 6 7 src = fetchFromGitHub { 8 owner = "Guardtime"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-zEWxJpv0MeGUq/xkM26tDoauFyw53enGyWVhlX0jlYI="; 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}