about summary refs log tree commit diff
path: root/pkgs/kaiosrt/default.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-06 09:20:36 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-06 09:20:36 +0100
commitf30a37c4d353a92aaf4121656ccc93ceac5b32c6 (patch)
tree1cf26e9960ae65f130f255308d345f43b80e8ae8 /pkgs/kaiosrt/default.nix
parent18455a0b20c98d83b78e85249fa1e781e7de0b15 (diff)
downloadpnpkgs-f30a37c4d353a92aaf4121656ccc93ceac5b32c6.tar.gz
pnpkgs-f30a37c4d353a92aaf4121656ccc93ceac5b32c6.zip
Add kaiosrt
Diffstat (limited to 'pkgs/kaiosrt/default.nix')
-rw-r--r--pkgs/kaiosrt/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/kaiosrt/default.nix b/pkgs/kaiosrt/default.nix
new file mode 100644
index 0000000..a235131
--- /dev/null
+++ b/pkgs/kaiosrt/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchurl, autoPatchelfHook,
+libstdcxx5, libX11, libXrender, libXt, libXext, glib, freetype, fontconfig,
+alsaLib, dbus-glib, dbus, cairo, pango, atk, gdk_pixbuf, gnome3, gnome2, gcc49 }:
+
+stdenv.mkDerivation {
+  name = "kaiosrt";
+
+  src = fetchurl {
+    url = "https://s3.amazonaws.com/kaicloudsimulatordl/developer-portal/simulator/Kaiosrt_ubuntu.tar.bz2";
+    sha256 = "1f7q7iq4azini8aa7fi697awwfrgf6lf7qmizd52w41vnvm1dxll";
+  };
+
+  nativeBuildInputs = [ autoPatchelfHook ];
+  buildInputs = [
+        libX11
+        libXrender
+        libXt
+        libXext
+        glib
+        freetype
+        fontconfig
+        alsaLib
+        dbus-glib
+        dbus
+        cairo
+        pango
+        atk
+        gdk_pixbuf
+        gnome3.gtk
+        gnome2.gtk
+        gcc49
+  ];
+
+  buildPhase = "";
+  installPhase = ''
+    tar -xf kaiosrt-v2.5.en-US.linux-x86_64.tar.bz2
+    mkdir -p $out
+    cp -r kaiosrt $out/bin
+  '';
+}