mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +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.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;
|
|
};
|
|
}
|