nixpkgs/pkgs/development/libraries/libxl/default.nix

29 lines
671 B
Nix
Raw Normal View History

2017-11-19 01:01:41 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libxl";
2019-12-23 22:02:01 +00:00
version = "3.8.8";
2017-11-19 01:01:41 +00:00
src = fetchurl {
url = "https://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
};
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; {
description = "A library for parsing Excel files";
homepage = "https://www.libxl.com/";
2017-11-19 01:01:41 +00:00
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}