1{ lib, buildPythonPackage, fetchPypi, mock, nose, pytest, six }:
2
3with lib;
4buildPythonPackage rec {
5 pname = "mohawk";
6 version = "1.1.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j";
11 };
12
13 propagatedBuildInputs = [ six ];
14
15 checkInputs = [ mock nose pytest ];
16
17 checkPhase = ''
18 pytest mohawk/tests.py
19 '';
20
21 meta = {
22 description = "Python library for Hawk HTTP authorization.";
23 homepage = "https://github.com/kumar303/mohawk";
24 license = licenses.mpl20;
25 maintainers = [ ];
26 };
27}