Merge pull request #75155 from risicle/ris-libofx-0.9.15

libofx: 0.9.14 -> 0.9.15, addressing CVE-2019-9656
This commit is contained in:
Andreas Rammhold 2019-12-12 12:28:58 +01:00 committed by GitHub
commit b6de96bf34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,27 @@
{ stdenv, fetchurl, opensp, pkgconfig, libxml2, curl }:
stdenv.mkDerivation rec {
name = "libofx-0.9.14";
{ stdenv, fetchFromGitHub, opensp, pkgconfig, libxml2, curl
, autoconf, automake, libtool, gengetopt, libiconv }:
src = fetchurl {
url = "mirror://sourceforge/libofx/${name}.tar.gz";
sha256 = "02i9zxkp66yxjpjay5dscfh53bz5vxy03zcxncpw09svl6zmf9xq";
stdenv.mkDerivation rec {
pname = "libofx";
version = "0.9.15";
src = fetchFromGitHub {
owner = "LibOFX";
repo = pname;
rev = version;
sha256 = "1jx56ma351p8af8dvavygjwf6ipa7qbgq7bpdsymwj27apdnixfy";
};
preConfigure = "./autogen.sh";
configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ opensp libxml2 curl ];
nativeBuildInputs = [ pkgconfig libtool autoconf automake gengetopt ];
buildInputs = [ opensp libxml2 curl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
meta = {
description = "Opensource implementation of the Open Financial eXchange specification";
homepage = http://libofx.sourceforge.net/;
license = "LGPL";
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
maintainers = [ ];
};
}