11 pname = "mdbook-epub";
13 in rustPlatform.buildRustPackage {
14 inherit pname version;
16 src = fetchFromGitHub {
17 owner = "michael-f-bryan";
20 hash = "sha256-ddWClkeGabvqteVUtuwy4pWZGnarrKrIbuPEe62m6es=";
23 cargoHash = "sha256-cJS9HgbnLYXkZrAyGNEeu6q+znH+7cj8CUGIbTCbB9Y=";
31 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
36 description = "mdbook backend for generating an e-book in the EPUB format";
37 mainProgram = "mdbook-epub";
38 homepage = "https://michael-f-bryan.github.io/mdbook-epub";
39 license = licenses.mpl20;
40 maintainers = with maintainers; [ yuu matthiasbeyer ];