From b17969fe5a4bb1974b5ea643722d0faa49fc1863 Mon Sep 17 00:00:00 2001 From: nix-julia Date: Mon, 12 Feb 2024 17:38:39 +0330 Subject: [PATCH] mdbook-pdf-outline: init at 0.1.4 --- .../by-name/md/mdbook-pdf-outline/package.nix | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/md/mdbook-pdf-outline/package.nix diff --git a/pkgs/by-name/md/mdbook-pdf-outline/package.nix b/pkgs/by-name/md/mdbook-pdf-outline/package.nix new file mode 100644 index 000000000000..fb46d6954aca --- /dev/null +++ b/pkgs/by-name/md/mdbook-pdf-outline/package.nix @@ -0,0 +1,31 @@ +{ lib +, python3Packages +, fetchPypi +}: + +python3Packages.buildPythonApplication rec { + pname = "mdbook-pdf-outline"; + version = "0.1.4"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-STi+54iT+5+Xi0IzGXv2dxVS91+T6fjg3xmbJjekpPE="; + }; + + nativeBuildInputs = [ + python3Packages.setuptools + ]; + + propagatedBuildInputs = [ + python3Packages.lxml + python3Packages.pypdf + ]; + + meta = with lib; { + homepage = "https://github.com/HollowMan6/mdbook-pdf"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ nix-julia ]; + + }; +}