nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python.pkgs.blaze: use FetchFromGitHub

+6 -4
+6 -4
pkgs/development/python-modules/blaze/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchurl 3 + , fetchFromGitHub 4 4 , pytest 5 5 , contextlib2 6 6 , cytoolz ··· 27 27 pname = "blaze"; 28 28 version = "0.11.3"; 29 29 30 - src = fetchurl { 31 - url = "https://github.com/blaze/blaze/archive/${version}.tar.gz"; 32 - sha256 = "075gqc9d7g284z4nfwv5zbq99ln22w25l4lcndjg3v10kmsjadww"; 30 + src = fetchFromGitHub { 31 + owner = pname; 32 + repo = pname; 33 + rev = version; 34 + sha256 = "0w916k125058p40cf7i090f75pgv3cqdb8vwjzqhb9r482fa6717"; 33 35 }; 34 36 35 37 checkInputs = [ pytest ];