mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
27 lines
676 B
Nix
27 lines
676 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, itsdangerous, hypothesis
|
|
, pytest, requests }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "Werkzeug";
|
|
version = "0.15.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a13b74dd3c45f758d4ebdb224be8f1ab8ef58b3c0ffc1783a8c7d9f4f50227e6";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|