2024-06-05 15:53:02 +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 ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
mock
|
|
|
|
nose
|
|
|
|
pytest
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest mohawk/tests.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python library for Hawk HTTP authorization";
|
2020-09-25 04:45:31 +00:00
|
|
|
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 = [ ];
|
|
|
|
};
|
|
|
|
}
|