40 lines
800 B
Nix
40 lines
800 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
django,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-unfold";
|
|
version = "0.39.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "unfoldadmin";
|
|
repo = "django-unfold";
|
|
rev = version;
|
|
hash = "sha256-CmmlTx2eLcANc6ANy25ii1KVebkmUEJmDCe+/RwakAg=";
|
|
};
|
|
|
|
build-system = [
|
|
poetry-core
|
|
];
|
|
|
|
dependencies = [
|
|
django
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"unfold"
|
|
];
|
|
|
|
meta = {
|
|
description = "Modern Django admin theme for seamless interface development";
|
|
homepage = "https://github.com/unfoldadmin/django-unfold";
|
|
changelog = "https://github.com/unfoldadmin/django-unfold/blob/${src.rev}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ];
|
|
};
|
|
}
|