python.pkgs.blaze: use FetchFromGitHub

This commit is contained in:
Frederik Rietdijk 2018-02-26 19:24:16 +01:00
parent 38f02f84e8
commit 26ea14c4dc

View File

@ -1,6 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchurl , fetchFromGitHub
, pytest , pytest
, contextlib2 , contextlib2
, cytoolz , cytoolz
@ -27,9 +27,11 @@ buildPythonPackage rec {
pname = "blaze"; pname = "blaze";
version = "0.11.3"; version = "0.11.3";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/blaze/blaze/archive/${version}.tar.gz"; owner = pname;
sha256 = "075gqc9d7g284z4nfwv5zbq99ln22w25l4lcndjg3v10kmsjadww"; repo = pname;
rev = version;
sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];