diff --git a/pkgs/games/pacvim/default.nix b/pkgs/games/pacvim/default.nix new file mode 100644 index 000000000000..59e7c874d141 --- /dev/null +++ b/pkgs/games/pacvim/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, ncurses }: + +stdenv.mkDerivation rec { + name = "pacvim-${version}"; + version = "2018-05-16"; + src = fetchFromGitHub { + owner = "jmoon018"; + repo = "PacVim"; + rev = "ca7c8833c22c5fe97974ba5247ef1fcc00cedb8e"; + sha256 = "1kq6j7xmsl5qfl1246lyglkb2rs9mnb2rhsdrp18965dpbj2mhx2"; + }; + + buildInputs = [ ncurses ]; + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/jmoon018/PacVim"; + description = "PacVim is a game that teaches you vim commands."; + maintainers = with maintainers; [ infinisil ]; + license = licenses.lgpl3; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1129a984d271..0f8db2101a84 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19340,6 +19340,8 @@ with pkgs; orthorobot = callPackage ../games/orthorobot { love = love_0_7; }; + pacvim = callPackage ../games/pacvim { }; + performous = callPackage ../games/performous { }; pingus = callPackage ../games/pingus {};