depot/third_party/nixpkgs/pkgs/development/libraries/libxl/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
668 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 = with maintainers; [ ];
};
}