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

29 lines
781 B
Nix
Raw Normal View History

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