about summary refs log tree commit diff
path: root/pkgs/development/python-modules/httpbin/default.nix
blob: 2f24a1ab72bd2ab4548906129a67f69c6d549d9f (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
28
29
30
31
{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, markupsafe
, decorator
, itsdangerous
, six
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "0afa0486a76305cac441b5cc80d5d4ccd82b20875da7c5119ecfe616cefef45f";
  };

  propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];

  # No tests
  doCheck = false;

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