Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
httpie: use python3 by default
Browse files Browse the repository at this point in the history
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] httpie/cli@b3d2c18
  • Loading branch information
Ma27 committed Sep 20, 2019
1 parent dae532c commit a7f002a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 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;

Expand Down

0 comments on commit a7f002a

Please sign in to comment.