Skip to content

Commit

Permalink
pythonPackages.mohawk: init at 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
austinbutler authored and Jon committed Sep 21, 2020
1 parent 517c975 commit 8be7347
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/mohawk/default.nix
@@ -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 = [ ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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.

Expand Down

0 comments on commit 8be7347

Please sign in to comment.