Make fetchFromGitHub return an additional attr rev

This means it is more consistent with fetchgit which returns rev.
This commit is contained in:
Joel Moberg 2015-08-16 18:00:35 +02:00
parent e31e28602f
commit bf5eece51d

@ -398,7 +398,7 @@ let
inherit name sha256;
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
meta.homepage = "https://github.com/${owner}/${repo}/";
};
} // { inherit rev; };
fetchFromBitbucket = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
inherit name sha256;