header-file-mode: unstable-2022-05-13 -> unstable-2022-05-25

* Add post-build script to generate autoloads file.

* Bump upstream revision to get a critical bugfix that prevented this library's
  main function from executing.
This commit is contained in:
Aidan Gauland 2022-05-25 15:52:00 +12:00
parent 137121f74e
commit 240e967264
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91

View file

@ -5,19 +5,23 @@
trivialBuild { trivialBuild {
pname = "header-file-mode"; pname = "header-file-mode";
version = "unstable-2022-05-13"; version = "unstable-2022-05-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aidalgol"; owner = "aidalgol";
repo = "header-file-mode"; repo = "header-file-mode";
rev = "bcfd19a2c70030ebf5fa68e87aca4b3db8fad13e"; rev = "cf6ce33b436ae9631aece1cd30a459cb0f89d1cd";
sha256 = "sha256-XMXOU+vWJ/0e0ny4Dz3DxWpdEfSNXGzm03sBke32Dwc="; sha256 = "sha256-+TDJubmBc0Hl+2ms58rnOf3hTaQE3ayrIpGWl4j39GQ=";
}; };
postUnpack = '' postUnpack = ''
sourceRoot="$sourceRoot/lisp" sourceRoot="$sourceRoot/lisp"
''; '';
postBuild = ''
emacs -L . --batch -l package --eval '(package-generate-autoloads "header-file" ".")'
'';
meta = { meta = {
description = '' description = ''
A major mode that, when associated with the .h file extension, will put A major mode that, when associated with the .h file extension, will put