biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / social-auth-app-django / default.nix
bloba366853ded7ac5ce7967ea305bd74e0b20eeac82
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   social-auth-core,
6   django,
7   python,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "social-auth-app-django";
13   version = "5.4.2";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "python-social-auth";
20     repo = "social-app-django";
21     rev = "refs/tags/${version}";
22     hash = "sha256-W9boogixZ7X6qysfh2YEat+TOBy1VNreGr27y8hno+0=";
23   };
25   propagatedBuildInputs = [ social-auth-core ];
27   pythonImportsCheck = [ "social_django" ];
29   nativeCheckInputs = [ django ];
31   checkPhase = ''
32     ${python.interpreter} -m django test --settings="tests.settings"
33   '';
35   meta = with lib; {
36     description = "Module for social authentication/registration mechanism";
37     homepage = "https://github.com/python-social-auth/social-app-django";
38     changelog = "https://github.com/python-social-auth/social-app-django/blob/${version}/CHANGELOG.md";
39     license = licenses.bsd3;
40     maintainers = with maintainers; [ n0emis ];
41   };