nixpkgs/pkgs/tools/networking/httpie/default.nix
Frederik Rietdijk d5e6a4494a Python: use PyPI mirror (#15001)
* mirrors: add pypi

* Python: Use pypi mirror for all PyPI packages
2016-04-26 13:38:03 +01:00

23 lines
620 B
Nix

{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "httpie-0.9.2";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/h/httpie/${name}.tar.gz";
sha256 = "0s0dsj1iimn17h0xyziwk4kz4ga9s0vy9rhzixh8dna32za84fdg";
};
propagatedBuildInputs = with pythonPackages; [ pygments requests2 curses ];
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 ];
};
}