diff options
author | Will Dietz <w@wdtz.org> | 2019-08-29 22:04:50 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-09-03 19:27:03 -0500 |
commit | 592274e72a2486e77a48a0eb0ab2d566a8050d6e (patch) | |
tree | b977aebf09e908ba7b0aba97e179c4d4e4e9ccfd /pkgs/tools/networking | |
parent | 8ddc4e4731649376a9b1e10a2acff2d1c6fa9b24 (diff) |
httpie: fetchPypi
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/httpie/default.nix | 4 |
1 files 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"; }; |