depot/third_party/nixpkgs/pkgs/development/libraries/libxl/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
669 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libxl";
version = "3.8.8";
src = fetchurl {
url = "https://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
sha256 = "08jarfcl8l5mrmkx6bcifi3ghkaja9isz77zgggl84yl66js5pc3";
};
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 = "A library for parsing Excel files";
homepage = "https://www.libxl.com/";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}