2017-09-05 11:16:41 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-12-30 12:28:33 +01:00
|
|
|
, itsdangerous, hypothesis
|
2019-06-16 21:59:06 +02:00
|
|
|
, pytest, requests }:
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Werkzeug";
|
2019-05-30 08:49:53 +02:00
|
|
|
version = "0.15.4";
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 08:49:53 +02:00
|
|
|
sha256 = "a0b915f0815982fb2a09161cb8f31708052d0951c3ba433ccc5e1aa276507ca6";
|
2017-09-05 11:16:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ itsdangerous ];
|
2019-03-23 17:08:01 +01:00
|
|
|
checkInputs = [ pytest requests hypothesis ];
|
2017-12-30 12:28:33 +01:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-03-23 17:08:01 +01:00
|
|
|
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
|
2017-12-30 12:28:33 +01:00
|
|
|
'';
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-05-25 03:07:00 +02:00
|
|
|
homepage = "https://palletsprojects.com/p/werkzeug/";
|
2017-09-05 11:16:41 +02:00
|
|
|
description = "A WSGI utility library for Python";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|