From 26ea14c4dce5838f38836c476d1cea0f2bce738f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 26 Feb 2018 19:24:16 +0100 Subject: [PATCH] python.pkgs.blaze: use FetchFromGitHub --- pkgs/development/python-modules/blaze/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/blaze/default.nix b/pkgs/development/python-modules/blaze/default.nix index 74e327fd3423..b3c56a618e8e 100644 --- a/pkgs/development/python-modules/blaze/default.nix +++ b/pkgs/development/python-modules/blaze/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchurl +, fetchFromGitHub , pytest , contextlib2 , cytoolz @@ -27,9 +27,11 @@ buildPythonPackage rec { pname = "blaze"; version = "0.11.3"; - src = fetchurl { - url = "https://github.com/blaze/blaze/archive/${version}.tar.gz"; - sha256 = "075gqc9d7g284z4nfwv5zbq99ln22w25l4lcndjg3v10kmsjadww"; + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = version; + sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717"; }; checkInputs = [ pytest ];