nixpkgs/pkgs/tools/misc/vimer/default.nix

33 lines
707 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2017-05-24 17:37:05 +02:00
stdenv.mkDerivation rec {
version = "0.2.0";
pname = "vimer";
2017-05-24 17:37:05 +02:00
src = fetchFromGitHub {
owner = "susam";
repo = "vimer";
rev = version;
sha256 = "01qhr3i7wasbaxvms39c81infpry2vk0nzh7r5m5b9p713p0phsi";
};
installPhase = ''
mkdir $out/bin/ -p
cp vimer $out/bin/
chmod +x $out/bin/vimer
'';
meta = with lib; {
homepage = "https://github.com/susam/vimer";
2017-05-24 17:37:05 +02:00
description = ''
A convenience wrapper for gvim/mvim --remote(-tab)-silent to open files
in an existing instance of GVim or MacVim.
'';
license = licenses.mit;
maintainers = [ maintainers.matthiasbeyer ];
2021-03-18 16:24:18 +01:00
platforms = platforms.all;
2017-05-24 17:37:05 +02:00
};
}