nixpkgs-suyu/pkgs/development/python-modules/httpbin/default.nix

32 lines
615 B
Nix
Raw Normal View History

2017-04-27 08:24:07 +02:00
{ stdenv
, buildPythonPackage
, fetchPypi
, flask
, markupsafe
, decorator
, itsdangerous
2017-10-25 20:04:35 +02:00
, six
}:
2017-04-27 08:24:07 +02:00
buildPythonPackage rec {
pname = "httpbin";
2017-12-30 12:23:32 +01:00
version = "0.6.2";
2017-04-27 08:24:07 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-12-30 12:23:32 +01:00
sha256 = "0afa0486a76305cac441b5cc80d5d4ccd82b20875da7c5119ecfe616cefef45f";
2017-04-27 08:24:07 +02:00
};
propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
2017-10-25 20:04:35 +02:00
# No tests
doCheck = false;
2017-04-27 08:24:07 +02:00
meta = with stdenv.lib; {
homepage = https://github.com/kennethreitz/httpbin;
description = "HTTP Request & Response Service";
license = licenses.mit;
};
}