1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/python-modules/werkzeug/default.nix

28 lines
664 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
2017-12-30 11:28:33 +00:00
, itsdangerous, hypothesis
, pytest, requests, glibcLocales }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Werkzeug";
2017-12-30 11:28:33 +00:00
version = "0.13";
src = fetchPypi {
inherit pname version;
2017-12-30 11:28:33 +00:00
sha256 = "6246e5fc98a505824113fb6aca993d45ea284a2bcffdc2c65d0c538e53e4abd3";
};
propagatedBuildInputs = [ itsdangerous ];
2017-12-30 11:28:33 +00:00
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;
};
}