Commit graph

14 commits

Author SHA1 Message Date
sternenseemann 95726968d9 pythonPackages.pypandoc: 1.5.0 -> 1.6.3
* Changed upstream

* Test suite now works with latest pandoc

* pandoc --citeproc support

* Also substitute version in static-pandoc-path.patch
2021-07-09 14:25:46 -07:00
sternenseemann 27077f1149 python3Packages.pypandoc: vendor patches, test w/o pandoc-citeproc
* Translate all seds in postPatch into patches (for setting the static
  path and skipping the test that needs network access)
* The patch for the changed pandoc heading generation was simplified:
  Since we know our pandoc version is always that new, we can skip the
  version check.
* Skip the test for pandoc-citeproc: pandoc-citeproc has been deprecated
  in favor of pandoc --citeproc by the upstream pandoc developer.
  pypandoc's testsuite doesn't reflect this yet (although it should
  support --citeproc theoretically) to avoid depending on
  pandoc-citeproc for the checkPhase (as we expect it to break again or
  continue to be broken) we skip the test requiring pandoc-citeproc.

The breakage of pypandoc due to pandoc-citeproc was pointed out here:
https://github.com/NixOS/nixpkgs/pull/116635#issuecomment-809258707
Thank you!
2021-04-09 14:36:01 +02:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
sternenseemann c0fa30bbcf pythonPackages.pypandoc: fix tests for pandoc >= 2.11.2
A change in the Markdown output of pandoc breaks the unicode input test
of pypandoc.

See also https://github.com/bebraw/pypandoc/pull/204
2020-11-26 10:10:15 -08:00
sternenseemann 0648fed704 pythonPackages.pypandoc: 2018-06-18 -> 1.5 2020-04-13 09:50:54 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benno Fünfstück 85fbe4b318 pythonPackages.pypandoc: add sternenseemann to maintainers 2020-01-19 12:42:10 +01:00
sternenseemann 6b6e54eebd pythonPackages.pypandoc: 1.4 -> 2018-06-18
Switch to an unstable version to make it work with pandoc v2.

Based on #56592 by @Twey. Reworked dependency handling.
2020-01-18 16:23:47 +01:00
Robert Schütz 41a2352a2f pythonPackages.pypandoc: mark as broken
Pypandoc is incompatible with pandoc v2 and there seems to be no upstream effort to port it to the new version.
2018-02-19 23:09:19 +01:00
Kristoffer Søholm d834ae3cbb pythonPackages.pwntools: fix build
pypandoc is broken (it does not work properly with pandoc 2), so we
remove the dependency as it was only used for generating PyPI docs.
The patch will be included upstream in the next version, so it should
be removed next time this package is updated.
2018-02-02 20:02:19 +01:00
Frederik Rietdijk d58e1f1c7b python.pkgs: many updates 2017-08-25 19:36:14 +02:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
wisut hantanong b493824162 python.pkgs.pypandoc: move to separate expression 2017-07-15 17:40:55 +01:00