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

27 lines
639 B
Nix
Raw Normal View History

2017-11-19 01:01:41 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "libxl";
2017-11-19 01:01:41 +00:00
version = "3.8.1";
src = fetchurl {
url = "http://www.libxl.com/download/${pname}-lin-${version}.tar.gz";
2017-11-19 01:01:41 +00:00
sha256 = "1zdbahhyhr70s8hygwp43j9z4zmglyrr782hkcm1078yvkr2f2fm";
};
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
mkdir $out
cp -rva include_c include_cpp license.txt $out/
cp -rva lib64 $out/lib
'';
meta = with stdenv.lib; {
description = "A lbrary for parsing excel files";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}