1{ lib, stdenv, buildPythonPackage, fetchPypi
2, itsdangerous, hypothesis
3, pytestCheckHook, requests
4, pytest-timeout
5, isPy3k
6 }:
7
8buildPythonPackage rec {
9 pname = "Werkzeug";
10 version = "1.0.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c";
15 };
16
17 propagatedBuildInputs = [ itsdangerous ];
18 checkInputs = [ pytestCheckHook requests hypothesis pytest-timeout ];
19
20 disabledTests = lib.optionals stdenv.isDarwin [
21 "test_get_machine_id"
22 ];
23
24 meta = with lib; {
25 homepage = "https://palletsprojects.com/p/werkzeug/";
26 description = "A WSGI utility library for Python";
27 license = licenses.bsd3;
28 maintainers = [ ];
29 };
30}