12 buildPythonPackage rec {
13 pname = "wagtail-modeladmin";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
21 owner = "wagtail-nest";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-IG7e7YomMM7K2IlJ1Dr1zo+blDPHnu/JeS5csos8ncc=";
26 nativeBuildInputs = [ flit-core ];
28 propagatedBuildInputs = [ wagtail ];
30 nativeCheckInputs = [ dj-database-url ];
32 pythonImportsCheck = [ "wagtail_modeladmin" ];
36 ${python.interpreter} testmanage.py test
41 description = "Add any model in your project to the Wagtail admin. Formerly wagtail.contrib.modeladmin";
42 homepage = "https://github.com/wagtail-nest/wagtail-modeladmin";
43 changelog = "https://github.com/wagtail/wagtail-modeladmin/blob/v${version}/CHANGELOG.md";
44 license = licenses.bsd3;
45 maintainers = with maintainers; [ sephi ];