emacsMacport: add version attribute

Changes in https://github.com/NixOS/nixpkgs/pull/74936 depend on emacs
derivations to have a version attribute.
This commit is contained in:
Jason Samsa 2019-12-13 14:23:47 -06:00
parent c644c7578d
commit 77804abdd4

View file

@ -4,10 +4,12 @@
}:
stdenv.mkDerivation rec {
emacsVersion = "26.3";
emacsName = "emacs-${emacsVersion}";
pname = "emacs";
version = "26.3";
emacsName = "emacs-${version}";
macportVersion = "7.7";
name = "emacs-mac-${emacsVersion}-${macportVersion}";
name = "emacs-mac-${version}-${macportVersion}";
src = fetchurl {
url = "mirror://gnu/emacs/${emacsName}.tar.xz";