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

29 lines
670 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2017-11-19 04:01:41 +03:00
stdenv.mkDerivation rec {
pname = "libxl";
2021-02-05 02:30:30 +03:00
version = "3.9.4.3";
2017-11-19 04:01:41 +03:00
src = fetchurl {
url = "https://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
2021-02-05 02:30:30 +03:00
sha256 = "sha256-U8hXoqBzjSGigOXc29LZQk3KrGiYvBPBJPg5qihcAsY=";
2017-11-19 04:01:41 +03:00
};
dontConfigure = true;
dontBuild = true;
2017-11-19 04:01:41 +03:00
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/";
2017-11-19 04:01:41 +03:00
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}