mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
34 lines
627 B
Nix
34 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;
|
|
};
|
|
}
|