depot/third_party/nixpkgs/pkgs/development/python-modules/django-allauth/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

45 lines
948 B
Nix

{ lib
, buildPythonPackage
, django
, fetchFromGitHub
, python3-openid
, pythonOlder
, requests
, requests-oauthlib
}:
buildPythonPackage rec {
pname = "django-allauth";
version = "0.47.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pennersr";
repo = pname;
rev = version;
hash = "sha256-wKrsute6TCl331UrxNEBf/zTtGnyGHsOZQwdiicbg2o=";
};
propagatedBuildInputs = [
requests
requests-oauthlib
django
python3-openid
];
# Tests requires a Django instance
doCheck = false;
pythonImportsCheck = [
"allauth"
];
meta = with lib; {
description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication";
homepage = "https://www.intenct.nl/projects/django-allauth";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}