mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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 ];
|
|
|
|
};
|
|
}
|