diff options
Diffstat (limited to 'pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nix')
-rw-r--r-- | pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nix b/pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nix new file mode 100644 index 00000000000..7fd3280d807 --- /dev/null +++ b/pkgs/applications/editors/emacs/elisp-packages/header-file-mode/default.nix @@ -0,0 +1,30 @@ +{ trivialBuild +, lib +, fetchFromGitHub +}: + +trivialBuild { + pname = "header-file-mode"; + version = "unstable-2022-04-19"; + + src = fetchFromGitHub { + owner = "0x4b"; + repo = "header-file-mode"; + rev = "fdf1930730e1b0c3f82490099a1325805491eff5"; + sha256 = "sha256-FJgRI6RLQk9osh7d+YRfrV5CoGCDx2cZvsjAWlm969c="; + }; + + postUnpack = '' + sourceRoot="$sourceRoot/lisp" + ''; + + 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 maintainers; [ aidalgol ]; + }; +} |