1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/games/pacvim/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

34 lines
1,005 B
Nix

{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses }:
stdenv.mkDerivation {
pname = "pacvim";
version = "2018-05-16";
src = fetchFromGitHub {
owner = "jmoon018";
repo = "PacVim";
rev = "ca7c8833c22c5fe97974ba5247ef1fcc00cedb8e";
sha256 = "1kq6j7xmsl5qfl1246lyglkb2rs9mnb2rhsdrp18965dpbj2mhx2";
};
patches = [
# Fix pending upstream inclusion for ncurses-6.3 support:
# https://github.com/jmoon018/PacVim/pull/53
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/jmoon018/PacVim/commit/760682824cdbb328af616ff43bf822ade23924f7.patch";
sha256 = "1y3928dc2nkfldqhpiqk0blbx7qj8ar35f1w7fb92qwxrj8p4i6g";
})
];
buildInputs = [ ncurses ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/jmoon018/PacVim";
description = "Game that teaches you vim commands";
mainProgram = "pacvim";
maintainers = [ ];
license = licenses.lgpl3;
platforms = platforms.unix;
};
}