2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, mock, nose, pytest, six }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mohawk";
|
|
|
|
version = "1.1.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ mock nose pytest ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest mohawk/tests.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python library for Hawk HTTP authorization.";
|
|
|
|
homepage = "https://github.com/kumar303/mohawk";
|
2023-02-02 18:25:31 +00:00
|
|
|
license = lib.licenses.mpl20;
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|