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
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages }:
|
{ stdenv, fetchurl, python3Packages }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "httpie";
|
pname = "httpie";
|
||||||
version = "1.0.3";
|
version = "1.0.3";
|
||||||
|
|
||||||
src = pythonPackages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd";
|
sha256 = "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ pygments requests setuptools ];
|
propagatedBuildInputs = with python3Packages; [ pygments requests setuptools ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user