depot/third_party/nixpkgs/pkgs/development/python-modules/django-admin-datta/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

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 ];
};
}