170c3b4027
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
24 lines
623 B
Nix
24 lines
623 B
Nix
{ 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 ];
|
|
};
|
|
}
|