nixpkgs/pkgs/development/python-modules/sanic-auth/default.nix

25 lines
594 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, sanic, pytestCheckHook }:
buildPythonPackage rec {
pname = "Sanic-Auth";
version = "0.3.0";
2020-08-25 03:07:09 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0dc24ynqjraqwgvyk0g9bj87zgpq4xnssl24hnsn7l5vlkmk8198";
};
2020-08-25 03:07:09 +01:00
propagatedBuildInputs = [ sanic ];
2020-08-25 03:07:09 +01:00
checkInputs = [ pytestCheckHook ];
2020-08-25 03:07:09 +01:00
pythonImportsCheck = [ "sanic_auth" ];
2020-08-25 03:07:09 +01:00
meta = with lib; {
description = "Simple Authentication for Sanic";
homepage = "https://github.com/pyx/sanic-auth/";
license = licenses.bsdOriginal;
maintainers = [ maintainers.arnoldfarkas ];
};
}