2017-11-19 01:01:41 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-11-04 23:32:52 +00:00
|
|
|
pname = "libxl";
|
2019-12-23 22:02:01 +00:00
|
|
|
version = "3.8.8";
|
2017-11-19 01:01:41 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-11-04 23:32:52 +00:00
|
|
|
url = "http://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
|
2019-12-23 22:02:01 +00:00
|
|
|
sha256 = "08jarfcl8l5mrmkx6bcifi3ghkaja9isz77zgggl84yl66js5pc3";
|
2017-11-19 01:01:41 +00:00
|
|
|
};
|
|
|
|
|
2019-12-01 15:00:06 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
2017-11-19 01:01:41 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -rva include_c include_cpp license.txt $out/
|
|
|
|
cp -rva lib64 $out/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-12-01 15:00:06 +00:00
|
|
|
description = "A library for parsing Excel files";
|
|
|
|
homepage = "http://www.libxl.com/";
|
2017-11-19 01:01:41 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|