summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/notedown/default.nix
blob: 72666397f044ce48668ce71872da3e36a50855f5 (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
32
33
34
35
36
37
38
39
40
{
  buildPythonPackage,
  fetchPypi,
  lib,
  nbconvert,
  nbformat,
  notebook,
  pandoc-attributes,
  six,
}:

buildPythonPackage rec {
  pname = "notedown";
  version = "1.5.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "36e033ebbbe5aca0fab031ffaf3611d5bc5c50237df68ff81bb95f8be353a1ee";
  };

  propagatedBuildInputs = [
    notebook
    nbconvert
    nbformat
    pandoc-attributes
    six
  ];

  # No tests in pypi source
  doCheck = false;

  meta = {
    homepage = "https://github.com/aaren/notedown";
    description = "Convert IPython Notebooks to markdown (and back)";
    mainProgram = "notedown";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ vcanadi ];
  };
}