5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
28 lines
649 B
Nix
28 lines
649 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libxl";
|
|
version = "3.9.4.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
|
|
sha256 = "sha256-U8hXoqBzjSGigOXc29LZQk3KrGiYvBPBJPg5qihcAsY=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -rva include_c include_cpp license.txt $out/
|
|
cp -rva lib64 $out/lib
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Library for parsing Excel files";
|
|
homepage = "https://www.libxl.com/";
|
|
license = licenses.unfree;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|