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

35 lines
640 B
Nix
Raw Normal View History

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