about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sanic-auth/default.nix
blob: 38d73d461c2dc5e4a03f8115075bbcfd06c79d34 (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, sanic-testing, pytestCheckHook }:

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

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

  propagatedBuildInputs = [ sanic ];

  checkInputs = [ pytestCheckHook sanic-testing ];

  pythonImportsCheck = [ "sanic_auth" ];

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