depot/third_party/nixpkgs/pkgs/development/python-modules/sanic-auth/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

26 lines
588 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest, sanic }:
buildPythonPackage rec {
pname = "Sanic-Auth";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "b7cb9e93296c035ada0aa1ebfb33f9f7b62f7774c519e374b7fe703ff73589cb";
};
propagatedBuildInputs = [ sanic ];
checkInputs = [ pytest ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "Simple Authentication for Sanic";
homepage = "https://github.com/pyx/sanic-auth/";
license = licenses.bsdOriginal;
maintainers = [ maintainers.arnoldfarkas ];
};
}