nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 34 lines 820 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, social-auth-core, django, python }: 2 3buildPythonPackage rec { 4 pname = "social-auth-app-django"; 5 version = "5.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "python-social-auth"; 9 repo = "social-app-django"; 10 rev = version; 11 sha256 = "sha256-ONhdXxclHRpVtijpKEZlmGDhjid/jnTaPq6LQtjxCC4="; 12 }; 13 14 propagatedBuildInputs = [ 15 social-auth-core 16 ]; 17 18 pythonImportsCheck = [ "social_django" ]; 19 20 checkInputs = [ 21 django 22 ]; 23 24 checkPhase = '' 25 ${python.interpreter} -m django test --settings="tests.settings" 26 ''; 27 28 meta = with lib; { 29 homepage = "https://github.com/python-social-auth/social-app-django"; 30 description = "Python Social Auth - Application - Django"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ n0emis ]; 33 }; 34}