Merge pull request #276162 from augustebaum/init-django-mdeditor

django-mdeditor: init at 0.1.20
This commit is contained in:
Jonas Heinrich 2023-12-25 16:16:47 +01:00 committed by GitHub
commit d56e0c6920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, django
}:
let
version = "0.1.20";
in
buildPythonPackage {
pname = "django-mdeditor";
inherit version;
src = fetchFromGitHub {
owner = "pylixm";
repo = "django-mdeditor";
rev = "v${version}";
hash = "sha256-t57j1HhjNQtBwlbqe4mAHQ9WiNcIhMKYmrZkiqh+k5k=";
};
propagatedBuildInputs = [ django ];
# no tests
doCheck = false;
pythonImportsCheck = [ "mdeditor" ];
meta = with lib; {
description = "Markdown Editor plugin application for django based on Editor.md";
homepage = "https://github.com/pylixm/django-mdeditor";
changelog = "https://github.com/pylixm/django-mdeditor/releases";
license = licenses.gpl3;
maintainers = with maintainers; [ augustebaum ];
};
}

View File

@ -3093,6 +3093,8 @@ self: super: with self; {
django-maintenance-mode = callPackage ../development/python-modules/django-maintenance-mode { };
django-mdeditor = callPackage ../development/python-modules/django-mdeditor { };
django-mptt = callPackage ../development/python-modules/django-mptt { };
django-mysql = callPackage ../development/python-modules/django-mysql { };