Merge pull request #276162 from augustebaum/init-django-mdeditor
django-mdeditor: init at 0.1.20
This commit is contained in:
commit
d56e0c6920
2 changed files with 35 additions and 0 deletions
33
pkgs/development/python-modules/django-mdeditor/default.nix
Normal file
33
pkgs/development/python-modules/django-mdeditor/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue