aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-09-20 10:04:18 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2019-09-20 10:04:18 +0200
commita7f002ac41dd4127e811df8bc4edfbb034aa2861 (patch)
tree0f6b4a3b67cc9ffe4f492fa3320ddcaab6cdcdf9 /pkgs/tools/networking
parentdae532c44571cac44269f55ba06a947d5cd14379 (diff)
httpie: use python3 by default
This package is intended to be used as application and supports python3[1] (and is about to deprecated python2.7 support[2]), so there's no reason to not use it in 2019. [1] https://github.com/jakubroztocil/httpie/tree/1.0.3#python-version [2] https://github.com/jakubroztocil/httpie/commit/b3d2c1876e23e7de7afe588e4f64160d17201b45
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/httpie/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/networking/httpie/default.nix b/pkgs/tools/networking/httpie/default.nix
index 09a9ade75ce..cf3c173e1b2 100644
--- a/pkgs/tools/networking/httpie/default.nix
+++ b/pkgs/tools/networking/httpie/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchurl, pythonPackages }:
+{ stdenv, fetchurl, python3Packages }:
-pythonPackages.buildPythonApplication rec {
+python3Packages.buildPythonApplication rec {
pname = "httpie";
version = "1.0.3";
- src = pythonPackages.fetchPypi {
+ src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd";
};
- propagatedBuildInputs = with pythonPackages; [ pygments requests setuptools ];
+ propagatedBuildInputs = with python3Packages; [ pygments requests setuptools ];
doCheck = false;