Merge pull request #108210 from SuperSandro2000/xml2rfc

pythonPackages.xml2rfc: Fix dependencies
This commit is contained in:
Sandro 2021-01-02 18:39:17 +01:00 committed by GitHub
commit 82dcbdfb9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -1,11 +1,11 @@
{ lib, fetchPypi, buildPythonPackage, intervaltree, pyflakes, requests, lxml, google-i18n-address { stdenv, fetchPypi, buildPythonPackage, pythonAtLeast, intervaltree, pyflakes, requests, lxml, google-i18n-address
, pycountry, html5lib, six, kitchen, pypdf2, dict2xml, weasyprint, pyyaml, jinja2 , pycountry, html5lib, six, kitchen, pypdf2, dict2xml, weasyprint, pyyaml, jinja2, ConfigArgParse, appdirs
, stdenv
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "xml2rfc"; pname = "xml2rfc";
version = "3.5.0"; version = "3.5.0";
disabled = pythonAtLeast "3.9";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -27,6 +27,8 @@ buildPythonPackage rec {
pypdf2 pypdf2
dict2xml dict2xml
weasyprint weasyprint
ConfigArgParse
appdirs
]; ];
preCheck = '' preCheck = ''
@ -35,8 +37,9 @@ buildPythonPackage rec {
# lxml tries to fetch from the internet # lxml tries to fetch from the internet
doCheck = false; doCheck = false;
pythonImportsCheck = [ "xml2rfc" ];
meta = with lib; { meta = with stdenv.lib; {
description = "Tool generating IETF RFCs and drafts from XML sources"; description = "Tool generating IETF RFCs and drafts from XML sources";
homepage = "https://tools.ietf.org/tools/xml2rfc/trac/"; homepage = "https://tools.ietf.org/tools/xml2rfc/trac/";
# Well, parts might be considered unfree, if being strict; see: # Well, parts might be considered unfree, if being strict; see: