git.iko.soy/typeable/nixpkgs
on master help sign in
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

commita7f002ac41dd4127e811df8bc4edfbb034aa2861 authorMaximilian Bosch <maximilian@mbosch.me> dateFri 20 Sep 2019, 10:04 (7 years ago) parentdae532c
1 file changed+4−4
pkgs/tools/networking/httpie/default.nix+4−4
pkgs/tools/networking/httpie/default.nix+4−4
@@ -1,15 +1,15 @@
1−{ stdenv, fetchurl, pythonPackages }:
1+{ stdenv, fetchurl, python3Packages }:
22
3−pythonPackages.buildPythonApplication rec {
3+python3Packages.buildPythonApplication rec {
44 pname = "httpie";
55 version = "1.0.3";
66
7− src = pythonPackages.fetchPypi {
7+ src = python3Packages.fetchPypi {
88 inherit pname version;
99 sha256 = "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd";
1010 };
1111
12− propagatedBuildInputs = with pythonPackages; [ pygments requests setuptools ];
12+ propagatedBuildInputs = with python3Packages; [ pygments requests setuptools ];
1313
1414 doCheck = false;
1515