depot/third_party/nixpkgs/pkgs/development/python-modules/httpbin/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

34 lines
648 B
Nix

{ lib, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, 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;
};
}