about summary refs log tree commit diff
path: root/pkgs/development/libraries/libxl
diff options
context:
space:
mode:
authorMarkus Mueller <john.subscriber@markus.institute>2017-11-19 01:01:41 +0000
committerFranz Pletz <fpletz@fnordicwalking.de>2017-11-19 04:22:26 +0100
commit8d499c2b3d834efe348b561bfe8066b3afda3bc4 (patch)
tree2ea13e03d0ab8315e3fe8025647f440c28a89fec /pkgs/development/libraries/libxl
parent7be9c9c95f3c4ca822372983431d1c9973de98f2 (diff)
libxl: init at 3.8.1
Diffstat (limited to 'pkgs/development/libraries/libxl')
-rw-r--r--pkgs/development/libraries/libxl/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libxl/default.nix b/pkgs/development/libraries/libxl/default.nix
new file mode 100644
index 0000000000000..035bfa8d6dc3c
--- /dev/null
+++ b/pkgs/development/libraries/libxl/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "libxl";
+  version = "3.8.1";
+
+  src = fetchurl {
+    url = "http://www.libxl.com/download/${name}-lin-${version}.tar.gz";
+    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; [  ];
+  };
+}