mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
emacsPackages.ott-mode: trivialBuild -> melpaBuild
Also fix homepage and license.
This commit is contained in:
parent
44a500aa33
commit
742a358a93
@ -1,19 +1,22 @@
|
||||
{ trivialBuild
|
||||
, ott
|
||||
, haskellPackages
|
||||
}:
|
||||
{ melpaBuild, ott }:
|
||||
|
||||
trivialBuild {
|
||||
melpaBuild {
|
||||
pname = "ott-mode";
|
||||
|
||||
inherit (ott) src version;
|
||||
|
||||
postUnpack = ''
|
||||
mv $sourceRoot/emacs/ott-mode.el $sourceRoot
|
||||
files = ''("emacs/*.el")'';
|
||||
|
||||
postPatch = ''
|
||||
pushd emacs
|
||||
echo ";;; ott-mode.el ---" > tmp.el
|
||||
cat ott-mode.el >> tmp.el
|
||||
mv tmp.el ott-mode.el
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Emacs ott mode (from ott sources)";
|
||||
inherit (haskellPackages.Agda.meta) homepage license;
|
||||
inherit (ott.meta) homepage license;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user