2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, pythonPackages, libreoffice }:
|
2016-01-20 23:15:25 +00:00
|
|
|
|
2016-09-26 09:09:25 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2016-01-20 23:15:25 +00:00
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "odpdown";
|
2016-01-20 23:15:25 +00:00
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/thorstenb/odpdown/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "005eecc73c65b9d4c09532547940718a7b308cd565f62a213dfa040827d4d565";
|
|
|
|
};
|
|
|
|
|
2016-09-26 09:09:25 +00:00
|
|
|
propagatedBuildInputs = with pythonPackages; [ libreoffice lpod lxml mistune pillow pygments ];
|
2016-01-20 23:15:25 +00:00
|
|
|
|
2017-12-21 11:12:45 +00:00
|
|
|
checkInputs = with pythonPackages; [
|
|
|
|
nose
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/thorstenb/odpdown";
|
|
|
|
repositories.git = "https://github.com/thorstenb/odpdown.git";
|
2016-01-20 23:15:25 +00:00
|
|
|
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,
|
|
|
|
CI-compliant and lovely-artsy Impress template. Including
|
|
|
|
syntax-highlighted code snippets of your latest hack, auto-fitted into the
|
|
|
|
slides.
|
|
|
|
'';
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
maintainers = with maintainers; [ vandenoever ];
|
|
|
|
};
|
|
|
|
}
|