Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 version = "0.2.0";
9 pname = "vimer";
10
11 src = fetchFromGitHub {
12 owner = "susam";
13 repo = "vimer";
14 rev = version;
15 sha256 = "01qhr3i7wasbaxvms39c81infpry2vk0nzh7r5m5b9p713p0phsi";
16 };
17
18 installPhase = ''
19 mkdir $out/bin/ -p
20 cp vimer $out/bin/
21 chmod +x $out/bin/vimer
22 '';
23
24 meta = with lib; {
25 homepage = "https://github.com/susam/vimer";
26 description = ''
27 A convenience wrapper for gvim/mvim --remote(-tab)-silent to open files
28 in an existing instance of GVim or MacVim.
29 '';
30 license = licenses.mit;
31 maintainers = [ maintainers.matthiasbeyer ];
32 platforms = platforms.all;
33 mainProgram = "vimer";
34 };
35
36}