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:
parent
dae532c445
commit
a7f002ac41
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user