nixpkgs/pkgs/tools/networking/httpie/default.nix
Frederik Rietdijk ef4442e827 Python: replace requests2 with requests tree-wide
See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
2017-05-07 12:56:09 +02:00

23 lines
622 B
Nix

{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "httpie-0.9.9";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/h/httpie/${name}.tar.gz";
sha256 = "1jsgfkyzzizgfy1b0aicb4cp34d5pwskz9c4a8kf4rq3lrpjw87i";
};
propagatedBuildInputs = with pythonPackages; [ pygments requests ];
doCheck = false;
meta = {
description = "A command line HTTP client whose goal is to make CLI human-friendly";
homepage = http://httpie.org/;
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ antono relrod schneefux ];
};
}