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

29 lines
783 B
Nix
Raw Normal View History

2015-09-18 04:12:08 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }:
stdenv.mkDerivation rec {
name = "libksi-2015-07-03";
src = fetchFromGitHub {
2016-04-04 20:30:31 +02:00
owner = "Guardtime";
2015-09-18 04:12:08 +02:00
repo = "libksi";
2016-04-04 20:30:31 +02:00
rev = "b82dd65bd693722db92397cbe0920170e0d2ae1c";
sha256 = "1sqd31l55kx6knl0sg26ail1k5rgmamq8760p6aj7bpb4jwb8r1n";
2015-09-18 04:12:08 +02:00
};
2016-04-04 20:30:31 +02:00
2015-09-18 04:12:08 +02:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl curl ];
configureFlags = [
"--with-openssl=${openssl.dev}"
2015-09-18 04:12:08 +02:00
"--with-cafile=/etc/ssl/certs/ca-certificates.crt"
];
meta = with stdenv.lib; {
2016-04-04 20:30:31 +02:00
homepage = "https://github.com/GuardTime/libksi";
2015-09-18 04:12:08 +02:00
description = "Keyless Signature Infrastructure API library";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
}