3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/werkzeug/default.nix
2019-10-18 09:54:02 +02:00

27 lines
676 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, itsdangerous, hypothesis
, pytest, requests }:
buildPythonPackage rec {
pname = "Werkzeug";
version = "0.15.6";
src = fetchPypi {
inherit pname version;
sha256 = "0a24d43be6a7dce81bae05292356176d6c46d63e42a0dd3f9504b210a9cfaa43";
};
propagatedBuildInputs = [ itsdangerous ];
checkInputs = [ pytest requests hypothesis ];
checkPhase = ''
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
'';
meta = with stdenv.lib; {
homepage = "https://palletsprojects.com/p/werkzeug/";
description = "A WSGI utility library for Python";
license = licenses.bsd3;
};
}