httpie: fetchPypi

This commit is contained in:
Will Dietz 2019-08-29 22:04:50 -05:00
parent 8ddc4e4731
commit 592274e72a
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -4,8 +4,8 @@ pythonPackages.buildPythonApplication rec {
pname = "httpie";
version = "1.0.2";
src = fetchurl {
url = "mirror://pypi/h/httpie/${name}.tar.gz";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "1ax22jh5lpjywpj7lsl072wdhr1pxiqzmxhyph5diwxxzs2nqrzw";
};