about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/markdown-include/default.nix
blob: 96c4599d8252dd99124964c76c16632ff042c1ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ lib
, buildPythonPackage
, fetchFromGitHub
, markdown
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "markdown-include";
  version = "0.8.1";
  format = "setuptools";

  # only wheel on pypi
  src = fetchFromGitHub {
    owner = "cmacmackin";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-1MEk0U00a5cpVhqnDZkwBIk4NYgsRXTVsI/ANNQ/OH0=";
  };

  nativeBuildInputs = [
    setuptools-scm
  ];

  propagatedBuildInputs = [
    markdown
  ];

  pythonImportsCheck = [
    "markdown_include"
  ];

  doCheck = false; # no tests

  meta = with lib; {
    description = "Extension to Python-Markdown which provides an include function";
    homepage = "https://github.com/cmacmackin/markdown-include";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ];
  };
}