emacsPackages.agda-input: extract from manual-packages.nix

This commit is contained in:
AndersonTorres 2021-09-15 12:33:22 -03:00
parent f91dce387a
commit a3c0347b94
2 changed files with 19 additions and 12 deletions

View file

@ -0,0 +1,18 @@
{ trivialBuild
, haskellPackages
}
trivialBuild {
pname = "agda-input";
inherit (haskellPackages.Agda) src version;
postUnpack = ''
mv $sourceRoot/src/data/emacs-mode/agda-input.el $sourceRoot
'';
meta = {
inherit (haskellPackages.Agda.meta) homepage license;
description = "Standalone package providing the agda-input method without building Agda.";
};
}

View file

@ -150,18 +150,7 @@
agda2-mode = callPackage ./agda2-mode { };
agda-input = self.trivialBuild {
pname = "agda-input";
inherit (pkgs.haskellPackages.Agda) src version;
postUnpack = "mv $sourceRoot/src/data/emacs-mode/agda-input.el $sourceRoot";
meta = {
description = "Standalone package providing the agda-input method without building Agda.";
inherit (pkgs.haskellPackages.Agda.meta) homepage license;
};
};
agda-input = callPackage ./agda-input{ };
# may be part of MELPA in the future, see
# https://github.com/mlochbaum/BQN/issues/10#issuecomment-912982874