nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, opensp, pkgconfig, libxml2, curl
2, autoconf, automake, libtool, gengetopt, libiconv }:
3
4stdenv.mkDerivation rec {
5 pname = "libofx";
6 version = "0.9.15";
7
8 src = fetchFromGitHub {
9 owner = "LibOFX";
10 repo = pname;
11 rev = version;
12 sha256 = "1jx56ma351p8af8dvavygjwf6ipa7qbgq7bpdsymwj27apdnixfy";
13 };
14
15 preConfigure = "./autogen.sh";
16 configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
17 nativeBuildInputs = [ pkgconfig libtool autoconf automake gengetopt ];
18 buildInputs = [ opensp libxml2 curl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
19
20 meta = {
21 description = "Opensource implementation of the Open Financial eXchange specification";
22 homepage = "http://libofx.sourceforge.net/";
23 license = "LGPL";
24 platforms = stdenv.lib.platforms.unix;
25 maintainers = [ ];
26 };
27}