1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 autoreconfHook,
6 pkg-config,
7 boost,
8 mdds,
9 python3,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "libixion";
14 version = "0.19.0";
15
16 src = fetchFromGitLab {
17 owner = "ixion";
18 repo = "ixion";
19 rev = version;
20 hash = "sha256-BrexWRaxrLTWuoU62kqws3tlSqVOHecSV5MXc4ZezFs=";
21 };
22
23 nativeBuildInputs = [
24 autoreconfHook
25 pkg-config
26 python3.pythonOnBuildForHost
27 ];
28
29 buildInputs = [
30 boost
31 mdds
32 python3
33 ];
34
35 configureFlags = [
36 "--with-boost=${boost.dev}"
37 ];
38
39 meta = with lib; {
40 description = "General purpose formula parser, interpreter, formula cell dependency tracker and spreadsheet document model backend all in one package";
41 homepage = "https://gitlab.com/ixion/ixion";
42 changelog = "https://gitlab.com/ixion/ixion/-/blob/${src.rev}/CHANGELOG";
43 license = licenses.mpl20;
44 maintainers = [ ];
45 platforms = platforms.all;
46 };
47}