2022-07-29 05:29:07 +02:00
|
|
|
{ pkgs, depot, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
struct = pkgs.callPackage
|
|
|
|
({ emacsPackages }:
|
|
|
|
emacsPackages.trivialBuild {
|
|
|
|
pname = "struct";
|
|
|
|
version = "1.0.0";
|
|
|
|
src = ./struct.el;
|
2022-08-02 22:25:30 +02:00
|
|
|
packageRequires = [ ];
|
2022-07-29 05:29:07 +02:00
|
|
|
})
|
|
|
|
{ };
|
|
|
|
|
|
|
|
emacs = (pkgs.emacsPackagesFor pkgs.emacs28).emacsWithPackages (epkgs: [
|
|
|
|
struct
|
|
|
|
]);
|
|
|
|
in
|
|
|
|
struct.overrideAttrs (_old: {
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
|
|
${emacs}/bin/emacs -batch \
|
|
|
|
-l ert -l ${./tests.el} -f ert-run-tests-batch-and-exit
|
|
|
|
'';
|
2022-08-02 22:33:10 +02:00
|
|
|
passthru.meta.ci.extraSteps.github = depot.tools.releases.filteredGitPush {
|
|
|
|
filter = ":/users/wpcarro/emacs/pkgs/struct";
|
|
|
|
remote = "git@github.com:wpcarro/struct.el.git";
|
|
|
|
ref = "refs/heads/canon";
|
|
|
|
};
|
2022-07-29 05:29:07 +02:00
|
|
|
})
|