summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-markdown-math/default.nix
blob: 508229050afee412ed61d760498ccc010ba85af5 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  markdown,
}:

buildPythonPackage rec {
  pname = "python-markdown-math";
  version = "0.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mitya57";
    repo = "python-markdown-math";
    tag = version;
    hash = "sha256-m/i43lvOehZSazHXhoAZTRSB5BQgn2VFjXADxSKeXfs=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ markdown ];

  meta = {
    description = "Math extension for Python-Markdown";
    homepage = "https://github.com/mitya57/python-markdown-math";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ klntsky ];
  };
}