2017-09-05 02:16:41 -07:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-12-30 03:28:33 -08:00
|
|
|
, itsdangerous, hypothesis
|
2017-09-05 02:16:41 -07:00
|
|
|
, pytest, requests, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Werkzeug";
|
2019-03-23 09:08:01 -07:00
|
|
|
version = "0.15.1";
|
2017-09-05 02:16:41 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-03-23 09:08:01 -07:00
|
|
|
sha256 = "ca5c2dcd367d6c0df87185b9082929d255358f5391923269335782b213d52655";
|
2017-09-05 02:16:41 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ itsdangerous ];
|
2019-03-23 09:08:01 -07:00
|
|
|
checkInputs = [ pytest requests hypothesis ];
|
2017-12-30 03:28:33 -08:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-03-23 09:08:01 -07:00
|
|
|
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
|
2017-12-30 03:28:33 -08:00
|
|
|
'';
|
2017-09-05 02:16:41 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://werkzeug.pocoo.org/;
|
|
|
|
description = "A WSGI utility library for Python";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|