mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #275915 from DerDennisOP/django-markdownx
python3Packages.django-markdownx: init at 4.0.7
This commit is contained in:
commit
db1b6cc5d6
2 changed files with 51 additions and 0 deletions
49
pkgs/development/python-modules/django-markdownx/default.nix
Normal file
49
pkgs/development/python-modules/django-markdownx/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, django
|
||||||
|
, fetchFromGitHub
|
||||||
|
, markdown
|
||||||
|
, pillow
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-markdownx";
|
||||||
|
version = "4.0.7";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "neutronX";
|
||||||
|
repo = "django-markdownx";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-FZPUlogVd3FMGeH1vfKHA3tXVps0ET+UCQJflpiV2lE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
markdown
|
||||||
|
pillow
|
||||||
|
];
|
||||||
|
|
||||||
|
# tests only executeable in vagrant
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"markdownx"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Comprehensive Markdown plugin built for Django";
|
||||||
|
homepage = "https://github.com/neutronX/django-markdownx/";
|
||||||
|
changelog = "https://github.com/neutronX/django-markdownx/releases/tag/v${version}";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ derdennisop ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3083,6 +3083,8 @@ self: super: with self; {
|
||||||
|
|
||||||
django-markup = callPackage ../development/python-modules/django-markup { };
|
django-markup = callPackage ../development/python-modules/django-markup { };
|
||||||
|
|
||||||
|
django-markdownx = callPackage ../development/python-modules/django-markdownx { };
|
||||||
|
|
||||||
django-model-utils = callPackage ../development/python-modules/django-model-utils { };
|
django-model-utils = callPackage ../development/python-modules/django-model-utils { };
|
||||||
|
|
||||||
django-modelcluster = callPackage ../development/python-modules/django-modelcluster { };
|
django-modelcluster = callPackage ../development/python-modules/django-modelcluster { };
|
||||||
|
|
Loading…
Reference in a new issue