about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/elisp-packages/manual-packages/ebuild-mode/default.nix
blob: e714a20cb3794950a3e9f60c76536bee4cd2ba56 (plain) (blame)
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
30
31
32
{
  lib,
  melpaBuild,
  fetchzip,
  writeText,
}:

melpaBuild rec {
  pname = "ebuild-mode";
  version = "1.70";

  src = fetchzip {
    url = "https://gitweb.gentoo.org/proj/ebuild-mode.git/snapshot/ebuild-mode-${version}.tar.bz2";
    hash = "sha256-dOm3xJMFLelwcImIwckeQHx1GqV9PB+I45QA9UT1nCM=";
  };

  # not used but needs to be set; why?
  commit = "a643f177b58aa8869f2f24814e990320aa4f0f96";

  recipe = writeText "recipe" ''
    (ebuild-mode
     :url "https://gitweb.gentoo.org/proj/ebuild-mode.git"
     :fetcher git)
  '';

  meta = {
    homepage = "https://gitweb.gentoo.org/proj/ebuild-mode.git/";
    description = "Major modes for Gentoo package files";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ qyliss ];
  };
}