1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, flask
5, markupsafe
6, decorator
7, itsdangerous
8, six }:
9
10buildPythonPackage rec {
11 pname = "httpbin";
12 version = "0.5.0";
13 name = "${pname}-${version}";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
18 };
19
20 propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
21
22 meta = with stdenv.lib; {
23 homepage = https://github.com/kennethreitz/httpbin;
24 description = "HTTP Request & Response Service";
25 license = licenses.mit;
26 };
27}