2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-11-19 01:01:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-11-04 23:32:52 +00:00
|
|
|
pname = "libxl";
|
2021-02-04 23:30:30 +00:00
|
|
|
version = "3.9.4.3";
|
2017-11-19 01:01:41 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-22 10:26:22 +00:00
|
|
|
url = "https://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
|
2021-02-04 23:30:30 +00:00
|
|
|
sha256 = "sha256-U8hXoqBzjSGigOXc29LZQk3KrGiYvBPBJPg5qihcAsY=";
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-12-01 15:00:06 +00:00
|
|
|
description = "A library for parsing Excel files";
|
2020-01-22 10:26:22 +00:00
|
|
|
homepage = "https://www.libxl.com/";
|
2017-11-19 01:01:41 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|