nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 fetchpatch, 6 ncurses, 7}: 8 9stdenv.mkDerivation { 10 pname = "pacvim"; 11 version = "2018-05-16"; 12 src = fetchFromGitHub { 13 owner = "jmoon018"; 14 repo = "PacVim"; 15 rev = "ca7c8833c22c5fe97974ba5247ef1fcc00cedb8e"; 16 sha256 = "1kq6j7xmsl5qfl1246lyglkb2rs9mnb2rhsdrp18965dpbj2mhx2"; 17 }; 18 patches = [ 19 # Fix pending upstream inclusion for ncurses-6.3 support: 20 # https://github.com/jmoon018/PacVim/pull/53 21 (fetchpatch { 22 name = "ncurses-6.3.patch"; 23 url = "https://github.com/jmoon018/PacVim/commit/760682824cdbb328af616ff43bf822ade23924f7.patch"; 24 sha256 = "1y3928dc2nkfldqhpiqk0blbx7qj8ar35f1w7fb92qwxrj8p4i6g"; 25 }) 26 ]; 27 28 buildInputs = [ ncurses ]; 29 makeFlags = [ "PREFIX=$(out)" ]; 30 31 meta = { 32 homepage = "https://github.com/jmoon018/PacVim"; 33 description = "Game that teaches you vim commands"; 34 mainProgram = "pacvim"; 35 maintainers = [ ]; 36 license = lib.licenses.lgpl3; 37 platforms = lib.platforms.unix; 38 }; 39}