depot/third_party/nixpkgs/pkgs/development/python-modules/httpbin/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

33 lines
627 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flask
, flask-limiter
, markupsafe
, decorator
, itsdangerous
, raven
, six
, brotlipy
}:
buildPythonPackage rec {
pname = "httpbin";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "1yldvf3585zcwj4vxvfm4yr9wwlz3pa2mx2pazqz8x8mr687gcyb";
};
propagatedBuildInputs = [ brotlipy flask flask-limiter markupsafe decorator itsdangerous raven six ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://github.com/kennethreitz/httpbin";
description = "HTTP Request & Response Service";
license = licenses.mit;
};
}