depot/third_party/nixpkgs/pkgs/development/libraries/libxl/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

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 = [ ];
};
}