c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
31 lines
596 B
Nix
31 lines
596 B
Nix
{ 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 ];
|
|
|
|
};
|
|
}
|