pythonPackages.le: switch to fetchFromGitHub

authored by Felix Buehler and committed by Jonathan Ringer d2aaf040 c4762eac

+6 -4
+6 -4
pkgs/development/python-modules/le/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchurl 4 , isPy3k 5 , simplejson 6 , psutil ··· 10 pname = "le"; 11 version = "1.4.29"; 12 13 - src = fetchurl { 14 - url = "https://github.com/logentries/le/archive/v${version}.tar.gz"; 15 - sha256 = "d29738937cb6e714b6ec2ae74b66b1983482ffd54b4faa40767af18509521d4c"; 16 }; 17 18 disabled = isPy3k;
··· 1 { lib 2 , buildPythonPackage 3 + , fetchFromGitHub 4 , isPy3k 5 , simplejson 6 , psutil ··· 10 pname = "le"; 11 version = "1.4.29"; 12 13 + src = fetchFromGitHub { 14 + owner = "logentries"; 15 + repo = "le"; 16 + rev = "v${version}"; 17 + sha256 = "sha256-67JPnof0olReu90rM78e1px8NvbGcj8pphFhPaiSVmA="; 18 }; 19 20 disabled = isPy3k;