diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-24 23:40:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-24 23:40:38 +0000 |
commit | fa49bc1447d334c70e45ded349d3c37319dab7b4 (patch) | |
tree | 2bc8bf967b11b890a79ff52dd10544bfe66f4494 /app-emacs/nix-mode | |
parent | 24ee8c58752f0dc4376961a28f7364e6d7c7a7aa (diff) |
gentoo auto-resync : 24:02:2024 - 23:40:37
Diffstat (limited to 'app-emacs/nix-mode')
-rw-r--r-- | app-emacs/nix-mode/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/nix-mode/files/50nix-mode-gentoo.el | 4 | ||||
-rw-r--r-- | app-emacs/nix-mode/metadata.xml | 14 | ||||
-rw-r--r-- | app-emacs/nix-mode/nix-mode-1.5.0.ebuild | 35 |
4 files changed, 57 insertions, 0 deletions
diff --git a/app-emacs/nix-mode/Manifest b/app-emacs/nix-mode/Manifest new file mode 100644 index 000000000000..423d3fae77dc --- /dev/null +++ b/app-emacs/nix-mode/Manifest @@ -0,0 +1,4 @@ +AUX 50nix-mode-gentoo.el 176 BLAKE2B fb2437a5cda529acf4174f1c0f1aa672979d3e4d2bbab68dc8d9d24a28bc06d0e83b2fc4271884fef66cc0571bb90f7487e7e6a1ea497c1fa550a223b8d647bf SHA512 ce22b9c7650a8796c09fb555425c3078463daa4a974c412c43d7921e3c041df6dc412a399930e30b1a30bf46bc3719640f91b83f3c8f4054627b3dd2294bea3b +DIST nix-mode-1.5.0.tar.gz 57584 BLAKE2B e7723d6667b979ce1dd018443ff331bf18f01cd973e2e3291b4c9b79634fb41758bcec772b9c8311f76d2f9e28566b9665be03796bc867530dda98e9c77a192a SHA512 308b7faa1a77e5afddec41d28b26804dc7ce1895007dbb6d7dd5495a8a0852fa2ced5aa60419517bf0e9f0fe183ff0de3b1a943ce8839eebfe09c9fd3c214035 +EBUILD nix-mode-1.5.0.ebuild 634 BLAKE2B 34d73810605694235ae7e8087d6e9f9dc1261eed9a174f5df4c1d8f889ab1a3b5a0c213bfb16f761034058881fb1849658b6c32560962f0ad090577397124386 SHA512 04cf69b1d4566d5033840cce00744172081d1da8bcb9a09ebaac837a85a5be8c7850e33eec840ae19f180c44d06dcb35c71e748c1de9cc4a43d20b3dd13bfd9c +MISC metadata.xml 443 BLAKE2B 20e8e4b3a5a9c25deeb00c784d951f95b706c58085ccc44a2ab76fe3be75bf863358dce19ab42f57057f8a1a61d9577531a59c6e25b9499b45a9f36965f44b3c SHA512 2cee03667ae9d9bee1427b4c63d97309b1db5be97b2f6f3fa81761f6e04389ec5a53388b12b318f8f4bfb929046a639bed81e94fb427cd362b94328ef8f03753 diff --git a/app-emacs/nix-mode/files/50nix-mode-gentoo.el b/app-emacs/nix-mode/files/50nix-mode-gentoo.el new file mode 100644 index 000000000000..41864935fafe --- /dev/null +++ b/app-emacs/nix-mode/files/50nix-mode-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'nix-mode "nix-mode.el" + "Major mode for editing Nix expressions." t) +(add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode)) diff --git a/app-emacs/nix-mode/metadata.xml b/app-emacs/nix-mode/metadata.xml new file mode 100644 index 000000000000..e0e8155064be --- /dev/null +++ b/app-emacs/nix-mode/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <bugs-to>https://github.com/NixOS/nix-mode/issues/</bugs-to> + <remote-id type="github">NixOS/nix-mode</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/nix-mode/nix-mode-1.5.0.ebuild b/app-emacs/nix-mode/nix-mode-1.5.0.ebuild new file mode 100644 index 000000000000..100190d9037d --- /dev/null +++ b/app-emacs/nix-mode/nix-mode-1.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="GNU Emacs major mode for editing Nix expressions" +HOMEPAGE="https://github.com/NixOS/nix-mode/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/NixOS/${PN}.git" +else + SRC_URI="https://github.com/NixOS/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" + +RDEPEND=" + app-emacs/company-mode + app-emacs/magit + app-emacs/mmm-mode + app-emacs/transient +" +BDEPEND=" + ${RDEPEND} +" + +SITEFILE="50${PN}-gentoo.el" |