nodePackages.oauth: use fetchFromGitHub

fixup to 9a5a967
This commit is contained in:
Robin Gloster 2016-02-07 22:39:11 +00:00
parent 046b40f573
commit dc2b548955

View file

@ -1,4 +1,4 @@
{ self, fetchurl, fetchgit ? null, lib }:
{ self, fetchurl, fetchgit ? null, fetchFromGitHub, lib }:
{
by-spec."Base64"."~0.2.0" =
@ -29314,10 +29314,11 @@
name = "oauth-0.9.12";
version = "0.9.12";
bin = false;
src = fetchurl {
url = "https://github.com/ciaranj/node-oauth/tarball/0.9.12";
name = "oauth-0.9.12.tgz";
sha256 = "e06c3c3537e9c802c8ad00640b9f91bf2857cf8cc91209e355b5646f4da8b3e7";
src = fetchFromGitHub {
owner = "ciaranj";
repo = "node-oauth";
rev = "0.9.12";
sha256 = "1c67nq1q5isfcvyp520q02w5c527s1wsfiyknzfvvp22sf2yn7k6";
};
deps = {
};