Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 581 B view raw
1{ lib, buildPythonPackage, fetchPypi, mock, nose, pytest, six }: 2 3buildPythonPackage rec { 4 pname = "mohawk"; 5 version = "1.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"; 10 }; 11 12 propagatedBuildInputs = [ six ]; 13 14 nativeCheckInputs = [ mock nose pytest ]; 15 16 checkPhase = '' 17 pytest mohawk/tests.py 18 ''; 19 20 meta = { 21 description = "Python library for Hawk HTTP authorization."; 22 homepage = "https://github.com/kumar303/mohawk"; 23 license = lib.licenses.mpl20; 24 maintainers = [ ]; 25 }; 26}