mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
43 lines
989 B
Nix
43 lines
989 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
django,
|
|
}:
|
|
let
|
|
version = "0.1.20";
|
|
in
|
|
buildPythonPackage {
|
|
pname = "django-mdeditor";
|
|
inherit version;
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pylixm";
|
|
repo = "django-mdeditor";
|
|
rev = "v${version}";
|
|
hash = "sha256-t57j1HhjNQtBwlbqe4mAHQ9WiNcIhMKYmrZkiqh+k5k=";
|
|
};
|
|
|
|
patches = [
|
|
./Bump-KaTeX-and-replace-bootcdn-with-jsdelivr.patch
|
|
];
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "mdeditor" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ augustebaum ];
|
|
knownVulnerabilities = [
|
|
# https://nvd.nist.gov/vuln/detail/CVE-2025-13030
|
|
"CVE-2025-13030"
|
|
];
|
|
};
|
|
}
|