emacs-packages: Drop elpy package
Use auto-generated melpa package
This commit is contained in:
parent
b00038c151
commit
af70adbc89
@ -60,6 +60,10 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac
|
|||||||
# upstream issue: missing file header
|
# upstream issue: missing file header
|
||||||
elmine = markBroken super.elmine;
|
elmine = markBroken super.elmine;
|
||||||
|
|
||||||
|
elpy = super.elpy.overrideAttrs(old: {
|
||||||
|
propagatedUserEnvPkgs = old.propagatedUserEnvPkgs ++ [ external.elpy ];
|
||||||
|
});
|
||||||
|
|
||||||
evil-magit = super.evil-magit.overrideAttrs (attrs: {
|
evil-magit = super.evil-magit.overrideAttrs (attrs: {
|
||||||
# searches for Git at build time
|
# searches for Git at build time
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
@ -129,47 +129,6 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
elpy = melpaBuild rec {
|
|
||||||
pname = "elpy";
|
|
||||||
version = external.elpy.version;
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "jorgenschaefer";
|
|
||||||
repo = pname;
|
|
||||||
rev = "39ea47c73f040ce8dcc1c2d2639ebc0eb57ab8c8";
|
|
||||||
sha256 = "0q3av1qv4m6aj4bil608f688hjpr5px8zqnnrdqx784nz98rpjrs";
|
|
||||||
};
|
|
||||||
recipe = writeText "recipe" ''
|
|
||||||
(elpy :repo "jorgenschaefer/elpy" :fetcher github)
|
|
||||||
'';
|
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
for file in elpy.el elpy-pkg.el; do
|
|
||||||
substituteInPlace $file \
|
|
||||||
--replace "company \"0.8.2\"" "company \"${company.version}\"" \
|
|
||||||
--replace "find-file-in-project \"3.3\"" "find-file-in-project \"${(melpaPackages self).find-file-in-project.version}\"" \
|
|
||||||
--replace "highlight-indentation \"0.5.0\"" "highlight-indentation \"${highlight-indentation.version}\"" \
|
|
||||||
--replace "pyvenv \"1.3\"" "pyvenv \"${pyvenv.version}\"" \
|
|
||||||
--replace "yasnippet \"0.8.0\"" "yasnippet \"${yasnippet.version}\""
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
packageRequires = [
|
|
||||||
company find-file-in-project highlight-indentation pyvenv yasnippet
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [ external.elpy ] ++ packageRequires;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Emacs Python Development Environment";
|
|
||||||
longDescription = ''
|
|
||||||
Elpy is an Emacs package to bring powerful Python editing to Emacs.
|
|
||||||
It combines a number of other packages, both written in Emacs Lisp as
|
|
||||||
well as Python.
|
|
||||||
'';
|
|
||||||
license = gpl3Plus;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ess-R-object-popup =
|
ess-R-object-popup =
|
||||||
callPackage ../applications/editors/emacs-modes/ess-R-object-popup { };
|
callPackage ../applications/editors/emacs-modes/ess-R-object-popup { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user