diff --git a/pkgs/development/python-modules/pypandoc/default.nix b/pkgs/development/python-modules/pypandoc/default.nix index 6ec2c4a47ae6..b4788999a353 100644 --- a/pkgs/development/python-modules/pypandoc/default.nix +++ b/pkgs/development/python-modules/pypandoc/default.nix @@ -3,21 +3,21 @@ buildPythonPackage rec { pname = "pypandoc"; - version = "unstable-2018-06-18"; + version = "1.5"; src = fetchFromGitHub { owner = "bebraw"; repo = pname; - rev = "87912f0f17e0a71c1160008df708c876d32e5819"; - sha256 = "0l6knkxxhmni4lx8hyvbb71svnhza08ivyklqlk5fw637gznc0hx"; + rev = version; + sha256 = "1lpslfns6zxx7b0xr13bzg921lwrj5am8za0b2dviywk6iiib0ld"; }; postPatch = '' # set pandoc path statically sed -i '/^__pandoc_path = None$/c__pandoc_path = "${pandoc}/bin/pandoc"' pypandoc/__init__.py - # Fix tests: requires network access - substituteInPlace tests.py --replace "pypandoc.convert(url, 'html')" "'GPL2 license'" + # Skip test that requires network access + sed -i '/test_basic_conversion_from_http_url/i\\ @unittest.skip\("no network access during checkPhase"\)' tests.py ''; preCheck = ''