Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e81404fdedad
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6868fcd91171
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 20, 2019

  1. 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] httpie/cli@b3d2c18
    
    (cherry picked from commit a7f002a)
    Ma27 committed Sep 20, 2019
    Copy the full SHA
    6868fcd View commit details
Showing with 4 additions and 4 deletions.
  1. +4 −4 pkgs/tools/networking/httpie/default.nix
8 changes: 4 additions & 4 deletions pkgs/tools/networking/httpie/default.nix
Original file line number Diff line number Diff line change
@@ -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;