summary refs log tree commit diff
path: root/pkgs/development/python-modules/httpbin/default.nix
blob: 72917fdd771b42551fc062ae9f1b6900854848c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, markupsafe
, decorator
, itsdangerous
, six }:

buildPythonPackage rec {
  pname = "httpbin";
  version = "0.5.0";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
  };

  propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];

  meta = with stdenv.lib; {
    homepage = https://github.com/kennethreitz/httpbin;
    description = "HTTP Request & Response Service";
    license = licenses.mit;
  };
}