pythonPackages.mohawk: init at 1.1.0

gstqt5
Austin Butler 2020-09-20 18:36:59 -07:00 committed by Jon
parent 517c975596
commit 8be7347e2b
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi, python, mock, nose, pytest, six }:
with lib;
buildPythonPackage rec {
pname = "mohawk";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j";
};
propagatedBuildInputs = [ six ];
checkInputs = [ mock nose pytest ];
checkPhase = ''
pytest mohawk/tests.py
'';
meta = {
description = "Python library for Hawk HTTP authorization.";
homepage = "https://github.com/kumar303/mohawk";
license = licenses.mpl20;
maintainers = [ ];
};
}

View File

@ -3708,6 +3708,8 @@ in {
modestmaps = callPackage ../development/python-modules/modestmaps { };
mohawk = callPackage ../development/python-modules/mohawk { };
moinmoin = callPackage ../development/python-modules/moinmoin
{ }; # Needed here because moinmoin is loaded as a Python library.