From 592274e72a2486e77a48a0eb0ab2d566a8050d6e Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 29 Aug 2019 22:04:50 -0500 Subject: [PATCH] httpie: fetchPypi --- pkgs/tools/networking/httpie/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/httpie/default.nix b/pkgs/tools/networking/httpie/default.nix index 8348121470a3..1be33426b58d 100644 --- a/pkgs/tools/networking/httpie/default.nix +++ b/pkgs/tools/networking/httpie/default.nix @@ -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"; };