mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
29 lines
670 B
Nix
29 lines
670 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 = "A library for parsing Excel files";
|
|
homepage = "https://www.libxl.com/";
|
|
license = licenses.unfree;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|