5 python3.pkgs.buildPythonApplication rec {
6 pname = "markdown-anki-decks";
10 src = python3.pkgs.fetchPypi {
11 inherit pname version;
12 hash = "sha256-SvKjjE629OwxWsPo2egGf2K6GzlWAYYStarHhA4Ex0w=";
15 nativeBuildInputs = with python3.pkgs; [
19 propagatedBuildInputs = with python3.pkgs; [
25 ] ++ typer.optional-dependencies.all;
28 substituteInPlace pyproject.toml \
29 --replace 'typer = "^0.4.0"' 'typer = "*"'
32 # No tests available on Pypi and there is only a failing version assertion test in the repo.
35 pythonImportsCheck = [
40 description = "Tool to convert Markdown files into Anki Decks";
41 homepage = "https://github.com/lukesmurray/markdown-anki-decks";
42 license = licenses.mit;
43 maintainers = with maintainers; [ jtojnar ];
44 platforms = platforms.unix;