summaryrefslogtreecommitdiff
blob: 77e93b430f47204146aa4e8ed9d1b9de829c9690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

COMMIT=744e076f0bea1c5ddc49f92397d9aa98ffa7eff8
NEED_EMACS=24.4

inherit elisp

DESCRIPTION="Emacs major mode for the Nim programming language support"
HOMEPAGE="https://github.com/nim-lang/nim-mode/"
SRC_URI="https://github.com/nim-lang/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}

LICENSE="GPL-3+"
KEYWORDS="~amd64"
SLOT="0"
RESTRICT="test"  # some test are broken

RDEPEND="
	app-emacs/commenter
	app-emacs/epc
"
BDEPEND="${RDEPEND}"
PDEPEND="app-emacs/flycheck-nimsuggest"

DOCS=( README.md starterKit.nims )
SITEFILE="50${PN}-gentoo.el"