depot/third_party/nixpkgs/pkgs/development/python-modules/django-jinja2/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

28 lines
1,015 B
Nix

{ lib, buildPythonPackage, fetchPypi,
django, jinja2, pytz, tox
}:
buildPythonPackage rec {
pname = "django-jinja";
version = "2.10.0";
meta = {
description = "Simple and nonobstructive jinja2 integration with Django";
homepage = "https://github.com/niwinz/django-jinja";
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "ae6a3fdf1ffa7a9ef6fd2f0a59c1a68c96b29f7f00f5166375658ef392f1ed32";
};
buildInputs = [ django pytz tox ];
propagatedBuildInputs = [ django jinja2 ];
# python installed: The directory '/homeless-shelter/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.,appdirs==1.4.3,Django==1.11.1,django-jinja==2.2.2,Jinja2==2.9.6,MarkupSafe==1.0,packaging==16.8,pyparsing==2.2.0,pytz==2017.2,six==1.10.0
doCheck = false;
checkPhase = ''
tox
'';
}