nixpkgs/pkgs/development/python-modules/httpbin/default.nix

34 lines
627 B
Nix
Raw Normal View History

{ 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;
meta = with lib; {
homepage = "https://github.com/kennethreitz/httpbin";
2017-04-27 07:24:07 +01:00
description = "HTTP Request & Response Service";
license = licenses.mit;
};
}