nixpkgs/pkgs/development/python-modules/werkzeug/default.nix

27 lines
675 B
Nix
Raw Normal View History

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