depot/third_party/nixpkgs/pkgs/development/python-modules/sanic-auth/default.nix
Default email 2969ca571a Project import generated by Copybara.
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
2021-01-09 11:05:03 +01:00

24 lines
594 B
Nix

{ 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 ];
};
}