2017-09-05 02:16:41 -07:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-12-30 03:28:33 -08:00
|
|
|
, itsdangerous, hypothesis
|
2020-07-31 01:50:08 -07:00
|
|
|
, pytestCheckHook, requests
|
2020-02-06 07:03:25 -08:00
|
|
|
, pytest-timeout
|
2020-07-31 01:50:08 -07:00
|
|
|
, isPy3k
|
2020-02-06 07:03:25 -08:00
|
|
|
}:
|
2017-09-05 02:16:41 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Werkzeug";
|
2020-06-05 23:47:37 -07:00
|
|
|
version = "1.0.1";
|
2017-09-05 02:16:41 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 23:47:37 -07:00
|
|
|
sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c";
|
2017-09-05 02:16:41 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ itsdangerous ];
|
2020-07-31 01:50:08 -07:00
|
|
|
checkInputs = [ pytestCheckHook requests hypothesis pytest-timeout ];
|
2017-12-30 03:28:33 -08:00
|
|
|
|
2020-07-31 01:50:08 -07:00
|
|
|
disabledTests = stdenv.lib.optionals stdenv.isDarwin [
|
|
|
|
"test_get_machine_id"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Python 2 pytest fails with INTERNALERROR due to a deprecation warning.
|
|
|
|
doCheck = isPy3k;
|
2017-09-05 02:16:41 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-05-24 18:07:00 -07:00
|
|
|
homepage = "https://palletsprojects.com/p/werkzeug/";
|
2017-09-05 02:16:41 -07:00
|
|
|
description = "A WSGI utility library for Python";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|