<commit_before>{ lib, fetchurl, pythonPackages, libreoffice }:

pythonPackages.buildPythonApplication rec {

  pname = "odpdown";
  version = "0.4.1";

  src = fetchurl {
    url = "https://github.com/thorstenb/odpdown/archive/v${version}.tar.gz";
    sha256 = "005eecc73c65b9d4c09532547940718a7b308cd565f62a213dfa040827d4d565";
  };

  propagatedBuildInputs = with pythonPackages; [ libreoffice lpod lxml mistune pillow pygments ];

  checkInputs = with pythonPackages; [
    nose
  ];

  meta = with lib; {
    homepage = "https://github.com/thorstenb/odpdown";
    repositories.git = "https://github.com/thorstenb/odpdown.git";
    description = "Create nice-looking slides from your favourite text editor";
    longDescription = ''
      Have a tool like pandoc, latex beamer etc, that you can write (or
      auto-generate) input for within your favourite hacker's editor, and
      generate nice-looking slides from. Using your corporation's mandatory,<commit_msg>odpdown: switch to fetchFromGitHub<commit_after>{ lib, fetchFromGitHub, pythonPackages, libreoffice }:

pythonPackages.buildPythonApplication rec {

  pname = "odpdown";
  version = "0.4.1";

  src = fetchFromGitHub {
    owner = "thorstenb";
    repo = "odpdown";
    rev = "v${version}";
    sha256 = "r2qbgD9PAalbypt+vjp2YcYggUGPQMEG2FDxMtohqG4=";
  };

  propagatedBuildInputs = with pythonPackages; [ libreoffice lpod lxml mistune pillow pygments ];

  checkInputs = with pythonPackages; [
    nose
  ];

  meta = with lib; {
    homepage = "https://github.com/thorstenb/odpdown";
    repositories.git = "https://github.com/thorstenb/odpdown.git";
    description = "Create nice-looking slides from your favourite text editor";
    longDescription = ''
      Have a tool like pandoc, latex beamer etc, that you can write (or
      auto-generate) input for within your favourite hacker's editor, and
      generate nice-looking slides from. Using your corporation's mandatory,
{'fraction_non_alphanumeric': 0.10307692307692308, 'fraction_numerical': 0.031794871794871796, 'mean_word_length': 3.9143576826196473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4927913', 'n_tokens_mistral': 680, 'n_tokens_neox': 620, 'n_words': 160}