about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sanic-auth/default.nix
blob: c78b6f13d152479e2fd746ce9a9f02ae33e8023e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, sanic, pytestCheckHook }:

buildPythonPackage rec {
  pname = "Sanic-Auth";
  version = "0.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0dc24ynqjraqwgvyk0g9bj87zgpq4xnssl24hnsn7l5vlkmk8198";
  };

  propagatedBuildInputs = [ sanic ];

  checkInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "sanic_auth" ];

  meta = with lib; {
    description = "Simple Authentication for Sanic";
    homepage = "https://github.com/pyx/sanic-auth/";
    license = licenses.bsdOriginal;
    maintainers = [ maintainers.arnoldfarkas ];
  };
}