python.pkgs.httpbin: fix expression
This commit is contained in:
parent
5e4e65f92d
commit
b3eea7ab9c
@ -1,24 +1,38 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, flask
|
, flask
|
||||||
|
, flask-common
|
||||||
|
, flask-limiter
|
||||||
, markupsafe
|
, markupsafe
|
||||||
, decorator
|
, decorator
|
||||||
, itsdangerous
|
, itsdangerous
|
||||||
|
, raven
|
||||||
, six
|
, six
|
||||||
|
, brotlipy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "httpbin";
|
pname = "httpbin";
|
||||||
version = "0.6.2";
|
version = "0.6.2";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0afa0486a76305cac441b5cc80d5d4ccd82b20875da7c5119ecfe616cefef45f";
|
sha256 = "0afa0486a76305cac441b5cc80d5d4ccd82b20875da7c5119ecfe616cefef45f";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
|
patches = [
|
||||||
|
# https://github.com/kennethreitz/httpbin/issues/403
|
||||||
|
# https://github.com/kennethreitz/flask-common/issues/7
|
||||||
|
# https://github.com/evansd/whitenoise/issues/166
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/javabrett/httpbin/commit/5735c888e1e51b369fcec41b91670a90535e661e.patch";
|
||||||
|
sha256 = "167h8mscdjagml33dyqk8nziiz3dqbggnkl6agsirk5270nl5f7q";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ brotlipy flask flask-common flask-limiter markupsafe decorator itsdangerous raven six ];
|
||||||
|
|
||||||
# No tests
|
# No tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user