2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, unzip }:
|
2014-10-19 09:33:37 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "xlslib";
|
2016-11-23 06:49:18 -08:00
|
|
|
version = "2.5.0";
|
2014-10-19 09:33:37 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xlslib/xlslib-package-${version}.zip";
|
2015-02-02 09:46:06 -08:00
|
|
|
sha256 = "1wx3jbpkz2rvgs45x6mwawamd1b2llb0vn29b5sr0rfxzx9d1985";
|
2014-10-19 09:33:37 -07:00
|
|
|
};
|
|
|
|
|
2015-02-02 09:46:06 -08:00
|
|
|
nativeBuildInputs = [ unzip autoreconfHook ];
|
2014-10-19 09:33:37 -07:00
|
|
|
|
|
|
|
setSourceRoot = "export sourceRoot=xlslib/xlslib";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2014-10-19 09:33:37 -07:00
|
|
|
description = "C++/C library to construct Excel .xls files in code";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://sourceforge.net/projects/xlslib/";
|
2014-10-19 09:33:37 -07:00
|
|
|
license = licenses.bsd2;
|
2016-09-01 10:39:33 -07:00
|
|
|
platforms = platforms.linux;
|
2015-05-14 10:09:10 -07:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2014-10-19 09:33:37 -07:00
|
|
|
};
|
|
|
|
}
|