pythonPackages.httpbin: 0.2.0 -> 0.5.0

This commit is contained in:
Jörg Thalheim 2017-04-27 08:24:07 +02:00
parent dbed116989
commit e66c9221d6
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 28 additions and 17 deletions

View File

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, markupsafe
, decorator
, itsdangerous
, six }:
buildPythonPackage rec {
pname = "httpbin";
version = "0.5.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
};
propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
meta = with stdenv.lib; {
homepage = https://github.com/kennethreitz/httpbin;
description = "HTTP Request & Response Service";
license = licenses.mit;
};
}

View File

@ -12721,23 +12721,7 @@ in {
};
});
httpbin = buildPythonPackage rec {
name = "httpbin-0.2.0";
src = pkgs.fetchurl {
url = "mirror://pypi/h/httpbin/${name}.tar.gz";
sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
};
propagatedBuildInputs = with self; [ flask markupsafe decorator itsdangerous six ];
meta = {
homepage = https://github.com/kennethreitz/httpbin;
description = "HTTP Request & Response Service";
license = licenses.mit;
};
};
httpbin = callPackage ../development/python-modules/httpbin { };
httplib2 = buildPythonPackage rec {
name = "httplib2-0.9.2";