mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
34 lines
768 B
Nix
34 lines
768 B
Nix
{ 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 ];
|
|
};
|
|
}
|