forked from mirrors/nixpkgs
a7f002ac41
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
23 lines
627 B
Nix
23 lines
627 B
Nix
{ stdenv, fetchurl, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "httpie";
|
|
version = "1.0.3";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "103fcigpxf4nqmrdqjnyz7d9n4n16906slwmmqqc0gkxv8hnw6vd";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [ pygments requests setuptools ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "A command line HTTP client whose goal is to make CLI human-friendly";
|
|
homepage = https://httpie.org/;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
maintainers = with stdenv.lib.maintainers; [ antono relrod schneefux ];
|
|
};
|
|
}
|