nixpkgs/pkgs/development/python-modules/httpbin/default.nix
2021-01-25 18:31:47 +01:00

35 lines
640 B
Nix

{ lib
, 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;
};
}