diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix index ae8867b3ddd..91933c5f95e 100644 --- a/pkgs/development/python-modules/xml2rfc/default.nix +++ b/pkgs/development/python-modules/xml2rfc/default.nix @@ -1,4 +1,6 @@ -{ lib, fetchPypi, buildPythonPackage, intervaltree, pyflakes, requests, lxml }: +{ lib, fetchPypi, buildPythonPackage, intervaltree, pyflakes, requests, lxml, google-i18n-address +, pycountry, html5lib, six +}: buildPythonPackage rec { pname = "xml2rfc"; @@ -9,7 +11,20 @@ buildPythonPackage rec { sha256 = "64609a2194d18c03e2348f1ea2fb97208b3455dfb76a16900143813aa61b6d3c"; }; - propagatedBuildInputs = [ intervaltree pyflakes requests lxml ]; + propagatedBuildInputs = [ + intervaltree + pyflakes + requests + lxml + google-i18n-address + pycountry + html5lib + six + ]; + + preCheck = '' + export HOME=$(mktemp -d) + ''; meta = with lib; { description = "Tool generating IETF RFCs and drafts from XML sources";