melpa-stable-packages: include fetchFromGitHub

This commit is contained in:
Thomas Tuegel 2015-12-19 09:08:17 -06:00
parent b72161608a
commit be568d55da

View file

@ -25,13 +25,13 @@ let
mkPackage = self: name: recipe:
let drv =
{ melpaBuild, stdenv, fetchurl, fetchcvs, fetchgit, fetchhg }:
{ melpaBuild, stdenv, fetchurl, fetchcvs, fetchFromGitHub, fetchgit, fetchhg }:
let
unknownFetcher =
abort "emacs-${name}: unknown fetcher '${recipe.fetch.tag}'";
fetch =
{
inherit fetchurl fetchcvs fetchgit fetchhg;
inherit fetchurl fetchcvs fetchFromGitHub fetchgit fetchhg;
}."${recipe.fetch.tag}"
or unknownFetcher;
args = builtins.removeAttrs recipe.fetch [ "tag" ];