1 { lib, stdenv, fetchFromGitHub, fetchpatch, ncurses }:
5 version = "2018-05-16";
6 src = fetchFromGitHub {
9 rev = "ca7c8833c22c5fe97974ba5247ef1fcc00cedb8e";
10 sha256 = "1kq6j7xmsl5qfl1246lyglkb2rs9mnb2rhsdrp18965dpbj2mhx2";
13 # Fix pending upstream inclusion for ncurses-6.3 support:
14 # https://github.com/jmoon018/PacVim/pull/53
16 name = "ncurses-6.3.patch";
17 url = "https://github.com/jmoon018/PacVim/commit/760682824cdbb328af616ff43bf822ade23924f7.patch";
18 sha256 = "1y3928dc2nkfldqhpiqk0blbx7qj8ar35f1w7fb92qwxrj8p4i6g";
22 buildInputs = [ ncurses ];
23 makeFlags = [ "PREFIX=$(out)" ];
26 homepage = "https://github.com/jmoon018/PacVim";
27 description = "A game that teaches you vim commands";
28 mainProgram = "pacvim";
30 license = licenses.lgpl3;
31 platforms = platforms.unix;