Commit 4bfdf5a7 authored by Aidan Gauland's avatar Aidan Gauland Committed by Anderson Torres
Browse files

header-file-mode: remove

I am no longer able to maintain this package, and an incoming PR
(#231411) breaks this package.
parent 3f5fd3d1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -35,8 +35,6 @@ in

  haskell-unicode-input-method = callPackage ./manual-packages/haskell-unicode-input-method { };

  header-file-mode = callPackage ./manual-packages/header-file-mode { };

  helm-words = callPackage ./manual-packages/helm-words { };

  idris2-mode = callPackage ./manual-packages/idris2-mode { };
+0 −34
Original line number Diff line number Diff line
{ trivialBuild
, lib
, fetchFromGitHub
}:

trivialBuild {
  pname = "header-file-mode";
  version = "unstable-2022-05-25";

  src = fetchFromGitHub {
    owner = "aidalgol";
    repo = "header-file-mode";
    rev = "cf6ce33b436ae9631aece1cd30a459cb0f89d1cd";
    sha256 = "sha256-+TDJubmBc0Hl+2ms58rnOf3hTaQE3ayrIpGWl4j39GQ=";
  };

  postUnpack = ''
    sourceRoot="$sourceRoot/lisp"
  '';

  postBuild = ''
    emacs -L . --batch -l package --eval '(package-generate-autoloads "header-file" ".")'
  '';

  meta = {
    description = ''
      A major mode that, when associated with the .h file extension, will put
      those file into the major mode of their corresponding implementation file.
    '';
    license = lib.licenses.gpl3Plus;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ aidalgol ];
  };
}