evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / django-mdeditor / default.nix
bloba495b41c892d08955d3c3583ee529d8290df6f82
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   django,
6 }:
7 let
8   version = "0.1.20";
9 in
10 buildPythonPackage {
11   pname = "django-mdeditor";
12   inherit version;
14   src = fetchFromGitHub {
15     owner = "pylixm";
16     repo = "django-mdeditor";
17     rev = "v${version}";
18     hash = "sha256-t57j1HhjNQtBwlbqe4mAHQ9WiNcIhMKYmrZkiqh+k5k=";
19   };
21   patches = [
22     ./Bump-KaTeX-and-replace-bootcdn-with-jsdelivr.patch
23   ];
25   propagatedBuildInputs = [ django ];
27   # no tests
28   doCheck = false;
29   pythonImportsCheck = [ "mdeditor" ];
31   meta = with lib; {
32     description = "Markdown Editor plugin application for django based on Editor.md";
33     homepage = "https://github.com/pylixm/django-mdeditor";
34     changelog = "https://github.com/pylixm/django-mdeditor/releases";
35     license = licenses.gpl3;
36     maintainers = with maintainers; [ augustebaum ];
37   };