fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
35 lines
787 B
Nix
35 lines
787 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
django,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-admin-datta";
|
|
version = "1.0.10";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-VV7mb3501aZVuXUqzVqQYUttvkYa4pAECYWn7HksOmI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "admin_datta" ];
|
|
|
|
meta = with lib; {
|
|
description = "Modern template for Django that covers Admin Section";
|
|
homepage = "https://appseed.us/product/datta-able/django";
|
|
changelog = "https://github.com/app-generator/django-admin-datta/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ derdennisop ];
|
|
};
|
|
}
|