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] b3d2c1876e
This commit is contained in:
Maximilian Bosch 2019-09-20 10:04:18 +02:00
parent dae532c445
commit a7f002ac41
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -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;