2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2017-04-27 07:24:07 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
2018-01-20 10:52:36 +00:00
|
|
|
, flask-limiter
|
2017-04-27 07:24:07 +01:00
|
|
|
, markupsafe
|
|
|
|
, decorator
|
|
|
|
, itsdangerous
|
2018-01-20 10:52:36 +00:00
|
|
|
, raven
|
2017-10-25 19:04:35 +01:00
|
|
|
, six
|
2018-01-20 10:52:36 +00:00
|
|
|
, brotlipy
|
2017-10-25 19:04:35 +01:00
|
|
|
}:
|
2017-04-27 07:24:07 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httpbin";
|
2020-06-17 00:15:29 +01:00
|
|
|
version = "0.7.0";
|
2017-04-27 07:24:07 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-17 00:15:29 +01:00
|
|
|
sha256 = "1yldvf3585zcwj4vxvfm4yr9wwlz3pa2mx2pazqz8x8mr687gcyb";
|
2017-04-27 07:24:07 +01:00
|
|
|
};
|
|
|
|
|
2020-06-17 00:15:29 +01:00
|
|
|
propagatedBuildInputs = [ brotlipy flask flask-limiter markupsafe decorator itsdangerous raven six ];
|
2017-04-27 07:24:07 +01:00
|
|
|
|
2017-10-25 19:04:35 +01:00
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kennethreitz/httpbin";
|
2017-04-27 07:24:07 +01:00
|
|
|
description = "HTTP Request & Response Service";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|