mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +00:00
32 lines
615 B
Nix
32 lines
615 B
Nix
{ 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;
|
|
};
|
|
}
|