summary refs log tree commit diff
path: root/pkgs/development/libraries/libvterm-neovim
diff options
context:
space:
mode:
authoradisbladis <adis@blad.is>2018-05-16 13:55:26 +0800
committeradisbladis <adis@blad.is>2018-05-16 14:02:48 +0800
commit3290800d6745e44fe42a6b518c45956c35302276 (patch)
tree1daa9d3bdadee8edd1f59dfbc84341c55592b9b4 /pkgs/development/libraries/libvterm-neovim
parentb19c92be90df81ba6c030ca2df1ec22f586208de (diff)
downloadnixpkgs-3290800d6745e44fe42a6b518c45956c35302276.tar
nixpkgs-3290800d6745e44fe42a6b518c45956c35302276.tar.gz
nixpkgs-3290800d6745e44fe42a6b518c45956c35302276.tar.bz2
nixpkgs-3290800d6745e44fe42a6b518c45956c35302276.tar.lz
nixpkgs-3290800d6745e44fe42a6b518c45956c35302276.tar.xz
nixpkgs-3290800d6745e44fe42a6b518c45956c35302276.tar.zst
nixpkgs-3290800d6745e44fe42a6b518c45956c35302276.zip
libvterm-neovim: init at 2017-11-05
Diffstat (limited to 'pkgs/development/libraries/libvterm-neovim')
-rw-r--r--pkgs/development/libraries/libvterm-neovim/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvterm-neovim/default.nix b/pkgs/development/libraries/libvterm-neovim/default.nix
new file mode 100644
index 00000000000..4e0e87c19a9
--- /dev/null
+++ b/pkgs/development/libraries/libvterm-neovim/default.nix
@@ -0,0 +1,33 @@
+{ stdenv
+, fetchFromGitHub
+, perl
+, libtool
+}:
+
+stdenv.mkDerivation rec {
+  name = "neovim-libvterm-${version}";
+  version = "2017-11-05";
+
+  src = fetchFromGitHub {
+    owner = "neovim";
+    repo = "libvterm";
+    rev = "4ca7ebf7d25856e90bc9d9cc49412e80be7c4ea8";
+    sha256 = "05kyvvz8af90mvig11ya5xd8f4mbvapwyclyrihm9lwas706lzf6";
+  };
+
+  buildInputs = [ perl ];
+  nativeBuildInputs = [ libtool ];
+
+  makeFlags = [ "PREFIX=$(out)" ]
+    ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    description = "VT220/xterm/ECMA-48 terminal emulator library";
+    homepage = http://www.leonerd.org.uk/code/libvterm/;
+    license = licenses.mit;
+    maintainers = with maintainers; [ garbas ];
+    platforms = platforms.unix;
+  };
+}