about summary refs log tree commit diff
path: root/pkgs/development/python-modules/werkzeug/default.nix
blob: 254897be78b84c71288ca331ea36e712e50eeb75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, buildPythonPackage, fetchPypi
, itsdangerous, hypothesis
, pytest, requests, glibcLocales }:

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "Werkzeug";
  version = "0.13";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6246e5fc98a505824113fb6aca993d45ea284a2bcffdc2c65d0c538e53e4abd3";
  };

  propagatedBuildInputs = [ itsdangerous ];
  checkInputs = [ pytest requests glibcLocales hypothesis ];

  checkPhase = ''
    LC_ALL="en_US.UTF-8" py.test
  '';

  meta = with stdenv.lib; {
    homepage = http://werkzeug.pocoo.org/;
    description = "A WSGI utility library for Python";
    license = licenses.bsd3;
  };
}