nixpkgs/pkgs/development/python-modules/xml2rfc/default.nix
Maximilian Bosch 338a5c3ca7 pythonPackages.xml2rfc: fix build
Adds the missing dependencies `google-i18n-address`, `pycountry` and
`html5lib` from the `pythonPackages` subtree.

See also https://hydra.nixos.org/build/86535305
2019-01-10 17:25:39 -05:00

38 lines
930 B
Nix

{ lib, fetchPypi, buildPythonPackage, intervaltree, pyflakes, requests, lxml, google-i18n-address
, pycountry, html5lib, six
}:
buildPythonPackage rec {
pname = "xml2rfc";
version = "2.12.3";
src = fetchPypi {
inherit pname version;
sha256 = "64609a2194d18c03e2348f1ea2fb97208b3455dfb76a16900143813aa61b6d3c";
};
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";
homepage = https://tools.ietf.org/tools/xml2rfc/trac/;
# Well, parts might be considered unfree, if being strict; see:
# http://metadata.ftp-master.debian.org/changelogs/non-free/x/xml2rfc/xml2rfc_2.9.6-1_copyright
license = licenses.bsd3;
maintainers = [ maintainers.vcunat ];
};
}