about summary refs log tree commit diff
path: root/pkgs/development/python-modules/werkzeug/default.nix
blob: 78380900416da98f5f3fdaa42c41f3218c94f83e (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.14.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c3fd7a7d41976d9f44db327260e263132466836cef6f91512889ed60ad26557c";
  };

  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;
  };
}