2017-11-19 01:01:41 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-11-04 23:32:52 +00:00
|
|
|
pname = "libxl";
|
2019-03-26 01:58:18 +00:00
|
|
|
version = "3.8.4";
|
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-03-26 01:58:18 +00:00
|
|
|
sha256 = "0jnvc9ilir3lvs81l6ldnyf6jbfsy7bcs5pkc75qfnvz01y7p6as";
|
2017-11-19 01:01:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -rva include_c include_cpp license.txt $out/
|
|
|
|
cp -rva lib64 $out/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lbrary for parsing excel files";
|
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|