2017-04-27 08:24:07 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, markupsafe
|
|
|
|
, decorator
|
|
|
|
, itsdangerous
|
2017-10-25 20:04:35 +02:00
|
|
|
, six
|
|
|
|
}:
|
2017-04-27 08:24:07 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httpbin";
|
|
|
|
version = "0.5.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
|
|
|
|
|
2017-10-25 20:04:35 +02:00
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-04-27 08:24:07 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/kennethreitz/httpbin;
|
|
|
|
description = "HTTP Request & Response Service";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|