about summary refs log tree commit diff
path: root/pkgs/development/python-modules/misaka/default.nix
blob: 11ac651828a541cbd368391a4f1ce34451b43d1d (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
{
  lib,
  fetchPypi,
  buildPythonPackage,
  cffi,
}:
buildPythonPackage rec {
  pname = "misaka";
  version = "2.1.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1mzc29wwyhyardclj1vg2xsfdibg2lzb7f1azjcxi580ama55wv2";
  };

  propagatedNativeBuildInputs = [ cffi ];

  propagatedBuildInputs = [ cffi ];

  # The tests require write access to $out
  doCheck = false;

  meta = with lib; {
    description = "CFFI binding for Hoedown, a markdown parsing library";
    mainProgram = "misaka";
    homepage = "https://misaka.61924.nl";
    license = licenses.mit;
    maintainers = with maintainers; [ fgaz ];
  };
}