nixpkgs/pkgs/development/libraries/libxl/default.nix
R. RyanTM 5c54b35a5b libxl: 3.8.5 -> 3.8.7 (#74450)
* libxl: 3.8.5 -> 3.8.7

* libxl: refresh meta
+ avoid hardcoding phases
2019-12-01 16:00:06 +01:00

29 lines
669 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libxl";
version = "3.8.7";
src = fetchurl {
url = "http://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
sha256 = "0mfi2mlsgqjw9ki3c5bsb6nr2aqym7s1priw70f69r12azzxfqw3";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
mkdir $out
cp -rva include_c include_cpp license.txt $out/
cp -rva lib64 $out/lib
'';
meta = with stdenv.lib; {
description = "A library for parsing Excel files";
homepage = "http://www.libxl.com/";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}