9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
38 lines
790 B
Nix
38 lines
790 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, django
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-admin-datta";
|
|
version = "1.0.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Onk9T+QKsl8y68eJ2ikrUEeMc9ljzzvSw7cjjP4D3sE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
django
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportCheck = [
|
|
"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 ];
|
|
};
|
|
}
|